mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'socksonme/fix_crushing_damage_crit' into 'master'
Group up extra damage from crushing attacks whenever they're crits See merge request veloren/veloren!3461
This commit is contained in:
commit
c0f06dcb8a
@ -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