fix(DB/SAI): Move Rizzle Sprysprocket event to smartscript. (#23167)
This commit is contained in:
parent
1434cde99e
commit
a14fe1c4de
4 changed files with 114 additions and 364 deletions
|
|
@ -1066,7 +1066,7 @@ class go_southfury_moonstone : public GameObjectScript
|
|||
public:
|
||||
go_southfury_moonstone() : GameObjectScript("go_southfury_moonstone") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*go*/) override
|
||||
bool OnGossipHello(Player* player, GameObject* go) override
|
||||
{
|
||||
//implicitTarget=48 not implemented as of writing this code, and manual summon may be just ok for our purpose
|
||||
//player->CastSpell(player, SPELL_SUMMON_RIZZLE, false);
|
||||
|
|
@ -1076,6 +1076,7 @@ public:
|
|||
// no need casting spell blackjack, it's casted by script npc_rizzle_sprysprocket.
|
||||
//creature->CastSpell(player, SPELL_BLACKJACK, false);
|
||||
creature->AI()->AttackStart(player);
|
||||
go->DespawnOrUnsummon(8000ms);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue