C# Class SpellEffect, UnderworldExporter

Spell effects modify how the spell behaves. For example the missile motor will control how the spell will move through space while the beam motor will raycast a beam through world space. Spell effects are intended to be drivers for the actual spell and will not execute spell logic.
Inheritance: MonoBehaviour
Afficher le fichier Open project: hankmorgan/UnderworldExporter Class Usage Examples

Méthodes publiques

Свойство Type Description
Active bool
EffectID int
Permanent bool
TickTime int
Value int
counter int

Méthodes publiques

Méthode Description
ApplyEffect ( ) : void

Applies the effect.

CancelEffect ( ) : void

End the effect. By default it will destroy this spell effect.

EffectIcon ( ) : int

Returns the icon index no for this effect

EffectOverTime ( ) : void

Code to apply the periodic changes to the effect. Eg poison drains health, staged effects.

Go ( ) : void

Starts the spell effect.

SetPermanent ( bool NewVal ) : void

Makes the spell effect permanent.

getSpellDescription ( ) : string

Describes the spell and how stable the spell is.

timer ( ) : IEnumerator

Timer loop for the effect.

Method Details

ApplyEffect() public méthode

Applies the effect.
public ApplyEffect ( ) : void
Résultat void

CancelEffect() public méthode

End the effect. By default it will destroy this spell effect.
public CancelEffect ( ) : void
Résultat void

EffectIcon() public méthode

Returns the icon index no for this effect
public EffectIcon ( ) : int
Résultat int

EffectOverTime() public méthode

Code to apply the periodic changes to the effect. Eg poison drains health, staged effects.
public EffectOverTime ( ) : void
Résultat void

Go() public méthode

Starts the spell effect.
public Go ( ) : void
Résultat void

SetPermanent() public méthode

Makes the spell effect permanent.
public SetPermanent ( bool NewVal ) : void
NewVal bool
Résultat void

getSpellDescription() public méthode

Describes the spell and how stable the spell is.
public getSpellDescription ( ) : string
Résultat string

timer() public méthode

Timer loop for the effect.
public timer ( ) : IEnumerator
Résultat IEnumerator

Property Details

Active public_oe property

public bool Active
Résultat bool

EffectID public_oe property

public int EffectID
Résultat int

Permanent public_oe property

public bool Permanent
Résultat bool

TickTime public_oe property

public int TickTime
Résultat int

Value public_oe property

public int Value
Résultat int

counter public_oe property

public int counter
Résultat int