diff options
| author | megamage <none@none> | 2008-12-19 20:23:34 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-19 20:23:34 -0600 |
| commit | 7c5a88fdf7f147ed36d110d503b0156ad4aea126 (patch) | |
| tree | 0e02fa917daab385d1507689a5147e696ae1b75a /src/game/Unit.h | |
| parent | e4836ca85fe0ba3ebfefc7e0defafff2534228e9 (diff) | |
*Fix glancing damage calculation.
*Fix double threat spells: remove mind blast and earth shock, add frost shock.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 5efc1a1b3fe..0e3294c0c67 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -367,9 +367,9 @@ enum UnitState UNIT_STAT_ISOLATED = 0x2000, // area auras do not affect other players UNIT_STAT_ATTACK_PLAYER = 0x4000, UNIT_STAT_CASTING = 0x8000, - UNIT_STAT_SIGHTLESS = - (UNIT_STAT_CHASE | UNIT_STAT_SEARCHING | UNIT_STAT_FLEEING - | UNIT_STAT_STUNNED | UNIT_STAT_CONFUSED), + UNIT_STAT_LOST_CONTROL = (UNIT_STAT_CONFUSED | UNIT_STAT_STUNNED | UNIT_STAT_FLEEING), + UNIT_STAT_SIGHTLESS = (UNIT_STAT_LOST_CONTROL | UNIT_STAT_CHASE | UNIT_STAT_SEARCHING), + UNIT_STAT_CANNOT_AUTOATTACK = (UNIT_STAT_LOST_CONTROL | UNIT_STAT_CASTING), UNIT_STAT_ALL_STATE = 0xffff //(UNIT_STAT_STOPPED | UNIT_STAT_MOVING | UNIT_STAT_IN_COMBAT | UNIT_STAT_IN_FLIGHT) }; |
