Core/Spells: More generic implementation of Combustion

Closes #60 & #78
This commit is contained in:
tobmaps committed 2011-05-11 04:17:38 +07:00
1 parent 492e6fd3da
commit 09fb6f555f
3 files changed
+8 -8

No files matched your search

@@ -19630,6 +19630,10 @@ void Player::RemoveSpellMods(Spell * spell)
void Player::DropModCharge(SpellModifier * mod, Spell * spell)
{
// this mod shouldn't be removed here
if (mod->op == SPELLMOD_CRIT_DAMAGE_BONUS)
return;
if (spell && mod->ownerAura && mod->charges > 0)
{
--mod->charges;