mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 00:12:27 +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)
|
bool IsResurrectionEffects(uint16 spell_id)
|
||||||
{
|
{
|
||||||
// spell id 756 is Resurrection Effects spell
|
// 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 true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -1016,7 +1016,10 @@ void Client::OPRezzAnswer(uint32 Action, uint32 SpellID, uint16 ZoneID, uint16 I
|
|||||||
if((SpellEffectDescNum == 82) || (SpellEffectDescNum == 39067)) {
|
if((SpellEffectDescNum == 82) || (SpellEffectDescNum == 39067)) {
|
||||||
SetMana(0);
|
SetMana(0);
|
||||||
SetHP(GetMaxHP()/5);
|
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 {
|
else {
|
||||||
SetMana(GetMaxMana());
|
SetMana(GetMaxMana());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user