|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.agis.core.AgisAbility
public class AgisAbility
The AgisAbility object describes an action that a mob can perform.
When an ability is triggered, a AgisAbility.State object is generated that represents the current state of that instance of the ability. It progresses through a sequence of states, dependent on the configuration of the AgisAbility object.
As each state is entered or exited, a method is called that can be overridden to create different types of abilities.
Nested Class Summary | |
---|---|
static class |
AgisAbility.AbilityResult
|
static class |
AgisAbility.ActivationState
|
static class |
AgisAbility.AoeType
|
static class |
AgisAbility.Entry
From what I can tell, this class is pointless. - Andrew |
static class |
AgisAbility.TargetSpecies
|
static class |
AgisAbility.TargetType
|
Field Summary | |
---|---|
protected int |
activationCost
|
protected long |
activationTime
|
protected int |
activePulseCost
|
protected long |
activePulseTime
|
protected int |
ammoReq
|
protected AgisAbility.AoeType |
aoeType
|
protected int |
areaOfEffectRadius
|
java.util.LinkedList<java.lang.Integer> |
attackerEffectConsumption
|
java.util.LinkedList<java.lang.Integer> |
attackerEffectReqs
|
boolean |
autoRotateToTarget
|
protected java.lang.String |
castingAffinity
|
protected java.lang.String |
castingAnim
|
protected int |
channelCost
|
protected boolean |
channelled
|
protected int |
channelPulses
|
protected long |
channelPulseTime
|
protected java.lang.String |
completeAnimation
|
protected java.lang.String |
completeSound
|
protected boolean |
consumeReagents
|
protected java.util.Map<java.lang.String,Cooldown> |
cooldownMap
|
protected java.util.Map<AgisAbility.ActivationState,java.util.Set<CoordinatedEffect>> |
coordEffectMap
|
protected java.lang.String |
costProp
|
protected boolean |
decrementWeaponUses
|
protected java.lang.String |
displayName
|
protected java.lang.String |
icon
|
protected int |
interceptType
|
protected java.util.concurrent.locks.Lock |
lock
AgisAbility lock |
protected int |
maxRange
|
protected int |
minRange
|
protected boolean |
persistent
|
int |
position
|
protected java.util.HashMap<java.lang.Integer,java.lang.Integer> |
reagentList
|
boolean |
reqFacingTarget
|
protected boolean |
reqTarget
|
static int |
RESULT_BLOCKED
|
static int |
RESULT_CRITICAL
|
static int |
RESULT_DODGED
|
static int |
RESULT_EVADED
|
static int |
RESULT_HIT
|
static int |
RESULT_IMMUNE
|
static int |
RESULT_MISSED
|
static int |
RESULT_PARRIED
|
protected boolean |
sendSkillUpChance
|
protected int |
skillType
|
protected java.util.LinkedList<java.lang.String> |
specificTargets
|
protected java.lang.String |
stanceReq
|
protected boolean |
startCooldownsOnActivation
|
protected boolean |
stationary
|
protected java.util.LinkedList<AgisAbility.TargetSpecies> |
targetableSpecies
|
protected int |
targetDeath
|
java.util.LinkedList<java.lang.Integer> |
targetEffectConsumption
|
java.util.LinkedList<java.lang.Integer> |
targetEffectReqs
|
protected AgisAbility.TargetType |
targetType
|
protected java.util.ArrayList<java.lang.Integer> |
toolList
|
protected java.lang.String |
tooltip
|
protected boolean |
useGlobalCooldown
|
protected int |
vigor
|
java.lang.String |
weaponReq
|
Constructor Summary | |
---|---|
AgisAbility(java.lang.String name)
|
Method Summary | |
---|---|
static void |
abortAbility(AgisAbilityState state)
|
void |
addAttackerEffectConsumption(int effectReq)
|
void |
addAttackerEffectReq(int effectReq)
|
void |
addCooldown(Cooldown cd)
Adds a cooldown to this ability. |
boolean |
addCoordEffect(AgisAbility.ActivationState state,
CoordinatedEffect effect)
|
void |
addReagent(java.lang.Integer reagent,
java.lang.Integer count)
Adds a reagent requirement to this ability. |
void |
addSpecificTarget(java.lang.String name)
|
void |
addTargetableSpecies(AgisAbility.TargetSpecies species)
|
void |
addTargetEffectConsumption(int effectReq)
|
void |
addTargetEffectReq(int effectReq)
|
void |
addTool(int tool)
Adds a tool requirement to this ability. |
boolean |
autoRotateToTarget()
|
void |
autoRotateToTarget(boolean autoRotateToTarget)
|
void |
beginActivated(AgisAbilityState state)
|
void |
beginActivation(AgisAbilityState state)
|
void |
beginChannelling(AgisAbilityState state)
|
protected void |
changeCoordinatedEffect(java.lang.String result)
|
AgisAbility.AbilityResult |
checkAbility(CombatInfo obj,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkAbility(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkAbilityType(CombatInfo obj,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkAmmo(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkCost(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkDeath(CombatInfo obj,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkEffects(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
AgisAbility.AbilityResult |
checkEquip(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkHasAbility(CombatInfo obj,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkPosition(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state,
BasicWorldNode attackerNode)
|
protected AgisAbility.AbilityResult |
checkRange(CombatInfo obj,
CombatInfo target,
BasicWorldNode casterWNode,
float rangeTolerance)
|
protected AgisAbility.AbilityResult |
checkReady(CombatInfo obj,
CombatInfo target,
BasicWorldNode casterWNode)
|
protected AgisAbility.AbilityResult |
checkReagent(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkSpecificTarget(CombatInfo caster,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkStance(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkState(CombatInfo obj,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkTarget(CombatInfo caster,
CombatInfo target)
Checks if the caster's current target is a valid target for the ability. |
protected AgisAbility.AbilityResult |
checkTargetSpecies(CombatInfo caster,
CombatInfo target)
|
protected AgisAbility.AbilityResult |
checkTool(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
protected AgisAbility.AbilityResult |
checkVigor(CombatInfo obj,
CombatInfo target,
AgisAbility.ActivationState state)
|
void |
completeActivation(AgisAbilityState state)
Runs when the ability is completed. |
void |
completeChannelling(AgisAbilityState state)
|
void |
endActivated(AgisAbilityState state)
|
boolean |
equals(java.lang.Object other)
Returns if two objects are the same - tested by comparing the ability name. |
protected AgisAbilityState |
generateState(CombatInfo source,
CombatInfo target,
AgisItem item,
Point loc)
|
int |
getAbilityType()
|
int |
getActivationCost()
Returns the stat cost for successfully activating the ability. |
long |
getActivationTime()
Returns the time the ability takes to activate. |
int |
getActiveCost()
Returns the stat cost charged for each pulse of the active phase. |
int |
getActivePulseCost()
|
long |
getActivePulseTime()
Returns the time in ms for each pulse of the active phase. |
int |
getAmmoReq()
|
java.util.ArrayList<CombatInfo> |
getAoETargets(CombatInfo caster,
CombatInfo targetInfo,
Point loc)
Should this be merged up into the function above? |
AgisAbility.AoeType |
getAoEType()
|
int |
getAreaOfEffectRadius()
If the areaOfEffectRadius is greater than zero the system will check for all possible targets in the region and try apply the effects to them. |
java.util.LinkedList<java.lang.Integer> |
GetAttackerEffectConsumption()
|
java.util.LinkedList<java.lang.Integer> |
GetAttackerEffectReqs()
|
int |
getBaseExpThreshold()
-Experience system component - Not currently used Returns the default max experience that will be needed before the ability gains a level. |
java.lang.String |
getCastingAffinity()
The casting Anim is for abilities that have a cast, it determines which animation should be used. |
java.lang.String |
getCastingAnim()
The casting Anim is for abilities that have a cast, it determines which animation should be used. |
int |
getChannelCost()
Returns the stat cost charged for each channelling pulse. |
boolean |
getChannelled()
|
int |
getChannelPulses()
Returns the number of pulses during the channelled phase. |
long |
getChannelPulseTime()
Returns the time in ms for each pulse of a channelled ability. |
java.lang.String |
getCompleteAnimation()
|
java.lang.String |
getCompleteSound()
|
boolean |
getConsumeReagents()
|
java.util.Map<java.lang.String,Cooldown> |
getCooldownMap()
|
java.util.Collection<CoordinatedEffect> |
getCoordEffects(AgisAbility.ActivationState state)
|
java.lang.String |
getCostProperty()
Returns the name of the property that stat costs are deducted from. |
boolean |
getDecrementWeaponUses()
|
java.lang.String |
getDisplayName()
|
int |
getDuelID()
|
int |
getExperiencePerUse()
-Experience system component - Not currently used Returns the amount of experience should be gained by successful use of this ability. |
java.lang.String |
getIcon()
Returns the icon name for this ability. |
int |
getID()
|
int |
getInterceptType()
|
LevelingMap |
getLevelingMap()
|
int |
getMaxRange()
Returns the maximum range in metres for this ability. |
int |
getMaxRank()
-Experience system component - Not currently used Returns the max rank that an ability may achieve. |
int |
getMinRange()
Returns the minimum range in mm for this ability. |
java.lang.String |
getName()
Returns the name of the ability. |
boolean |
getPersistent()
|
int |
getPositional()
|
java.util.List<CombatInfo> |
getPotentialTargets(AgisAbilityState state)
This method gets the list of combat info objects we should lock. |
java.util.HashMap<java.lang.Integer,java.lang.Integer> |
getReagentList()
|
boolean |
getReqFacingTarget()
|
boolean |
getReqTarget()
Returns whether a target is required for this ability to activate |
AgisSkill |
getRequiredSkill()
|
int |
getRequiredSkillLevel()
|
AgisEffect |
getResultVal(java.lang.String result,
boolean caster)
|
int |
getSkillType()
|
java.lang.String |
getSlashCommand()
|
java.util.LinkedList<java.lang.String> |
getSpecificTargets()
Returns the list of acceptable specific targets for this ability. |
java.lang.String |
getStance()
Returns the vigor amount added or required for the ability. |
boolean |
getStationary()
|
java.util.LinkedList<AgisAbility.TargetSpecies> |
getTargetableSpecies()
Returns the list of acceptable specific targets for this ability. |
int |
getTargetDeath()
Returns the target type for this ability. |
java.util.LinkedList<java.lang.Integer> |
GetTargetEffectConsumption()
|
java.util.LinkedList<java.lang.Integer> |
GetTargetEffectReqs()
|
AgisAbility.TargetType |
getTargetType()
Returns the target type for this ability. |
java.util.ArrayList<java.lang.Integer> |
getToolList()
|
java.lang.String |
getTooltip()
|
boolean |
getUseGlobalCooldown()
|
int |
getVigor()
Returns the vigor amount added or required for the ability. |
java.lang.String |
getWeaponReq()
|
int |
hashCode()
Returns a hash of the ability name |
void |
interrupt(AgisAbilityState state)
|
static void |
interruptAbility(AgisAbilityState state,
AgisAbility.AbilityResult reason)
|
boolean |
isInstant()
Returns if the ability has 0 activation time. |
void |
pulseActivated(AgisAbilityState state)
|
void |
pulseChannelling(AgisAbilityState state)
|
void |
removeCooldown(java.lang.String id)
Removes a cooldown from this ability. |
boolean |
removeCoordEffect(AgisAbility.ActivationState state,
CoordinatedEffect effect)
|
void |
setAbilityType(int abilityType)
|
void |
setActivationCost(int cost)
Sets the stat cost for successfully activating the ability. |
void |
setActivationTime(long time)
Sets the time the ability takes to activate. |
void |
setActiveCost(int cost)
Sets the stat cost charged for each pulse of the active phase. |
void |
setActivePulseCost(int cost)
|
void |
setActivePulseTime(long time)
Set the time in ms for each pulse of the active phase. |
void |
setAmmoReq(int ammoReq)
|
void |
setAoETypeType(AgisAbility.AoeType type)
|
void |
setAreaOfEffectRadius(int radius)
|
void |
setBaseExpThreshold(int max)
-Experience system component - Not currently used Sets the default max experience that will be needed before the ability gains a level. |
void |
setCastingAffinity(java.lang.String affinity)
|
void |
setCastingAnim(java.lang.String anim)
|
void |
setChannelCost(int cost)
Sets the stat cost charged for each channelling pulse. |
void |
setChannelled(boolean val)
|
void |
setChannelPulses(int pulses)
Sets the number of pulses during the channelled phase. |
void |
setChannelPulseTime(long time)
Sets the time in ms for each pulse of a channelled ability. |
void |
setCompleteAnimation(java.lang.String anim)
|
void |
setCompleteSound(java.lang.String sound)
|
void |
setConsumeReagents(boolean consume)
|
void |
setCooldownMap(java.util.Map<java.lang.String,Cooldown> cooldownMap)
|
void |
setCostProperty(java.lang.String name)
Sets the name of the property that stat costs are deducted from. |
void |
setDecrementWeaponUses(boolean decrement)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setDuelID(int duelID)
|
void |
setExperiencePerUse(int xp)
-Experience system component - Not currently used Sets the amount of experience should be gained by successful use of this ability. |
void |
setIcon(java.lang.String icon)
Sets the icon name for this ability. |
void |
setID(int id)
|
void |
setInterceptType(int interceptType)
|
void |
setLevelingMap(LevelingMap lm)
|
void |
setMaxRange(int range)
Sets the maximum range in metres for this ability. |
void |
setMaxRank(int rank)
-Experience system component - Not currently used Sets the max rank that an ability may achieve. |
void |
setMinRange(int range)
Sets the minimum range in mm for this ability. |
void |
setName(java.lang.String name)
Sets the name of the ability. |
void |
setPersistent(boolean val)
|
void |
setPositional(int positional)
|
void |
setReagentList(java.util.HashMap<java.lang.Integer,java.lang.Integer> reagentList)
|
void |
setReqFacingTarget(boolean reqFacingTarget)
|
void |
setReqTarget(boolean req)
Sets whether a target is required for this ability to activate |
void |
setRequiredSkill(AgisSkill skill,
int level)
|
void |
setSkillType(int skillType)
|
void |
setSlashCommand(java.lang.String slashCommand)
exposes a way for the client to execute ability with a slash command |
void |
setSpecificTargets(java.util.LinkedList<java.lang.String> targets)
Sets the list of acceptable specific targets for this ability. |
void |
setStance(java.lang.String stance)
Sets the amount of vigor to be added or required to activate the ability |
void |
setStationary(boolean val)
|
void |
setTargetableSpecies(java.util.LinkedList<AgisAbility.TargetSpecies> targets)
Sets the list of acceptable specific targets for this ability. |
void |
setTargetDeath(int type)
Sets the target type for this ability. |
void |
setTargetType(AgisAbility.TargetType type)
Sets the target type for this ability. |
void |
setToolList(java.util.ArrayList<java.lang.Integer> toolList)
|
void |
setTooltip(java.lang.String tooltip)
|
void |
setUseGlobalCooldown(boolean val)
|
void |
setVigor(int value)
Sets the amount of vigor to be added or required to activate the ability |
void |
setWeaponReq(java.lang.String weaponType)
|
static void |
startAbility(AgisAbility ability,
CombatInfo source,
CombatInfo target,
AgisItem item)
|
static void |
startAbility(AgisAbility ability,
CombatInfo source,
CombatInfo target,
AgisItem item,
Point loc)
|
boolean |
startCooldownsOnActivation()
|
void |
startCooldownsOnActivation(boolean startCooldowns)
|
java.lang.String |
toString()
Returns the string describing this ability, useful for logging. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient java.util.concurrent.locks.Lock lock
protected int skillType
protected long activationTime
protected int activationCost
protected java.lang.String costProp
protected long channelPulseTime
protected int channelPulses
protected int channelCost
protected long activePulseTime
protected int activePulseCost
protected java.lang.String icon
protected java.lang.String displayName
protected java.lang.String tooltip
protected int interceptType
protected int minRange
protected int maxRange
protected int areaOfEffectRadius
protected AgisAbility.AoeType aoeType
public boolean reqFacingTarget
public boolean autoRotateToTarget
public int position
protected java.util.Map<java.lang.String,Cooldown> cooldownMap
protected boolean startCooldownsOnActivation
public java.lang.String weaponReq
protected boolean decrementWeaponUses
protected java.util.HashMap<java.lang.Integer,java.lang.Integer> reagentList
protected boolean consumeReagents
protected java.util.ArrayList<java.lang.Integer> toolList
protected int ammoReq
protected int vigor
protected java.lang.String stanceReq
protected java.lang.String castingAnim
protected java.lang.String castingAffinity
protected boolean reqTarget
protected AgisAbility.TargetType targetType
protected java.util.LinkedList<java.lang.String> specificTargets
protected java.util.LinkedList<AgisAbility.TargetSpecies> targetableSpecies
protected int targetDeath
public java.util.LinkedList<java.lang.Integer> attackerEffectReqs
public java.util.LinkedList<java.lang.Integer> targetEffectReqs
public java.util.LinkedList<java.lang.Integer> attackerEffectConsumption
public java.util.LinkedList<java.lang.Integer> targetEffectConsumption
protected boolean useGlobalCooldown
protected boolean stationary
protected boolean channelled
protected boolean persistent
protected java.util.Map<AgisAbility.ActivationState,java.util.Set<CoordinatedEffect>> coordEffectMap
protected java.lang.String completeAnimation
protected java.lang.String completeSound
protected boolean sendSkillUpChance
public static final int RESULT_HIT
public static final int RESULT_CRITICAL
public static final int RESULT_MISSED
public static final int RESULT_PARRIED
public static final int RESULT_DODGED
public static final int RESULT_BLOCKED
public static final int RESULT_EVADED
public static final int RESULT_IMMUNE
Constructor Detail |
---|
public AgisAbility(java.lang.String name)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setName(java.lang.String name)
name
- name for this ability.public java.lang.String getName()
public void setID(int id)
public int getID()
public void setSkillType(int skillType)
public int getSkillType()
public void setAbilityType(int abilityType)
public int getAbilityType()
public void setDuelID(int duelID)
public int getDuelID()
public long getActivationTime()
public void setActivationTime(long time)
time
- time in ms that the ability takes to activate.public boolean isInstant()
public int getActivationCost()
public void setActivationCost(int cost)
cost
- stat cost for activating the ability.public java.lang.String getCostProperty()
public void setCostProperty(java.lang.String name)
name
- name of the property that stat costs are deducted from.public long getChannelPulseTime()
public void setChannelPulseTime(long time)
time
- time in ms for each pulse of a channelled ability.public int getChannelPulses()
public void setChannelPulses(int pulses)
pulses
- number of pulses during the channelled phase for the ability.public int getChannelCost()
public void setChannelCost(int cost)
cost
- stat cost charged for each channelling pulse.public long getActivePulseTime()
public void setActivePulseTime(long time)
time
- time in ms for each pulse of the active phase.public int getActiveCost()
public int getActivePulseCost()
public void setActiveCost(int cost)
cost
- stat cost charged for each pulse of hte active phase.public void setActivePulseCost(int cost)
public java.lang.String getIcon()
public void setIcon(java.lang.String icon)
icon
- icon name for this ability.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getTooltip()
public void setTooltip(java.lang.String tooltip)
public int getInterceptType()
public void setInterceptType(int interceptType)
public int getMinRange()
public void setMinRange(int range)
range
- minimum range in mm for this ability.public int getMaxRange()
public void setMaxRange(int range)
range
- Maximum range in metres for this ability.public int getAreaOfEffectRadius()
public void setAreaOfEffectRadius(int radius)
public AgisAbility.AoeType getAoEType()
public void setAoETypeType(AgisAbility.AoeType type)
public boolean getReqFacingTarget()
public void setReqFacingTarget(boolean reqFacingTarget)
public boolean autoRotateToTarget()
public void autoRotateToTarget(boolean autoRotateToTarget)
public void setPositional(int positional)
public int getPositional()
public void addCooldown(Cooldown cd)
cd
- Cooldown to add to this ability.public void removeCooldown(java.lang.String id)
id
- id of the cooldown to remove.public java.util.Map<java.lang.String,Cooldown> getCooldownMap()
public void setCooldownMap(java.util.Map<java.lang.String,Cooldown> cooldownMap)
public boolean startCooldownsOnActivation()
public void startCooldownsOnActivation(boolean startCooldowns)
public void setWeaponReq(java.lang.String weaponType)
public java.lang.String getWeaponReq()
public boolean getDecrementWeaponUses()
public void setDecrementWeaponUses(boolean decrement)
public void addReagent(java.lang.Integer reagent, java.lang.Integer count)
reagent
- name of the template the reagent was created from.public java.util.HashMap<java.lang.Integer,java.lang.Integer> getReagentList()
public void setReagentList(java.util.HashMap<java.lang.Integer,java.lang.Integer> reagentList)
public boolean getConsumeReagents()
public void setConsumeReagents(boolean consume)
public void addTool(int tool)
tool
- name of the template the tool was created from.public java.util.ArrayList<java.lang.Integer> getToolList()
public void setToolList(java.util.ArrayList<java.lang.Integer> toolList)
public int getAmmoReq()
public void setAmmoReq(int ammoReq)
public int getVigor()
public void setVigor(int value)
value
- the amount of vigor to be added or subtractedpublic java.lang.String getStance()
public void setStance(java.lang.String stance)
value
- the amount of vigor to be added or subtractedpublic java.lang.String getCastingAnim()
public void setCastingAnim(java.lang.String anim)
public java.lang.String getCastingAffinity()
public void setCastingAffinity(java.lang.String affinity)
public boolean getReqTarget()
public void setReqTarget(boolean req)
type
- target type for this ability.public AgisAbility.TargetType getTargetType()
public void setTargetType(AgisAbility.TargetType type)
type
- target type for this ability.public java.util.LinkedList<java.lang.String> getSpecificTargets()
public void setSpecificTargets(java.util.LinkedList<java.lang.String> targets)
targets:
- a list of acceptable specific targets.public void addSpecificTarget(java.lang.String name)
public java.util.LinkedList<AgisAbility.TargetSpecies> getTargetableSpecies()
public void setTargetableSpecies(java.util.LinkedList<AgisAbility.TargetSpecies> targets)
targets:
- a list of acceptable specific targets.public void addTargetableSpecies(AgisAbility.TargetSpecies species)
public int getTargetDeath()
public void setTargetDeath(int type)
type
- target type for this ability.public void addAttackerEffectReq(int effectReq)
public java.util.LinkedList<java.lang.Integer> GetAttackerEffectReqs()
public void addTargetEffectReq(int effectReq)
public java.util.LinkedList<java.lang.Integer> GetTargetEffectReqs()
public void addAttackerEffectConsumption(int effectReq)
public java.util.LinkedList<java.lang.Integer> GetAttackerEffectConsumption()
public void addTargetEffectConsumption(int effectReq)
public java.util.LinkedList<java.lang.Integer> GetTargetEffectConsumption()
public boolean getUseGlobalCooldown()
public void setUseGlobalCooldown(boolean val)
public boolean getStationary()
public void setStationary(boolean val)
public boolean getChannelled()
public void setChannelled(boolean val)
public boolean getPersistent()
public void setPersistent(boolean val)
public boolean addCoordEffect(AgisAbility.ActivationState state, CoordinatedEffect effect)
public boolean removeCoordEffect(AgisAbility.ActivationState state, CoordinatedEffect effect)
public java.util.Collection<CoordinatedEffect> getCoordEffects(AgisAbility.ActivationState state)
protected void changeCoordinatedEffect(java.lang.String result)
public java.lang.String getCompleteAnimation()
public void setCompleteAnimation(java.lang.String anim)
public java.lang.String getCompleteSound()
public void setCompleteSound(java.lang.String sound)
public java.util.List<CombatInfo> getPotentialTargets(AgisAbilityState state)
state
-
public java.util.ArrayList<CombatInfo> getAoETargets(CombatInfo caster, CombatInfo targetInfo, Point loc)
caster
- loc
-
public void beginActivation(AgisAbilityState state)
public void completeActivation(AgisAbilityState state)
state
- public void beginChannelling(AgisAbilityState state)
public void pulseChannelling(AgisAbilityState state)
public void completeChannelling(AgisAbilityState state)
public void beginActivated(AgisAbilityState state)
public void pulseActivated(AgisAbilityState state)
public void endActivated(AgisAbilityState state)
public void interrupt(AgisAbilityState state)
public void setSlashCommand(java.lang.String slashCommand)
public java.lang.String getSlashCommand()
public void setRequiredSkill(AgisSkill skill, int level)
public AgisSkill getRequiredSkill()
public int getRequiredSkillLevel()
protected AgisAbility.AbilityResult checkTarget(CombatInfo caster, CombatInfo target)
caster
- target
-
protected AgisAbility.AbilityResult checkTargetSpecies(CombatInfo caster, CombatInfo target)
protected AgisAbility.AbilityResult checkSpecificTarget(CombatInfo caster, CombatInfo target)
protected AgisAbility.AbilityResult checkState(CombatInfo obj, CombatInfo target)
protected AgisAbility.AbilityResult checkHasAbility(CombatInfo obj, CombatInfo target)
protected AgisAbility.AbilityResult checkAbilityType(CombatInfo obj, CombatInfo target)
protected AgisAbility.AbilityResult checkDeath(CombatInfo obj, CombatInfo target)
protected AgisAbility.AbilityResult checkRange(CombatInfo obj, CombatInfo target, BasicWorldNode casterWNode, float rangeTolerance)
protected AgisAbility.AbilityResult checkReady(CombatInfo obj, CombatInfo target, BasicWorldNode casterWNode)
protected AgisAbility.AbilityResult checkCost(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkVigor(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkEffects(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkStance(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkPosition(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state, BasicWorldNode attackerNode)
public AgisAbility.AbilityResult checkEquip(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkReagent(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkTool(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbility.AbilityResult checkAmmo(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
public AgisAbility.AbilityResult checkAbility(CombatInfo obj, CombatInfo target)
protected AgisAbility.AbilityResult checkAbility(CombatInfo obj, CombatInfo target, AgisAbility.ActivationState state)
protected AgisAbilityState generateState(CombatInfo source, CombatInfo target, AgisItem item, Point loc)
public static void startAbility(AgisAbility ability, CombatInfo source, CombatInfo target, AgisItem item)
public static void startAbility(AgisAbility ability, CombatInfo source, CombatInfo target, AgisItem item, Point loc)
public static void abortAbility(AgisAbilityState state)
public static void interruptAbility(AgisAbilityState state, AgisAbility.AbilityResult reason)
public AgisEffect getResultVal(java.lang.String result, boolean caster)
public int getExperiencePerUse()
public void setExperiencePerUse(int xp)
public void setLevelingMap(LevelingMap lm)
public LevelingMap getLevelingMap()
public int getBaseExpThreshold()
public void setBaseExpThreshold(int max)
public int getMaxRank()
public void setMaxRank(int rank)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |