Public Methods |
| | cMagic () |
| | INDEX:. More...
|
| virtual | ~cMagic () |
| bool | HasSpell (CItem *book, int spellNum) |
| void | AddSpell (CItem *book, int spellNum) |
| void | RemoveSpell (CItem *book, int spellNum) |
| void | LoadScript (void) |
| void | SpellBook (cSocket *mSock) |
| bool | GateCollision (CChar *s) |
| void | GateDestruction (UI32 currenttime) |
| bool | SelectSpell (cSocket *mSock, int num) |
| void | doMoveEffect (int num, cBaseObject *target, CChar *source) |
| void | doStaticEffect (CChar *source, int num) |
| void | playSound (CChar *source, int num) |
| void | DelReagents (CChar *s, reag_st reags) |
| void | CastSpell (cSocket *s, CChar *caster) |
| bool | CheckResist (CChar *attacker, CChar *defender, int circle) |
| void | PoisonDamage (CChar *p, int posion) |
| void | CheckFieldEffects2 (UI32 currenttime, CChar *c, char timecheck) |
| bool | CheckParry (CChar *player, int circle) |
| bool | CheckBook (int circle, int spell, CItem *i) |
| bool | CheckReagents (CChar *s, const reag_st *reagents) |
| bool | CheckMana (CChar *s, int num) |
| bool | CheckStamina (CChar *s, int num) |
| bool | CheckHealth (CChar *s, int num) |
| void | Recall (cSocket *s) |
| void | Mark (cSocket *s) |
| void | Gate (cSocket *s) |
| void | Heal (cSocket *s) |
| bool | CheckMagicReflect (CChar *i) |
| void | MagicDamage (CChar *p, int amount, CChar *attacker=NULL) |
| void | SpellFail (cSocket *s) |
| void | SubtractMana (CChar *s, int mana) |
| void | SubtractStamina (CChar *s, int stamina) |
| void | SubtractHealth (CChar *s, int health, int spellNum) |
| void | MagicTrap (CChar *s, CItem *i) |
| void | Polymorph (cSocket *s, int gmindex, int creaturenumer) |
| void | BoxSpell (cSocket *s, CChar *caster, short int &x1, short int &x2, short int &y1, short int &y2, SI08 &z1, SI08 &z2) |
| void | SummonMonster (cSocket *s, CChar *caster, UI16 id, char *monstername, UI16 color, SI16 x, SI16 y, SI08 z) |
| void | PolymorphMenu (cSocket *s, int gmindex) |
Private Methods |
| bool | RegMsg (CChar *s, reag_st failmsg) |
| void | Log (const char *spell, CChar *player1, CChar *player2, const char *extraInfo) |
Private Attributes |
| UI32 | spellCount |