|
|
@@ -28,10 +28,11 @@ public sealed partial class SingleSoldierLevel : Bright.Config.BeanBase
|
|
|
{ if(!_json["MP"].IsNumber) { throw new SerializationException(); } MP = _json["MP"]; }
|
|
|
{ if(!_json["ArmorPierce"].IsNumber) { throw new SerializationException(); } ArmorPierce = _json["ArmorPierce"]; }
|
|
|
{ if(!_json["ShootDownDamage"].IsNumber) { throw new SerializationException(); } ShootDownDamage = _json["ShootDownDamage"]; }
|
|
|
+ { if(!_json["ShootDownDamageRate"].IsNumber) { throw new SerializationException(); } ShootDownDamageRate = _json["ShootDownDamageRate"]; }
|
|
|
PostInit();
|
|
|
}
|
|
|
|
|
|
- public SingleSoldierLevel(int Level, string Soldier, int EXP, int SummonAttack, int MarchAttack, int HP, int armor, int MP, int ArmorPierce, int ShootDownDamage )
|
|
|
+ public SingleSoldierLevel(int Level, string Soldier, int EXP, int SummonAttack, int MarchAttack, int HP, int armor, int MP, int ArmorPierce, int ShootDownDamage, float ShootDownDamageRate )
|
|
|
{
|
|
|
this.Level = Level;
|
|
|
this.Soldier = Soldier;
|
|
|
@@ -43,6 +44,7 @@ public sealed partial class SingleSoldierLevel : Bright.Config.BeanBase
|
|
|
this.MP = MP;
|
|
|
this.ArmorPierce = ArmorPierce;
|
|
|
this.ShootDownDamage = ShootDownDamage;
|
|
|
+ this.ShootDownDamageRate = ShootDownDamageRate;
|
|
|
PostInit();
|
|
|
}
|
|
|
|
|
|
@@ -61,6 +63,7 @@ public sealed partial class SingleSoldierLevel : Bright.Config.BeanBase
|
|
|
public int MP { get; private set; }
|
|
|
public int ArmorPierce { get; private set; }
|
|
|
public int ShootDownDamage { get; private set; }
|
|
|
+ public float ShootDownDamageRate { get; private set; }
|
|
|
|
|
|
public const int __ID__ = -1866386518;
|
|
|
public override int GetTypeId() => __ID__;
|
|
|
@@ -87,6 +90,7 @@ public sealed partial class SingleSoldierLevel : Bright.Config.BeanBase
|
|
|
+ "MP:" + MP + ","
|
|
|
+ "ArmorPierce:" + ArmorPierce + ","
|
|
|
+ "ShootDownDamage:" + ShootDownDamage + ","
|
|
|
+ + "ShootDownDamageRate:" + ShootDownDamageRate + ","
|
|
|
+ "}";
|
|
|
}
|
|
|
|