Jump to content
  • 0

Event poring


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

Start Every 2hrs

1: NPC announce the event is start

2:NPC summon 100 poring mob

3: who the 1st killed of 30 poring mobs she/he the win.

 or else no one killed 30 poring after killed all poring

4: get item 7227 10

Edited by Blue Jem
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


- script PoringMob -1,{

OnMinute00:

if(!(gettime(3) % 2)) {

announce "Poring mob has started",0;

monster "prontera",123,42,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath";

}

end;

OnPoringDeath:

@PoringKill++;

if(@PoringKill == 30) {

announce strcharinfo(0)+" is the winner!",0;

killmonster "prontera","All";

getitem 7227,10;

}

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

map is guild_vs1 for place to event

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

just change prontera to guild_vs1 >_>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

please work to eathena master

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

I'm not sure if what functions are unsupported by eA.. Try this..

-	script	PoringMob	-1,{

OnMinute00:
	if(!(gettime(3) % 2)) {
		announce "Poring mob has started",0;
		monster "prontera",123,42,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath";
	}
	end;

OnPoringDeath:
	set @PoringKill,@PoringKill+1;
	if(@PoringKill == 30) {
		announce strcharinfo(0)+" is the winner!",0;
		atcommand "@killmonster2";
		getitem 7227,10;
	}
	end;

}

It would also be helpful if you would just post a screenshot of your console where it shows the error >_>

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