游戏可以运行
This commit is contained in:
@@ -106,8 +106,7 @@ class Battlefield:
|
||||
if owner and owner.faction_id == "qin":
|
||||
owner.provisions += 1
|
||||
|
||||
if "no_retaliation" not in attacker.abilities:
|
||||
if not (attacker.is_ranged() and attacker.zone == "support"):
|
||||
if "no_retaliation" not in attacker.abilities and not attacker.is_ranged():
|
||||
retal = defender.get_effective_defense() if defender.is_alive() else 0
|
||||
if retal > 0:
|
||||
attacker.take_damage(retal)
|
||||
|
||||
Reference in New Issue
Block a user