C# Класс Server.Spells.Ninjitsu.SurpriseAttack

Наследование: NinjaMove
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
EndSurprise ( object state ) : void

Описание методов

GetMalus() публичный статический Метод

public static GetMalus ( Mobile target, int &malus ) : bool
target Mobile
malus int
Результат bool

OnBeforeSwing() публичный Метод

public OnBeforeSwing ( Mobile attacker, Mobile defender ) : bool
attacker Mobile
defender Mobile
Результат bool

OnHit() публичный Метод

public OnHit ( Mobile attacker, Mobile defender, int damage ) : void
attacker Mobile
defender Mobile
damage int
Результат void

OnMiss() публичный Метод

public OnMiss ( Mobile attacker, Mobile defender ) : void
attacker Mobile
defender Mobile
Результат void

SurpriseAttack() публичный Метод

public SurpriseAttack ( ) : System
Результат System

Validate() публичный Метод

public Validate ( Mobile from ) : bool
from Mobile
Результат bool