config/Projectiles

Projectiles

Implementing projectile damage changes is easy. There are currently 8 types of projectiles that the plugin can read, although I don't know if it will get the chance to! (only arrows and snowballs have been tested)

Changing a the damage of a projectile is much like changing the damage of a weapon (or other item in hand). It is as simple as saying:

damages:
  default:
    FLYING_ARROW: 1.0

The plugin will behave 1 of two ways:

  • if the damage done by the object (i.e. vanilla damage) was 0, the plugin will set the damage to what you have listed (e.g. snowballs)
  • if the damage done by the object was more than 0, the plugin will multiply the damage by what you have listed (e.g. arrows and snowballs thrown at blazes)

I'm trying to come up with a better solution for this, because this could change Blaze combat dynamic if the damage is anything but 1.0. For everything else, it should work fine.

Exhaustive list of projectiles

  • FLYING_ARROW
  • THROWN_SNOWBALL
  • THROWN_EGG
  • THROWN_ENDER_PEARL
  • THROWN_SMALL_FIREBALL
  • THROWN_FIREBALL
  • THROWN_EXP_BOTTLE
  • THROWN_POTION
  • LARGE_FIREBALL

Comments

Posts Quoted:
Reply
Clear All Quotes