public class StatEffect extends AgisEffect
AgisEffect.EffectState| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
displayName |
int |
effectType |
boolean |
modifyPercentage |
protected java.util.Map<java.lang.String,java.lang.Float> |
statMap |
bonusEffect, bonusEffectReq, bonusEffectReqConsumed, chance, damageType, duration, effectSkillType, isBuff, multipleCopies, numPulses, removeBonusWhenEffectRemoved, replacable, skillDurationMod, skillEffectMod, stackLimit| Constructor and Description |
|---|
StatEffect(int id,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(AgisEffect.EffectState state)
Used for passive effects to activate the "effects" of the effect
|
void |
apply(AgisEffect.EffectState state) |
void |
deactivate(AgisEffect.EffectState state)
Used for passive effects to deactive the "effects" of the effect
|
java.lang.String |
getDisplayName() |
int |
GetEffectType() |
boolean |
getModifyPercentage() |
java.lang.Float |
getStat(java.lang.String stat) |
void |
pulse(AgisEffect.EffectState state) |
void |
remove(AgisEffect.EffectState state) |
void |
remove(AgisEffect.EffectState state,
CombatInfo target) |
void |
setDisplayName(java.lang.String eName) |
void |
setEffectType(int type) |
void |
setModifyPercentage(boolean modifyPercentage) |
void |
setStat(java.lang.String stat,
float adj) |
void |
unload(AgisEffect.EffectState state,
CombatInfo target) |
applyEffect, applyEffect, applyEffect, applyEffect, applyPassiveEffect, canApplyToImmine, canApplyToImmune, checkDamageMitigation, checkDuelDefeat, 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, resume, setBonusEffect, setBonusEffectReq, setBonusEffectReqConsumed, setChance, setDamageType, setDuelEffect, setDuration, setEffectSkillType, setIcon, setID, setMultipleCopies, setName, setNumPulses, setReplacable, setSkillDurationMod, setSkillEffectMod, setStackLimit, stackCheck, toStringprotected java.util.Map<java.lang.String,java.lang.Float> statMap
protected java.lang.String displayName
public int effectType
public boolean modifyPercentage
public void setStat(java.lang.String stat,
float adj)
public java.lang.Float getStat(java.lang.String stat)
public void apply(AgisEffect.EffectState state)
apply in class AgisEffectpublic void remove(AgisEffect.EffectState state)
remove in class AgisEffectpublic void remove(AgisEffect.EffectState state, CombatInfo target)
public void unload(AgisEffect.EffectState state, CombatInfo target)
unload in class AgisEffectpublic void pulse(AgisEffect.EffectState state)
pulse in class AgisEffectpublic void activate(AgisEffect.EffectState state)
AgisEffectactivate in class AgisEffectpublic void deactivate(AgisEffect.EffectState state)
AgisEffectdeactivate in class AgisEffectpublic void setDisplayName(java.lang.String eName)
public java.lang.String getDisplayName()
public void setEffectType(int type)
public int GetEffectType()
public void setModifyPercentage(boolean modifyPercentage)
public boolean getModifyPercentage()