Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: stan84 on July 02, 2013, 09:23:54 pm
-
Hi
i have problem with some spells which id like to add in my vanilla project.
for example i need add spell #30835, which summons an infernal at prince malchezar in karazhan.
the sd2 explanation says that SPELL_INFERNAL_RELAY_SUMMON = 30835, // triggers 30836, which summons an infernal. So i added to spell.dbc both spells 30835 and 30836, also core spelleffect.cpp has those lines:
case 30835: // Infernal Relay
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 30836, true, NULL, NULL, m_caster->GetObjectGuid());
break;
but in prince malhezzar fight infernals are not spawning. After casting those spells by command .cast 30835 - nothing happen, but .cast 30836 spawns infernals ok. Does anybody have idea whats is going on ?
logs gives no errors with that, core and sd2 compiles smoothly...
same situation is with shade of aran's cirular blizzard.
need those spells worked to my vanilla karazhan raid, which is almost done.
thanks for help Stan
-
I haven't used mangos in a long time, but could you use ACID to get similar results, and for a spell to spawn the DBC data should point to the creature template entry. A good place to start would be to head to the trinitycore forum download section and grab the software called SpellWork. It parses the DBC for spells and eleven allows you to compare spells to see the difference.
-
i will try that way deep6sixed. Thank for reply
As u can see on the screenshoot after 1st spell ( those fireballs) 2nd one not casting ( infernals not appear)
http://imageshack.us/a/img594/6593/w3st.jpg (http://imageshack.us/a/img594/6593/w3st.jpg" onclick="window.open(this.href);return false;)