fix(Scripts/Noblegarden): fix bunny transformation on egg looting (#21957)
This commit is contained in:
parent
704f7f0705
commit
68558e8626
4 changed files with 69 additions and 16 deletions
|
|
@ -28,21 +28,6 @@
|
|||
#include "Spell.h"
|
||||
|
||||
// Ours
|
||||
/*######
|
||||
## go_noblegarden_colored_egg
|
||||
######*/
|
||||
class go_noblegarden_colored_egg : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_noblegarden_colored_egg() : GameObjectScript("go_noblegarden_colored_egg") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*go*/) override
|
||||
{
|
||||
if (roll_chance_i(5))
|
||||
player->CastSpell(player, 61734, true); // SPELL NOBLEGARDEN BUNNY
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
class go_seer_of_zebhalak : public GameObjectScript
|
||||
{
|
||||
|
|
@ -1948,7 +1933,6 @@ public:
|
|||
void AddSC_go_scripts()
|
||||
{
|
||||
// Ours
|
||||
new go_noblegarden_colored_egg();
|
||||
new go_seer_of_zebhalak();
|
||||
new go_mistwhisper_treasure();
|
||||
new go_witherbark_totem_bundle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue