summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-11 16:48:25 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-11 16:48:25 -0300
commit83af6ac15eccff6796c590af26c500e74b962542 (patch)
tree0b16f4070197d11bce33d98c7d8135376711dd47 /npc/functions/clientversion.txt
parent4df70ec2c5578be9b7d2448b185997f29bf471f0 (diff)
downloadserverdata-83af6ac15eccff6796c590af26c500e74b962542.tar.gz
serverdata-83af6ac15eccff6796c590af26c500e74b962542.tar.bz2
serverdata-83af6ac15eccff6796c590af26c500e74b962542.tar.xz
serverdata-83af6ac15eccff6796c590af26c500e74b962542.zip
If your invitees still play the game, rewards will be sent as rodex mail to
the first registered char in the account.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt9
1 files changed, 9 insertions, 0 deletions
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);
}