Fix passive powers

This commit is contained in:
gsemaj 2023-08-19 14:46:35 -07:00
parent 94b08659d2
commit 874bdefb13
No known key found for this signature in database
GPG Key ID: 24B96BAA40497929

View File

@ -127,6 +127,7 @@ static SkillResult handleSkillBuff(SkillData* skill, int power, ICombatant* sour
ICombatant* combatant = dynamic_cast<ICombatant*>(self.getEntity());
combatant->takeDamage(buff->getLastSource(), 0); // aggro
}
Buffs::timeBuffUpdate(self, buff, status, stack);
if(drainType == SkillDrainType::ACTIVE && status == ETBU_DEL)
Buffs::timeBuffTimeout(self);
},