Show
Ignore:
Timestamp:
11/19/08 13:29:59 (17 years ago)
Author:
yumileroy
Message:

[svn] Update some Black Temple boss scripts.
Implement some Black Temple boss spells.
Update maiden of virtue and void reaver scripts. Patch provided by Blaymoira.

Original author: megamage
Date: 2008-10-18 16:25:58-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellAuras.cpp

    r44 r57  
    16511651//                    // Prismatic Shield 
    16521652//                    case 40879: break; 
    1653 //                    // Aura of Desire 
    1654 //                    case 41350: break; 
     1653                    // Aura of Desire 
     1654                    case 41350: 
     1655                    { 
     1656                        Unit::AuraList const& mMod = m_target->GetAurasByType(SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT); 
     1657                        for(Unit::AuraList::const_iterator i = mMod.begin(); i != mMod.end(); ++i) 
     1658                        { 
     1659                            if ((*i)->GetId() == 41350) 
     1660                            { 
     1661                                (*i)->ApplyModifier(false); 
     1662                                (*i)->GetModifier()->m_amount -= 5; 
     1663                                (*i)->ApplyModifier(true); 
     1664                                break; 
     1665                            } 
     1666                        }                         
     1667                    }break; 
    16551668//                    // Dementia 
    16561669//                    case 41404: break; 
     
    56155628                        break; 
    56165629                    } 
     5630                    case 41337:// aura of anger 
     5631                    {                         
     5632                        Unit::AuraList const& mMod = m_target->GetAurasByType(SPELL_AURA_MOD_DAMAGE_PERCENT_DONE); 
     5633                        for(Unit::AuraList::const_iterator i = mMod.begin(); i != mMod.end(); ++i) 
     5634                        { 
     5635                            if ((*i)->GetId() == 41337) 
     5636                            { 
     5637                                (*i)->ApplyModifier(false); 
     5638                                (*i)->GetModifier()->m_amount += 5; 
     5639                                (*i)->ApplyModifier(true); 
     5640                                break; 
     5641                            } 
     5642                        }                         
     5643                        m_modifier.m_amount += 100; 
     5644                    }break; 
    56175645                    default: 
    56185646                        break;