yabiange Posted January 6, 2022 Report Share Posted January 6, 2022 I've tried to set auras 280552 in creature_addon, but nothing happen. I need help! Link to comment Share on other sites More sharing options...
Rochet2 Posted January 7, 2022 Report Share Posted January 7, 2022 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. https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130009/creature#creature-curhealth Link to comment Share on other sites More sharing options...
yabiange Posted January 7, 2022 Author Report Share Posted January 7, 2022 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. https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130009/creature#creature-curhealth 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 More sharing options...
yabiange Posted January 7, 2022 Author Report Share Posted January 7, 2022 I just want to set the NPC to make it like wounded。 Link to comment Share on other sites More sharing options...
Aokromes Posted January 8, 2022 Report Share Posted January 8, 2022 look how the final boss of shadow labyrinth works. Link to comment Share on other sites More sharing options...
yabiange Posted January 10, 2022 Author Report Share Posted January 10, 2022 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 More sharing options...
Recommended Posts