Crossfire Client, Trunk
|
#include <client.h>
Data Fields | |
guint16 | dam |
gint32 | face |
guint16 | grace |
guint16 | level |
char | message [10000] |
char | name [256] |
struct Spell_struct * | next |
guint32 | path |
char | requirements [256] |
char * | skill |
guint8 | skill_number |
guint16 | sp |
guint32 | tag |
guint16 | time |
guint8 | usage |
guint16 Spell_struct::dam |
Damage done by spell though the meaning is spell dependent and actual damage may depend on how the spell works.
Definition at line 303 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
gint32 Spell_struct::face |
A face ID that may be used to show a graphic representation of the spell.
Definition at line 317 of file client.h.
Referenced by AddspellCmd(), and update_spell_information().
guint16 Spell_struct::grace |
Grace per cast; may be zero.
Definition at line 302 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
guint16 Spell_struct::level |
The casting level of the spell.
Definition at line 299 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), and update_spell_information().
char Spell_struct::message[10000] |
This is huge, the packets can't be much bigger than this anyway
Definition at line 295 of file client.h.
Referenced by AddspellCmd(), and update_spell_information().
char Spell_struct::name[256] |
One length byte plus data
Definition at line 294 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), and update_spell_information().
struct Spell_struct* Spell_struct::next |
Definition at line 293 of file client.h.
Referenced by AddspellCmd(), DeleteSpell(), new_player(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
guint32 Spell_struct::path |
The bitmask of paths this spell belongs to. See request_info spell_paths and stats about attunement, repulsion, etc.
Definition at line 313 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), and update_spell_information().
char Spell_struct::requirements[256] |
Spellmon 2 data. One length byte plus data. If the spell requires items to be cast, this is a list of req'd items. Comma-separated, number of items, singular names (like ingredients for alchemy).
Definition at line 325 of file client.h.
Referenced by AddspellCmd().
char* Spell_struct::skill |
Pointer to the skill name, derived from the skill number.
Definition at line 311 of file client.h.
Referenced by AddspellCmd(), and update_spell_information().
guint8 Spell_struct::skill_number |
The index in the skill arrays, plus CS_STAT_SKILLINFO. 0: no skill used for cast. See also: request_info skill_info
Definition at line 307 of file client.h.
Referenced by AddspellCmd(), and script_process_cmd().
guint16 Spell_struct::sp |
Mana per cast; may be zero.
Definition at line 301 of file client.h.
Referenced by AddspellCmd(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
guint32 Spell_struct::tag |
Unique ID number for a spell so updspell etc can operate on it.
Definition at line 297 of file client.h.
Referenced by AddspellCmd(), DeleteSpell(), inscribe_magical_scroll(), script_process_cmd(), update_spell_information(), and UpdspellCmd().
guint16 Spell_struct::time |
Casting time in server ticks.
Definition at line 300 of file client.h.
Referenced by AddspellCmd(), and script_process_cmd().
guint8 Spell_struct::usage |
Spellmon 2 data. Values are: 0: No argument required. 1: Requires other spell name. 2: Freeform string is optional. 3: Freeform string is required.
Definition at line 320 of file client.h.
Referenced by AddspellCmd().