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

[svn] Enable linked spells: cast spells/remove auras when spells casted/spells hitting/auras removed. Add new table "spell_linked_spell". Some illustrations provided in sql.
Let trigger creature cast AOE spells when summoned. Illustration provided in sql.
Let active creatures always visible if possible. (seems does not work for now, need to find out why)

Original author: megamage
Date: 2008-10-30 11:32:10-05:00

Files:
1 modified

Legend:

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

    r123 r138  
    14831483        ((Creature*)this)->AI()->JustSummoned(pCreature); 
    14841484 
     1485    if(pCreature->GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && pCreature->m_spells[0]) 
     1486        pCreature->CastSpell(pCreature, pCreature->m_spells[0], true, 0, 0, GetGUID()); 
     1487 
    14851488    //return the creature therewith the summoner has access to it 
    14861489    return pCreature;