jaiko23 1 Posted December 27, 2015 hi im looking for an npc script where you can reset the feeling for SG.. does anyone know or give me link for it? thanks in advance guys ! Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted December 27, 2015 (edited) prontera,150,150,0 script Feel Reset 100,{if( BaseClass == Job_Star_Gladiator ){atcommand "@feelreset";dispbottom "Feelings has been reset";end} else dispbottom "You are not Star Gladiator";end;} The command "@feelreset" doesn't reset Hatred skills Edited December 27, 2015 by Easycore Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted December 27, 2015 /*========================================== * /resetfeel [Komurka] *------------------------------------------*/int pc_resetfeel(struct map_session_data* sd){ int i; nullpo_ret(sd); for (i=0; i<MAX_PC_FEELHATE; i++) { sd->feel_map[i].m = -1; sd->feel_map[i].index = 0; pc_setglobalreg(sd,script->add_str(pc->sg_info[i].feel_var),0); } return 0;}int pc_resethate(struct map_session_data* sd){ int i; nullpo_ret(sd); for (i = 0; i < MAX_PC_FEELHATE; i++) { sd->hate_mob[i] = -1; pc_setglobalreg(sd,script->add_str(pc->sg_info[i].hate_var),0); } return 0;}just make a script command to run these 2 functions 1 Waken reacted to this Quote Share this post Link to post Share on other sites
hi im looking for an npc script where you can reset the feeling for SG.. does anyone know or give me link for it? thanks in advance guys !
Share this post
Link to post
Share on other sites