别再玄学&抬杠说什么堆心境到200、400对炼宝、修炼有作用
自己看下面的代码,我不会解释什么,看的懂就看,看不懂说明你菜
以后谁再抬杠,直接把这帖子拍它脸上就行
public override int GetLevel()
{
if (this.RealValue >= 100f){return 7;}
if (this.RealValue >= 95f && this.RealValue < 100f){return 6;}
if (this.RealValue >= 85f && this.RealValue < 95f){return 5;}
if (this.RealValue >= 70f && this.RealValue < 85f){return 4;}
if (this.RealValue >= 50f && this.RealValue < 70f){return 3;}
if (this.RealValue >= 30f && this.RealValue < 50f){return 2;}
if (this.RealValue >= 0f && this.RealValue < 30f){return 1;}
return 0;}
public static readonly Dictionary<int, string> MindState2Txt = new Dictionary<int, string>
{
{0,TFMgr.Get("心境崩溃")},
{1,TFMgr.Get("心境崩溃")},
{2,TFMgr.Get("心境不稳")},
{3,TFMgr.Get("心境中正")},
{4,TFMgr.Get("心境圆润")},
{5,TFMgr.Get("心境通明")},
{6,TFMgr.Get("心境无暇")},
{7,TFMgr.Get("心境无暇")}
};
GameDefine.MindState2Refining = new Dictionary<int, float>
{
{0,-2f},
{1,-2f},
{2,-0.4f},
{3,0f},
{4,0.1f},
{5,0.2f},
{6,0.3f},
{7,0.3f}
};
GameDefine.MindState2RefiningRate = new Dictionary<int, float>
{
{0,0.1f},
{1,0.1f},
{2,0.3f},
{3,1f},
{4,1.5f},
{5,2f},
{6,3f},
{7,3f}
};
自己看下面的代码,我不会解释什么,看的懂就看,看不懂说明你菜
以后谁再抬杠,直接把这帖子拍它脸上就行
public override int GetLevel()
{
if (this.RealValue >= 100f){return 7;}
if (this.RealValue >= 95f && this.RealValue < 100f){return 6;}
if (this.RealValue >= 85f && this.RealValue < 95f){return 5;}
if (this.RealValue >= 70f && this.RealValue < 85f){return 4;}
if (this.RealValue >= 50f && this.RealValue < 70f){return 3;}
if (this.RealValue >= 30f && this.RealValue < 50f){return 2;}
if (this.RealValue >= 0f && this.RealValue < 30f){return 1;}
return 0;}
public static readonly Dictionary<int, string> MindState2Txt = new Dictionary<int, string>
{
{0,TFMgr.Get("心境崩溃")},
{1,TFMgr.Get("心境崩溃")},
{2,TFMgr.Get("心境不稳")},
{3,TFMgr.Get("心境中正")},
{4,TFMgr.Get("心境圆润")},
{5,TFMgr.Get("心境通明")},
{6,TFMgr.Get("心境无暇")},
{7,TFMgr.Get("心境无暇")}
};
GameDefine.MindState2Refining = new Dictionary<int, float>
{
{0,-2f},
{1,-2f},
{2,-0.4f},
{3,0f},
{4,0.1f},
{5,0.2f},
{6,0.3f},
{7,0.3f}
};
GameDefine.MindState2RefiningRate = new Dictionary<int, float>
{
{0,0.1f},
{1,0.1f},
{2,0.3f},
{3,1f},
{4,1.5f},
{5,2f},
{6,3f},
{7,3f}
};