diff options
author | Drake Fish <drakefish@hotmail.com> | 2012-01-22 04:32:15 +0000 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-01-22 04:33:07 +0000 |
commit | 5cbe4abae3cc7aa5019ebfcfb2682a1c8ea439bf (patch) | |
tree | 4ed5ffe14dad073fb9ddc763db7dc858e56150c6 /src/server/game/Spells/Spell.cpp | |
parent | dedb3726835e0c595b1d84c77f3c3a5c406d223b (diff) |
Core/Opcodes: Few more opcodes, enable handlers;
Send spell id in SMSG_RESURRECT_REQUEST
Ref #4824
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rwxr-xr-x | src/server/game/Spells/Spell.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 77b014eb67b..e8872deb152 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -4146,12 +4146,12 @@ void Spell::SendResurrectRequest(Player* target) data << uint32(strlen(resurrectorName) + 1); data << resurrectorName; - data << uint8(0); // null terminator + data << uint8(0); // use timer according to client symbols data << uint8(m_caster->GetTypeId() == TYPEID_PLAYER ? 0 : 1); // "you'll be afflicted with resurrection sickness" // override delay sent with SMSG_CORPSE_RECLAIM_DELAY, set instant resurrection for spells with this attribute - if (m_spellInfo->AttributesEx3 & SPELL_ATTR3_IGNORE_RESURRECTION_TIMER) - data << uint32(0); + // 4.2.2 edit : id of the spell used to resurect. (used client-side for Mass Resurect) + data << uint32(m_spellInfo->Id); target->GetSession()->SendPacket(&data); } |