C# Class Server.Misc.SkillCheck

Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Свойство Type Description
AntiMacroExpire System.TimeSpan

Méthodes publiques

Méthode Description
CanLower ( Server.Mobile from, Stat stat ) : bool
CanRaise ( Server.Mobile from, Stat stat ) : bool
CheckSkill ( Server.Mobile from, Skill skill, object amObj, double chance ) : bool
Gain ( Server.Mobile from, Skill skill ) : void
GainStat ( Server.Mobile from, Stat stat ) : void
IncreaseStat ( Server.Mobile from, Stat stat, bool atrophy ) : void
Initialize ( ) : void
Mobile_SkillCheckDirectLocation ( Server.Mobile from, SkillName skillName, double chance ) : bool
Mobile_SkillCheckDirectTarget ( Server.Mobile from, SkillName skillName, object target, double chance ) : bool
Mobile_SkillCheckLocation ( Server.Mobile from, SkillName skillName, double minSkill, double maxSkill ) : bool
Mobile_SkillCheckTarget ( Server.Mobile from, SkillName skillName, object target, double minSkill, double maxSkill ) : bool

Private Methods

Méthode Description
AllowGain ( Server.Mobile from, Skill skill, object obj ) : bool

Method Details

CanLower() public static méthode

public static CanLower ( Server.Mobile from, Stat stat ) : bool
from Server.Mobile
stat Stat
Résultat bool

CanRaise() public static méthode

public static CanRaise ( Server.Mobile from, Stat stat ) : bool
from Server.Mobile
stat Stat
Résultat bool

CheckSkill() public static méthode

public static CheckSkill ( Server.Mobile from, Skill skill, object amObj, double chance ) : bool
from Server.Mobile
skill Server.Skill
amObj object
chance double
Résultat bool

Gain() public static méthode

public static Gain ( Server.Mobile from, Skill skill ) : void
from Server.Mobile
skill Server.Skill
Résultat void

GainStat() public static méthode

public static GainStat ( Server.Mobile from, Stat stat ) : void
from Server.Mobile
stat Stat
Résultat void

IncreaseStat() public static méthode

public static IncreaseStat ( Server.Mobile from, Stat stat, bool atrophy ) : void
from Server.Mobile
stat Stat
atrophy bool
Résultat void

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

Mobile_SkillCheckDirectLocation() public static méthode

public static Mobile_SkillCheckDirectLocation ( Server.Mobile from, SkillName skillName, double chance ) : bool
from Server.Mobile
skillName SkillName
chance double
Résultat bool

Mobile_SkillCheckDirectTarget() public static méthode

public static Mobile_SkillCheckDirectTarget ( Server.Mobile from, SkillName skillName, object target, double chance ) : bool
from Server.Mobile
skillName SkillName
target object
chance double
Résultat bool

Mobile_SkillCheckLocation() public static méthode

public static Mobile_SkillCheckLocation ( Server.Mobile from, SkillName skillName, double minSkill, double maxSkill ) : bool
from Server.Mobile
skillName SkillName
minSkill double
maxSkill double
Résultat bool

Mobile_SkillCheckTarget() public static méthode

public static Mobile_SkillCheckTarget ( Server.Mobile from, SkillName skillName, object target, double minSkill, double maxSkill ) : bool
from Server.Mobile
skillName SkillName
target object
minSkill double
maxSkill double
Résultat bool

Property Details

AntiMacroExpire public_oe static_oe property

public static TimeSpan,System AntiMacroExpire
Résultat System.TimeSpan