|
@@ -73,7 +73,6 @@ class UserProc {
|
|
|
|
|
|
if (in_array($guideType, ctx()->privateState->funUnlockRecord_3) && $guide_type_forceSave == true) {
|
|
if (in_array($guideType, ctx()->privateState->funUnlockRecord_3) && $guide_type_forceSave == true) {
|
|
StlUtil::arrayRemove(ctx()->privateState->funUnlockRecord_3, $guideType);
|
|
StlUtil::arrayRemove(ctx()->privateState->funUnlockRecord_3, $guideType);
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
@@ -88,7 +87,7 @@ class UserProc {
|
|
$historyNames = ctx()->privateData()->HistoryNames;
|
|
$historyNames = ctx()->privateData()->HistoryNames;
|
|
$n = count($historyNames);
|
|
$n = count($historyNames);
|
|
$arr = explode(',', glc()->Rename_Cost); # 花费数组
|
|
$arr = explode(',', glc()->Rename_Cost); # 花费数组
|
|
- $cost = ($n >= count($arr) ) ? $arr[count($arr) - 1] : $arr[$n]; # 本次改名花费
|
|
|
|
|
|
+ $cost = ($n >= count($arr)) ? $arr[count($arr) - 1] : $arr[$n]; # 本次改名花费
|
|
my_Assert((ctx()->privateData()->lastRenameTs + glc()->Rename_Cooldown) < now(), "改名功能冷却中");
|
|
my_Assert((ctx()->privateData()->lastRenameTs + glc()->Rename_Cooldown) < now(), "改名功能冷却中");
|
|
my_Assert(ctx()->base(true)->Consume_Cash($cost), "元宝不足!");
|
|
my_Assert(ctx()->base(true)->Consume_Cash($cost), "元宝不足!");
|
|
my_Assert(self::checkRoleNameNotExist($newName), "昵称已存在, 请重新命名.");
|
|
my_Assert(self::checkRoleNameNotExist($newName), "昵称已存在, 请重新命名.");
|
|
@@ -239,7 +238,7 @@ class UserProc {
|
|
list($tag) = req()->paras;
|
|
list($tag) = req()->paras;
|
|
|
|
|
|
if (ctx()->baseInfo->animation == 0 && $tag > 0) {
|
|
if (ctx()->baseInfo->animation == 0 && $tag > 0) {
|
|
- ctx()->baseInfo->animation = 1;
|
|
|
|
|
|
+ ctx()->baseInfo->animation = $tag;
|
|
}
|
|
}
|
|
|
|
|
|
UserProc::updateUserInfo();
|
|
UserProc::updateUserInfo();
|
|
@@ -402,7 +401,7 @@ class UserProc {
|
|
UserProc::updateUserInfo(); # 这一步回存操作只有在 userInfo正常存在的情况下才进行
|
|
UserProc::updateUserInfo(); # 这一步回存操作只有在 userInfo正常存在的情况下才进行
|
|
|
|
|
|
self::OnLogin_DateDeal();
|
|
self::OnLogin_DateDeal();
|
|
-
|
|
|
|
|
|
+
|
|
//ctx()->privateState->firstRechargeUI_OpenTip = 1;
|
|
//ctx()->privateState->firstRechargeUI_OpenTip = 1;
|
|
if (ctx()->baseInfo->charge_amt == 0) {
|
|
if (ctx()->baseInfo->charge_amt == 0) {
|
|
ctx()->privateState->firstRechargeUI_OpenTip = 1;
|
|
ctx()->privateState->firstRechargeUI_OpenTip = 1;
|
|
@@ -507,7 +506,7 @@ class UserProc {
|
|
TaskProc::ResetTask();
|
|
TaskProc::ResetTask();
|
|
PayProc::setFirstRechargeLoginTag();
|
|
PayProc::setFirstRechargeLoginTag();
|
|
self::ActiveRefershTsDeal();
|
|
self::ActiveRefershTsDeal();
|
|
-
|
|
|
|
|
|
+
|
|
ActiveProc::ResetActiveInfos();
|
|
ActiveProc::ResetActiveInfos();
|
|
TaskProc::OnLogin_Accumulate();
|
|
TaskProc::OnLogin_Accumulate();
|
|
TaskProc::OnLogin_Accumulate_FlipCard();
|
|
TaskProc::OnLogin_Accumulate_FlipCard();
|
|
@@ -571,10 +570,10 @@ class UserProc {
|
|
|
|
|
|
TaskProc::OnLogin_Daily();
|
|
TaskProc::OnLogin_Daily();
|
|
TaskProc::OnLogin_day7();
|
|
TaskProc::OnLogin_day7();
|
|
-
|
|
|
|
|
|
+
|
|
TaskProc::checkMainTask();
|
|
TaskProc::checkMainTask();
|
|
FightProc::SubFunDateInit_Config();
|
|
FightProc::SubFunDateInit_Config();
|
|
-
|
|
|
|
|
|
+
|
|
ActiveProc::ClearFlipCardInfo();
|
|
ActiveProc::ClearFlipCardInfo();
|
|
FightProc::ResetTurnNum();
|
|
FightProc::ResetTurnNum();
|
|
}
|
|
}
|