opentibiabr/canary

Monster with name primal pack beast not exist

Closed this issue · 3 comments

Priority

Low

Area

  • Datapack
  • Source
  • Map
  • Other

What happened?

When a player enters the "primary threat" boss when summon monsters, this error appears on the console
image
monsters appear with that name and also, they do not come out with their entire lives.
image

I tested with the latest version of the server.
If anyone has an idea why this error appears, I would appreciate it.

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct

put a logger in name to see what will appear on the screen, and also the correct one in life would be primalMonster.health = template.health

https://github.com/opentibiabr/canary/blob/main/data-otservbr-global/lib/quests/the_primal_ordeal.lua#L2

The names of the primal beasts are correct in relation to the global.
PR #2598 seeks to resolve the other issues. Please test if possible!