From e7f3365d53d5cf1155cf02b1c32f97ff2f088d13 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 17 Feb 2021 22:23:08 -0300 Subject: Prototype to reward all Fortress Town Siege participants --- npc/025-1/ctrl.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- cgit v1.2.3-70-g09d2