Update mushrooms

Made mushrooms so they are now attackable and selectable. Source : http://wowwiki.wikia.com/wiki/Amanitar
Issue close: #331
This commit is contained in:
Lee
2017-01-22 12:25:04 +00:00
committed by GitHub
parent 79567a6478
commit a0ade8571f

View File

@@ -172,6 +172,8 @@ public:
npc_amanitar_mushroomsAI(Creature* c) : ScriptedAI(c)
{
SetCombatMovement(false);
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
}
uint32 Timer;