mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed buff applied.
This commit is contained in:
parent
f339793911
commit
57851b7df3
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user