Skip to content

ExpireWeapon don't work when set DiscardOn=entry and ExpireWeapon.TriggerOn=discard #1971

@Rinimabi

Description

@Rinimabi

Description

ExpireWeapon don't work when set DiscardOn=entry and ExpireWeapon.TriggerOn=discard

Phobos Version

B48

Conditions to reproduce

No response

INI code

[AttachEffectTypes]
0=InfantryAE

[Shock]
AttachEffect.AttachTypes=InfantryAE

[InfantryAE]
Duration=-1
Animation=RadiationMark
DiscardOn=entry
ExpireWeapon=CRNuke
ExpireWeapon.TriggerOn=discard

Steps to reproduce

1.Attack a Shock Trooper
2.Entry a Flak Track

Expected behaviour

weapon explosion on the infantry's enter positon or vehicles to enter

Actual behaviour

weapon won't explosion

Image

Additional context

other behavior will be good, such like DiscardOn=firing

Image

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Metadata

Metadata

Assignees

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