C# Class PolaMUD.Skill

Inheritance: Thing
Datei anzeigen Open project: Polatrite/PolaMUD Class Usage Examples

Public Properties

Property Type Description
Components object>.Dictionary
LearnedLevel int
PostLag int
PreLag int
Rank int
RankCostMultiplier int
SkillType SkillType
UseMessage string

Public Methods

Method Description
Action ( Mob user, string text ) : bool

This is executed at a specific time based on the PreLag and PostLag variables

PostAction ( Mob user, string text ) : bool

This is executed at the very end of the of the action, after both PreLag and PostLag

PreAction ( Mob user, string text ) : bool

This is executed at the very moment the user uses the ability

SetTargetAllyAsFirstArg ( Mob user, string text ) : bool
SetTargetEnemyAsFirstArg ( Mob user, string text ) : bool

Method Details

Action() public method

This is executed at a specific time based on the PreLag and PostLag variables
public Action ( Mob user, string text ) : bool
user Mob
text string
return bool

PostAction() public method

This is executed at the very end of the of the action, after both PreLag and PostLag
public PostAction ( Mob user, string text ) : bool
user Mob
text string
return bool

PreAction() public method

This is executed at the very moment the user uses the ability
public PreAction ( Mob user, string text ) : bool
user Mob
text string
return bool

SetTargetAllyAsFirstArg() public method

public SetTargetAllyAsFirstArg ( Mob user, string text ) : bool
user Mob
text string
return bool

SetTargetEnemyAsFirstArg() public method

public SetTargetEnemyAsFirstArg ( Mob user, string text ) : bool
user Mob
text string
return bool

Property Details

Components public_oe property

public Dictionary Components
return object>.Dictionary

LearnedLevel public_oe property

public int LearnedLevel
return int

PostLag public_oe property

Lag that occurs after Action(), but before PostAction()
public int PostLag
return int

PreLag public_oe property

Lag that occurs after PreAction(), but before Action()
public int PreLag
return int

Rank public_oe property

public int Rank
return int

RankCostMultiplier public_oe property

public int RankCostMultiplier
return int

SkillType public_oe property

public SkillType SkillType
return SkillType

UseMessage public_oe property

public string UseMessage
return string