mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-02 13:56:38 +00:00
Undid change
This commit is contained in:
@@ -19,7 +19,7 @@ abstract class Stat(
|
||||
|
||||
val key: NamespacedKey
|
||||
val uuid: UUID
|
||||
open val config: Config
|
||||
val config: Config
|
||||
lateinit var name: String
|
||||
|
||||
init {
|
||||
|
||||
@@ -13,7 +13,7 @@ class StatAttackSpeed : Stat(
|
||||
val modifier = AttributeModifier(
|
||||
this.uuid,
|
||||
this.name,
|
||||
(this.config.getDouble("percent-faster-per-level") * player.getStatLevel(this)) / 100.0,
|
||||
(1 * player.getStatLevel(this)) / 100.0,
|
||||
AttributeModifier.Operation.MULTIPLY_SCALAR_1
|
||||
)
|
||||
val instance = player.getAttribute(Attribute.GENERIC_ATTACK_SPEED) ?: return
|
||||
|
||||
Reference in New Issue
Block a user