ITADN

B. Copter's (or any unit?) Counterattack

#117ClosedZamzakun 创建于 2024-06-10
buginvalidquestionengine
Z
Zamzakuncommented
**Describe the bug** I tested only on the B. Copter since I was testing the animation on it, but, from what I get: if a unit has 0.1 HP, it doesn't land a counterattack (the animation doesn't play out). I assume it's because it wouldn't do damage. However, the game should always calculate the HP as being at least 1 for ATK calculation, so I assume it's a bug, since at 1 HP, it should give 0,X dmg. **To Reproduce** Steps to reproduce the behavior: 1. Make a map with an allied Cruiser on one side. An enemy B. Copter in a 3* defense (Airport) at the center. An allied Infantry at the other side. 2. Do the attack with the Cruiser, then Infantry, with luck value, sometime it should get the B. Copter to 0.1 HP. 3. When that happens, the B. Copter with 0.1HP wouldn't shoot back. **Expected behavior** He should just counterattack like other units, doing X amount of damage, despite having very low HP. Notice from the screen shot that the Infantry doesn't have the HP showing (Full HP), despite landing the attack (B. Copter at "1" HP). **Screenshots** ![image](https://github.com/Codename-Recon/Codename-Recon/assets/113378369/8ceec9dd-9ac3-400c-9ffe-237a908e09e5) **Desktop (please complete the following information):** - OS: [Windows] - - **Smartphone (please complete the following information):** - **Additional context** Cheers.
关闭于 2024-06-18 2 条评论