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

[svn] Send AttackStart? package when update visibility.
Update DoMeleeAttackIfReady? to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

Original author: megamage
Date: 2008-11-09 14:54:13-06:00

Files:
1 modified

Legend:

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

    r197 r203  
    10131013            // for delayed spells ignore negative spells (after duel end) for friendly targets 
    10141014            // TODO: this cause soul transfer bugged 
    1015             if(m_spellInfo->speed > 0.0f && !IsPositiveSpell(m_spellInfo->Id)) 
     1015            if(m_spellInfo->speed > 0.0f && unit->GetTypeId() == TYPEID_PLAYER && !IsPositiveSpell(m_spellInfo->Id)) 
    10161016            { 
    10171017                m_caster->SendSpellMiss(unit, m_spellInfo->Id, SPELL_MISS_EVADE);