恢复总费用
This commit is contained in:
@@ -48,11 +48,6 @@ namespace TcgEngine
|
||||
public int attack;
|
||||
public int hp;
|
||||
|
||||
// 新增:三种元素法力值
|
||||
public int mana_fire;
|
||||
public int mana_forest;
|
||||
public int mana_water;
|
||||
|
||||
[Header("Traits")]
|
||||
public TraitData[] traits;
|
||||
public TraitStat[] stats;
|
||||
@@ -187,18 +182,6 @@ namespace TcgEngine
|
||||
if (mana > 99)
|
||||
return true;
|
||||
|
||||
// 检查火系法力值是否为动态消耗
|
||||
if (mana_fire > 99)
|
||||
return true;
|
||||
|
||||
// 检查森林法力值是否为动态消耗
|
||||
if (mana_forest > 99)
|
||||
return true;
|
||||
|
||||
// 检查水系法力值是否为动态消耗
|
||||
if (mana_water > 99)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user