Atavism Version 2018.1AGIS API

atavism.agis.effects
Class MagicalStrikeEffect

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

public class MagicalStrikeEffect
extends AgisEffect

Effect child class that deals instant Magical Damage to the target, reducing one of their value stats (e.g Health or Mana).

Author:
Andrew Harrison
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class atavism.agis.core.AgisEffect
AgisEffect.EffectState
 
Field Summary
 java.util.LinkedList<java.lang.Integer> bonusDmgEffectVals
           
 java.util.LinkedList<java.lang.Integer> bonusDmgVals
           
protected  float DamageMod
           
protected  java.lang.String damageProperty
           
 int effectSkillType
           
 int hitRoll
           
protected  int maxDmg
           
protected  int maxPulseDmg
           
protected  int minDmg
           
protected  int minPulseDmg
           
protected  java.lang.String pulseCoordEffect
           
 
Fields inherited from class atavism.agis.core.AgisEffect
bonusEffect, bonusEffectReq, bonusEffectReqConsumed, chance, damageType, duration, isBuff, multipleCopies, numPulses, removeBonusWhenEffectRemoved, replacable, skillDurationMod, skillEffectMod, stackLimit
 
Constructor Summary
MagicalStrikeEffect(int id, java.lang.String name)
           
 
Method Summary
 void addBonusDmgEffectVal(int effect)
           
 void addBonusDmgVal(int val)
           
 void apply(AgisEffect.EffectState state)
           
 java.util.LinkedList<java.lang.Integer> GetBonusDmgEffectVal()
           
 java.util.LinkedList<java.lang.Integer> GetBonusDmgVal()
           
 float getDamageMod()
           
 java.lang.String getDamageProperty()
           
 int GetEffectSkillType()
           
 int GetHitRoll()
           
 int getMaxInstantDamage()
           
 int getMaxPulseDamage()
           
 int getMinInstantDamage()
           
 int getMinPulseDamage()
           
 java.lang.String getPulseCoordEffect()
           
 void pulse(AgisEffect.EffectState state)
           
 void setDamageMod(float hps)
           
 void setDamageProperty(java.lang.String property)
           
 void setEffectSkillType(int type)
           
 void setHitRoll(int roll)
           
 void setMaxInstantDamage(int hps)
           
 void setMaxPulseDamage(int hps)
           
 void setMinInstantDamage(int hps)
           
 void setMinPulseDamage(int hps)
           
 void setPulseCoordEffect(java.lang.String coordEffect)
           
 
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, remove, removeBonusWhenEffectRemoved, removeBonusWhenEffectRemoved, removeEffect, removeEffect, removeEffectByID, removeNonContinuousEffects, removeNonPassiveEffects, setBonusEffect, setBonusEffectReq, setBonusEffectReqConsumed, setChance, setDamageType, setDuelEffect, setDuration, 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

minDmg

protected int minDmg

maxDmg

protected int maxDmg

minPulseDmg

protected int minPulseDmg

maxPulseDmg

protected int maxPulseDmg

damageProperty

protected java.lang.String damageProperty

DamageMod

protected float DamageMod

pulseCoordEffect

protected java.lang.String pulseCoordEffect

bonusDmgEffectVals

public java.util.LinkedList<java.lang.Integer> bonusDmgEffectVals

bonusDmgVals

public java.util.LinkedList<java.lang.Integer> bonusDmgVals

effectSkillType

public int effectSkillType

hitRoll

public int hitRoll
Constructor Detail

MagicalStrikeEffect

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

apply

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

pulse

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

getMinInstantDamage

public int getMinInstantDamage()

setMinInstantDamage

public void setMinInstantDamage(int hps)

getMaxInstantDamage

public int getMaxInstantDamage()

setMaxInstantDamage

public void setMaxInstantDamage(int hps)

getMinPulseDamage

public int getMinPulseDamage()

setMinPulseDamage

public void setMinPulseDamage(int hps)

getMaxPulseDamage

public int getMaxPulseDamage()

setMaxPulseDamage

public void setMaxPulseDamage(int hps)

getDamageProperty

public java.lang.String getDamageProperty()

setDamageProperty

public void setDamageProperty(java.lang.String property)

getDamageMod

public float getDamageMod()

setDamageMod

public void setDamageMod(float hps)

getPulseCoordEffect

public java.lang.String getPulseCoordEffect()

setPulseCoordEffect

public void setPulseCoordEffect(java.lang.String coordEffect)

addBonusDmgEffectVal

public void addBonusDmgEffectVal(int effect)

GetBonusDmgEffectVal

public java.util.LinkedList<java.lang.Integer> GetBonusDmgEffectVal()

addBonusDmgVal

public void addBonusDmgVal(int val)

GetBonusDmgVal

public java.util.LinkedList<java.lang.Integer> GetBonusDmgVal()

setEffectSkillType

public void setEffectSkillType(int type)
Overrides:
setEffectSkillType in class AgisEffect

GetEffectSkillType

public int GetEffectSkillType()

setHitRoll

public void setHitRoll(int roll)

GetHitRoll

public int GetHitRoll()


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