Skip to content

Move panic feature from brain to eventhandlers#260

Draft
nk3nny wants to merge 10 commits intomasterfrom
Move-panic-feature-to-Eventhandlers
Draft

Move panic feature from brain to eventhandlers#260
nk3nny wants to merge 10 commits intomasterfrom
Move-panic-feature-to-Eventhandlers

Conversation

@nk3nny
Copy link
Copy Markdown
Owner

@nk3nny nk3nny commented May 22, 2021

When merged this pull request will:

This pull request moves the panic feature from the brain to the eventhandler. This has the benefit of simplifying the FSM and making the panic feature more dependable.

The panic feature will not trigger for units that have a positive morale score, are not suppressed, or have their AI forced in some way. The panic feature is enhanced by reintroducing the panic types existant in lambs danger fsm 2.4.4

Answers to issue: #212

This pull request moves the panic feature from the brain to the eventhandler. This has the benefit of simplifying the FSM and making the panic feature more dependable.

The panic feature will not trigger for units that have a positive morale score, are not suppressed, or have their AI forced in some way.

The panic feature is enhanced by reintroducing the panic types existant in lambs danger fsm 2.4.4
@nk3nny nk3nny self-assigned this May 22, 2021
- Adds range requirement for panic (35m)
- Fixes stringtable
@nk3nny nk3nny changed the title Move panic feature from brain to eventhhandlers Move panic feature from brain to eventhandlers Jun 19, 2021
Copy link
Copy Markdown
Collaborator

@jokoho48 jokoho48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants