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

[svn] Add new function SelectUnit? and SelectUnitList? to select target or targets with check "isPlayer" and "isWithinDist". Also add target type SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
SpellEffect? Fix for 40802,29364,43723,41931. Patch provided by WarHead?.
Update script of Fathom Lord. Patch provided by Blaymoira.

Original author: megamage
Date: 2008-10-28 16:28:42-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/CreatureAI.h

    r102 r130  
    6666    SELECT_TARGET_TOPAGGRO,                                 //Selects targes from top aggro to bottom 
    6767    SELECT_TARGET_BOTTOMAGGRO,                              //Selects targets from bottom aggro to top 
     68    SELECT_TARGET_NEAREST, 
     69    SELECT_TARGET_FARTHEST, 
    6870}; 
    6971