mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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:
@@ -172,6 +172,8 @@ public:
|
|||||||
npc_amanitar_mushroomsAI(Creature* c) : ScriptedAI(c)
|
npc_amanitar_mushroomsAI(Creature* c) : ScriptedAI(c)
|
||||||
{
|
{
|
||||||
SetCombatMovement(false);
|
SetCombatMovement(false);
|
||||||
|
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
|
||||||
|
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Timer;
|
uint32 Timer;
|
||||||
|
|||||||
Reference in New Issue
Block a user