Jump to content

[0.19.0] Shieldbooster issues


Hammelpilaw

Recommended Posts

Emergancy recharge is always shown as permanent bonus, even if it is not available because rarity of the update is too low.

 

shieldbooster.lua:156:

if bonusEmergencyRecharge then

 

always matches (because in lua 0 matches true, not false). Should be

if bonusEmergencyRecharge ~= 0 then

 

 

Also the old issue about shield recharge bonus still exist - positive shield recharge bonus is a debuff. Should be negative instead to be a buff.

 

But be aware that doing this will happen another bug to affect the ship: If the total shield recharge modifier of an entity gets to -1 or below, the shield of this entity will get bugged and does not seem to recharge anymore at all. Only way to fix the shield is deleting the entity.

 

To avoid this the recharge bonus could be changed to modify the amount of hp, the shield gets healed every tick.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...