From 4df70ec2c5578be9b7d2448b185997f29bf471f0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Aug 2019 16:47:13 -0300 Subject: From now on, rewards for invites (referral system) will be handled automatically. --- db/re/item_db.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db') 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)); } "> }, -- cgit v1.2.3-70-g09d2