atavism.agis.effects
Class TeleportEffect
java.lang.Object
atavism.agis.core.AgisEffect
atavism.agis.effects.TeleportEffect
- All Implemented Interfaces:
- java.io.Serializable
public class TeleportEffect
- extends AgisEffect
Effect child class that teleports the target somewhere. Also handles the special case of item based
teleportation (such as hearth stones).
- Author:
- Andrew Harrison
- See Also:
- Serialized Form
Fields inherited from class atavism.agis.core.AgisEffect |
bonusEffect, bonusEffectReq, bonusEffectReqConsumed, chance, damageType, duration, effectSkillType, isBuff, multipleCopies, numPulses, removeBonusWhenEffectRemoved, replacable, skillDurationMod, skillEffectMod, stackLimit |
Methods inherited from class atavism.agis.core.AgisEffect |
activate, applyEffect, applyEffect, applyEffect, applyEffect, applyPassiveEffect, canApplyToImmine, canApplyToImmune, checkDamageMitigation, checkDuelDefeat, deactivate, equals, generateState, generateState, generateState, getBonusEffect, getBonusEffectReq, getBonusEffectReqConsumed, getChance, getDamageType, getDuelEffect, getDuration, getEffectSkillType, getIcon, getID, getName, getNumPulses, getPulseTime, getSkillDurationMod, getSkillEffectMod, getStackLimit, getTargetEffectsOfMatchingType, hashCode, isBuff, isBuff, isContinuous, isContinuous, isPassive, isPassive, isPeriodic, isPeriodic, isPersistent, isPersistent, pulse, remove, removeBonusWhenEffectRemoved, removeBonusWhenEffectRemoved, removeEffect, removeEffect, removeEffectByID, removeNonContinuousEffects, removeNonPassiveEffects, setBonusEffect, setBonusEffectReq, setBonusEffectReqConsumed, setChance, setDamageType, setDuelEffect, setDuration, setEffectSkillType, setIcon, setID, setMultipleCopies, setName, setNumPulses, setReplacable, setSkillDurationMod, setSkillEffectMod, setStackLimit, stackCheck, toString, unload |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
location
protected Point location
teleportType
protected java.lang.String teleportType
instanceID
protected int instanceID
TeleportEffect
public TeleportEffect(int id,
java.lang.String name)
apply
public void apply(AgisEffect.EffectState state)
- Overrides:
apply
in class AgisEffect
getTeleportLocation
public Point getTeleportLocation()
setTeleportLocation
public void setTeleportLocation(Point loc)
getTeleportType
public java.lang.String getTeleportType()
setTeleportType
public void setTeleportType(java.lang.String teleportType)
getInstance
public int getInstance()
setInstance
public void setInstance(int instanceID)