-
Notifications
You must be signed in to change notification settings - Fork 11
Teh's Core Mod: Content Packs: Items: Weapons
TehPers edited this page Feb 3, 2019
·
1 revision
Weapons can be added to the content pack by adding a "Weapons" entry to your content file. The "Weapons" entry is a dictionary containing the ID for your item as the key, and the details about it as the value:
{
"weapons": {
"bubbleGumSword": {
}
}
}
Name | Type | Description |
---|---|---|
-- | -- | Common properties |
Type | string | The weapon's type. Possible values are "Sword" , "Dagger" , "Hammer" , or "Slingshot" . |
MinDamage | integer | The minimum damage the weapon can do. |
MaxDamage | integer | The maximum damage the weapon can do. |
Knockback | integer | (Optional) The weapon's knockback. Default is 1 . |
Speed | integer | (Optional) The weapon's bonus speed. |
Accuracy | integer | (Optional) The weapon's bonus accuracy. |
Defense | integer | (Optional) The weapon's bonus defense. |
AreaOfEffect | integer | (Optional) The weapon's damage range. Default is 1 . |
CritChance | number | (Optional) The weapon's chance for critical hits. Default is 0.02 . |
CritMultiplier | number | (Optional) The weapon's damage multiplier on critical hits. Default is 3 . |
Work in progress