Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

tempfx Namespace Reference

temp effects More...


Compounds

class  cTempfx

Enumerations

enum  {
  SPELL_PARALYZE = 1, SPELL_LIGHT, SPELL_CLUMSY, SPELL_FEEBLEMIND,
  SPELL_WEAKEN, SPELL_AGILITY, SPELL_CUNNING, SPELL_STRENGHT,
  ALCHEMY_GRIND, ALCHEMY_END, SPELL_BLESS, SPELL_CURSE,
  AUTODOOR, TRAINDUMMY, SPELL_REACTARMOR, EXPLOTIONMSG,
  EXPLOTIONEXP, SPELL_POLYMORPH, SPELL_INCOGNITO, HALLUCINATE,
  SPELL_PROTECTION, HEALING_HEAL, HEALING_RESURRECT, HEALING_CURE,
  POTION_DELAY, SPELL_INVISIBILITY, DRINK_EMOTE, DRINK_FINISHED,
  GM_HIDING = 33, GM_UNHIDING, HEALING_DELAYHEAL, COMBAT_PARALYZE = 44,
  COMBAT_CONCUSSION = 45, AMXCUSTOM = 121, GREY, CRIMINAL,
  FIELD_DAMAGE, SPELL_TELEKINESYS, NPC_HIRECOST, NPC_REMOVE,
  MAX_TEMPFX_INDEX
}
enum  {
  MODE_START = 0, MODE_END, MODE_ON, MODE_OFF,
  MODE_REVERSE
}

Functions

void tempeffectson ()
void tempeffectsoff ()
void checktempeffects ()
void callCustomTempFx (P_OBJECT poSrc, P_OBJECT poDest, int mode, int amxcallback, int more1, int more2, int more3)
 Calls a custom tempfx defined in small code.

LOGICAL isSrcRepeatable (int num)
LOGICAL isDestRepeatable (int num)
SI32 getTempFxTime (P_CHAR src, int num, int more1, int more2, int more3)
bool add (P_OBJECT src, P_OBJECT dest, int num, unsigned char more1, unsigned char more2, unsigned char more3, unsigned char more4, short dur, int amxcback)
 Adds a temp effect.

void addTempfxCheck (SERIAL serial)

Variables

SERIAL_SLIST tempfxCheck


Detailed Description

temp effects

Author:
Luxor


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
SPELL_PARALYZE 
SPELL_LIGHT 
SPELL_CLUMSY 
SPELL_FEEBLEMIND 
SPELL_WEAKEN 
SPELL_AGILITY 
SPELL_CUNNING 
SPELL_STRENGHT 
ALCHEMY_GRIND 
ALCHEMY_END 
SPELL_BLESS 
SPELL_CURSE 
AUTODOOR 
TRAINDUMMY 
SPELL_REACTARMOR 
EXPLOTIONMSG 
EXPLOTIONEXP 
SPELL_POLYMORPH 
SPELL_INCOGNITO 
HALLUCINATE 
SPELL_PROTECTION 
HEALING_HEAL 
HEALING_RESURRECT 
HEALING_CURE 
POTION_DELAY 
SPELL_INVISIBILITY 
DRINK_EMOTE 
DRINK_FINISHED 
GM_HIDING 
GM_UNHIDING 
HEALING_DELAYHEAL 
COMBAT_PARALYZE 
COMBAT_CONCUSSION 
AMXCUSTOM  custom amx effects
GREY  mark grey
CRIMINAL  mark criminal
FIELD_DAMAGE  magic fields damage
SPELL_TELEKINESYS  telekinesys spell
NPC_HIRECOST 
NPC_REMOVE 
MAX_TEMPFX_INDEX 

anonymous enum
 

Enumeration values:
MODE_START 
MODE_END 
MODE_ON 
MODE_OFF 
MODE_REVERSE 


Function Documentation

bool tempfx::add P_OBJECT    src,
P_OBJECT    dest,
int    num,
unsigned char    more1 = 0,
unsigned char    more2 = 0,
unsigned char    more3 = 0,
unsigned char    more4 = 0,
short    dur = INVALID,
int    amxcback = INVALID
 

Adds a temp effect.

Author:
Luxor

void tempfx::addTempfxCheck SERIAL    serial
 

Author:
Luxor

void callCustomTempFx P_OBJECT    poSrc,
P_OBJECT    poDest,
int    mode,
int    amxcallback,
int    more1,
int    more2,
int    more3
[static]
 

Calls a custom tempfx defined in small code.

Author:
Luxor

void tempfx::checktempeffects  
 

Author:
Luxor

SI32 getTempFxTime P_CHAR    src,
int    num,
int    more1,
int    more2,
int    more3
 

Author:
Luxor

LOGICAL tempfx::isDestRepeatable int    num
 

Author:
Luxor

LOGICAL tempfx::isSrcRepeatable int    num
 

Author:
Luxor

void tempfx::tempeffectsoff  
 

Author:
Luxor

void tempfx::tempeffectson  
 

Author:
Luxor


Variable Documentation

SERIAL_SLIST tempfx::tempfxCheck
 

SourceForge.net Logo