PDA

Просмотр полной версии : [8949] Implement proper support spell auras with maxstack > 1 and charges > 0.


newsbot
08.12.2009, 22:10
<pre>m src/game/SpellAuras.cpp
m src/game/SpellAuras.h
m src/game/Unit.cpp
m src/shared/revision_nr.h

[8949] Implement proper support spell auras with maxstack > 1 and charges > 0.

* Like auras expected to be proccessed in spell proc event code (not lost charge at use in spellmods code).
Exist examples for like spells that affect value in spellmods but have different expire requirements.
* Propertly work with stacked auras in spell proc event code
- remove only one auras from stack
- in case charges exist in same time not touch charges but return expire
(all really used auars with maxstack>1 and charges have 1 in one from this values)</pre>



Дальше... (http://github.com/mangos/mangos/commit/4135b24a659244b00b7c07e2e0544f85c20fb38d)