Jump to content

PVP, WoE, GVG: WoE rewards depending on time spent in castle


Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   35
  • Joined:  07/04/19
  • Last Seen:  

WoE rewards depending on time spent in castle


This script rewards players for each minute spent on WoE castle.

Features:

  • Can reward players for every minute they spend inside a WoE castle
  • Can reward players for every kill in WoE castle, and will also display the name of the killed/killer.
  • Excludes AFK players and players who are not in a guild.
  • Announces kills with different colors depending on the killer's castle
  • Can set a modifier for certain classes to gain more points than others

Settings:

setarray .maps$ ,"schg_cas03", "prtg_cas01"; //maps where the system is active
.points_per_minute = 1; //number of points earned for each minute you spend in the castle
for (.@i = 0 ; .@i < getarraysize(.maps$) ; .@i++)
    if (!getmapflag(.maps$[.@i],mf_loadevent)) setmapflag .maps$[.@i],mf_loadevent;

.s_idle_time = 180; // time before player is considered idle (in seconds)
.rewardId = 909;    // ID of the reward item
.announce = 0;  // Announce kills (0 = no announcement, 1 = map announcement, 2 = global announcement)
.color_defenders$ = "0xffff00"; // Announcement color when a defending player kills an attacking player
.color_attackers$ = "0x99ccff"; // Announcement color when an attacking player kills a member of the castle's owner
.kill_reward = 1;   // Amount of points earned for every kill, set to 0 to disable it
setarray .class_modifier[0],4063,3,4076,2;  // Modifier for certain classes [Id, Modifier, Id, Modifier....]

This script is a part of a larger rewards script that includes a WoE ranking,  emperium breaking rewards, and rewards depending on the damage dealt during WoE. I might release the entire script in the future.


 

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
Reply to this topic...

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