mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7195] Implement SPELL_AURA_PHASE (261) and basics of phases system work (for player/creatures/pets only)
This commit is contained in:
parent
700fb25407
commit
430c634fd3
7 changed files with 75 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue