Jump to content

Snake trap


Guest dobra_vyla
 Share

Recommended Posts

spell 44600 - snake trap

http://www.wowhead.com/?spell=34600

version of Mangos and DB: never worked as I can remember on all versions

how it work:

hunter puts down the trap which does nothing

how it should work:

hunter puts down the trap that summons the snakes:

Snakes at level 80 have 107 hp and 9729 armor.

The Vipers hit for 38-53. 4 of these appear.

The Venomous Snakes hit for 16-24. 4 of these appear.

Both types of snakes use all 3 of the different poisons(Crippling, Mind-Numbing, and Deadly).

The damage they do does not scale with attack power.

snakes will die after 15 seconds.

more info on:

http://thottbot.com/s34600

http://www.wowhead.com/?spell=34600

http://www.wowwiki.com/Snake_Trap

Link to comment
Share on other sites

  • 3 months later...

MaNGOS/0.15.0 (* * Revision 9045 - *) for Linux_x64 (little-endian)
Using script library: ScriptDev2 (for MaNGOS 8900+) Revision [1523] 2009-12-20 22:16:17 (Unix)
Using World DB: PSDB WotLK (274)
Using creature EventAI: PSDB EventAI & ACID 3.0.0

Snakes shows up, but attack they owner ;)

Link to comment
Share on other sites

MaNGOS/0.15.0 (* * Revision 9045 - *) for Linux_x64 (little-endian)
Using script library: ScriptDev2 (for MaNGOS 8900+) Revision [1523] 2009-12-20 22:16:17 (Unix)
Using World DB: PSDB WotLK (274)
Using creature EventAI: PSDB EventAI & ACID 3.0.0

Snakes shows up, but attack they owner ;)

yeah :mad::mad::mad:

Link to comment
Share on other sites

maybe not the best approach but at least it should work

http://www.pastebin.org/71484

-- apply poison triggering spells
DELETE FROM creature_template_addon WHERE entry IN (19921,19833);
INSERT INTO creature_template_addon VALUES
(19921,0,0,0,0,0,'34657 0'),
(19833,0,0,0,0,0,'6645 0');

-- make them friendly for each other that they won't attack at stats (player faction) apply
UPDATE creature_template SET faction_A = 35, faction_H = 35 WHERE entry IN (19833,19921);

Link to comment
Share on other sites

           // Not used for summon?
           case SPELL_EFFECT_SUMMON_PHANTASM:
           {
               //Snake Trap exception
               if(m_spellInfo->EffectMiscValueB[i] == 2301)
                   break;

               if(m_caster->GetPetGUID())
                   return SPELL_FAILED_ALREADY_HAVE_SUMMON;

               if(m_caster->GetCharmGUID())
                   return SPELL_FAILED_ALREADY_HAVE_CHARM;

               break;
           }

this exception enables summon hunters pet and snake trap serpents. I don't know where to find other spells with SPELL_EFFECT_SUMMON_PHANTASM (probably some DBC?) so if the comment given by mangos devs is right and only Snake trap is using it maybe it could be deleted instead creating exception. And also im not sure if this code is safe (tested ingame and works fine) so posted in detached post.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
 Share

×
×
  • 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