zhakastia,112,61,5 script WoE Prize 835,{
if ( agitcheck() ) goto L_woeon;
menu
"Kriemhild [Primary Castle]",L_prtg_cas01;
L_prtg_cas01:
if ( getcastledata( "prtg_cas01", 1) != getcharid(2) ) goto L_not_owner;
if ( $castle_claimed[1] ) goto L_claimed;
if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm;
mes "receiving the reward for this castle";
getitem 7960,200;
getitem 12103,20;
getitem 7959,20;
set $castle_claimed[1], 1;
getitem 7960,250;
getitem 12103,30;
getitem 7959,30;
set $castle_claimed[2], 2;
getitem 7960,300;
getitem 12103,40;
getitem 7959,40;
set $castle_claimed[3], 3;
close;
L_woeon:
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;
L_not_owner:
mes "Your guild failed to take this castle";
mes "If your guild owned a castle ask your guild master to claim reward from me";
close;
L_claimed:
mes "Your guild already received the reward for this castle";
close;
L_not_gm:
mes "Ask your Guild Master to see me";
close;
OnAgitEnd:
set $castle_claimed[1],
set $castle_claimed[2],
set $castle_claimed[3], 0; // everytime woe ends the variable resets
end;
OnInit:
waitingroom "Kriemhild Reward",0;
end;
}
i liked to add 2 more prize each attempt so as the script has this will be the 1st reward attempt
and how i could add 2nd attempt that reward will be increase
Question
Mootie
i liked to add 2 more prize each attempt so as the script has this will be the 1st reward attempt
and how i could add 2nd attempt that reward will be increase
and for the 3rd attempt
this is for only 1 castle kriemhild
thank you...
Edited by MootieLink to comment
Share on other sites
11 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.