*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -4936,7 +4936,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
|||||||
case 58941: // Rock Shards
|
case 58941: // Rock Shards
|
||||||
if(unitTarget && m_originalCaster)
|
if(unitTarget && m_originalCaster)
|
||||||
{
|
{
|
||||||
for(uint32 i = 0; i < 5; ++i)
|
for(uint32 i = 0; i < 3; ++i)
|
||||||
{
|
{
|
||||||
m_originalCaster->CastSpell(unitTarget, 58689, true);
|
m_originalCaster->CastSpell(unitTarget, 58689, true);
|
||||||
m_originalCaster->CastSpell(unitTarget, 58692, true);
|
m_originalCaster->CastSpell(unitTarget, 58692, true);
|
||||||
|
|||||||
+1
-1
@@ -3815,7 +3815,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects)
|
|||||||
// find current aura from spell and change it's stackamount
|
// find current aura from spell and change it's stackamount
|
||||||
if (Aura * foundAura = GetAura(aurSpellInfo->Id, Aur->GetCasterGUID()))
|
if (Aura * foundAura = GetAura(aurSpellInfo->Id, Aur->GetCasterGUID()))
|
||||||
{
|
{
|
||||||
if(foundAura->aurSpellInfo->StackAmount)
|
if(aurSpellInfo->StackAmount)
|
||||||
{
|
{
|
||||||
uint8 stackAmount = foundAura->GetStackAmount() + 1;
|
uint8 stackAmount = foundAura->GetStackAmount() + 1;
|
||||||
if (stackAmount > aurSpellInfo->StackAmount)
|
if (stackAmount > aurSpellInfo->StackAmount)
|
||||||
|
|||||||
Reference in New Issue
Block a user