🏹MultiShot
Fires multiple arrows that are specified and defined.
Overview
Method
public static void create(Player player, int arrowAmount, double damage, boolean isCritical)Parameters
// Define the player initiating the multi-shot action
Player player = ...
// Define the number of arrows to be fired simultaneously
int arrowAmount = 5;
// Define the amount of damage inflicted by each arrow
double damage = 8.0;
// Define whether the arrows should be critical hits
boolean isCritical = true;
// Perform the multi-shot action
MultiShot.create(player, arrowAmount, damage, isCritical);Notes
Last updated