Table of Contents

Class ArenaSkill

Namespace
Nekoyume.Model.Skill.Arena
Assembly
Lib9c.dll
[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

skillRow SkillSheet.Row
power long
chance int
statPowerRatio int
referencedStatType StatType

Properties

Chance

public int Chance { get; }

Property Value

int

CustomField

public SkillCustomField? CustomField { get; set; }

Property Value

SkillCustomField?

Power

Determines damage of AttackSkill. Determines effect of BuffSkill.

public long Power { get; }

Property Value

long

ReferencedStatType

public StatType ReferencedStatType { get; }

Property Value

StatType

SkillRow

public SkillSheet.Row SkillRow { get; }

Property Value

SkillSheet.Row

StatPowerRatio

public int StatPowerRatio { get; }

Property Value

int

Methods

Equals(Skill)

protected bool Equals(Skill other)

Parameters

other Skill

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

bool

IsDebuff()

public bool IsDebuff()

Returns

bool

ProcessBuff(ArenaCharacter, ArenaCharacter, int, IEnumerable<Buff>)

protected IEnumerable<ArenaSkill.ArenaSkillInfo> ProcessBuff(ArenaCharacter caster, ArenaCharacter target, int turn, IEnumerable<Buff> buffs)

Parameters

caster ArenaCharacter
target ArenaCharacter
turn int
buffs IEnumerable<Buff>

Returns

IEnumerable<ArenaSkill.ArenaSkillInfo>

Update(int, long, int)

public void Update(int chance, long power, int statPowerRatio)

Parameters

chance int
power long
statPowerRatio int

Use(ArenaCharacter, ArenaCharacter, int, IEnumerable<Buff>)

public abstract ArenaSkill Use(ArenaCharacter caster, ArenaCharacter target, int turn, IEnumerable<Buff> buffs)

Parameters

caster ArenaCharacter
target ArenaCharacter
turn int
buffs IEnumerable<Buff>

Returns

ArenaSkill