• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server
ArmorInteraction

Side Plugin ArmorInteraction 2.0

Armor Interaction
This simple plugin will allow you to have customizable interactions between damage done to players with bending abilities and the armor that they're wearing. As it currently sits, bending damage ignores armor. With this plugin, it'll not only respect armor but you can customize how much armor affects bending damage. More information below.

Minecraft/Spigot/ProjectKorra Versions
As of the latest release, these are the supported versions:
Minecraft / Spigot: 1.16.1
ProjectKorra: 1.8.9


Configuration
Code:
Note: 'MaxPotential is used as a base for the algorithm. It adds up the total of the
  highest armor power and uses that as the max potential power. Be sure when you add
  up the totals of all pieces in an armor set.To check: Helmet + Chestplate + Leggings
  + Boots = Total Armor Power. Example (Netherite armor): Helmet + Chestplate + Leggings
  + Boots = 20'
Note 2: The GlobalStrength variable is a means of having control over the armors strength
  all at once. For example, by setting the GlobalStrength to 1 someone with full diamond
  armor will not take any damage from a bending ability. It's set to 0.6 by default
  so only 60 percent of the damage reduction actually takes place. This value should
  not be more than 1 or less than 0 since it's on a percentage calculation where 1
  = 100%, 0.5 = 50%, and 0 = 0%.
MaxPotential: 20
GlobalStrength: 0.6
ArmorTypes:
  LEATHER_HELMET: 1
  LEATHER_CHESTPLATE: 3
  LEATHER_LEGGINGS: 2
  LEATHER_BOOTS: 1
  GOLD_HELMET: 2
  GOLD_CHESTPLATE: 5
  GOLD_LEGGINGS: 3
  GOLD_BOOTS: 1
  CHAINMAIL_HELMET: 2
  CHAINMAIL_CHESTPLATE: 5
  CHAINMAIL_LEGGINGS: 4
  CHAINMAIL_BOOTS: 1
  IRON_HELMET: 2
  IRON_CHESTPLATE: 6
  IRON_LEGGINGS: 5
  IRON_BOOTS: 2
  DIAMOND_HELMET: 3
  DIAMOND_CHESTPLATE: 8
  DIAMOND_LEGGINGS: 6
  DIAMOND_BOOTS: 3
  NETHERITE_HELMET: 3
  NETHERITE_CHESTPLATE: 8
  NETHERITE_LEGGINGS: 6
  NETHERITE_BOOTS: 3

External Sources
Source code for this plugin is provided on
the project's GitHub. Feel free to contribute to the project or test out beta versions of the plugin at your own peril!

Disclaimer
This is not an official ProjectKorra plugin, therefore, no official support will be provided in any threads other than this one. Use at your own risk.
Author
xNuminousx
Downloads
774
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from xNuminousx

Latest updates

  1. 2.0

    Updated authored by - @Moros Changes - Various restructures in code - Reformatted...

Latest reviews

It has good compatibility with eartharmor.
Top