Bug with placeholders to display HP
Summary
The placeholder to display the life of a mob displays too many numbers behind the commas. This "bug" is only present since I updated mythicsmobs to 5.6.2.
Screen : https://gyazo.com/2ce821c7e523e05fb4bffd24c75119be
Steps to reproduce
ouldhanaMob:
Type: VINDICATOR
Health: 5000
Armor: 11
Faction: OuldhanaTeam
Options:
PreventBlockInfection: true
PreventOtherDrops: true
DigOutOfGround: true
MovementSpeed: 0.33
FollowRange: 30
Despawn: true
KnockbackResistance: 1
Silent: true
MaxCombatDistance: 12
AIGoalSelectors:
- clear
- meleeattack
- randomstroll
AITargetSelectors:
- clear
- players
- attacker
DamageModifiers:
- FALL 0
- BLOCK_EXPLOSION 0
- FIRE 0
- LIGHTNING 0
- MAGIC 0
- ENTITY_EXPLOSION 0
- LAVA 0
BossBar:
Enabled: true
Range: 50
Color: RED
Style: SEGMENTED_12
Title: "&fㅧ <#f05858>&lFurie d'Hadès &7(&e<mob.hp>&f/<mob.mhp>&7)"
# KillMessages:
# - '<target.name> was slay by Ouldhana, the Bloody Queen'
Skills:
###ONSPAWN
- skill:ouldhanaBGSpawn ~onSpawn
###ONATTACK
- skill{s=[
- cancelevent @Self
- skill:ouldhanaBGSimpleMeleeAttackI @PIR{r=15;ignore=creative,spectators}
];sync=true} ~onAttack
###ONTIMER
- skill:ouldhanaBGSimpleMeleeAttackI @PIR{r=15;ignore=creative,spectators} ~onTimer:75 0.82
###ONDAMAGED
- skill:ouldhanaBGonDamaged ~onDamaged
- skill:ouldhanaBGJumpForward @PIR{r=30;ignore=creative,spectators} ~onDamaged 0.47
- skill:ouldhanaBGSimpleMeleeAttackI @PIR{r=15;ignore=creative,spectators} ~onDamaged 0.29
###SKILLS
- skill:ouldhanaBGTakeSwordPhaseII ~onDamaged =50%
- skill:ouldhanaBGJumpForward @PIR{r=30;ignore=creative,spectators} ~onTimer:42 0.50
- skill:ouldhanaBGTentaclesWave ~onDamaged 0.34
- skill:ouldhanaBGStunned ~onDamaged 0.1 <70%
- skill:ouldhanaBGTentaclesWave ~onTimer:85 0.49
- skill:ouldhanaBGTeleportHexe @Self ~onDamaged 0.20
- skill:ouldhanaBGTeleportHexe @Self ~onTimer:80 0.65
- skill:ouldhanaBGSummonTentacles @Self ~onDamaged 0.39
- skill:ouldhanaBGSummonDarkMagic @Self ~onDamaged 0.21 <90%
- skill:ouldhanaBGDarkAttraction ~onTimer:85 0.48
- skill:ouldhanaBGChimericProjectilesHexe @PIR{r=30;ignore=creative,spectators} ~onTimer:90 0.64
(There is the same problem with the placeholder : <caster.hp>)
Proposed fixes
This would be perfect if it showed no numbers after the decimal point, or just 2.