测试三阵营

This commit is contained in:
xianyi
2025-08-11 14:09:21 +08:00
parent 6a7da24965
commit ca64c08f7e
17 changed files with 734 additions and 583 deletions

View File

@@ -10,6 +10,9 @@ namespace TcgEngine
Attack = 10,
HP = 20,
Mana = 30,
ManaFire = 40,
ManaForest = 50,
ManaWater = 60,
}
/// <summary>
@@ -41,6 +44,24 @@ 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;
}
@@ -56,6 +77,24 @@ 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;
}
}