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/Object.cpp

    r178 r203  
    602602                    { 
    603603                        if(target->isGameMaster()) 
    604                             *data << cinfo->Modelid1; 
     604                        { 
     605                            if(cinfo->Modelid2) 
     606                                *data << cinfo->Modelid1; 
     607                            else 
     608                                *data << 17519; // world invisible trigger's model 
     609                        } 
    605610                        else 
    606                             *data << cinfo->Modelid3; 
     611                        { 
     612                            if(cinfo->Modelid2) 
     613                                *data << cinfo->Modelid2; 
     614                            else 
     615                                *data << 11686; // world invisible trigger's model 
     616                        } 
    607617                    } 
    608618                    else