Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #748

Closed
Open
Created Mar 24, 2022 by Some Egg@SomeEggnog

Highest Threat sorting doesn't work

Summary

I try to give the glowing effect to the player that's done the most damage, but it's giving it to me even tho I didn't damage the mob at all

Steps to reproduce

Well I use this mob

WhiseOne:
  Type: ZOMBIE
  Display: '&d&n&lWhise One'
  Health: 15
  Damage: 1
  Skills:
  - potion{t=glowing} @server{limit=1;sort=HIGHEST_THREAT} ~onDeath
  Modules:
    ThreatTable: true
    ImmunityTable: true
  Options:
    PreventSunburn: true
    NoDamageTicks: 20
    AlwaysShowName: true
    MovementSpeed: 0.3
    MaxCombatDistance: 25
    PreventOtherDrops: true

Current behavior

My mob always gives me the potion effect even though I did the lowest damage or none at all.

Intended correct behavior

I think it should give the player with the most damage the potion effect only.

[11:47:37] [Server thread/INFO]: One_Life issued server command: /mm mobs spawn WhiseOne
[11:47:40] [Async Chat Thread - #97/INFO]: [100] [Owner] One_Life ? just kill it
[11:47:41] [Server thread/INFO]: iamtea issued server command: /spawn
[11:47:48] [Server thread/INFO]: Named entity EntityZombie['Whise One'/3744, uuid='73ecc2d9-7839-4267-b474-8c4730c50864', l='ServerLevel[bossWorld]', x=12.02, y=53.00, z=-25.05, cpos=[0, -2], tl=232, v=true, rR=null] died: Whise One was slain by LexiLoveChez using [Beginner Axe [8]]
[11:47:53] [Async Chat Thread - #97/INFO]: [100] [Owner] One_Life ? hmm
[11:47:54] [Async Chat Thread - #97/INFO]: [100] [Owner] One_Life ? okay ty
[11:47:57] [Async Chat Thread - #97/INFO]: [10] [Miner] LexiLoveChez ? np :)

This is the snippet where the mob is spawned and died

Edited Mar 26, 2022 by Some Egg
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking