mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[7172] Implement area requirements for spell 54119.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
6c5d69965f
commit
f4f6e428fb
3 changed files with 10 additions and 1 deletions
|
|
@ -19012,6 +19012,13 @@ void Player::UpdateAreaDependentAuras( uint32 newArea )
|
|||
if( !HasAura(51721,0) )
|
||||
CastSpell(this,51721,true);
|
||||
break;
|
||||
// Mist of the Kvaldir
|
||||
case 4028: //Riplash Strand
|
||||
case 4029: //Riplash Ruins
|
||||
case 4106: //Garrosh's Landing
|
||||
case 4031: //Pal'ea
|
||||
CastSpell(this,54119,true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2379,6 +2379,8 @@ 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 54119: // Mist of the Kvaldir
|
||||
return area_id == 4028 || area_id == 4029 || area_id == 4106 || area_id == 4031 ? 0 : SPELL_FAILED_INCORRECT_AREA;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7171"
|
||||
#define REVISION_NR "7172"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue