Fixed buff applied.

This commit is contained in:
Sam 2021-10-27 23:05:54 -04:00
parent f339793911
commit 57851b7df3

View File

@ -152,7 +152,7 @@ impl ProjectileConstructor {
let energy = AttackEffect::new(None, CombatEffect::EnergyReward(energy_regen)) let energy = AttackEffect::new(None, CombatEffect::EnergyReward(energy_regen))
.with_requirement(CombatRequirement::AnyDamage); .with_requirement(CombatRequirement::AnyDamage);
let buff = CombatEffect::Buff(CombatBuff { let buff = CombatEffect::Buff(CombatBuff {
kind: BuffKind::Bleeding, kind: BuffKind::Burning,
dur_secs: 5.0, dur_secs: 5.0,
strength: CombatBuffStrength::DamageFraction(0.1 * buff_strength), strength: CombatBuffStrength::DamageFraction(0.1 * buff_strength),
chance: 0.1, chance: 0.1,