mirror of
https://github.com/Auxilor/Reforges.git
synced 2026-01-06 15:51:32 +00:00
Fixed Crit Multiplier activating when it shouldn't
This commit is contained in:
@@ -13,7 +13,7 @@ class EffectCritMultiplier : Effect("crit_multiplier") {
|
|||||||
event: EntityDamageByEntityEvent,
|
event: EntityDamageByEntityEvent,
|
||||||
config: JSONConfig
|
config: JSONConfig
|
||||||
) {
|
) {
|
||||||
if (attacker.velocity.y > 0) {
|
if (attacker.velocity.y >= 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
event.damage *= config.getDouble("multiplier")
|
event.damage *= config.getDouble("multiplier")
|
||||||
|
|||||||
Reference in New Issue
Block a user