PDA

Просмотр полной версии : [11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks


newsbot
24.09.2011, 11:40
автор:

<pre>m src/game/DBCStructure.h
m src/game/Player.cpp
m src/game/Player.h
m src/game/Spell.cpp
m src/game/SpellAuras.cpp
m src/game/SpellAuras.h
m src/game/SpellEffects.cpp
m src/game/SpellMgr.cpp
m src/game/SpellMgr.h
m src/game/Unit.cpp
m src/game/UnitAuraProcHandler.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks

Inspired by patch suggested by darkstalker

Also
* Remove existed enums for family masks as contra-productive for developement.
* Drop one from horrible hack checks in SpellMgr::IsNoStackSpellDueToSpell
(spells for any fimilies with exactly 0x800 mask) I fail find useful cases
for current spell data with this check. All cases expected work correct without it.
If will some problems detected with this please report for fix in less strange way.</pre>



Подробнее... (https://github.com/mangos/mangos/commit/3248952107f9530b2403c5509ef977feb07d6372)