Core/Spells: More generic implementation of Combustion

Closes #60 & #78
This commit is contained in:
tobmaps
2011-05-11 04:17:38 +07:00
parent 492e6fd3da
commit 09fb6f555f
3 changed files with 8 additions and 8 deletions
@@ -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;