Class Skill
[Serializable]
public abstract class Skill : IState, ISkill
- Inheritance
-
Skill
- Implements
- Derived
- Inherited Members
Constructors
Skill(Row, long, int, int, StatType)
protected Skill(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(CharacterBase, int, IEnumerable<Buff>, bool)
protected IEnumerable<Skill.SkillInfo> ProcessBuff(CharacterBase caster, int simulatorWaveTurn, IEnumerable<Buff> buffs, bool copyCharacter)
Parameters
caster
CharacterBasesimulatorWaveTurn
intbuffs
IEnumerable<Buff>copyCharacter
bool
Returns
Serialize()
public IValue Serialize()
Returns
- IValue
Update(int, long, int)
public void Update(int chance, long power, int statPowerRatio)
Parameters
Use(CharacterBase, int, IEnumerable<Buff>, bool)
public abstract Skill Use(CharacterBase caster, int simulatorWaveTurn, IEnumerable<Buff> buffs, bool copyCharacter)
Parameters
caster
CharacterBasesimulatorWaveTurn
intbuffs
IEnumerable<Buff>copyCharacter
bool