C# Class Server.Mobiles.MageAI

Inheritance: BaseAI
Exibir arquivo Open project: Grimoric/RunUO.T2A

Protected Properties

Property Type Description
m_Combo int

Public Methods

Method Description
CanDispel ( Mobile m ) : bool
ChooseSpell ( Mobile c ) : Spell
DoActionCombat ( ) : bool
DoActionFlee ( ) : bool
DoActionGuard ( ) : bool
DoActionWander ( ) : bool
DoCombo ( Mobile c ) : Spell
DoDispel ( Mobile toDispel ) : Spell
FindDispelTarget ( bool activeOnly ) : Mobile
GetRandomCurseSpell ( ) : Spell
GetRandomDamageSpell ( ) : Spell
GetRandomManaDrainSpell ( ) : Spell
MageAI ( BaseCreature m ) : System
OnFailedMove ( ) : void
Run ( Direction d ) : void
RunFrom ( Mobile m ) : void
RunTo ( Mobile m ) : void
ScaleBySkill ( double v, SkillName skill ) : double
Think ( ) : bool

Private Methods

Method Description
CheckCastHealingSpell ( ) : Spell
GetDelay ( Spell spell ) : System.TimeSpan
ProcessTarget ( ) : bool

Method Details

CanDispel() public method

public CanDispel ( Mobile m ) : bool
m Mobile
return bool

ChooseSpell() public method

public ChooseSpell ( Mobile c ) : Spell
c Mobile
return Server.Spells.Spell

DoActionCombat() public method

public DoActionCombat ( ) : bool
return bool

DoActionFlee() public method

public DoActionFlee ( ) : bool
return bool

DoActionGuard() public method

public DoActionGuard ( ) : bool
return bool

DoActionWander() public method

public DoActionWander ( ) : bool
return bool

DoCombo() public method

public DoCombo ( Mobile c ) : Spell
c Mobile
return Server.Spells.Spell

DoDispel() public method

public DoDispel ( Mobile toDispel ) : Spell
toDispel Mobile
return Server.Spells.Spell

FindDispelTarget() public method

public FindDispelTarget ( bool activeOnly ) : Mobile
activeOnly bool
return Mobile

GetRandomCurseSpell() public method

public GetRandomCurseSpell ( ) : Spell
return Server.Spells.Spell

GetRandomDamageSpell() public method

public GetRandomDamageSpell ( ) : Spell
return Server.Spells.Spell

GetRandomManaDrainSpell() public method

public GetRandomManaDrainSpell ( ) : Spell
return Server.Spells.Spell

MageAI() public method

public MageAI ( BaseCreature m ) : System
m BaseCreature
return System

OnFailedMove() public method

public OnFailedMove ( ) : void
return void

Run() public method

public Run ( Direction d ) : void
d Direction
return void

RunFrom() public method

public RunFrom ( Mobile m ) : void
m Mobile
return void

RunTo() public method

public RunTo ( Mobile m ) : void
m Mobile
return void

ScaleBySkill() public method

public ScaleBySkill ( double v, SkillName skill ) : double
v double
skill SkillName
return double

Think() public method

public Think ( ) : bool
return bool

Property Details

m_Combo protected_oe property

protected int m_Combo
return int