#include "nxwcommn.h"#include "skills.h"#include "basics.h"#include "itemid.h"#include "sndpkg.h"#include "srvparms.h"#include "amx/amxcback.h"#include "race.h"#include "magic.h"#include "network.h"#include "tmpeff.h"#include "addmenu.h"#include "scp_parser.h"#include "set.h"#include "items.h"#include "chars.h"#include "inlines.h"#include "nox-wizard.h"#include "scripts.h"#include "debug.h"Defines | |
| #define | AMX_SKILLS_MAIN "__nxw_sk_main" |
| #define | CREATEINBACKPACK(ITEM) pi = item::CreateFromScript( ITEM, pc->getBackpack() ); |
Functions | |
| void | SetSkillDelay (CHARACTER cc) |
| bool | DoOnePotion (NXWSOCKET s, UI16 regid, UI32 regamount, char *regname) |
| Helper function for DoPotion(). | |
| int | AdvanceOneStat (UI32 sk, int i, char stat, bool *update, int type, P_CHAR pc) |
| Little helper function for cSkills::AdvanceStats() finds the appropriate line for the used skill in advance table and uses the value of that skill (!) to increase the stat and cuts it down to 100 if necessary Straylight: changed algorithm to use strength, dex and int sections from skills.xss. | |
| void | loadskills () |
| void | SkillVars () |
Variables | |
| int | ingottype = 0 |
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
Little helper function for cSkills::AdvanceStats() finds the appropriate line for the used skill in advance table and uses the value of that skill (!) to increase the stat and cuts it down to 100 if necessary Straylight: changed algorithm to use strength, dex and int sections from skills.xss.
|
|
||||||||||||||||||||
|
Helper function for DoPotion().
|
|
|
|
|
|
|
|
|
|
|
|
|