diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-11 16:47:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-11 16:47:13 -0300 |
commit | 4df70ec2c5578be9b7d2448b185997f29bf471f0 (patch) | |
tree | f4df01f7031ba3b2951926e6dd05dc50a4bea74d /db | |
parent | 0e6c33c6ebb0f10ce1a7cddca8a6325ee241b658 (diff) | |
download | serverdata-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 'db')
-rw-r--r-- | db/re/item_db.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 43b8aab96..9711fbcbb 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2221,6 +2221,8 @@ item_db: ( $REFERRAL_IDS[#REFERRAL_PROG]=$REFERRAL_IDS[#REFERRAL_PROG]+1; // I can't warrant this won't break stuff so I left commented out //message(#REFERRAL_PROG, strcharinfo(0)+" accepted your invite to play TMW2."); + .@charid=callfunc("gf_charid", #REFERRAL_PROG); + rodex_sendmail(.@charid, "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nAs they get stronger, more rewards will be sent to you!", rand(25,50)); } "> }, |