Threattable bug (two bug noticed)
Summary
- BUG on Threat table name for specific drop https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/UsefulTips will show the name of same person
@ThreatTablePlayers{limit=1;sort=HIGHEST_THREAT}
. Top 1 is fine, just top 2 and 3 will be same person (if theres only two player hitting the boss)
Example: if theres only two player slain the boss: Top 1 = ABC Top 2 = YSL Top 3 = YSL (incorrect)
- BUG on Threat table player for droptable, putting <trigger.name> will give the reward to the top 1, putting <target.name> will show error:
[18:33:46 INFO]: Can't find player with this name! ([name]) (Class -> Unknown)
Steps to reproduce
FIRST BUG:
- https://pastebin.com/QNnGhtkz
- /mm reload
- spawn the mob to test with survival mode
- If 2 player slain the boss will show
Top 1 = ABC ; Top 2 = YSL ; Top 3 = YSL (incorrect)
Picture : - If 3 player slain the boss will show correctly
Top 1 = ABC ; Top 2 = YSL ; Top 3 = DEF
Picture : - If 3 player slain the boss , one of them offline, it will exit from the ThreatTable
Picture :
- Then I add stuti=1/=2 https://pastebin.com/6VamvkFL, works properly.
SECOND BUG:
- example droptable https://pastebin.com/qnLheNKv using
<target.name>
- /mm reload
- spawn mob and test with survival mode
- I am using as skill https://pastebin.com/6VamvkFL, it works well for Top 1 to Top 3 no matter how less player testing
- show error : https://pastebin.com/RQUDhN5p
OR
- example droptable https://pastebin.com/05VC3wHB using
<trigger.name>
- /mm reload
- spawn mob and test with survival mode
- I am using as skill https://pastebin.com/6VamvkFL, it works well for Top 1 to Top 3 no matter how less player testing
- all reward will only give to TOP 1
Current behavior
FIRST BUG: the leaderboard does not show correct name. and the reward will be given to the same person (top 2 & top 3). Each of the top should have their specific reward instead of receiving two.
**SECOND BUG: **The reward is given to Top 1, and Top 2-3 does not receive any reward.
Intended correct behavior
FIRST BUG: the leaderboard should show correct sequence of name even tho its 2 player.
**SECOND BUG: **Each reward should be given to Top 1, Top 2 and Top 3. No duplicated reward given.
Server log file https://pastebin.com/Nx5A2t8K
Debug log snippet
Proposed fixes
Just fix the <trigger.name> and im not sure https://pastebin.com/QNnGhtkz should works correctly before this?