mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-02-18 16:00:10 +00:00
Fix passive powers
This commit is contained in:
parent
94b08659d2
commit
874bdefb13
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user