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, waitgetSkillDescription, getSkillStatspublic static final java.lang.String SKILL_NAME
public java.lang.String getSkillId()
getSkillId in interface WauzPlayerSkillpublic WauzPlayerSkillType getSkillDescriptionType()
getSkillDescriptionType in interface WauzPlayerSkillpublic java.lang.String getSkillDescriptionEffect()
getSkillDescriptionEffect in interface WauzPlayerSkillpublic java.lang.String getSkillQuickSlotEffect()
getSkillQuickSlotEffect in interface WauzPlayerSkillpublic int getCooldownSeconds()
getCooldownSeconds in interface WauzPlayerSkillpublic int getManaCost()
getManaCost in interface WauzPlayerSkillpublic boolean isPhysical()
isPhysical in interface WauzPlayerSkillpublic boolean executeSkill(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack weapon)
executeSkill in interface WauzPlayerSkillplayer - 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.