From 3963897fe4c9589a3935ce59514527b0dc31f2c2 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sun, 24 Jul 2016 22:53:57 -0400 Subject: [PATCH] There is a different rez spell depending on race --- common/spdat.cpp | 2 +- zone/client_process.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/spdat.cpp b/common/spdat.cpp index 74362cea0..ab9150122 100644 --- a/common/spdat.cpp +++ b/common/spdat.cpp @@ -704,7 +704,7 @@ bool IsCombatSkill(uint16 spell_id) bool IsResurrectionEffects(uint16 spell_id) { // spell id 756 is Resurrection Effects spell - if(IsValidSpell(spell_id) && spell_id == 756) + if(IsValidSpell(spell_id) && (spell_id == 756 || spell_id == 757)) return true; return false; diff --git a/zone/client_process.cpp b/zone/client_process.cpp index ecab035b6..12c3c8d68 100644 --- a/zone/client_process.cpp +++ b/zone/client_process.cpp @@ -1016,7 +1016,10 @@ void Client::OPRezzAnswer(uint32 Action, uint32 SpellID, uint16 ZoneID, uint16 I if((SpellEffectDescNum == 82) || (SpellEffectDescNum == 39067)) { SetMana(0); SetHP(GetMaxHP()/5); - SpellOnTarget(756, this); // Rezz effects + int rez_eff = 756; + if (GetRace() == BARBARIAN || GetRace() == DWARF || GetRace() == TROLL || GetRace() == OGRE) + rez_eff = 757 + SpellOnTarget(rez_eff, this); // Rezz effects } else { SetMana(GetMaxMana());