PDA

Просмотр полной версии : [12357] Add support to pass spell_script_target depending on effect index


newsbot
18.02.2013, 18:51
Автор: Reamer


<pre>m sql/mangos.sql
+ sql/updates/12357_01_mangos_spell_script_target.sql
m src/game/SQLStorages.cpp
m src/game/Spell.cpp
m src/game/SpellMgr.h
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12357] Add support to pass spell_script_target depending on effect index

To clarify: The new column spell_script_target.inverseEffectMask stores the inverse Mask for effects,
so if you want a target to NOT fit for effect 1, you need to add 2^1 == 2 to the mask value.

Signed-off-by: Schmoozerd <schmoozerd@cmangos></pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/b744ec7b2c12f3969a398f214f35db2015be917e)