citu wall 有什么用啊
polytopia吧
全部回复
仅看楼主
level 5
citu wall 有什么用啊
2023年09月22日 05点09分 1
level 11
以下为伤害计算公式,其中attackResult,defenceResult分别为攻击和反击造成的伤害
attackForce = attacker.attack * (attacker.health / attacker.maxHealth)
defenseForce = defender.defense * (defender.health / defender.maxHealth) * defenseBonus
totalDamage = attackForce + defenseForce
attackResult = round((attackForce / totalDamage) * attacker.attack * 4.5)
defenseResult = round((defenseForce / totalDamage) * defender.defense * 4.5)
通常情况下defensebonus的值为1,在普通城市内或在地形防御加成下为1.5,在有城墙的城市中为4
2023年09月22日 05点09分 3

2023年09月22日 13点09分
这有点复杂 每走一步都要算[笑眼]
2023年09月22日 13点09分
@开往北境的地铁 游戏内长按显示伤害结果,玩一段时间大概也能记住谁打谁啥伤害了
2023年09月22日 13点09分
1