恢复总费用
This commit is contained in:
@@ -10,9 +10,6 @@ namespace TcgEngine
|
||||
Attack = 10,
|
||||
HP = 20,
|
||||
Mana = 30,
|
||||
ManaFire = 40,
|
||||
ManaForest = 50,
|
||||
ManaWater = 60,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -44,24 +41,6 @@ namespace TcgEngine
|
||||
return CompareInt(target.GetMana(), oper, value);
|
||||
}
|
||||
|
||||
// 新增:火系法力值检查
|
||||
if (type == ConditionStatType.ManaFire)
|
||||
{
|
||||
return CompareInt(target.GetManaFire(), oper, value);
|
||||
}
|
||||
|
||||
// 新增:森林法力值检查
|
||||
if (type == ConditionStatType.ManaForest)
|
||||
{
|
||||
return CompareInt(target.GetManaForest(), oper, value);
|
||||
}
|
||||
|
||||
// 新增:水系法力值检查
|
||||
if (type == ConditionStatType.ManaWater)
|
||||
{
|
||||
return CompareInt(target.GetManaWater(), oper, value);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -77,24 +56,6 @@ namespace TcgEngine
|
||||
return CompareInt(target.mana, oper, value);
|
||||
}
|
||||
|
||||
// 新增:火系法力值检查
|
||||
if (type == ConditionStatType.ManaFire)
|
||||
{
|
||||
return CompareInt(target.mana_fire, oper, value);
|
||||
}
|
||||
|
||||
// 新增:森林法力值检查
|
||||
if (type == ConditionStatType.ManaForest)
|
||||
{
|
||||
return CompareInt(target.mana_forest, oper, value);
|
||||
}
|
||||
|
||||
// 新增:水系法力值检查
|
||||
if (type == ConditionStatType.ManaWater)
|
||||
{
|
||||
return CompareInt(target.mana_water, oper, value);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user