[0.69.420-PUBLIC#1692] Shield Defense Systems Activate Prematurely

Status
Not open for further replies.

Theron

Well-Known Member
Nov 8, 2018
3,401
1,333
44
Salamander Defense System and Bimbolium Defense System activate before Shields reach 0.
New Tech Specialist vs Salvager Brute: Both Defense Systems* activated with 2 Shields left.
*Cheats, naturally.
 

Theron

Well-Known Member
Nov 8, 2018
3,401
1,333
44
Test save and bump for 0.9.080-PUBLIC#4130.
 

Attachments

  • SDSTest.json
    618.4 KB · Views: 1

Jacques00

Administrator
Moderator
Aug 26, 2015
4,979
1,188
Hopefully fixed for the next release.

The edit changes the defense systems' check from: checking the shield damage difference, to: if the shield is already at 0 or lower. Not sure if this breaks any other time calculateDamage() is called, but in testing, the defense systems seem to work as expected now.
 
  • Like
Reactions: Theron
Status
Not open for further replies.