Jump to content
  • 0

Auto and random buff on PVP map


Question

Posted

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...

1 answer to this question

Recommended Posts

  • 0
Posted (edited)
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...