jidkadama Posted May 3, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 05/03/14 Last Seen: May 4, 2014 Share Posted May 3, 2014 PA HELP NAMAN NEED KO WOE REWARD NPC SCRIPT PAGTAPOS NG WOE CLAIM NALANG NILA REWARDS SA NPC. THANKS GUYS!! Quote Link to comment Share on other sites More sharing options...
Weistony Posted May 3, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 108 Reputation: 12 Joined: 06/19/12 Last Seen: Sunday at 04:47 AM Share Posted May 3, 2014 (edited) Matuto ka naman sanang gumamit ng "Search" o kaya tanungin si google sa kelangan mo. Euphy's WoE Controller - http://rathena.org/board/topic/85256-euphys-woe-controller-woe-prize-reward-setting/ - May automated woe rewards na ang WoE Controller ni Euphy. WoE Reward NPC prontera,129,214,5 script Woe Prize Reward 986,{ waitingroom "Woe Rewarder",0; // setcastledata "prtg_cas01", 1, getcharid(2); // just testing .. if ( agitcheck() ) { mes "a war is currently in progress"; mes "if your guild owned a castle ask your guild master to see me to claim the reward"; close; } set .@menu, select(.menu$) -1; if ( getcastledata("prtg_cas0"+( .@menu +1 ), 1) == getcharid(2) ) { if ( $castle_claimed & pow(2, .@menu) ) { mes "your guild already received the reward for "+ .castlename$[.@menu]; close; } else if ( getguildmasterid( getcharid(2) ) == getcharid(0) ) { mes "receiving the reward for "+ .castlename$[.@menu]; getitem 29836, 2 * (2 - .@menu); // some mathematics ... set $castle_claimed, $castle_claimed | pow(2, .@menu); close; } else { mes "ask your guild master to see me"; close; } } mes "your guild failed to take "+ .castlename$[.@menu]; mes "if your guild owned a castle ask your guild master to claim reward from me"; close; OnAgitEnd: set $castle_claimed, 0; // everytime woe ends the variable resets end; OnInit: setarray .castlename$, "Kriemhild", "Swanhild", "Fadhgridh", "Skoegul", "Gondul"; for ( set .@i, 0; .@i < 5; set .@i, .@i +1 ) set .menu$, .menu$ + .castlename$[.@i] +":"; } Default castles = Prontera. Kaw na lng edit, gamitin mo si Google. And tip lng, sa Script Request Section ka mag request para mas marami sasagot at tutulong sayo yun nga lang kelangan mo mag English. Edited May 3, 2014 by Spades Quote Link to comment Share on other sites More sharing options...
jidkadama Posted May 3, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 05/03/14 Last Seen: May 4, 2014 Author Share Posted May 3, 2014 Oh okay sorry. thanks for the help bro. Quote Link to comment Share on other sites More sharing options...
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.