diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-17 22:23:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-17 22:23:08 -0300 |
commit | e7f3365d53d5cf1155cf02b1c32f97ff2f088d13 (patch) | |
tree | 9ac93e826152f22bc197483244ed8f5ba2242198 | |
parent | 8aefcc1a1b4295f0254f12e9c27d12fae653beb9 (diff) | |
download | serverdata-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.c | 9 |
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; } |