mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-27 16:56:48 -04:00
Deprecate isFreeTrialAccount
This commit is contained in:
@@ -3723,10 +3723,6 @@ public class base_player extends script.base_script
|
||||
d.put("targetName", targetName);
|
||||
CustomerServiceLog("Trade", " Tip -- Player: " + self + " " + getName(self) + " Target: " + target + " -- Transferring wire bank money to escrow account! Amt: " + amt);
|
||||
transferBankCreditsToNamedAccount(self, money.ACCT_TIP_ESCROW, amt, "handleTipSuccess", "handleTipFail", d);
|
||||
if (utils.isFreeTrial(self, target))
|
||||
{
|
||||
pclib.doTipLogging(self, target, amt);
|
||||
}
|
||||
CustomerServiceLog("Trade", " Tip -- Player: " + self + " " + getName(self) + " Target: " + target + " -- Transferring wire bank fee to surcharge account! Amt: " + fee);
|
||||
transferBankCreditsToNamedAccount(self, money.ACCT_TIP_SURCHARGE, fee, "noHandler", "noHandler", d);
|
||||
utils.moneyOutMetric(self, money.ACCT_TIP_SURCHARGE, fee);
|
||||
@@ -9489,13 +9485,6 @@ public class base_player extends script.base_script
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
int playerLevel = getLevel(self);
|
||||
if (isFreeTrialAccount(self))
|
||||
{
|
||||
if (playerLevel >= xp.TRIAL_LEVEL_CAP)
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
String xp_type = params.getString("xp_type");
|
||||
int amt = params.getInt("amt");
|
||||
String fromCallback = params.getString("fromCallback");
|
||||
|
||||
Reference in New Issue
Block a user