refactor(SmartAI): move C++ script to DB (SAI) (#6067)
This commit is contained in:
parent
fb9ff74ecb
commit
191b94e285
2 changed files with 11 additions and 22 deletions
|
|
@ -784,27 +784,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_cat_figurine
|
||||
######*/
|
||||
|
||||
enum CatFigurine
|
||||
{
|
||||
SPELL_SUMMON_GHOST_SABER = 5968,
|
||||
};
|
||||
|
||||
class go_cat_figurine : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_cat_figurine() : GameObjectScript("go_cat_figurine") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*go*/) override
|
||||
{
|
||||
player->CastSpell(player, SPELL_SUMMON_GHOST_SABER, true);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_gilded_brazier (Paladin First Trail quest (9678))
|
||||
######*/
|
||||
|
|
@ -1655,7 +1634,6 @@ void AddSC_go_scripts()
|
|||
new go_pirate_day_music();
|
||||
new go_darkmoon_faire_music();
|
||||
new go_midsummer_music();
|
||||
new go_cat_figurine();
|
||||
new go_gilded_brazier();
|
||||
//new go_shrine_of_the_birds();
|
||||
new go_southfury_moonstone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue