C# Class Server.Spells.Spell

Inheritance: ISpell
显示文件 Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
Cast ( ) : bool
CheckBSequence ( Mobile target ) : bool
CheckBSequence ( Mobile target, bool allowDead ) : bool
CheckCast ( ) : bool
CheckDisturb ( DisturbType type, bool firstCircle, bool resistable ) : bool
CheckFizzle ( ) : bool
CheckHSequence ( Mobile target ) : bool
CheckSequence ( ) : bool
ComputeKarmaAward ( ) : int
ConsumeReagents ( ) : bool
Disturb ( DisturbType type ) : void
Disturb ( DisturbType type, bool firstCircle, bool resistable ) : void
DoFizzle ( ) : void
DoHurtFizzle ( ) : void
FinishSequence ( ) : void
GetCastDelay ( ) : System.TimeSpan
GetCastRecovery ( ) : System.TimeSpan
GetCastSkills ( double &min, double &max ) : void
GetDamageFixed ( Mobile m ) : int
GetDamageScalar ( Mobile target ) : double
GetDamageSkill ( Mobile m ) : double
GetDisturbRecovery ( ) : System.TimeSpan
GetInscribeFixed ( Mobile m ) : int
GetInscribeSkill ( Mobile m ) : double
GetMana ( ) : int
GetResistSkill ( Mobile m ) : double
GetSlayerDamageScalar ( Mobile defender ) : double
HarmfulSpell ( Mobile m ) : void
OnBeginCast ( ) : void
OnCast ( ) : void
OnCastInTown ( Region r ) : bool
OnCasterEquiping ( Item item ) : bool
OnCasterHurt ( ) : void
OnCasterKilled ( ) : void
OnCasterMoving ( Direction d ) : bool
OnCasterUsingObject ( object o ) : bool
OnConnectionChanged ( ) : void
OnDisturb ( DisturbType type, bool message ) : void
RemoveDelayedDamageContext ( Mobile m ) : void
SayMantra ( ) : void
ScaleMana ( int mana ) : int
Spell ( Mobile caster, Item scroll, Server.Spells.SpellInfo info ) : System
StartDelayedDamageContext ( Mobile m, Timer t ) : void

Method Details

Cast() public method

public Cast ( ) : bool
return bool

CheckBSequence() public method

public CheckBSequence ( Mobile target ) : bool
target Mobile
return bool

CheckBSequence() public method

public CheckBSequence ( Mobile target, bool allowDead ) : bool
target Mobile
allowDead bool
return bool

CheckCast() public method

public CheckCast ( ) : bool
return bool

CheckDisturb() public method

public CheckDisturb ( DisturbType type, bool firstCircle, bool resistable ) : bool
type DisturbType
firstCircle bool
resistable bool
return bool

CheckFizzle() public method

public CheckFizzle ( ) : bool
return bool

CheckHSequence() public method

public CheckHSequence ( Mobile target ) : bool
target Mobile
return bool

CheckSequence() public method

public CheckSequence ( ) : bool
return bool

ComputeKarmaAward() public method

public ComputeKarmaAward ( ) : int
return int

ConsumeReagents() public method

public ConsumeReagents ( ) : bool
return bool

Disturb() public method

public Disturb ( DisturbType type ) : void
type DisturbType
return void

Disturb() public method

public Disturb ( DisturbType type, bool firstCircle, bool resistable ) : void
type DisturbType
firstCircle bool
resistable bool
return void

DoFizzle() public method

public DoFizzle ( ) : void
return void

DoHurtFizzle() public method

public DoHurtFizzle ( ) : void
return void

FinishSequence() public method

public FinishSequence ( ) : void
return void

GetCastDelay() public method

public GetCastDelay ( ) : System.TimeSpan
return System.TimeSpan

GetCastRecovery() public method

public GetCastRecovery ( ) : System.TimeSpan
return System.TimeSpan

GetCastSkills() public method

public GetCastSkills ( double &min, double &max ) : void
min double
max double
return void

GetDamageFixed() public method

public GetDamageFixed ( Mobile m ) : int
m Mobile
return int

GetDamageScalar() public method

public GetDamageScalar ( Mobile target ) : double
target Mobile
return double

GetDamageSkill() public method

public GetDamageSkill ( Mobile m ) : double
m Mobile
return double

GetDisturbRecovery() public method

public GetDisturbRecovery ( ) : System.TimeSpan
return System.TimeSpan

GetInscribeFixed() public method

public GetInscribeFixed ( Mobile m ) : int
m Mobile
return int

GetInscribeSkill() public method

public GetInscribeSkill ( Mobile m ) : double
m Mobile
return double

GetMana() public abstract method

public abstract GetMana ( ) : int
return int

GetResistSkill() public method

public GetResistSkill ( Mobile m ) : double
m Mobile
return double

GetSlayerDamageScalar() public method

public GetSlayerDamageScalar ( Mobile defender ) : double
defender Mobile
return double

HarmfulSpell() public method

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

OnBeginCast() public method

public OnBeginCast ( ) : void
return void

OnCast() public abstract method

public abstract OnCast ( ) : void
return void

OnCastInTown() public method

public OnCastInTown ( Region r ) : bool
r Region
return bool

OnCasterEquiping() public method

public OnCasterEquiping ( Item item ) : bool
item Item
return bool

OnCasterHurt() public method

public OnCasterHurt ( ) : void
return void

OnCasterKilled() public method

public OnCasterKilled ( ) : void
return void

OnCasterMoving() public method

public OnCasterMoving ( Direction d ) : bool
d Direction
return bool

OnCasterUsingObject() public method

public OnCasterUsingObject ( object o ) : bool
o object
return bool

OnConnectionChanged() public method

public OnConnectionChanged ( ) : void
return void

OnDisturb() public method

public OnDisturb ( DisturbType type, bool message ) : void
type DisturbType
message bool
return void

RemoveDelayedDamageContext() public method

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

SayMantra() public method

public SayMantra ( ) : void
return void

ScaleMana() public method

public ScaleMana ( int mana ) : int
mana int
return int

Spell() public method

public Spell ( Mobile caster, Item scroll, Server.Spells.SpellInfo info ) : System
caster Mobile
scroll Item
info Server.Spells.SpellInfo
return System

StartDelayedDamageContext() public method

public StartDelayedDamageContext ( Mobile m, Timer t ) : void
m Mobile
t Timer
return void