Table of Contents

Struct AbilityStatBlock

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The four numbers every ability carries, and the range they imply.

public struct AbilityStatBlock
Inherited Members

Fields

ActivationTime

Seconds of casting before the ability goes off.

public float ActivationTime

Field Value

float

Cooldown

Seconds before the ability can be used again.

public float Cooldown

Field Value

float

HitCount

How many times the ability object can hit before it is done.

public int HitCount

Field Value

int

LifeTime

Seconds the spawned ability object lives.

public float LifeTime

Field Value

float

Speed

Metres per second the ability object travels.

public float Speed

Field Value

float

Properties

Range

How far the ability reaches: the distance its object covers before its lifetime ends.

public readonly float Range { get; }

Property Value

float

Methods

Add(float, float, float, float)

Adds another block's contributions to this one.

public void Add(float activationTime, float lifeTime, float speed, float cooldown)

Parameters

activationTime float
lifeTime float
speed float
cooldown float