Class ArenaCharacter
public class ArenaCharacter : ICloneable
- Inheritance
-
ArenaCharacter
- Implements
- Inherited Members
Constructors
ArenaCharacter(IArenaSimulator, ArenaPlayerDigest, ArenaSimulatorSheets, bool)
public ArenaCharacter(IArenaSimulator simulator, ArenaPlayerDigest digest, ArenaSimulatorSheets sheets, bool isEnemy = false)
Parameters
simulatorIArenaSimulatordigestArenaPlayerDigestsheetsArenaSimulatorSheetsisEnemybool
ArenaCharacter(IArenaSimulator, ArenaPlayerDigest, ArenaSimulatorSheets, long, List<StatModifier>, bool, bool)
public ArenaCharacter(IArenaSimulator simulator, ArenaPlayerDigest digest, ArenaSimulatorSheets sheets, long hpModifier, List<StatModifier> collectionModifiers, bool isEnemy = false, bool setExtraValueBuffBeforeGetBuffs = false)
Parameters
simulatorIArenaSimulatordigestArenaPlayerDigestsheetsArenaSimulatorSheetshpModifierlongcollectionModifiersList<StatModifier>isEnemyboolsetExtraValueBuffBeforeGetBuffsbool
Fields
CriticalMultiplier
public const decimal CriticalMultiplier = 1.5
Field Value
RuneSkillCooldownMap
public readonly Dictionary<int, int> RuneSkillCooldownMap
Field Value
- Dictionary<int, int>
Simulator
public readonly IArenaSimulator Simulator
Field Value
_runeSkills
public readonly ArenaSkills _runeSkills
Field Value
usedSkill
public ArenaSkill usedSkill
Field Value
Properties
ATK
public long ATK { get; }
Property Value
ActionBuffs
public IEnumerable<ActionBuff> ActionBuffs { get; }
Property Value
AdditionalHP
public long AdditionalHP { get; }
Property Value
ArmorPenetration
public long ArmorPenetration { get; }
Property Value
AttackCount
public int AttackCount { get; }
Property Value
AttackRange
public float AttackRange { get; }
Property Value
Buffs
public Dictionary<int, Buff> Buffs { get; }
Property Value
CDMG
public long CDMG { get; }
Property Value
CRI
public long CRI { get; }
Property Value
CharacterId
public int CharacterId { get; }
Property Value
CurrentHP
public long CurrentHP { get; set; }
Property Value
DEF
public long DEF { get; }
Property Value
DRR
public long DRR { get; }
Property Value
DRV
public long DRV { get; }
Property Value
DefenseElementalType
public ElementalType DefenseElementalType { get; }
Property Value
HIT
public long HIT { get; }
Property Value
HP
public long HP { get; }
Property Value
Id
public Guid Id { get; }
Property Value
IsDead
public bool IsDead { get; }
Property Value
IsEnemy
public bool IsEnemy { get; }
Property Value
Level
public int Level { get; set; }
Property Value
OffensiveElementalType
public ElementalType OffensiveElementalType { get; }
Property Value
RunSpeed
public float RunSpeed { get; }
Property Value
SPD
public long SPD { get; }
Property Value
SizeType
public SizeType SizeType { get; }
Property Value
SkillLog
public ArenaSkill SkillLog { get; }
Property Value
StatBuffs
public IEnumerable<StatBuff> StatBuffs { get; }
Property Value
Stats
public CharacterStats Stats { get; }
Property Value
Thorn
public long Thorn { get; }
Property Value
Methods
AddBuff(Buff, bool)
public IEnumerable<Buff> AddBuff(Buff buff, bool updateImmediate = true)
Parameters
Returns
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
GetDamage(long, bool)
public long GetDamage(long damage, bool considerAttackCount = true)
Parameters
Returns
Heal(long)
public void Heal(long heal)
Parameters
heallong
IsCritical(bool)
public bool IsCritical(bool considerAttackCount = true)
Parameters
considerAttackCountbool
Returns
IsHit(ArenaCharacter)
public virtual bool IsHit(ArenaCharacter caster)
Parameters
casterArenaCharacter
Returns
OnPostSkill(ArenaSkill)
protected virtual void OnPostSkill(ArenaSkill usedSkill)
Parameters
usedSkillArenaSkill
OnPreSkill()
protected virtual bool OnPreSkill()
Returns
RemoveActionBuff(ActionBuff)
public void RemoveActionBuff(ActionBuff removedBuff)
Parameters
removedBuffActionBuff
RemoveRecentStatBuff()
public void RemoveRecentStatBuff()
RemoveStatBuff(StatBuff)
public void RemoveStatBuff(StatBuff removedBuff)
Parameters
removedBuffStatBuff
ResetCurrentHP()
protected void ResetCurrentHP()
SetRuneSkills(IEnumerable<RuneState>, RuneOptionSheet, SkillSheet)
public void SetRuneSkills(IEnumerable<RuneState> runes, RuneOptionSheet runeOptionSheet, SkillSheet skillSheet)
Parameters
runesIEnumerable<RuneState>runeOptionSheetRuneOptionSheetskillSheetSkillSheet
SetRuneStats(IEnumerable<RuneState>, RuneOptionSheet, int)
public void SetRuneStats(IEnumerable<RuneState> runes, RuneOptionSheet runeOptionSheet, int runeLevelBonus)
Parameters
runesIEnumerable<RuneState>runeOptionSheetRuneOptionSheetruneLevelBonusint
SetRuneV1(List<RuneState>, RuneOptionSheet, SkillSheet)
[Obsolete("Use SetRune instead.")]
public void SetRuneV1(List<RuneState> runes, RuneOptionSheet runeOptionSheet, SkillSheet skillSheet)
Parameters
runesList<RuneState>runeOptionSheetRuneOptionSheetskillSheetSkillSheet
SetRuneV2(List<RuneState>, RuneOptionSheet, SkillSheet)
[Obsolete("Use SetRune instead.")]
public void SetRuneV2(List<RuneState> runes, RuneOptionSheet runeOptionSheet, SkillSheet skillSheet)
Parameters
runesList<RuneState>runeOptionSheetRuneOptionSheetskillSheetSkillSheet
Spawn(ArenaCharacter)
public void Spawn(ArenaCharacter target)
Parameters
targetArenaCharacter
SpawnV2(ArenaCharacter)
[Obsolete("Use Spawn")]
public void SpawnV2(ArenaCharacter target)
Parameters
targetArenaCharacter
Tick()
public void Tick()