SandVeilEvent

The Sand Veil Event is an event called when an entity gets hit with a Sand Veil weapon.

Description
The SandVeilEvent is a class that adds two local variables: the ticks, which sets how long the lowered accuracy will occur, and the accuracy.

Constructor
SandVeilEvent(LivingEntity damaged, int level, LivingEntity damager, double damage, double newDamage, int ticks, double accuracy)
 * // LivingEntity damaged - the damaged entity
 * // int level - the level of Sand Veil used
 * // LivingEntity damager - the attacker
 * // double damage - the damage of the event
 * // double newDamage - the final damage for the event
 * // int ticks - the number of ticks the damaged entity will have lower accuracy
 * // double accuracy - the new accuracy of the damaged entity

Implements
None

Extends
ESEntityDamageEntityEvent

int getTicks
Gets the number of ticks for which the damaged entity will have lower accuracy

void setTicks(int ticks)
Sets the number of ticks to the specified value

double getAccuracy
Gets the accuracy percentage

void setAccuracy(double accuracy)
Sets the accuracy percentage to the specified value