Jump to content
  • 0
Sign in to follow this  
jaiko23

SG Resetter !

Question

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

2 answers to this question

Recommended Posts

  • 0
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 by Easycore

Share this post


Link to post
Share on other sites
  • 0
/*========================================== * /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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.