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

[svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

Original author: megamage
Date: 2008-11-07 09:36:46-06:00

Files:
1 modified

Legend:

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

    r174 r186  
    4646        return true; 
    4747 
    48     return !i_pet.getVictim()->isTargetableForAttack(); 
     48    return !i_pet.canAttack(i_pet.getVictim()); 
    4949} 
    5050