mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Group up extra damage from crushing attacks whenever they're crits
This commit is contained in:
parent
58679d9900
commit
e3b1d02fce
@ -299,7 +299,7 @@ impl Attack {
|
|||||||
by: attacker.map(|x| x.into()),
|
by: attacker.map(|x| x.into()),
|
||||||
cause: Some(damage.damage.source),
|
cause: Some(damage.damage.source),
|
||||||
instance: damage.instance,
|
instance: damage.instance,
|
||||||
crit: false,
|
crit: is_crit,
|
||||||
time,
|
time,
|
||||||
};
|
};
|
||||||
emit(ServerEvent::HealthChange {
|
emit(ServerEvent::HealthChange {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user