diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-07 16:42:25 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-07 16:42:25 +0000 |
commit | 09d10f90af78019f690853ef3079f19122433262 (patch) | |
tree | b5cbb464f3cc4178a2f0c1b47fcf3121fce9bfc6 /doc | |
parent | 322bbe35455b4c423ca8a1ff695a2c68808f5be9 (diff) | |
download | hercules-09d10f90af78019f690853ef3079f19122433262.tar.gz hercules-09d10f90af78019f690853ef3079f19122433262.tar.bz2 hercules-09d10f90af78019f690853ef3079f19122433262.tar.xz hercules-09d10f90af78019f690853ef3079f19122433262.zip |
- Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the mode. val4 asks to remove the previous mode change.
- Updated the mob skill reading code so it accepts hexadecimals in the 'val' fields. Also, it will optimize the NPC values so that when you set a mob's mode to their db mode, it will just remove the previous mode.
- NPC_EMOTION_ON will now automatically move it's new mode to val2 since it should add a mode, and if this mode doesn't has the aggressive bit, it will remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work for the details:
http://www.eathena.ws/board/index.php?showtopic=63606
- Updated mob_skill_db to account for the updated mob modes on NPC_EMOTION skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9433 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mob_db_mode_list.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/mob_db_mode_list.txt b/doc/mob_db_mode_list.txt index f5c5e8fa4..c01de2051 100644 --- a/doc/mob_db_mode_list.txt +++ b/doc/mob_db_mode_list.txt @@ -69,15 +69,17 @@ Aegis/eA (description) 03: 0x1089 (passive, assist and change-target melee) 04: 0x3885 (angry, change-target melee/chase) 05: 0x2085 (aggro, change-target chase) -06: 0x0000 (plants) +06: 0x0000 (passive, immobile, can't attack) [plants] 07: 0x108B (aggro, immobile, assist, change-target melee) +09: 0x3095 (aggro, change-target melee/chase, cast sensor idle) [Guardian] 10: 0x0084 (aggro, immobile) -12: 0x0085 (aggro) -13: 0x018D (aggro, assist, detector) +11: 0x0084 (aggro, immobile) [Guardian] +12: 0x2085 (aggro, change-target chase) [Guardian] +13: 0x308D (aggro, change-target melee/chase, assist) 17: 0x0091 (passive, cast sensor idle) 19: 0x3095 (aggro, change-target melee/chase, cast sensor idle) 20: 0x3295 (aggro, change-target melee/chase, cast sensor idle/chase) 21: 0x3695 (aggro, change-target melee/chase, cast sensor idle/chase, chase-change target) -- Note that the detector bit due to being Insect/Demon and Boss mode bits need to - be added independently of this list. +- Note that the detector bit due to being Insect/Demon, plant and Boss mode + bits need to be added independently of this list. |