diff options
| author | megamage <none@none> | 2009-08-05 16:33:34 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-05 16:33:34 -0500 |
| commit | 907342d5b0e7a68024fcc77ea125bc36ff3bacaa (patch) | |
| tree | adda2d7082d8daf370daba56a16a4774b8c497f3 /src/game/Player.h | |
| parent | 31f989fab9cae85c35ef58857ca960581e6f0735 (diff) | |
[8308] More generic code for new continent spell casting including fly form/mounts. Author: VladimirMangos
* Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in
SpellMgr::GetSpellAllowedInLocationError.
* Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item)
* For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state.
* Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality.
* Allow in `spell_area` have data deepndent from ghost auras
This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area`
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
| -rw-r--r-- | src/game/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index fa0153e8b51..692be08c4a7 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -2005,7 +2005,7 @@ class TRINITY_DLL_SPEC Player : public Unit } void HandleFall(MovementInfo const& movementInfo); - bool IsAllowUseFlyMountsHere() const; + bool IsKnowHowFlyIn(uint32 mapid, uint32 zone) const; void SetClientControl(Unit* target, uint8 allowMove); |
