Skip to content

[Phobos Bug] Negative ShieldType SelfHealing not working if shield has full strength #571

@ghost

Description

Description:

If shield has full strength, shield's negative SelfHealing doesn't work. The shield should deduct its strength at the time.
If this behavior is not actually a bug, I think it's confusing enough to be mentioned in doc.

Phobos Build:

https://github.com/Phobos-developers/Phobos/releases/tag/build-27

Conditions:

Ares3.0 + Phobos build27 (it appears in earlier builds too)

[ShieldTypes]
0=SOMESHIELDTYPE

[SOMESHIELDTYPE]
Strength=50
InitialStrength=50
Armor=none
Powered=false
AbsorbOverDamage=false
SelfHealing=-10
SelfHealing.Rate=0.1

[E1]
ShieldType=SOMESHIELDTYPE

There isn't any other INI changes.

Steps To Reproduce:

1.Enter the game and see GIs

Expected Behaviour:

GI's shield should reduce its strength at the time.

Actual Behaviour:

GI's shield doesn't reduce its strength unless GI was hit.

Additional Files / Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓Phobos bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions