C# Class Server.Spells.Ninjitsu.SurpriseAttack

Inheritance: NinjaMove
Show file Open project: MythikGN/Mythik Class Usage Examples

Public Methods

Method 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

Method Description
EndSurprise ( object state ) : void

Method Details

GetMalus() public static method

public static GetMalus ( Mobile target, int &malus ) : bool
target Mobile
malus int
return bool

OnBeforeSwing() public method

public OnBeforeSwing ( Mobile attacker, Mobile defender ) : bool
attacker Mobile
defender Mobile
return bool

OnHit() public method

public OnHit ( Mobile attacker, Mobile defender, int damage ) : void
attacker Mobile
defender Mobile
damage int
return void

OnMiss() public method

public OnMiss ( Mobile attacker, Mobile defender ) : void
attacker Mobile
defender Mobile
return void

SurpriseAttack() public method

public SurpriseAttack ( ) : System
return System

Validate() public method

public Validate ( Mobile from ) : bool
from Mobile
return bool