Question about Health adjusting

I’ve ecnountered this problem:

A npc (Death Shade ID: 35255) summoned by Deathspeaker Kharos (ID: 34808) should have 100 health points. Currently on Trinity it has around 12k+, the only thing I managed to do is to nerf exp table from 2 to 0 and it went to around 3k. Now I know touching WDB health_modifier is a hack, but even with it what exactly must be done to be nerfed to less, since currently the value is “0,01”, I tried adding more 0, but had no result, there are negative values also or what?

-- Add SAI for Dark Ritualist <Cult of the Damned> ID: 34734 // timings are taken from other script finds SET @Ritualist := 34734; UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Ritualist; DELETE FROM `smart_scripts` WHERE `entryorguid`=@Ritualist; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (@Ritualist,0,0,0,0,0,100,0,3000,3000,8000,14000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,'Dark Ritualist - IC - Cast Mind Seer'), (@Ritualist,0,1,0,0,0,100,0,8000,17300,17300,17300,11,32026,0,0,0,0,0,2,0,0,0,0,0,0,0,'Dark Ritualist - IC - Cast Pain Strike'); -- Add SAI for Deathspeaker Kharos <Cult of the Damned> ID: 34734 SET @Kharos := 34808; UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Kharos; DELETE FROM `smart_scripts` WHERE `entryorguid`=@Kharos; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (@Kharos,0,0,0,0,0,100,0,0,1000,14000,15000,11,11962,0,0,0,0,0,2,0,0,0,0,0,0,0,'Dark Ritualist - IC - Cast Immolate'), (@Kharos,0,1,0,0,0,100,0,1500,2900,3500,9100,11,9613,0,0,0,0,0,2,0,0,0,0,0,0,0,'Dark Ritualist - IC - Cast Shadow Bolt'), (@Kharos,0,2,0,0,0,100,0,8000,8100,16000,16100,11,67005,0,0,0,0,0,2,0,0,0,0,0,0,0,'Dark Ritualist - IC - Cast Summon Shade'); -- Fix data for Death Shade ID: 35255 - thx to Nay for template info SET @Shade := 35255; UPDATE `creature_template` SET `mindmg`=1950,`maxdmg`=2250,`exp`=0,`flags_extra`=64,`faction_A`=974,`faction_H`=974,`baseattacktime`=2000,`speed_walk`=0.28,`speed_run`=0.1,`AIName`='SmartAI' WHERE `entry`=@Shade; DELETE FROM `smart_scripts` WHERE `entryorguid`=@Shade; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (@Shade,0,0,0,25,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,10,0,0,0,0,0,0,'Dark Shade - On spawn - Start attack on closest player'); -- Addon data for creature 35255 (Death Shade) - thx to Nay DELETE FROM `creature_template_addon` WHERE `entry`=35255; INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (35255,0,0,1,0, '44773'); -- Death Shade (Vertex Dark Red) -- TO DO: Death Shade is supposed to have 100 health points, but when Kharon cast the summoning spell Shades spawn with different HP, than, if spawned manually /blizzlike values/. That is why I changed exp to 0 and now from 12+k it has 3k. The problem may be also connected with possesed minions stats somehow[/sql]


-- Template updates for creature 35255 (Death Shade)
UPDATE `creature_template` SET `faction_A`=974,`faction_H`=974,`baseattacktime`=2000,`speed_walk`=0.28,`speed_run`=0.1 WHERE `entry`=35255; -- Death Shade
-- Addon data for creature 35255 (Death Shade)
DELETE FROM `creature_template_addon` WHERE `entry`=35255;
INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
(35255,0,0,1,0, '44773'); -- Death Shade (Vertex Dark Red)
[/sql]

health_mod should be indeed 0.01, I'm not sure on what's wrong... use the updates above anyway, and don't forget the aura

Thx, I’ve summoned the NPC with normal spawn and it had regular HP. Seems like the summoning spell is affecting it.

Or since it make it his pet, somehow it gets affected by master HP, since it is possesed, though the master has no passives?

EffectMiscValueA = 35255EffectMiscValueB = 2041

  • I don’t get what does 2041 stand for? Maybe minimum Health?