[7195] Implement SPELL_AURA_PHASE (261) and basics of phases system work (for player/creatures/pets only)

This commit is contained in:
VladimirMangos 2009-01-27 17:00:16 +03:00
parent 700fb25407
commit 430c634fd3
7 changed files with 75 additions and 18 deletions

View file

@ -2383,6 +2383,10 @@ uint8 GetSpellAllowedInLocationError(SpellEntry const *spellInfo,uint32 map_id,u
case 51721: // Dominion Over Acherus
case 54055: // Dominion Over Acherus
return area_id == 4281 || area_id == 4342 ? 0 : SPELL_FAILED_INCORRECT_AREA;
case 51852: // The Eye of Acherus
{
return map_id == 609 ? 0 : SPELL_FAILED_REQUIRES_AREA;
}
case 54119: // Mist of the Kvaldir
return area_id == 4028 || area_id == 4029 || area_id == 4106 || area_id == 4031 ? 0 : SPELL_FAILED_INCORRECT_AREA;
}