I noticed that if I make a custom mob (L2Monster) that uses a template of L2Npc it will not show the HP bar of the mob once targeted...
Is there a way to change it so HP will be shown?
How to show HP of custom mobs
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
- Battlecruiser
- L2j Veteran
- Posts: 332
- Joined: Thu May 01, 2008 9:44 am
Re: How to show HP of custom mobs
This depends on the original template used for your custom mob, so base your custom mob on an existing mob instead of existing NPC (change displayId to appropriate value)
Git user
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: How to show HP of custom mobs
I use displayId, and I want to use lindvior, but its initially declared as L2NPC, and I want to use it as a mob, there's no way to change it so it will show its HP? for sure there iss omething...
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: How to show HP of custom mobs
Something not allowed in this forum. iykwim
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: How to show HP of custom mobs
Why not allowed that has nothing to do with client editing of any kind.
i dont have sources in front of me atm but im sure this can be changed by checking if the instance itself is a mob somewhere rather than checking if the template itself is a mob
i dont have sources in front of me atm but im sure this can be changed by checking if the instance itself is a mob somewhere rather than checking if the template itself is a mob
- Battlecruiser
- L2j Veteran
- Posts: 332
- Joined: Thu May 01, 2008 9:44 am
Re: How to show HP of custom mobs
You must use displayId of something which is originally a mob (the original NPC must have the HP bar) in order to your new NPC have the HP bar.
Git user
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: How to show HP of custom mobs
Just listen once in a while, I answered you already.sahar wrote:Why not allowed that has nothing to do with client editing of any kind.
i dont have sources in front of me atm but im sure this can be changed by checking if the instance itself is a mob somewhere rather than checking if the template itself is a mob