Table of Contents

Class HitCountCondition

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Condition that evaluates whether an ability object's hit count satisfies a specified comparison.

[Serializable]
public sealed class HitCountCondition : BaseCondition, ICondition
Inheritance
HitCountCondition
Implements
Inherited Members

Fields

ComparisonType

The type of comparison to perform with the ability object's hit count.

[Tooltip("The type of comparison to perform with the AbilityObject's HitCount.")]
public HitCountComparisonType ComparisonType

Field Value

HitCountComparisonType

RequiredHitCount

The hit count value to compare against the ability object's hit count.

[Tooltip("The HitCount value to compare against.")]
public int RequiredHitCount

Field Value

int

Methods

Evaluate(ICharacter, EventData)

Evaluates whether the ability object's hit count satisfies the specified comparison type and value.

public override bool Evaluate(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the evaluation.

eventData EventData

The event data containing the ability object.

Returns

bool

True if the condition is met; otherwise, false.