|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectminny.zephyrus.player.LevelManager
minny.zephyrus.spells.Spell
minny.zephyrus.spells.Blink
public class Blink
Zephyrus
| Field Summary |
|---|
| Fields inherited from class minny.zephyrus.player.LevelManager |
|---|
plugin |
| Constructor Summary | |
|---|---|
Blink(Zephyrus plugin)
|
|
| Method Summary | |
|---|---|
java.lang.String |
bookText()
The text that appears in the SpellTome |
boolean |
canRun(org.bukkit.entity.Player player)
The boolean dictating if the spell can be run |
java.lang.String |
failMessage()
The message that is sent to the player when canRun returns false |
int |
manaCost()
The mana cost multiplied by the configurable mana multiplier |
java.lang.String |
name()
Defines the name of the spell |
int |
reqLevel()
The level required to craft the spell |
void |
run(org.bukkit.entity.Player player)
The method called when the spell is cast |
java.util.Set<org.bukkit.inventory.ItemStack> |
spellItems()
A Set containing all the items required to craft the spell |
| Methods inherited from class minny.zephyrus.spells.Spell |
|---|
canBind, dropSpell, hasPermission, isLearned, notEnoughMana, reqSpell |
| Methods inherited from class minny.zephyrus.player.LevelManager |
|---|
displayLevel, displayMana, drainMana, getLevel, getLevel, getLevelProgress, getMana, levelProgress, levelUp, loadMana, resetMana, saveMana |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Blink(Zephyrus plugin)
| Method Detail |
|---|
public java.lang.String name()
Spell
name in class Spellpublic java.lang.String bookText()
Spell
bookText in class Spellpublic int reqLevel()
Spell
reqLevel in class Spellpublic int manaCost()
Spell
manaCost in class Spellpublic java.util.Set<org.bukkit.inventory.ItemStack> spellItems()
Spell
spellItems in class Spellpublic void run(org.bukkit.entity.Player player)
Spell
run in class Spellpublic boolean canRun(org.bukkit.entity.Player player)
Spell
canRun in class Spellpublic java.lang.String failMessage()
Spell
failMessage in class Spell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||