Critica Posted April 28, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Share Posted April 28, 2012 hiiii alll!! can i have a request,, during woe, everytime a breaker, brakes an emperium, he/she will get a points/reward or item.. and that points/reward or item will add up until the woe ends.. after woe the points/reward or item that he recieve can be traded to npc for an item,,, get the idea?? please help, thanksss!! Quote Link to comment Share on other sites More sharing options...
Nameless2you Posted May 28, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 351 Reputation: 52 Joined: 11/15/11 Last Seen: June 15, 2015 Share Posted May 28, 2012 (edited) Make a second npc that requires those posts for items. And of course remember to delete those points after purchase. prontera,150,150,5<tab>script<tab>sample<tab>99,{ if(breakp <= 0) close; mes "what would you like to purchase"; switch(select("Item 1:Item 2:Item 3")){ case 1: mes "this would be item 1"; getitem itemid,itemamount; set breakp, breakp - 1; close; case 2: mes "this would be item 2"; getitem itemid,itemamount; set breakp, breakp - 1; close; case 3: mes "this would be item 3"; getitem itemid,itemamount; set breakp, breakp - 1; close; } } Edited May 28, 2012 by Nameless2you Quote Link to comment Share on other sites More sharing options...
Enzo0714 Posted April 30, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 39 Reputation: 23 Joined: 11/29/11 Last Seen: December 1, 2013 Share Posted April 30, 2012 (edited) Hi, I tried doing this one. The character will accumulate points by breaking the emperium during WoE. First, search for this in npc/guild/agit_main.txt: // Announce that the Emperium is destroyed, and respawn all but new castle-occupants. mapannounce strnpcinfo(2),"The emperium has been destroyed.",bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12; MapRespawnGuildID strnpcinfo(2),.@GID,2; Then add a couple of lines: // Announce that the Emperium is destroyed, and respawn all but new castle-occupants. mapannounce strnpcinfo(2),"The emperium has been destroyed.",bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12; MapRespawnGuildID strnpcinfo(2),.@GID,2; set breakp,breakp+1; dispbottom "You've been awarded 1 point for breaking the emperium! You now have a total of "+breakp+" point(s)"; I attached a separate NPC script for the points exchanger. Just modify it to your likings. There are 5 default items, which are potions. BTW, the NPC is available all the time. You might be asking it to be only available when the WoE is off, just assuming. Breaker_Rewarder.txt Edited April 30, 2012 by Enzo0714 Quote Link to comment Share on other sites More sharing options...
Usher Posted May 28, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 05/20/12 Last Seen: June 4, 2012 Share Posted May 28, 2012 Sorry for asking if that part add on 1 point, How to convert it to items example like item code 7779 set breakp,breakp+1; Quote Link to comment Share on other sites More sharing options...
Critica Posted June 2, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share Posted June 2, 2012 sorry for the late reply, its seem everything is working! thank you guyS! Quote Link to comment Share on other sites More sharing options...
Question
Critica
hiiii alll!!
can i have a request,,
during woe, everytime a breaker, brakes an emperium, he/she will get a points/reward or item.. and that points/reward or item will add up until the woe ends..
after woe the points/reward or item that he recieve can be traded to npc for an item,,,
get the idea??
please help, thanksss!!
Link to comment
Share on other sites
4 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.