mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-21 03:33:54 +00:00
There is a different rez spell depending on race
This commit is contained in:
parent
f42b0351fd
commit
3963897fe4
@ -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;
|
||||
|
||||
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user