[8949] Implement proper support spell auras with maxstack > 1 and charges > 0.
commit4135b24a659244b00b7c07e2e0544f85c20fb38d
authorVladimirMangos <vladimir@getmangos.com>
Tue, 8 Dec 2009 18:59:03 +0000 (8 21:59 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Tue, 8 Dec 2009 19:04:42 +0000 (8 22:04 +0300)
tree68feaaf61cdfd5ce5a131feac40a9e180463f76e
parent4a6ab54beb5c73ab565c4af58596eab0c0c57db3
[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)
src/game/SpellAuras.cpp
src/game/SpellAuras.h
src/game/Unit.cpp
src/shared/revision_nr.h