62 lines
1.8 KiB
C#
62 lines
1.8 KiB
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class MonsterBaseCategory : ACategory<MonsterBase>
|
||
|
{
|
||
|
public static MonsterBaseCategory Instance;
|
||
|
public MonsterBaseCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class MonsterBase:IConfig
|
||
|
{
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public string NickName;
|
||
|
public int PrefabId;
|
||
|
public ushort Level;
|
||
|
public byte MonsterType;
|
||
|
public long Exp;
|
||
|
public int Dropasubset;
|
||
|
public int Hp;
|
||
|
public int Str;
|
||
|
public int Wim;
|
||
|
public int Phy;
|
||
|
public int Sta;
|
||
|
public int Quk;
|
||
|
public int Spi;
|
||
|
public int PhyAtk;
|
||
|
public int SpiAtk;
|
||
|
public int PhyDef;
|
||
|
public int SpiDef;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Pcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Mcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Pcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Mcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Dvo;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rpcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rmcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rpcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rmcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Nphyi;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Nmeni;
|
||
|
public int SkillGroupId;
|
||
|
}
|
||
|
}
|