C# Class Server.Spells.Ninjitsu.SurpriseAttack

Inheritance: NinjaMove
Afficher le fichier Open project: MythikGN/Mythik Class Usage Examples

Méthodes publiques

Méthode Description
GetMalus ( Mobile target, int &malus ) : bool
OnBeforeSwing ( Mobile attacker, Mobile defender ) : bool
OnHit ( Mobile attacker, Mobile defender, int damage ) : void
OnMiss ( Mobile attacker, Mobile defender ) : void
SurpriseAttack ( ) : System
Validate ( Mobile from ) : bool

Private Methods

Méthode Description
EndSurprise ( object state ) : void

Method Details

GetMalus() public static méthode

public static GetMalus ( Mobile target, int &malus ) : bool
target Mobile
malus int
Résultat bool

OnBeforeSwing() public méthode

public OnBeforeSwing ( Mobile attacker, Mobile defender ) : bool
attacker Mobile
defender Mobile
Résultat bool

OnHit() public méthode

public OnHit ( Mobile attacker, Mobile defender, int damage ) : void
attacker Mobile
defender Mobile
damage int
Résultat void

OnMiss() public méthode

public OnMiss ( Mobile attacker, Mobile defender ) : void
attacker Mobile
defender Mobile
Résultat void

SurpriseAttack() public méthode

public SurpriseAttack ( ) : System
Résultat System

Validate() public méthode

public Validate ( Mobile from ) : bool
from Mobile
Résultat bool