mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-30 12:29:10 +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,
|
||||
config: JSONConfig
|
||||
) {
|
||||
if (attacker.velocity.y > 0) {
|
||||
if (attacker.velocity.y >= 0) {
|
||||
return
|
||||
}
|
||||
event.damage *= config.getDouble("multiplier")
|
||||
|
||||
Reference in New Issue
Block a user