spellbooks Class Reference

file : ../lua/lib.spellbooks.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed SearchSpellIDByName (mixed spellname)
static mixed Convert_Spellbookcontainer (mixed matrix, mixed container)
static mixed GetSpellIDByName (mixed spellname)
static mixed GetSpellNameByID (mixed spellid)
static mixed GetSpellCircleByID (mixed spellid)
static mixed GetSpellBookIDBySpellID (mixed spellid)
static mixed IsMageSpell (mixed spellid)
static mixed GetSpell_CastDelayBase (mixed spellid)
 ~ os.exit(0)
static mixed GetSpell_CastDelayMinimum (mixed spellid)
static mixed GetSpell_CastDelayFastScalar (mixed spellid)
static mixed GetSpellCastTime (mixed spellid, mixed fc, mixed bBuffActive_Protection, mixed bBuffActive_EssenceOfWind)
static mixed GetSpellCastTimeForPlayer (mixed spellid)


Detailed Description

file : ../lua/lib.spellbooks.lua (this is just a pseudo class used for grouping global functions)

Definition at line 1079 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed spellbooks::SearchSpellIDByName ( mixed  spellname  )  [inline, static]

Definition at line 1081 of file lua_pseudo_code.cpp.

static mixed spellbooks::Convert_Spellbookcontainer ( mixed  matrix,
mixed  container 
) [inline, static]

Definition at line 1083 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellIDByName ( mixed  spellname  )  [inline, static]

Definition at line 1085 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellNameByID ( mixed  spellid  )  [inline, static]

Definition at line 1087 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellCircleByID ( mixed  spellid  )  [inline, static]

Definition at line 1089 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellBookIDBySpellID ( mixed  spellid  )  [inline, static]

Definition at line 1091 of file lua_pseudo_code.cpp.

static mixed spellbooks::IsMageSpell ( mixed  spellid  )  [inline, static]

Definition at line 1093 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpell_CastDelayBase ( mixed  spellid  )  [inline, static]

~ os.exit(0)

Definition at line 1096 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpell_CastDelayMinimum ( mixed  spellid  )  [inline, static]

Definition at line 1098 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpell_CastDelayFastScalar ( mixed  spellid  )  [inline, static]

Definition at line 1100 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellCastTime ( mixed  spellid,
mixed  fc,
mixed  bBuffActive_Protection,
mixed  bBuffActive_EssenceOfWind 
) [inline, static]

returns time in milliseconds, you should add about 150 msec latency bProtectionBuffActive : see IsBuffActive_Protection() IsBuffActive_EssenceOfWind() see also RunUO-2.0-SVN/Scripts/Spells/Base/Spell.cs:647: public virtual TimeSpan GetCastDelay()

Definition at line 1105 of file lua_pseudo_code.cpp.

static mixed spellbooks::GetSpellCastTimeForPlayer ( mixed  spellid  )  [inline, static]

uses GetEquipProps() for player you should add kSpellTimeLatency for network

Definition at line 1109 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6