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

[svn] Add function GameObject::CastSpell?. Used for hunter's trap and so.
Use original caster instead caster to check spell hit result.
Let spell triggers have the same faction as the summoner.
Fix the bug that trigger creatures attack enemy. (no need use civilian extra flag in the future, 128 is enough)
Fix shadow step.

Original author: megamage
Date: 2008-11-02 00:59:44-05:00

Files:
1 modified

Legend:

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

    r102 r145  
    3838    void Initialize() 
    3939    { 
    40         (new CreatureAIFactory<NullCreatureAI>("NullAI"))->RegisterSelf(); 
     40        (new CreatureAIFactory<NullCreatureAI>("NullCreatureAI"))->RegisterSelf(); 
    4141        (new CreatureAIFactory<AggressorAI>("AggressorAI"))->RegisterSelf(); 
    4242        (new CreatureAIFactory<ReactorAI>("ReactorAI"))->RegisterSelf();