Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura. * Forgot to change this in last-second rename. * Apply suggested changes, thanks Shauren! # Conflicts: # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/Unit/UnitDefines.h # src/server/game/Entities/Unit/enuminfo_UnitDefines.cpp # src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
This commit is contained in:
1 parent
1fd66b4621
commit
d2b27bc43c
8 files changed
+45
-4
No files matched your search
@@ -277,7 +277,6 @@ public:
|
||||
if (Creature* frozenCore = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_FROZEN_CORE)))
|
||||
frozenCore->AI()->DoAction(ACTION_AHUNE_RETREAT);
|
||||
me->RemoveAurasDueToSpell(SPELL_AHUNES_SHIELD);
|
||||
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_31);
|
||||
DoCast(me, SPELL_SUBMERGED, true);
|
||||
DoCast(me, SPELL_AHUNE_SELF_STUN, true);
|
||||
DoCast(me, SPELL_STAY_SUBMERGED, true);
|
||||
|
||||
Reference in new issue
Block a user