summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-11 16:47:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-11 16:47:13 -0300
commit4df70ec2c5578be9b7d2448b185997f29bf471f0 (patch)
treef4df01f7031ba3b2951926e6dd05dc50a4bea74d /npc/003-3/malindou.txt
parent0e6c33c6ebb0f10ce1a7cddca8a6325ee241b658 (diff)
downloadserverdata-4df70ec2c5578be9b7d2448b185997f29bf471f0.tar.gz
serverdata-4df70ec2c5578be9b7d2448b185997f29bf471f0.tar.bz2
serverdata-4df70ec2c5578be9b7d2448b185997f29bf471f0.tar.xz
serverdata-4df70ec2c5578be9b7d2448b185997f29bf471f0.zip
From now on, rewards for invites (referral system) will be handled automatically.
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r--npc/003-3/malindou.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index b39b13d08..09a21ef8e 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -475,9 +475,17 @@ OnPCBaseLvUpEvent:
sc_end SC_CASH_RECEIVEITEM;
break;
case 25:
+ 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);
case 50:
+ 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);
case 75:
+ 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);
case 100:
+ 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);
case 125:
case 150:
dispbottom l("Milestone levelup: A reward can now be claimed in Tulimshar.");