summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-17 22:23:08 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-17 22:23:08 -0300
commite7f3365d53d5cf1155cf02b1c32f97ff2f088d13 (patch)
tree9ac93e826152f22bc197483244ed8f5ba2242198
parent8aefcc1a1b4295f0254f12e9c27d12fae653beb9 (diff)
downloadserverdata-e7f3365d53d5cf1155cf02b1c32f97ff2f088d13.tar.gz
serverdata-e7f3365d53d5cf1155cf02b1c32f97ff2f088d13.tar.bz2
serverdata-e7f3365d53d5cf1155cf02b1c32f97ff2f088d13.tar.xz
serverdata-e7f3365d53d5cf1155cf02b1c32f97ff2f088d13.zip
Prototype to reward all Fortress Town Siege participants
-rw-r--r--npc/025-1/ctrl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c
index 7006f7a63..d11291552 100644
--- a/npc/025-1/ctrl.c
+++ b/npc/025-1/ctrl.c
@@ -109,6 +109,13 @@ function script FTStatue {
return false;
}
+// FTRodex(char id)
+function script FTRodex {
+ .@cid=getarg(0);
+ rodex_sendmail(.@cid, "Commander Povo", "Fortress Town Reward", "For your bravure in Fortress Town conquest! Cheers!", 0, StrangeCoin, 1+$MK_TEMPVAR);
+ return;
+}
+
@@ -437,6 +444,8 @@ OnConquest:
getitem StrangeCoin, rand2(40,50);
}
stopnpctimer;
+ // Handle rewards in low priority
+ array_filter($@FORT_BLACKLIST, "FTRodex");
end;
}