root/doc/mob_db_mode_list.txt @ 19

Revision 1, 4.1 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== Athena Doc ========================================
2//= eAthena Monster Modes Reference
3//===== By ================================================
4//= Developers
5//===== Version ===========================================
6//= 1.0
7//=========================================================
8//= 1.0 - Standardized doc file
9//===== Description =======================================
10//= A reference description of eA's mob_db 'mode' field
11//=========================================================
12
13Bit Legend:
14-------------------------------------------------------------------------------
15
16MD_CANMOVE            | 0x0001 |    1
17MD_LOOTER             | 0x0002 |    2
18MD_AGGRESSIVE         | 0x0004 |    4
19MD_ASSIST             | 0x0008 |    8
20MD_CASTSENSOR_IDLE    | 0x0010 |   16
21MD_BOSS               | 0x0020 |   32
22MD_PLANT              | 0x0040 |   64
23MD_CANATTACK          | 0x0080 |  128
24MD_DETECTOR           | 0x0100 |  256
25MD_CASTSENSOR_CHASE   | 0x0200 |  512
26MD_CHANGECHASE        | 0x0400 | 1024
27MD_ANGRY              | 0x0800 | 2048
28MD_CHANGETARGET_MELEE | 0x1000 | 4096
29MD_CHANGETARGET_CHASE | 0x2000 | 8192
30
31Explanation for modes:
32-------------------------------------------------------------------------------
33
34CanMove: Enables the mob to move/chase characters.
35
36CanAttack: Enables the mob to attack/retaliate when you are within attack
37        range. Note that this only enables them to use normal attacks, skills are
38        always allowed.
39
40Looter: The mob will loot up nearby items on the ground when it's on idle state.
41
42Aggressive: normal aggressive mob, will look for a close-by player to attack.
43
44Assist: When a nearby mob of the same class attacks, assist types will join them.
45
46Cast Sensor Idle: Will go after characters who start casting on them if idle
47        or walking (without a target).
48
49Cast Sensor Chase: Will go after characters who start casting on them if idle
50        or chasing other players (they switch chase targets)
51
52Boss: Special flag which makes mobs immune to certain status changes and skills.
53
54Plant: Always receives 1 damage from attacks.
55
56Detector: Enables mob to detect and attack characters who are in hiding/cloak.
57
58ChangeChase: Allows chasing mobs to switch targets if another player happens
59        to be within attack range (handy on ranged attackers, for example)
60
61Angry: These mobs are "hyper-active". Apart from "chase"/"attack", they have
62        the states "follow"/"angry". Once hit, they stop using these states and use
63        the normal ones. The new states are used to determine a different skill-set
64        for their "before attacked" and "after attacked" states. Also, when
65        "following", they automatically switch to whoever character is closest.
66
67Change Target Melee: Enables a mob to switch targets when attacked while
68        attacking someone else.
69
70Change Target Chase: Enables a mob to switch targets when attacked while
71        chasing another character.
72
73Aegis Mob Types:
74-------------------------------------------------------------------------------
75
76What Aegis has are mob-types, where each type represents an AI behaviour that
77is mimicked by a group of eA mode bits. This is the table to convert from one
78to another:
79
80Aegis/eA (description)
8101: 0x0081 (passive)
8202: 0x0083 (passive, looter)
8303: 0x1089 (passive, assist and change-target melee)
8404: 0x3885 (angry, change-target melee/chase)
8505: 0x2085 (aggro, change-target chase)
8606: 0x0000 (passive, immobile, can't attack) [plants]
8707: 0x108B (passive, looter, assist, change-target melee)
8809: 0x3095 (aggro, change-target melee/chase, cast sensor idle) [Guardian]
8910: 0x0084 (aggro, immobile)
9011: 0x0084 (aggro, immobile) [Guardian]
9112: 0x2085 (aggro, change-target chase) [Guardian]
9213: 0x308D (aggro, change-target melee/chase, assist)
9317: 0x0091 (passive, cast sensor idle)
9419: 0x3095 (aggro, change-target melee/chase, cast sensor idle)
9520: 0x3295 (aggro, change-target melee/chase, cast sensor idle/chase)
9621: 0x3695 (aggro, change-target melee/chase, cast sensor idle/chase, chase-change target)
97
98- Note that the detector bit due to being Insect/Demon, plant  and Boss mode
99  bits need to be added independently of this list.
Note: See TracBrowser for help on using the browser.