fix bug
This commit is contained in:
@@ -801,7 +801,6 @@ public abstract class CECPlayer : CECObject
|
||||
|
||||
public int GetLevelUpExp(int iLevel)
|
||||
{
|
||||
// BMLogger.LogError();
|
||||
return _player_levelup_exp.exp[iLevel - 1];
|
||||
//return iLevel * iLevel * 500;
|
||||
}
|
||||
|
||||
@@ -407,8 +407,8 @@ public class CECHostPlayer : CECPlayer
|
||||
m_ExtProps.bs.max_mp = pCmd.iMaxMP;
|
||||
m_ExtProps.max_ap = pCmd.iMaxAP;
|
||||
|
||||
EventBus.Publish(pCmd);
|
||||
EventBus.Publish(new EXPToUpLevel(GetLevelUpExp(pCmd.sLevel)));
|
||||
EventBus.Publish(pCmd);
|
||||
// if (pCmd.State != 0 && m_bFight == false) PlayEnterBattleGfx();
|
||||
m_bFight = pCmd.State != 0 ? true : false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user