mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
[8377] Resolve some spell_area problems in GM and non-GM mode. Author: VladimirMangos
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove.
And drop related spell_area possible existed data.
* In general restore apply area limitations to spell casting in GM mode.
--HG--
branch : trunk
This commit is contained in:
@@ -2585,10 +2585,6 @@ void SpellMgr::LoadSpellAreas()
|
||||
|
||||
SpellCastResult SpellMgr::GetSpellAllowedInLocationError(SpellEntry const *spellInfo, uint32 map_id, uint32 zone_id, uint32 area_id, Player const* player)
|
||||
{
|
||||
// allow in GM-mode
|
||||
if (player && player->isGameMaster())
|
||||
return SPELL_CAST_OK;
|
||||
|
||||
// normal case
|
||||
if (spellInfo->AreaGroupId > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user