Scripts/Ulduar: Remove known hacks from leviathan, create workaround for shutdown event.

Added missing script to db and core.
This commit is contained in:
Supabad
2011-03-13 13:00:09 +01:00
committed by Shauren
parent 6ad4044f05
commit 40d1e61566
4 changed files with 70 additions and 102 deletions
+1 -1
View File
@@ -4805,7 +4805,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_TARGET_AURASTATE;
// Not allow casting on flying player or on vehicle player (if caster isnt vehicle)
if (target->HasUnitState(UNIT_STAT_IN_FLIGHT) || (target->HasUnitState(UNIT_STAT_ONVEHICLE) && target->GetVehicleBase() != m_caster))
if (target->HasUnitState(UNIT_STAT_IN_FLIGHT) /*|| (target->HasUnitState(UNIT_STAT_ONVEHICLE) && target->GetVehicleBase() != m_caster)*/)
return SPELL_FAILED_BAD_TARGETS;
if (!m_IsTriggeredSpell && !m_caster->canSeeOrDetect(target))