C# Class ArmorReduce, Corsair

Inheritance: DebuffBase
Afficher le fichier Open project: Final-Parsec/Corsair Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( float deltaTime ) : bool

Applies the Buff.

ArmorReduce ( EnemyBase, owner, float duration, int reductionAmmount )

Initializes an instance of DebuffBase.

EndEffect ( ) : void

Ends a Buff's effect.

Method Details

Apply() public méthode

Applies the Buff.
public Apply ( float deltaTime ) : bool
deltaTime float The time between the last application.
Résultat bool

ArmorReduce() public méthode

Initializes an instance of DebuffBase.
public ArmorReduce ( EnemyBase, owner, float duration, int reductionAmmount )
owner EnemyBase, The agent under the effect.
duration float The length of time the buff is active.
reductionAmmount int The ammount to reduce the armor by.

EndEffect() public méthode

Ends a Buff's effect.
public EndEffect ( ) : void
Résultat void