|
@@ -51,15 +51,16 @@ namespace XmdsCommonServer.Plugin
|
|
|
ret.fateType = ma.FateType;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
XmdsServerScene scene = this.mUnit.Parent as XmdsServerScene;
|
|
|
SceneType sceneType = this.mUnit.GetSceneType();
|
|
|
int lvl_monster = ma.Level;
|
|
|
|
|
|
this.mUnit.Level = lvl_monster;
|
|
|
this.mProp.ServerData.BaseInfo.UnitLv = lvl_monster;
|
|
|
+
|
|
|
+ this.mProp.ServerData.BaseInfo.StateLv = (byte)(Math.Max(0, (lvl_monster - 70) / 10));
|
|
|
|
|
|
- if (ma.Fight_Type == 1)
|
|
|
+ if (ma.Fight_Type == 1)
|
|
|
{
|
|
|
MonsterProp prop = XmdsDataMgr.GetInstance().GetSingleMonsterProp(lvl_monster, ma.Type);
|
|
|
initProp(prop, ma, ret);
|