Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix monster faction debugmsg after monster::poly #6044

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

Coolthulhu
Copy link
Member

Purpose of change (The Why)

Fix #3072

Describe the solution (The How)

Update monster's faction in monster tracker, if the tracker contains said monster.

Describe alternatives you've considered

Only updating the faction in tracker if it actually changed.

Testing

  1. Clean map of monsters
  2. Spawn zombie dog
  3. Surround dog with goo pits
  4. Spawn light turret where it can see the dog and will target it
  5. Wait a turn
  6. The dog should walk onto a pit, polymorph into a slime, then get shot (it must all happen in the same turn)

Additional context

Checklist

Mandatory

@github-actions github-actions bot added the src changes related to source code. label Feb 3, 2025
@chaosvolt chaosvolt merged commit 1f9eca5 into cataclysmbnteam:main Feb 3, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<monster> tried to find faction <faction> which wasn't loaded in game::monmove
2 participants