Checked works on the latest version of th. But sometimes th throws an error can not read item attributes. On the right work does not affect. Can this somehow fix for the latest version of th. Thanks.
Checked works on the latest version of th. But sometimes th throws an error can not read item attributes. On the right work does not affect. Can this somehow fix for the latest version of th. Thanks.
This plugin gives you an error?
No it does not. It does not work well. It works fine. Just when I put it th starts to periodically generate errors "2018.09.05 18: 36: 00.176 18.9.4.0 can not read item attributes" I do not know how this is related to the plugin with other plugins . It may also be in th.
Not related to this plugin.
how do I increase the display length of the health bar
It should be w1
Many thanks !
But there is another problem.
When I increase the value of w1 , The number that display on health bar was on the left side .
Any idea put the number on the middle of health bar ?
Change hpX
HP BAR.png any way to make bars not be covered by monster circles?
Your length of the bars are too long. You have changed that.
Other solution: Insert "order = 20100;" between line 20 and 21.
yeah i made them a bit bigger.
when i insert "order = 20100;" it gives me 3 excptions as soon as i start hud and it doesnt work at all
Code:public HealthBarOnElitePlugin() { Enabled = true; order = 20100; } public override void Load(IController hud)
What exceptions?
Is it possible to only use this plugin to display % of the elite HP under its feet?
If so, which part of the code should I leave in?
Is case sensitive
Order = 20100;
Better write it between lines 25 and 26
@bm206
I have been using your plugin for a while but I made some modifications, for example:
a) monster.CurHealth / monster.MaxHealth
it does not always give a value between 0 and 1 because TH sometimes does not report either of those two values well. This results in very long rectangles and with false text..
I added additional code to check if this problem occurs, and in that case I change monster.CurHealth / monster.MaxHealth for 1 and hptext = "bug"
is to avoid this:
https://www.ownedcore.com/forums/dia...ml#post3714567
b) When an elite is invulnerable ( if (monster.Invulnerable) ) I draw the rectangle in black, it is useful to know quickly who can not take damage (eg because the shield has been put on or is hidden)
These are suggestions to add
Last edited by RNN; 12-17-2018 at 08:20 AM.