Touch of the Grave: drains for Undead priests, mages and warlocks too

The 1.60 client gives Undead casters their own copy of the racial, 1260201
(30%), while warriors, paladins and rogues learn 1260189 (20%). Only 1260189
had the script that casts the drain, so casters never drained.
This commit is contained in:
Karrz1
2026-11-16 20:48:01 +00:00
parent 520b201c97
commit a90cbb2098
2 changed files with 9 additions and 2 deletions
@@ -0,0 +1,6 @@
-- Touch of the Grave never drained for Undead priests, mages and warlocks. The 1.60 client gives casters their own copy of the
-- racial, 1260201 (30% chance, SkillLineAbility class mask 400), while warriors, paladins and rogues learn 1260189 (20%, class
-- mask 11). Only 1260189 had the script that casts the drain 1260198, so the casters' aura procced and did nothing.
DELETE FROM `spell_script_names` WHERE `spell_id` = 1260201 AND `ScriptName` = 'classic_spell_undead_touch_of_the_grave';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(1260201, 'classic_spell_undead_touch_of_the_grave');
@@ -1867,8 +1867,9 @@ class classic_spell_warr_gore_drinker_enrage : public AuraScript
## classic_spell_undead_touch_of_the_grave
######*/
// 1260189 - Touch of the Grave (Undead racial, 1.60): "Your spells and attacks have a chance to drain Health from the target, up to
// $s1% of your maximum Health." The client data procs a dummy aura (20%, 25 sec recovery) and has no trigger for the drain
// 1260189 / 1260201 - Touch of the Grave (Undead racial, 1.60): "Your spells and attacks have a chance to drain Health from the target,
// up to $s1% of your maximum Health." Warriors, paladins and rogues learn 1260189 (20%), priests, mages and warlocks learn 1260201 (30%)
// (SkillLineAbility class masks 11 and 400). The client data procs a dummy aura (15 sec recovery) and has no trigger for the drain
// 1260198, whose health leech base points are a placeholder 5: the drain is cast here for $s1% of the Undead's maximum health.
class classic_spell_undead_touch_of_the_grave : public AuraScript
{