Jump to content
  • 0

Modified WoE Rewards to losers


c2greentea

Question


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   0
  • Joined:  06/07/14
  • Last Seen:  

We want to be able to give woe rewards to those who participated in woe especially those who lost. So is it possible to do this in fool proof manner? Maybe count the total time they went inside the castle and if for example they got a total of 15 or 30 mins they could be rewarded?

 

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

On 10/18/2014 at 5:22 PM, Zeiyan said:

prontera,100,100,5 script testing 100,{

OnMapLoadEvent:
if ((agitcheck() && agitcheck2()) && ( strcharinfo(3) == .@testmaps)) { // Check if woe is on and if you entered a castle
set WoeReward, WoeReward +1; // set points
end;
}

OnAgitEnd:
if (WoeReward >= 15) { // if points is 15 or more get item
getitem, 501,1; // reward
end;
set WoeReward, 0; // reset the points
}
OnInit:
set .@testmaps,"prontera";
set WoeReward,0;

there edited it. didnt test it tho

what this script work ?

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

i'm thinking this could be done by "PCMapLoadEvent" set a variable everytime they enter your castles and if variable = (15 or 30) then they get a prize.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   0
  • Joined:  06/07/14
  • Last Seen:  

Thanks Zeiyan but i dont know how to make a script. I hope someone can help me further though :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

prontera,100,100,5 script testing 100,{

OnMapLoadEvent:
if ((agitcheck() && agitcheck2()) && ( strcharinfo(3) == .@testmaps)) { // Check if woe is on and if you entered a castle
set WoeReward, WoeReward +1; // set points
end;
}

OnAgitEnd:
if (WoeReward >= 15) { // if points is 15 or more get item
getitem, 501,1; // reward
end;
set WoeReward, 0; // reset the points
}
OnInit:
set .@testmaps,"prontera";
set WoeReward,0;

there edited it. didnt test it tho

Edited by Zeiyan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   0
  • Joined:  06/07/14
  • Last Seen:  

Zeiyan, I think you misunderstood a little my request. What I meant is they will be given a reward if the script reads at least 30 minutes total time they have been in the active agits. So for example they have entered inside the castle/agit 10 times, and the total time they were in the castle combining 10 times they entered inside before the woe ends is 30 minutes, then they will be eligible for the reward after the woe ends.

 

I hope I make sense hehehe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

oh okay. let me try that. im not good with timers tho.

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