Jump to content

How to make a NPC show like half HP in game?


Recommended Posts

7 hours ago, Rochet2 said:

Are you on 3.3.5 or master branch? 280552 is quite high spellid and is likely only on newer patches. Did you try casting the spell yourself? Maybe it would need to be cast instead of applied as aura.


Try the hp column in creature table instead.


I used the master. And I\ve tried cast to myself and the npc, still nothing happen.

Change the curhealth, but it has full_health in game. Did I miss something?

Thanks to your reply anyway.

Link to comment
Share on other sites

On 1/8/2022 at 1:11 PM, Aokromes said:

look how the final boss of shadow labyrinth works.

Thank you! It worked!

SET @NPCID = 108767;
SET @GUID = 748407;
SET @HP = 7315;
UPDATE `creature_template` SET `HealthModifier` = 2, `RegenHealth` = 0 WHERE `entry` = @NPCID;
UPDATE `creature` SET `curhealth` = @HP WHERE `guid` = @GUID;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...