There is a different rez spell depending on race

This commit is contained in:
Michael Cook (mackal)
2016-07-24 22:53:57 -04:00
parent f42b0351fd
commit 3963897fe4
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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());