Prefixes
Temporary
Name | Type | Info |
---|---|---|
name | string | The unique prefix name in the mod. Default: The prefix's JSON file name without extension |
displayName | string | The prefix's displayed name. (Tooltips, etc.) |
tier | int | The amount to increase(or, if negative, decrease) an item's rarity tier by. |
value | float | The amount to scale an item's value by. |
damage | float | The amount to scale an item's damage by. |
damage | float | The amount to scale an item's useTime by. |
crit | int | The amount to increase(or, if negative, decrease) an item's crit chance by. |
mana | float | The amount to scale an item's mana cost by. |
shootSpeed | float | The amount to scale an item's shoot speed by. |
scale | float | The amount to scale an item's scale by. |
knockback | float | The amount to scale an item's knockback by. |
meleeDamage | float | The amount to scale an item's melee damage by. |
rangedDamage | float | The amount to scale an item's ranged damage by. |
magicDamage | float | The amount to scale an item's magic damage by. |
minionDamage | float | The amount to scale an item's minion damage by. |
allDamage | float | The amount to scale an item's melee, ranged, magic, and minion damage by. |
defense | int | The amount to increase(or, if negative, decrease) the player's defense by. |
maxLife | int | The amount to increase(or, if negative, decrease) the player's maximum life by. |
maxMana | int | The amount to increase(or, if negative, decrease) the player's maximum mana by. |
moveSpeed | float | The amount to scale the player's move speed by. |
meleeSpeed | float | The amount to scale the player's melee speed by. |
meleeCrit | int | The amount to increase(or, if negative, decrease) the player's melee crit by. |
rangedCrit | int | The amount to increase(or, if negative, decrease) the player's ranged crit by. |
magicCrit | int | The amount to increase(or, if negative, decrease) the player's magic crit by. |
allCrit | int | The amount to increase(or, if negative, decrease) the player's melee, ranged, and magic crit by. |
type | (int or string) OR (int and/or string array) | The type(s) of item this prefix can apply to. The valid strings are as follows:
|