-
Notifications
You must be signed in to change notification settings - Fork 4
AttributeModule
the Attribute Module aims at adding shared attributes (something like vanilla armor, speed) and adds some functionality to the attribute system itself
timed modifiers are a system to temporarily modify an entities attributes.
multiple of the same modifier are possible by appending a suffix to the base location.
timed modifiers can be added via ./timed/TimedModifierUtils#add where
- living is the entity to modify
- baseLocation is the location of the modifier
- duration is the time the modifier lasts in game ticks (.05s)
- attribute is the attribute
- amount is the value the attribute should be changed by (negative values allowed)
- operation is the modifier operation to use
all added Attributes can be found in the
net.kapitencraft.kap_lib.attribute.ExtraAttributes class.
-
Defensive
-
Dodge
chance to ignore incoming attacks
-
Magic Defence
defence against magic attacks
-
True Defence
defence against true attacks which pierce armor
-
Armor Shredder
amount of armor ignored by attacks
-
-
Offensive
-
Bonus Attack Speed
reduces invulnerability frames of hit targets
-
Strength
scales damage
in*(1+str/100) -
Crit Damage
scales damage on critical hits
in*(1+crd/100) -
Crit Chance
chance to bypass vanilla crit behaviour
-
Ferocity
chance to trigger a stacking, delayed re-attack on the victim
-
Magic Damage
damage dealt by magic attacks.*
-
Ranged Damage
increases damage dealt by arrows and other projectiles. replaces vanilla hardcoded arrow damage for bow & crossbow
-
Draw Speed
scalar for speed in which bows and crossbows can be charged
-
Projectile Speed
increases velocity of shot projectiles
-
-
Mining
-
Pristine
increases quality of gemstones.*
-
Mining Fortune
increases amount of ore drops.*
-
-
Miscellaneous
-
Life Steal
maximum amount of dealt damage that will be used to heal the attacker
-
Double Jump
allows to double jump
-
Vitality
amplifies healing from all sources
in*(1+vit/100) -
Fishing Speed
decreases lure time. values at or above 600 instantly attract fish
-
Wisdom
increases experience dropped from blocks or entities
-