Skip to content

Fix quests and change how patrolhelicopter and bradley attacker is decided#8

Open
maxijonson wants to merge 1 commit intoDevGonzi:masterfrom
maxijonson:bugfix/patrolhelicopter-quest-not-working
Open

Fix quests and change how patrolhelicopter and bradley attacker is decided#8
maxijonson wants to merge 1 commit intoDevGonzi:masterfrom
maxijonson:bugfix/patrolhelicopter-quest-not-working

Conversation

@maxijonson
Copy link
Copy Markdown

This PR fixes #7 among other quests:

  • Fix patrolhelicopter quest not working due to GetComponent<BaseHelicopter>() always returning null
  • Fix wolf quests not working because a recent update to the wolf AI changed the entity prefab short name to wolf2 instead of just wolf
  • Fix tunnel and underwater lab dweller quests. Their short names needed to be prefixed by npc_.
  • Changed bradleyapc's "winner" to behave the same as the patrolhelicopter.
  • Changed how the "winner" of patrolhelicopter and bradleyapc is decided. Instead of counting the number of hits, I count the total amount of damage. The player who dealt the most damage gets the quest reward. Side note: it might be interesting to grant it to players who contributed to some extent too.

…ts. Make Bradley killer the player with most damage.
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.

Patrol Helicopter quests not working

1 participant