Modcraft - The community dedicated to quality WoW modding!
Content creation => Modelling and Animation => Topic started by: tote93 on October 25, 2013, 09:16:04 pm
-
hello, these days I've been doing spells customs, and have come to create a decent, here is the link:
http://www.youtube.com/watch?v=iFdoJ0Q7nc0 (http://www.youtube.com/watch?v=iFdoJ0Q7nc0" onclick="window.open(this.href);return false;)
But I wonder if anyone has the answer or can direct me in something, like adding to the spell that will put a debuff, the player, or give me a buff to me.
Put these for example:
Wrath(druid) gives buffo Eclipse (lunar and solar).
And for example frostbolt, freezing debuff.
I would like to know if anyone can direct me to. Dbc serious spell.dbc guess, and the column to edit.
Thx for reading and by the help.
Regards.
-
In TrinityCore: unit.cpp ln. 6171
// Eclipse
if (dummySpell->SpellIconID == 2856 && GetTypeId() == TYPEID_PLAYER)
{
if (!procSpell || effIndex != 0)
return false;
bool isWrathSpell = (procSpell->SpellFamilyFlags[0] & 1);
if (!roll_chance_f(dummySpell->ProcChance * (isWrathSpell ? 0.6f : 1.0f)))
return false;
target = this;
if (target->HasAura(isWrathSpell ? 48517 : 48518))
return false;
triggered_spell_id = isWrathSpell ? 48518 : 48517;
break;
}