Jump to content
  • 0
Sign in to follow this  
jaiko23

SG Resetter !

Question

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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