You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug When Sophie attacks an enemy unit during her COP, the enemy's counterattack does not consume any ammo. I have traced this bug to her getDamageReduction attribute. The battle animation shows the enemy's counterattack, but no ammo is lost.
During the enemy's turn, the units do consume ammo when attacking Sophie during her COP, which is correct.
UPDATE:
This issue affects any unit that counterattacks and deals no damage; it is not exclusive to getDamageReduction.
To Reproduce
Steps to reproduce the behavior:
Play a map as Sophie
Activate COP and attack an enemy that can counterattack
See error
Expected behavior
The enemy unit should consume the ammo of the weapon it used to counterattack.
Desktop (please complete the following information):
OS: [Windows 10 Home]
Version [22h2]
Active Mods (Issue was discovered while coding a custom CO, but bug happens even in vanilla)
Game Version [v0.37,2-main]
Additional context
I tried adding a "+ 1" to Sophie's code, and it made the units consume ammo, possibly because the attack did damage.
The text was updated successfully, but these errors were encountered:
FruityGumGuiltyFruit
changed the title
Issue: Enemies That Counterattack Sophie During Her CO Power Do Not Consume Ammo
Issue: Enemies That Counterattack and Deal No Damage Do Not Consume Ammo
Oct 19, 2024
Describe the bug
When Sophie attacks an enemy unit during her COP, the enemy's counterattack does not consume any ammo. I have traced this bug to hergetDamageReduction
attribute. The battle animation shows the enemy's counterattack, but no ammo is lost.During the enemy's turn, the units do consume ammo when attacking Sophie during her COP, which is correct.UPDATE:
This issue affects any unit that counterattacks and deals no damage; it is not exclusive to
getDamageReduction
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The enemy unit should consume the ammo of the weapon it used to counterattack.
Screenshots
Video showing the issue:
https://github.com/user-attachments/assets/de320042-87cc-42ea-8262-c8d62601f6e7
Desktop (please complete the following information):
OS: [Windows 10 Home]
Version [22h2]
Active Mods (Issue was discovered while coding a custom CO, but bug happens even in vanilla)
Game Version [v0.37,2-main]
Additional context
I tried adding a "+ 1" to Sophie's code, and it made the units consume ammo, possibly because the attack did damage.
The text was updated successfully, but these errors were encountered: