Jump to content

[patch]spell 35771


Guest Mordred

Recommended Posts

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)

Link to comment
Share on other sites

  • 2 years later...
  • 3 weeks later...
×
×
  • 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