Jump to content
  • 0

Auto and random buff on PVP map


kasim03

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  03/27/17
  • Last Seen:  

i hope someone can help me make script pvp with auto and random buff...
my plan with small map pvp this, those who stay longer in pvp can get random buff like give stat buff...

example:
 

Quote

 

  1. sc_start SC_AGIFOOD,180000,3;
  2. sc_start SC_VITFOOD,180000,3;
  3. sc_start SC_VITFOOD,180000,3;
  4. and more....

 

sry my bad english and thx for help...

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

guild_vs5	mapflag	pvp
prontera,155,185,5	script	skfdhsjf	1_F_MARIA,{
	select "GO PVP";
	warp "guild_vs5", 0,0;
	attachnpctimer;
	initnpctimer;
	end;
OnTimer5000:
	callsub L_checkmap;
	sc_start SC_AGIFOOD,180000,3;
	end;
OnTimer10000:
	callsub L_checkmap;
	sc_start SC_VITFOOD,180000,3;
	end;
OnTimer15000:
	callsub L_checkmap;
	sc_start SC_VITFOOD,180000,3;
	end;
L_checkmap:
	if ( strcharinfo(3) != "guild_vs5" ) {
		stopnpctimer;
		detachnpctimer;
		end;
	}
	return;
}

urgh .... do the rest yourself

unfortunately rathena don't have something like hercules' QUEUEOPT_MAPCHANGE so nah ... the buff will stay on changing map

EDIT: or unless making another OnPCQuitMapEvent: ....

Edited by AnnieRuru
Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...