Atavism Version 2018.1AGIS API

atavism.agis.effects
Class MountEffect

java.lang.Object
  extended by atavism.agis.core.AgisEffect
      extended by atavism.agis.effects.MountEffect
All Implemented Interfaces:
java.io.Serializable

public class MountEffect
extends AgisEffect

Effect child class that sets the mount property on the target. The targets speed and model property will be reset when the effect has finished.

Author:
Andrew Harrison
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class atavism.agis.core.AgisEffect
AgisEffect.EffectState
 
Field Summary
protected  java.lang.String displayName
           
 int effectType
           
protected  java.lang.String model
           
static java.lang.String MOUNT_PROP
           
protected  int mountSpeedIncrease
           
protected  int mountType
           
protected  float statChange
           
protected  java.lang.String statName
           
 
Fields inherited from class atavism.agis.core.AgisEffect
bonusEffect, bonusEffectReq, bonusEffectReqConsumed, chance, damageType, duration, effectSkillType, isBuff, multipleCopies, numPulses, removeBonusWhenEffectRemoved, replacable, skillDurationMod, skillEffectMod, stackLimit
 
Constructor Summary
MountEffect(int id, java.lang.String name)
           
 
Method Summary
 void apply(AgisEffect.EffectState state)
           
 java.lang.String getDisplayName()
           
 int GetEffectType()
           
 java.lang.String getModel()
           
 int getMountSpeedIncrease()
           
 int getMountType()
           
 float getStatChange()
           
 java.lang.String getStatName()
           
 void pulse(AgisEffect.EffectState state)
           
 void remove(AgisEffect.EffectState state)
           
 void setDisplayName(java.lang.String eName)
           
 void setEffectType(int type)
           
 void setModel(java.lang.String model)
           
 void setMountSpeedIncrease(int mountSpeedIncrease)
           
 void setMountType(int mountType)
           
 void setStatChange(float statChange)
           
 void setStatName(java.lang.String statName)
           
 
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, 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
 

Field Detail

mountType

protected int mountType

mountSpeedIncrease

protected int mountSpeedIncrease

model

protected java.lang.String model

statName

protected java.lang.String statName

statChange

protected float statChange

displayName

protected java.lang.String displayName

effectType

public int effectType

MOUNT_PROP

public static final java.lang.String MOUNT_PROP
See Also:
Constant Field Values
Constructor Detail

MountEffect

public MountEffect(int id,
                   java.lang.String name)
Method Detail

apply

public void apply(AgisEffect.EffectState state)
Overrides:
apply in class AgisEffect

remove

public void remove(AgisEffect.EffectState state)
Overrides:
remove in class AgisEffect

pulse

public void pulse(AgisEffect.EffectState state)
Overrides:
pulse in class AgisEffect

setMountType

public void setMountType(int mountType)

getMountType

public int getMountType()

setMountSpeedIncrease

public void setMountSpeedIncrease(int mountSpeedIncrease)

getMountSpeedIncrease

public int getMountSpeedIncrease()

setModel

public void setModel(java.lang.String model)

getModel

public java.lang.String getModel()

setStatName

public void setStatName(java.lang.String statName)

getStatName

public java.lang.String getStatName()

setStatChange

public void setStatChange(float statChange)

getStatChange

public float getStatChange()

setDisplayName

public void setDisplayName(java.lang.String eName)

getDisplayName

public java.lang.String getDisplayName()

setEffectType

public void setEffectType(int type)

GetEffectType

public int GetEffectType()


Copyright © 2018 Dragonsan Studios Sp. z o.o.