恢复总费用

This commit is contained in:
xianyi
2025-08-20 16:08:18 +08:00
parent 6bacf3cb39
commit f0c1643f30
17 changed files with 39 additions and 1572 deletions

View File

@@ -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;
}
}