[1] | 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 | |
---|
| 13 | Bit Legend: |
---|
| 14 | ------------------------------------------------------------------------------- |
---|
| 15 | |
---|
| 16 | MD_CANMOVE | 0x0001 | 1 |
---|
| 17 | MD_LOOTER | 0x0002 | 2 |
---|
| 18 | MD_AGGRESSIVE | 0x0004 | 4 |
---|
| 19 | MD_ASSIST | 0x0008 | 8 |
---|
| 20 | MD_CASTSENSOR_IDLE | 0x0010 | 16 |
---|
| 21 | MD_BOSS | 0x0020 | 32 |
---|
| 22 | MD_PLANT | 0x0040 | 64 |
---|
| 23 | MD_CANATTACK | 0x0080 | 128 |
---|
| 24 | MD_DETECTOR | 0x0100 | 256 |
---|
| 25 | MD_CASTSENSOR_CHASE | 0x0200 | 512 |
---|
| 26 | MD_CHANGECHASE | 0x0400 | 1024 |
---|
| 27 | MD_ANGRY | 0x0800 | 2048 |
---|
| 28 | MD_CHANGETARGET_MELEE | 0x1000 | 4096 |
---|
| 29 | MD_CHANGETARGET_CHASE | 0x2000 | 8192 |
---|
| 30 | |
---|
| 31 | Explanation for modes: |
---|
| 32 | ------------------------------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | CanMove: Enables the mob to move/chase characters. |
---|
| 35 | |
---|
| 36 | CanAttack: 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 | |
---|
| 40 | Looter: The mob will loot up nearby items on the ground when it's on idle state. |
---|
| 41 | |
---|
| 42 | Aggressive: normal aggressive mob, will look for a close-by player to attack. |
---|
| 43 | |
---|
| 44 | Assist: When a nearby mob of the same class attacks, assist types will join them. |
---|
| 45 | |
---|
| 46 | Cast Sensor Idle: Will go after characters who start casting on them if idle |
---|
| 47 | or walking (without a target). |
---|
| 48 | |
---|
| 49 | Cast Sensor Chase: Will go after characters who start casting on them if idle |
---|
| 50 | or chasing other players (they switch chase targets) |
---|
| 51 | |
---|
| 52 | Boss: Special flag which makes mobs immune to certain status changes and skills. |
---|
| 53 | |
---|
| 54 | Plant: Always receives 1 damage from attacks. |
---|
| 55 | |
---|
| 56 | Detector: Enables mob to detect and attack characters who are in hiding/cloak. |
---|
| 57 | |
---|
| 58 | ChangeChase: Allows chasing mobs to switch targets if another player happens |
---|
| 59 | to be within attack range (handy on ranged attackers, for example) |
---|
| 60 | |
---|
| 61 | Angry: 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 | |
---|
| 67 | Change Target Melee: Enables a mob to switch targets when attacked while |
---|
| 68 | attacking someone else. |
---|
| 69 | |
---|
| 70 | Change Target Chase: Enables a mob to switch targets when attacked while |
---|
| 71 | chasing another character. |
---|
| 72 | |
---|
| 73 | Aegis Mob Types: |
---|
| 74 | ------------------------------------------------------------------------------- |
---|
| 75 | |
---|
| 76 | What Aegis has are mob-types, where each type represents an AI behaviour that |
---|
| 77 | is mimicked by a group of eA mode bits. This is the table to convert from one |
---|
| 78 | to another: |
---|
| 79 | |
---|
| 80 | Aegis/eA (description) |
---|
| 81 | 01: 0x0081 (passive) |
---|
| 82 | 02: 0x0083 (passive, looter) |
---|
| 83 | 03: 0x1089 (passive, assist and change-target melee) |
---|
| 84 | 04: 0x3885 (angry, change-target melee/chase) |
---|
| 85 | 05: 0x2085 (aggro, change-target chase) |
---|
| 86 | 06: 0x0000 (passive, immobile, can't attack) [plants] |
---|
| 87 | 07: 0x108B (passive, looter, assist, change-target melee) |
---|
| 88 | 09: 0x3095 (aggro, change-target melee/chase, cast sensor idle) [Guardian] |
---|
| 89 | 10: 0x0084 (aggro, immobile) |
---|
| 90 | 11: 0x0084 (aggro, immobile) [Guardian] |
---|
| 91 | 12: 0x2085 (aggro, change-target chase) [Guardian] |
---|
| 92 | 13: 0x308D (aggro, change-target melee/chase, assist) |
---|
| 93 | 17: 0x0091 (passive, cast sensor idle) |
---|
| 94 | 19: 0x3095 (aggro, change-target melee/chase, cast sensor idle) |
---|
| 95 | 20: 0x3295 (aggro, change-target melee/chase, cast sensor idle/chase) |
---|
| 96 | 21: 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. |
---|