Core/Spells: More generic implementation of Combustion
Closes #60 & #78
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user