Blue Jem Posted March 4, 2014 Posted March 4, 2014 (edited) 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 March 4, 2014 by Blue Jem Quote
sandbox Posted March 4, 2014 Posted March 4, 2014 - 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; } Quote
sandbox Posted March 4, 2014 Posted March 4, 2014 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 >_> Quote
Question
Blue Jem
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 Jem5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.