biglad
08-02-2009, 08:46 AM
Avoid target requirement checks for spells with caster base target selection (self,pet,around). Author: VladimirMangos This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster.
src/game/Spell.cpp (http://bitbucket.org/Azrael/mgacore2/src/6f7a5dd8f6e3/src/game/Spell.cpp) (6 lines added, 4 lines removed)
src/game/SpellMgr.h (http://bitbucket.org/Azrael/mgacore2/src/6f7a5dd8f6e3/src/game/SpellMgr.h) (23 lines added, 0 lines removed)
More... (http://bitbucket.org/Azrael/mgacore2/changeset/6f7a5dd8f6e3/)
src/game/Spell.cpp (http://bitbucket.org/Azrael/mgacore2/src/6f7a5dd8f6e3/src/game/Spell.cpp) (6 lines added, 4 lines removed)
src/game/SpellMgr.h (http://bitbucket.org/Azrael/mgacore2/src/6f7a5dd8f6e3/src/game/SpellMgr.h) (23 lines added, 0 lines removed)
More... (http://bitbucket.org/Azrael/mgacore2/changeset/6f7a5dd8f6e3/)