#include "nxwcommn.h"
#include "targeting.h"
#include "packets.h"
#include "menu.h"
Go to the source code of this file.
Namespaces | |
| namespace | magic |
Defines | |
| #define | SPELLFLAG_NOUSEMANA 0x1 |
| dont use up mana | |
| #define | SPELLFLAG_DONTCRIMINAL 0x2 |
| dont check criminal stuff | |
| #define | SPELLFLAG_DONTREQREAGENTS 0x4 |
| dont use up reagents | |
| #define | SPELLFLAG_DONTCHECKSPELLBOOK 0x8 |
| dont check spellbook for spell presence | |
| #define | SPELLFLAG_PARAMISSKILLTOUSE 0x10 |
| optional parameter is the skill to be used instead of magery | |
| #define | SPELLFLAG_PARAMISDAMAGE 0x20 |
| optional parameter is the damage to be done or healed | |
| #define | SPELLFLAG_PARAMISBONUS 0x20 |
| optional parameter is the bonus/malus to be applied | |
| #define | SPELLFLAG_PARAMISNPCNUMBER 0x20 |
| optional parameter is the npc to be invoked | |
| #define | SPELLFLAG_PARAMISDURATION 0x80 |
| optional parameter is the duration of some tempfx | |
| #define | SPELLFLAG_DONTUSEPARTICLES 0x100 |
| dont use UO:3D particle effects | |
| #define | SPELLFLAG_DONTREFLECT 0x200 |
| dont check magic reflection | |
| #define | SPELLFLAG_IGNORERESISTANCE 0x400 |
| dont check magic resistance | |
| #define | SPELLFLAG_IGNORETOWNLIMITS 0x800 |
| dont check if in town | |
| #define | SPELLFLAG_DONTCHECKSKILL 0x1000 |
| do not check skill | |
| #define | SPELLFLAG_SILENTSPELL 0x2000 |
| spell is silent | |
| #define | SPELLFLAG_IMMOBLESPELL 0x4000 |
| spell is immoble | |
| #define | SPELLFLAG_BONUSCHANCE 0x8000 |
| spell has a great chance to hit (scrolls) | |
| #define | SPELLFLAGS_NPCDEFAULT (SPELLFLAG_DONTCRIMINAL|SPELLFLAG_DONTREQREAGENTS|SPELLFLAG_DONTCHECKSPELLBOOK|SPELLFLAG_IGNORETOWNLIMITS|SPELLFLAG_DONTCHECKSKILL) |
| this is the default for NPC casting :] | |
|
|
spell has a great chance to hit (scrolls)
|
|
|
do not check skill
|
|
|
dont check spellbook for spell presence
|
|
|
dont check criminal stuff
|
|
|
dont check magic reflection
|
|
|
dont use up reagents
|
|
|
dont use UO:3D particle effects
|
|
|
dont check magic resistance
|
|
|
dont check if in town
|
|
|
spell is immoble
|
|
|
dont use up mana
|
|
|
optional parameter is the bonus/malus to be applied
|
|
|
optional parameter is the damage to be done or healed
|
|
|
optional parameter is the duration of some tempfx
|
|
|
optional parameter is the npc to be invoked
|
|
|
optional parameter is the skill to be used instead of magery
|
|
|
spell is silent
|
|
|
this is the default for NPC casting :]
|