2021-04-08 20:09:59 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Cal.DataTable
|
|
|
|
|
{
|
|
|
|
|
public partial class MapMonsterConfigCategory
|
|
|
|
|
{
|
2021-05-01 11:27:41 +08:00
|
|
|
|
public MapMonsterConfig GetManulEquipMapMonster(int layer)
|
2021-04-08 20:09:59 +08:00
|
|
|
|
{
|
2021-05-01 11:27:41 +08:00
|
|
|
|
long id=layer switch
|
2021-04-08 20:09:59 +08:00
|
|
|
|
{
|
|
|
|
|
1 => MapMonsterConfigId.ManulEquip1,
|
|
|
|
|
2 => MapMonsterConfigId.ManulEquip2,
|
|
|
|
|
3 => MapMonsterConfigId.ManulEquip3,
|
|
|
|
|
4 => MapMonsterConfigId.ManulEquip4,
|
2021-04-11 19:50:39 +08:00
|
|
|
|
_ => throw new Exception($"没有更多的层数:{layer}"),
|
2021-04-08 20:09:59 +08:00
|
|
|
|
};
|
2021-05-01 11:27:41 +08:00
|
|
|
|
return Get(id);
|
|
|
|
|
}
|
|
|
|
|
public MapMonsterConfig GetSpaceTravelMapMonster(int layer)
|
|
|
|
|
{
|
|
|
|
|
long id= layer switch
|
|
|
|
|
{
|
|
|
|
|
1 => MapMonsterConfigId.SpaceTravel1,
|
|
|
|
|
2 => MapMonsterConfigId.SpaceTravel2,
|
|
|
|
|
3 => MapMonsterConfigId.SpaceTravel3,
|
|
|
|
|
4 => MapMonsterConfigId.SpaceTravel4,
|
|
|
|
|
5 => MapMonsterConfigId.SpaceTravel5,
|
|
|
|
|
6 => MapMonsterConfigId.SpaceTravel6,
|
|
|
|
|
_ => throw new Exception($"没有更多的层数:{layer}"),
|
|
|
|
|
};
|
|
|
|
|
return Get(id);
|
2021-04-08 20:09:59 +08:00
|
|
|
|
}
|
2021-05-05 13:36:19 +08:00
|
|
|
|
public MapMonsterConfig GetStarSoulCopyMapMonster(int layer)
|
|
|
|
|
{
|
|
|
|
|
long id= layer switch
|
|
|
|
|
{
|
|
|
|
|
1 => MapMonsterConfigId.StarSoul1,
|
|
|
|
|
2 => MapMonsterConfigId.StarSoul2,
|
|
|
|
|
3 => MapMonsterConfigId.StarSoul3,
|
|
|
|
|
_ => throw new Exception($"没有更多的层数:{layer}"),
|
|
|
|
|
};
|
|
|
|
|
return Get(id);
|
|
|
|
|
}
|
2021-04-08 20:09:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|