Jump to content

Mordred

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Mordred's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. I have the same problem. Server crash every 15 - 30 min at aura remove.
  2. 2 - Spell Converting Sentry do not remove corpse of the creature so you can complete whole quest with one killed creature. 2 - 7641 SD2 988 From 1a673ef5aa3891c5cccbb2752855101072276c65 Mon Sep 17 00:00:00 2001 From: Mordred <[email protected]> Date: Thu, 9 Apr 2009 10:50:55 +0200 Subject: [PATCH] Remove dead corpse to prevent repeating on the same creature [spell 44997] --- src/game/SpellEffects.cpp | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index b3de2d7..fddfc83 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1062,8 +1062,12 @@ void Spell::EffectDummy(uint32 i) } case 44997: // Converting Sentry { - //Converted Sentry Credit - m_caster->CastSpell(m_caster, 45009, true); + // Remove dead corpse to prevent repeating on the same creature + if(!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) + return; + + Creature* creatureTarget = (Creature*)unitTarget; + creatureTarget->RemoveCorpse(); return; } case 45030: // Impale Emissary -- 1.5.6.5 Spell 45009 removed, beacause it is implemented in AI of Converted Sentry and also this spell has EffectImplicitTargetA == TARGET_MASTER.
  3. Main problem is that aura 40214 is removed from player when he dies.
  4. What bug does the patch fix? Spell 35771 is needed for quest Creatures of the Eco-Domes. For which SubVersion revision was the patch created? r6440 Who has been writing this patch? Me. Index: src/game/SpellEffects.cpp =================================================================== --- src/game/SpellEffects.cpp (revision 6440) +++ src/game/SpellEffects.cpp (working copy) @@ -961,6 +961,19 @@ } return; } + case 35771: // Creatures of the Eco-Domes + { + if(!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) + return; + + Creature* creatureTarget = (Creature*)unitTarget; + m_caster->CastSpell(creatureTarget, 20373, true); // Tag: Sleep + + // Invis Talbuk Credit + m_caster->CastSpell(m_caster, 40347, true); + + return; + } case 44875: // Complete Raptor Capture { if(!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use