C# 클래스 Server.Spells.SpellHelper

파일 보기 프로젝트 열기: Grimoric/RunUO.T2A 1 사용 예제들

공개 메소드들

메소드 설명
AddStatBonus ( Mobile caster, Mobile target, StatType type ) : bool
AddStatBonus ( Mobile target, StatType type, int bonus, System.TimeSpan duration ) : bool
AddStatCurse ( Mobile caster, Mobile target, StatType type ) : bool
AddStatCurse ( Mobile target, StatType type, int curse, System.TimeSpan duration ) : bool
AddStatOffset ( Mobile m, StatType type, int offset ) : bool
AdjustField ( Point3D &p, Map map, int height, bool mobsBlock ) : bool
CanRevealCaster ( Mobile m ) : bool
CheckCombat ( Mobile m ) : bool
CheckMulti ( Point3D p, Map map ) : bool
CheckMulti ( Point3D p, Map map, bool houses ) : bool
CheckMulti ( Point3D p, Map map, bool houses, int housingrange ) : bool
CheckReflect ( int circle, Mobile caster, Mobile &target ) : void
CheckTown ( IPoint3D loc, Mobile caster ) : bool
CheckTown ( Point3D loc, Mobile caster ) : bool
CheckTravel ( Map map, Point3D loc, TravelCheckType type ) : bool
CheckTravel ( Mobile caster, Map map, Point3D loc, TravelCheckType type ) : bool
CheckTravel ( Mobile caster, TravelCheckType type ) : bool
Damage ( Spell spell, Mobile target, double damage, int phys, int fire, int cold, int pois, int nrgy ) : void
Damage ( Spell spell, System.TimeSpan delay, Mobile target, Mobile from, double damage ) : void
Damage ( Spell spell, System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy, DFAlgorithm dfa ) : void
Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage ) : void
Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy ) : void
Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy, DFAlgorithm dfa ) : void
Damage ( System.TimeSpan delay, Mobile target, double damage ) : void
FindValidSpawnLocation ( Map map, Point3D &p, bool surroundingsOnly ) : bool
GetDamageDelayForSpell ( Spell sp ) : System.TimeSpan
GetDuration ( Mobile caster ) : System.TimeSpan
GetGuildFor ( Mobile m ) : Guild
GetOffset ( Mobile caster ) : int
GetOffsetScalar ( Mobile caster, Mobile target, bool curse ) : double
GetSurfaceTop ( IPoint3D &p ) : void
Heal ( int amount, Mobile target, Mobile from ) : void
Heal ( int amount, Mobile target, Mobile from, bool message ) : void
IsAnyT2A ( Map map, Point3D loc ) : bool
IsFeluccaDungeon ( Map map, Point3D loc ) : bool
IsFeluccaT2A ( Map map, Point3D loc ) : bool
IsFeluccaWind ( Map map, Point3D loc ) : bool
IsHeartwood ( Map map, Point3D loc ) : bool
IsInvalid ( Map map, Point3D loc ) : bool
IsKhaldun ( Map map, Point3D loc ) : bool
IsSafeZone ( Map map, Point3D loc ) : bool
IsTown ( IPoint3D loc, Mobile caster ) : bool
IsTown ( Point3D loc, Mobile caster ) : bool
IsWindLoc ( Point3D loc ) : bool
SendInvalidMessage ( Mobile caster, TravelCheckType type ) : void
Summon ( BaseCreature creature, Mobile caster, int sound, System.TimeSpan duration, bool scaleDuration, bool scaleStats ) : void
Turn ( Mobile from, object to ) : void
ValidIndirectTarget ( Mobile from, Mobile to ) : bool

메소드 상세

AddStatBonus() 공개 정적인 메소드

public static AddStatBonus ( Mobile caster, Mobile target, StatType type ) : bool
caster Mobile
target Mobile
type StatType
리턴 bool

AddStatBonus() 공개 정적인 메소드

public static AddStatBonus ( Mobile target, StatType type, int bonus, System.TimeSpan duration ) : bool
target Mobile
type StatType
bonus int
duration System.TimeSpan
리턴 bool

AddStatCurse() 공개 정적인 메소드

public static AddStatCurse ( Mobile caster, Mobile target, StatType type ) : bool
caster Mobile
target Mobile
type StatType
리턴 bool

AddStatCurse() 공개 정적인 메소드

public static AddStatCurse ( Mobile target, StatType type, int curse, System.TimeSpan duration ) : bool
target Mobile
type StatType
curse int
duration System.TimeSpan
리턴 bool

AddStatOffset() 공개 정적인 메소드

public static AddStatOffset ( Mobile m, StatType type, int offset ) : bool
m Mobile
type StatType
offset int
리턴 bool

AdjustField() 공개 정적인 메소드

public static AdjustField ( Point3D &p, Map map, int height, bool mobsBlock ) : bool
p Point3D
map Map
height int
mobsBlock bool
리턴 bool

CanRevealCaster() 공개 정적인 메소드

public static CanRevealCaster ( Mobile m ) : bool
m Mobile
리턴 bool

CheckCombat() 공개 정적인 메소드

public static CheckCombat ( Mobile m ) : bool
m Mobile
리턴 bool

CheckMulti() 공개 정적인 메소드

public static CheckMulti ( Point3D p, Map map ) : bool
p Point3D
map Map
리턴 bool

CheckMulti() 공개 정적인 메소드

public static CheckMulti ( Point3D p, Map map, bool houses ) : bool
p Point3D
map Map
houses bool
리턴 bool

CheckMulti() 공개 정적인 메소드

public static CheckMulti ( Point3D p, Map map, bool houses, int housingrange ) : bool
p Point3D
map Map
houses bool
housingrange int
리턴 bool

CheckReflect() 공개 정적인 메소드

public static CheckReflect ( int circle, Mobile caster, Mobile &target ) : void
circle int
caster Mobile
target Mobile
리턴 void

CheckTown() 공개 정적인 메소드

public static CheckTown ( IPoint3D loc, Mobile caster ) : bool
loc IPoint3D
caster Mobile
리턴 bool

CheckTown() 공개 정적인 메소드

public static CheckTown ( Point3D loc, Mobile caster ) : bool
loc Point3D
caster Mobile
리턴 bool

CheckTravel() 공개 정적인 메소드

public static CheckTravel ( Map map, Point3D loc, TravelCheckType type ) : bool
map Map
loc Point3D
type TravelCheckType
리턴 bool

CheckTravel() 공개 정적인 메소드

public static CheckTravel ( Mobile caster, Map map, Point3D loc, TravelCheckType type ) : bool
caster Mobile
map Map
loc Point3D
type TravelCheckType
리턴 bool

CheckTravel() 공개 정적인 메소드

public static CheckTravel ( Mobile caster, TravelCheckType type ) : bool
caster Mobile
type TravelCheckType
리턴 bool

Damage() 공개 정적인 메소드

public static Damage ( Spell spell, Mobile target, double damage, int phys, int fire, int cold, int pois, int nrgy ) : void
spell Spell
target Mobile
damage double
phys int
fire int
cold int
pois int
nrgy int
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( Spell spell, System.TimeSpan delay, Mobile target, Mobile from, double damage ) : void
spell Spell
delay System.TimeSpan
target Mobile
from Mobile
damage double
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( Spell spell, System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy, DFAlgorithm dfa ) : void
spell Spell
delay System.TimeSpan
target Mobile
from Mobile
damage double
phys int
fire int
cold int
pois int
nrgy int
dfa DFAlgorithm
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage ) : void
delay System.TimeSpan
target Mobile
from Mobile
damage double
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy ) : void
delay System.TimeSpan
target Mobile
from Mobile
damage double
phys int
fire int
cold int
pois int
nrgy int
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( System.TimeSpan delay, Mobile target, Mobile from, double damage, int phys, int fire, int cold, int pois, int nrgy, DFAlgorithm dfa ) : void
delay System.TimeSpan
target Mobile
from Mobile
damage double
phys int
fire int
cold int
pois int
nrgy int
dfa DFAlgorithm
리턴 void

Damage() 공개 정적인 메소드

public static Damage ( System.TimeSpan delay, Mobile target, double damage ) : void
delay System.TimeSpan
target Mobile
damage double
리턴 void

FindValidSpawnLocation() 공개 정적인 메소드

public static FindValidSpawnLocation ( Map map, Point3D &p, bool surroundingsOnly ) : bool
map Map
p Point3D
surroundingsOnly bool
리턴 bool

GetDamageDelayForSpell() 공개 정적인 메소드

public static GetDamageDelayForSpell ( Spell sp ) : System.TimeSpan
sp Spell
리턴 System.TimeSpan

GetDuration() 공개 정적인 메소드

public static GetDuration ( Mobile caster ) : System.TimeSpan
caster Mobile
리턴 System.TimeSpan

GetGuildFor() 공개 정적인 메소드

public static GetGuildFor ( Mobile m ) : Guild
m Mobile
리턴 Server.Guilds.Guild

GetOffset() 공개 정적인 메소드

public static GetOffset ( Mobile caster ) : int
caster Mobile
리턴 int

GetOffsetScalar() 공개 정적인 메소드

public static GetOffsetScalar ( Mobile caster, Mobile target, bool curse ) : double
caster Mobile
target Mobile
curse bool
리턴 double

GetSurfaceTop() 공개 정적인 메소드

public static GetSurfaceTop ( IPoint3D &p ) : void
p IPoint3D
리턴 void

Heal() 공개 정적인 메소드

public static Heal ( int amount, Mobile target, Mobile from ) : void
amount int
target Mobile
from Mobile
리턴 void

Heal() 공개 정적인 메소드

public static Heal ( int amount, Mobile target, Mobile from, bool message ) : void
amount int
target Mobile
from Mobile
message bool
리턴 void

IsAnyT2A() 공개 정적인 메소드

public static IsAnyT2A ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsFeluccaDungeon() 공개 정적인 메소드

public static IsFeluccaDungeon ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsFeluccaT2A() 공개 정적인 메소드

public static IsFeluccaT2A ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsFeluccaWind() 공개 정적인 메소드

public static IsFeluccaWind ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsHeartwood() 공개 정적인 메소드

public static IsHeartwood ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsInvalid() 공개 정적인 메소드

public static IsInvalid ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsKhaldun() 공개 정적인 메소드

public static IsKhaldun ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsSafeZone() 공개 정적인 메소드

public static IsSafeZone ( Map map, Point3D loc ) : bool
map Map
loc Point3D
리턴 bool

IsTown() 공개 정적인 메소드

public static IsTown ( IPoint3D loc, Mobile caster ) : bool
loc IPoint3D
caster Mobile
리턴 bool

IsTown() 공개 정적인 메소드

public static IsTown ( Point3D loc, Mobile caster ) : bool
loc Point3D
caster Mobile
리턴 bool

IsWindLoc() 공개 정적인 메소드

public static IsWindLoc ( Point3D loc ) : bool
loc Point3D
리턴 bool

SendInvalidMessage() 공개 정적인 메소드

public static SendInvalidMessage ( Mobile caster, TravelCheckType type ) : void
caster Mobile
type TravelCheckType
리턴 void

Summon() 공개 정적인 메소드

public static Summon ( BaseCreature creature, Mobile caster, int sound, System.TimeSpan duration, bool scaleDuration, bool scaleStats ) : void
creature Server.Mobiles.BaseCreature
caster Mobile
sound int
duration System.TimeSpan
scaleDuration bool
scaleStats bool
리턴 void

Turn() 공개 정적인 메소드

public static Turn ( Mobile from, object to ) : void
from Mobile
to object
리턴 void

ValidIndirectTarget() 공개 정적인 메소드

public static ValidIndirectTarget ( Mobile from, Mobile to ) : bool
from Mobile
to Mobile
리턴 bool