|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nisovin.MagicSpells.Spell
com.nisovin.MagicSpells.BuffSpell
com.nisovin.MagicSpells.Spells.LifewalkSpell
public class LifewalkSpell
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.nisovin.MagicSpells.Spell |
|---|
Spell.PostCastAction, Spell.SpellCastState |
| Field Summary |
|---|
| Fields inherited from class com.nisovin.MagicSpells.BuffSpell |
|---|
cancelOnRecast, duration, healthCost, manaCost, numUses, strFade, useCost, useCostInterval |
| Fields inherited from class com.nisovin.MagicSpells.Spell |
|---|
broadcastRange, castItem, cooldown, cost, description, internalName, name, strCastOthers, strCastSelf, strCost |
| Constructor Summary | |
|---|---|
LifewalkSpell(org.bukkit.util.config.Configuration config,
java.lang.String spellName)
|
|
| Method Summary | |
|---|---|
protected Spell.PostCastAction |
castSpell(org.bukkit.entity.Player player,
Spell.SpellCastState state,
java.lang.String[] args)
This method is called when a player casts a spell, either by command, with a wand item, or otherwise. |
protected void |
turnOff()
This methid is called when the plugin is being disabled, for any reason. |
protected void |
turnOff(org.bukkit.entity.Player player)
Turns off this spell for the specified player. |
| Methods inherited from class com.nisovin.MagicSpells.BuffSpell |
|---|
addUse, canCastByCommand, canCastWithItem, chargeUseCost, isExpired, startSpellDuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifewalkSpell(org.bukkit.util.config.Configuration config,
java.lang.String spellName)
| Method Detail |
|---|
protected Spell.PostCastAction castSpell(org.bukkit.entity.Player player,
Spell.SpellCastState state,
java.lang.String[] args)
Spell
castSpell in class Spellplayer - the player casting the spellstate - the state of the spell cast (normal, on cooldown, missing reagents, etc)args - the spell arguments, if cast by command
protected void turnOff(org.bukkit.entity.Player player)
BuffSpell
turnOff in class BuffSpellprotected void turnOff()
Spell
turnOff in class BuffSpell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||