Javanese 1 Posted October 17, 2014 Hi there, is there any script command to get character class on small int just like on char_db? i want to store it on my private db. Have been searching and cannot find it at the moment. thanks~ Quote Share this post Link to post Share on other sites
0 Nameless2you 97 Posted October 17, 2014 You can do stuff like if(Class == Swordsman) foo; else bar; A good script to look at is https://github.com/HerculesWS/Hercules/blob/b791b665c87589548c9c57afbe0fe50ec7c32676/npc/custom/jobmaster.txt and always remember the good old documentation: https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted October 17, 2014 just query it Quote Share this post Link to post Share on other sites
0 Javanese 1 Posted October 17, 2014 just query it i want to reduce using sql You can do stuff like if(Class == Swordsman) foo; else bar; A good script to look at is https://github.com/HerculesWS/Hercules/blob/b791b665c87589548c9c57afbe0fe50ec7c32676/npc/custom/jobmaster.txt and always remember the good old documentation: https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt omg it seems i should do it manual like that thank you guys Quote Share this post Link to post Share on other sites
Hi there, is there any script command to get character class on small int just like on char_db? i want to store it on my private db.
Have been searching and cannot find it at the moment.
thanks~
Share this post
Link to post
Share on other sites