From 83af6ac15eccff6796c590af26c500e74b962542 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Aug 2019 16:48:25 -0300 Subject: If your invitees still play the game, rewards will be sent as rodex mail to the first registered char in the account. --- npc/functions/clientversion.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 5d0346c85..bfc0b0001 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -537,6 +537,15 @@ function script clientupdater { if (getskilllv(TMW2_TRANSMIGRATION) > 10) { skill TMW2_TRANSMIGRATION, 10, 0; } + // Post-poned Referral Rewards + if (#REFERRAL_PROG && BaseLevel >= 25) + rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 25!", strcharinfo(0)+" just got level 25!\nAs they get stronger, more rewards will be sent to you!", 0, SilverGift, 1); + if (#REFERRAL_PROG && BaseLevel >= 50) + rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 50!", strcharinfo(0)+" just got level 50!\nAs they get stronger, more rewards will be sent to you!", 0, ArcmageBoxset, 1); + if (#REFERRAL_PROG && BaseLevel >= 75) + rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 75!", strcharinfo(0)+" just got level 75!\nAs they get stronger, more rewards will be sent to you!", 0, PrismGift, 1); + if (#REFERRAL_PROG && BaseLevel >= 100) + rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 100!", strcharinfo(0)+" just got level 100!\nTime to reap what you've sow for so long!", 0, SupremeGift, 1); } -- cgit v1.2.3-60-g2f50