Skip to content

Commit

Permalink
Turret MobStates thresholds fix (#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer authored Oct 14, 2024
1 parent 8b25a54 commit d776eb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@
- type: Input
context: "human"
- type: MobState # Frontier (otherwise NPCs won't attack the entity)
- type: MobThresholds # Frontier
thresholds: # Frontier
0: Alive # Frontier
500: Dead # Frontier: bandaid fix, value here should be high enough to prevent situations when mob(turret) changes it's state before being destoyed

- type: entity
parent: [BaseWeaponTurret, BaseC3SyndicateContraband] # Frontier: BaseSyndicateContraband<BaseC3SyndicateContraband
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@
- type: NoRotateOnMove
- type: Input
context: "human"
- type: MobState # Frontier (otherwise NPCs won't attack the entity)
- type: MobState # otherwise NPCs won't attack the entity
- type: MobThresholds
thresholds:
0: Alive
500: Dead # bandaid fix, value here should be high enough to prevent situations when mob(turret) changes it's state before being destoyed
- type: StaticPrice
price: 1080

Expand Down

0 comments on commit d776eb8

Please sign in to comment.