Class ArenaSkill
[Serializable]
public abstract class ArenaSkill : ISkill
- Inheritance
-
ArenaSkill
- Implements
- Derived
- Inherited Members
Constructors
ArenaSkill(Row, long, int, int, StatType)
protected ArenaSkill(SkillSheet.Row skillRow, long power, int chance, int statPowerRatio, StatType referencedStatType)
Parameters
Properties
Chance
public int Chance { get; }
Property Value
CustomField
public SkillCustomField? CustomField { get; set; }
Property Value
Power
Determines damage of AttackSkill
.
Determines effect of BuffSkill
.
public long Power { get; }
Property Value
ReferencedStatType
public StatType ReferencedStatType { get; }
Property Value
SkillRow
public SkillSheet.Row SkillRow { get; }
Property Value
StatPowerRatio
public int StatPowerRatio { get; }
Property Value
Methods
Equals(Skill)
protected bool Equals(Skill other)
Parameters
other
Skill
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsBuff()
public bool IsBuff()
Returns
IsDebuff()
public bool IsDebuff()
Returns
ProcessBuff(ArenaCharacter, ArenaCharacter, int, IEnumerable<Buff>)
protected IEnumerable<ArenaSkill.ArenaSkillInfo> ProcessBuff(ArenaCharacter caster, ArenaCharacter target, int turn, IEnumerable<Buff> buffs)
Parameters
caster
ArenaCharactertarget
ArenaCharacterturn
intbuffs
IEnumerable<Buff>
Returns
Update(int, long, int)
public void Update(int chance, long power, int statPowerRatio)
Parameters
Use(ArenaCharacter, ArenaCharacter, int, IEnumerable<Buff>)
public abstract ArenaSkill Use(ArenaCharacter caster, ArenaCharacter target, int turn, IEnumerable<Buff> buffs)
Parameters
caster
ArenaCharactertarget
ArenaCharacterturn
intbuffs
IEnumerable<Buff>