More tabs2spaces
--HG-- branch : trunk
This commit is contained in:
1 parent
2bb81747e0
commit
260e11bc01
10 files changed
+604
-604
No files matched your search
+1
-1
@@ -2246,7 +2246,7 @@ void Spell::cast(bool skipCheck)
|
||||
if (IsAffectedBy(auraSpellInfo, auraSpellIdx))
|
||||
{
|
||||
if(SpellEntry const *spellInfo = sSpellStore.LookupEntry(auraSpellInfo->EffectTriggerSpell[auraSpellIdx]))
|
||||
{
|
||||
{
|
||||
// Calculate chance at that moment (can be depend for example from combo points)
|
||||
int32 chance = m_caster->CalculateSpellDamage(auraSpellInfo, auraSpellIdx, (*i)->GetBasePoints(), NULL);
|
||||
m_ChanceTriggerSpells.push_back(std::make_pair(spellInfo, chance * (*i)->GetStackAmount()));
|
||||
|
||||
Reference in new issue
Block a user