public class SkillTheEmpress extends java.lang.Object implements WauzPlayerSkill
WauzPlayerSkill
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SKILL_NAME
The static name of the skill.
|
Constructor and Description |
---|
SkillTheEmpress() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeSkill(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack weapon)
Executes the skill for the given player.
|
int |
getCooldownSeconds() |
int |
getManaCost() |
java.lang.String |
getSkillDescriptionEffect() |
WauzPlayerSkillType |
getSkillDescriptionType() |
java.lang.String |
getSkillId() |
java.lang.String |
getSkillQuickSlotEffect() |
boolean |
isPhysical() |
private void |
lightningChain(org.bukkit.entity.Player player,
org.bukkit.entity.Entity origin,
org.bukkit.entity.Entity target,
int remainingChains,
java.util.List<org.bukkit.entity.Entity> excludes)
Help method to create the chaining lightning.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSkillDescription, getSkillStats
public static final java.lang.String SKILL_NAME
public java.lang.String getSkillId()
getSkillId
in interface WauzPlayerSkill
public WauzPlayerSkillType getSkillDescriptionType()
getSkillDescriptionType
in interface WauzPlayerSkill
public java.lang.String getSkillDescriptionEffect()
getSkillDescriptionEffect
in interface WauzPlayerSkill
public java.lang.String getSkillQuickSlotEffect()
getSkillQuickSlotEffect
in interface WauzPlayerSkill
public int getCooldownSeconds()
getCooldownSeconds
in interface WauzPlayerSkill
public int getManaCost()
getManaCost
in interface WauzPlayerSkill
public boolean isPhysical()
isPhysical
in interface WauzPlayerSkill
public boolean executeSkill(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack weapon)
executeSkill
in interface WauzPlayerSkill
player
- The player who executes the skill.weapon
- The weapon that player uses for it.private void lightningChain(org.bukkit.entity.Player player, org.bukkit.entity.Entity origin, org.bukkit.entity.Entity target, int remainingChains, java.util.List<org.bukkit.entity.Entity> excludes)
player
- The player who executes the skill.origin
- The origin of the lightning.target
- The target of the lightning.remainingChains
- How often the lightning can chain.excludes
- Entities that already have been hit.