From 3abc86e02dc1065357d8123a2f9a6dcd579029c4 Mon Sep 17 00:00:00 2001 From: Atemo Date: Tue, 26 Oct 2021 14:56:47 +0200 Subject: [PATCH] Wave mode instances - walkthrough conversions (#3884) * Wave mode instances - walkthrough conversions * NPC_EMOTION and NPC_EMOTION_ON disrupted the walking system and have been restricted on the maps. * Implemented AI_SPECIALs. AI and normal monsters can naturally fight each others. However monsters with AI_SPECIAL can't be hit by normal monsters. * Implemented mob_setidleevent command. `mob_setidleevent ,;` This command will attach an event label to the monster with the given which will execute when the is idle. * Added parameters to unitskilluseid and unitskillusepos -- ``: define if the skill can be interrupted when hit (by default the cancel value was 'castcancel' from skill_db.txt) -- `` : the monster will say the message from 'Line_ID' in mob_chat_db.yml when casting the skill * Added `UMOB_IGNORE_CELL_STACK_LIMIT` for setunitdata/getunitdata script command. When true, the monster will ignore the stack limit (max number of characters that can stack within a single cell) defined by 'official_cell_stack_limit' in misc.conf * The script is disabled by default like on KRO Thanks to @Lemongrass3110 @aleos89 @Badarosk0 @sigtus @Questune09 ! --- db/mob_chat_db.yml | 4 +- db/re/instance_db.yml | 24 +- db/re/item_noequip.txt | 85 +-- db/re/mob_db.yml | 1268 ++++++++++++++++++++++++++++++--- db/re/skill_nocast_db.txt | 15 + doc/script_commands.txt | 66 +- npc/re/instances/WaveMode.txt | 808 +++++++++++++++++++++ npc/re/mapflag/restricted.txt | 6 +- npc/re/scripts_athena.conf | 2 +- src/map/battle.cpp | 4 +- src/map/map.hpp | 1 + src/map/mob.cpp | 58 +- src/map/mob.hpp | 2 + src/map/script.cpp | 70 +- src/map/script.hpp | 1 + src/map/script_constants.hpp | 2 + src/map/unit.cpp | 3 +- src/map/unit.hpp | 1 + 18 files changed, 2195 insertions(+), 225 deletions(-) create mode 100644 npc/re/instances/WaveMode.txt diff --git a/db/mob_chat_db.yml b/db/mob_chat_db.yml index 3d732f0244..01399373a1 100644 --- a/db/mob_chat_db.yml +++ b/db/mob_chat_db.yml @@ -107,11 +107,13 @@ Body: - Id: 37 Dialog: Is there anyone waiting for you outside of here? Throw them all away, you are mine now... - Id: 38 - Dialog: Discard your life and stay confined here. You will yearn for freedom in captivity !! + Dialog: Discard your life and stay confined here. You will yearn for freedom in captivity !! - Id: 39 Dialog: How much will the outside world change if you stay here in solitude for one thousand years? - Id: 40 Dialog: Yes! Yearn for your freedom from this confined place, your captivity here will be permanent !! + - Id: 41 + Dialog: Arrival! Footer: Imports: diff --git a/db/re/instance_db.yml b/db/re/instance_db.yml index 0fa118133d..1a2233d677 100644 --- a/db/re/instance_db.yml +++ b/db/re/instance_db.yml @@ -198,18 +198,18 @@ Body: Map: 1@glast X: 367 Y: 304 -# - Id: 22 -# Name: Wave Mode - Forest -# Enter: -# Map: 1@def01 -# X: 50 -# Y: 21 -# - Id: 23 -# Name: Wave Mode - Sky -# Enter: -# Map: 1@def02 -# X: 29 -# Y: 35 + - Id: 22 + Name: Wave Mode - Forest + Enter: + Map: 1@def01 + X: 50 + Y: 21 + - Id: 23 + Name: Wave Mode - Sky + Enter: + Map: 1@def02 + X: 29 + Y: 35 - Id: 24 Name: Nightmarish Jitterbug Enter: diff --git a/db/re/item_noequip.txt b/db/re/item_noequip.txt index d3fef3589e..23cfcb6dde 100644 --- a/db/re/item_noequip.txt +++ b/db/re/item_noequip.txt @@ -19,6 +19,7 @@ // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 // 4096 - restricted in zone 8 +// 8192 - restricted in zone 9 // // Passing negative value as flag will unset the flag instead. // @@ -240,45 +241,45 @@ //---------------------------------------------------------------------------- // WoE:TE Items - Only can be used in WoE:TE Castles (All except &16) //---------------------------------------------------------------------------- -1299,8175 // TE_Woe_Katar -1319,8175 // TE_Woe_Axe -1399,8175 // TE_Woe_Two_Handed_Axe -1437,8175 // TE_Woe_Pike -1495,8175 // TE_Woe_Lance -1591,8175 // TE_Woe_Book -1667,8175 // TE_Woe_Staff -1834,8175 // TE_Woe_Fist -1932,8175 // TE_Woe_Guitar -1987,8175 // TE_Woe_Rope -2019,8175 // TE_Woe_Two_Hand_Staff -2178,8175 // TE_Woe_Buckler -2179,8175 // TE_Woe_Shield -2180,8175 // TE_Woe_Magic_Guard -2496,8175 // TE_Woe_Shoes -2497,8175 // TE_Woe_Boots -2498,8175 // TE_Woe_Magic_Sandal -2944,8175 // TE_Ring_Of_Protection -2945,8175 // TE_Ring_Of_Rage -2946,8175 // TE_Ring_Of_Defiance -11557,8175 // TE_White_Potion -11558,8175 // TE_White_Slim_Potion -13083,8175 // TE_Woe_Knife -13117,8175 // TE_Woe_Pistol -13184,8175 // TE_Woe_Rifle -13185,8175 // TE_Woe_Gatling -13186,8175 // TE_Woe_Shotgun -13187,8175 // TE_Woe_Grenade -13317,8175 // TE_Woe_Huuma -13439,8175 // TE_Woe_Sword -15062,8175 // TE_Woe_Coat -15063,8175 // TE_Woe_Chain_Mail -15064,8175 // TE_Woe_Mage_Coat -16025,8175 // TE_Woe_Mace -18118,8175 // TE_Woe_Bow -18732,8175 // TE_Woe_Cap -18733,8175 // TE_Woe_Bone_Helm -18734,8175 // TE_Woe_Magic_Eyes -20702,8175 // TE_Woe_Muffler -20703,8175 // TE_Woe_Manteau -20704,8175 // TE_Woe_Magic_Manteau -21006,8175 // TE_Woe_Two_Hand_Sword +1299,16367 // TE_Woe_Katar +1319,16367 // TE_Woe_Axe +1399,16367 // TE_Woe_Two_Handed_Axe +1437,16367 // TE_Woe_Pike +1495,16367 // TE_Woe_Lance +1591,16367 // TE_Woe_Book +1667,16367 // TE_Woe_Staff +1834,16367 // TE_Woe_Fist +1932,16367 // TE_Woe_Guitar +1987,16367 // TE_Woe_Rope +2019,16367 // TE_Woe_Two_Hand_Staff +2178,16367 // TE_Woe_Buckler +2179,16367 // TE_Woe_Shield +2180,16367 // TE_Woe_Magic_Guard +2496,16367 // TE_Woe_Shoes +2497,16367 // TE_Woe_Boots +2498,16367 // TE_Woe_Magic_Sandal +2944,16367 // TE_Ring_Of_Protection +2945,16367 // TE_Ring_Of_Rage +2946,16367 // TE_Ring_Of_Defiance +11557,16367 // TE_White_Potion +11558,16367 // TE_White_Slim_Potion +13083,16367 // TE_Woe_Knife +13117,16367 // TE_Woe_Pistol +13184,16367 // TE_Woe_Rifle +13185,16367 // TE_Woe_Gatling +13186,16367 // TE_Woe_Shotgun +13187,16367 // TE_Woe_Grenade +13317,16367 // TE_Woe_Huuma +13439,16367 // TE_Woe_Sword +15062,16367 // TE_Woe_Coat +15063,16367 // TE_Woe_Chain_Mail +15064,16367 // TE_Woe_Mage_Coat +16025,16367 // TE_Woe_Mace +18118,16367 // TE_Woe_Bow +18732,16367 // TE_Woe_Cap +18733,16367 // TE_Woe_Bone_Helm +18734,16367 // TE_Woe_Magic_Eyes +20702,16367 // TE_Woe_Muffler +20703,16367 // TE_Woe_Manteau +20704,16367 // TE_Woe_Magic_Manteau +21006,16367 // TE_Woe_Two_Hand_Sword diff --git a/db/re/mob_db.yml b/db/re/mob_db.yml index 21371c4bd9..35b07bc7e9 100644 --- a/db/re/mob_db.yml +++ b/db/re/mob_db.yml @@ -58564,74 +58564,911 @@ Body: Ai: 10 Modes: CanMove: true -# - Id: 2569 -# AegisName: G_ANOPHELES -# - Id: 2570 -# AegisName: G_BREEZE -# - Id: 2571 -# AegisName: G_BUTOIJO -# - Id: 2572 -# AegisName: G_CARAMEL -# - Id: 2573 -# AegisName: G_CHONCHON -# - Id: 2574 -# AegisName: G_CIVIL_SERVANT -# - Id: 2575 -# AegisName: G_COCO -# - Id: 2576 -# AegisName: G_CREAMY -# - Id: 2577 -# AegisName: G_FABRE -# - Id: 2578 -# AegisName: G_HORN -# - Id: 2579 -# AegisName: G_HYLOZOIST -# - Id: 2580 -# AegisName: G_KAHO -# - Id: 2581 -# AegisName: G_LUDE -# - Id: 2582 -# AegisName: G_LUNATIC -# - Id: 2583 -# AegisName: G_MARTIN -# - Id: 2584 -# AegisName: G_MINERAL -# - Id: 2585 -# AegisName: G_MOLE -# - Id: 2586 -# AegisName: G_NERAID -# - Id: 2587 -# AegisName: G_OBSIDIAN -# - Id: 2588 -# AegisName: G_PITMAN -# - Id: 2589 -# AegisName: G_POPORING -# - Id: 2590 -# AegisName: G_ROCKER -# - Id: 2591 -# AegisName: G_SAVAGE -# - Id: 2592 -# AegisName: G_SIORAVA -# - Id: 2593 -# AegisName: G_SIROMA -# - Id: 2594 -# AegisName: G_SNOWIER -# - Id: 2595 -# AegisName: G_STAINER -# - Id: 2596 -# AegisName: G_STAPO -# - Id: 2597 -# AegisName: G_STEEL_CHONCHON -# - Id: 2598 -# AegisName: G_UNGOLIANT -# - Id: 2599 -# AegisName: G_WILD_RIDER -# - Id: 2600 -# AegisName: G_WOLF -# - Id: 2601 -# AegisName: G_YOYO -# - Id: 2602 -# AegisName: G_ZIPPER_BEAR + - Id: 2569 + AegisName: G_ANOPHELES + Name: Anopheles + Level: 95 + Hp: 7238 + Attack: 315 + Attack2: 18 + Defense: 7 + MagicDefense: 10 + Str: 64 + Agi: 60 + Vit: 42 + Int: 58 + Dex: 106 + Luk: 42 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Wind + ElementLevel: 3 + WalkSpeed: 170 + AttackDelay: 1084 + AttackMotion: 2304 + DamageMotion: 576 + Ai: 02 + - Id: 2570 + AegisName: G_BREEZE + Name: Breeze + Level: 92 + Hp: 6755 + Attack: 493 + Attack2: 52 + Defense: 83 + MagicDefense: 32 + Str: 75 + Agi: 101 + Vit: 46 + Int: 35 + Dex: 79 + Luk: 55 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Formless + Element: Wind + ElementLevel: 3 + WalkSpeed: 100 + AttackDelay: 140 + AttackMotion: 384 + DamageMotion: 504 + Ai: 02 + - Id: 2571 + AegisName: G_BUTOIJO + Name: Butoijo + Level: 88 + Hp: 7524 + Attack: 358 + Attack2: 102 + Defense: 77 + MagicDefense: 12 + Str: 66 + Agi: 65 + Vit: 30 + Int: 30 + Dex: 106 + Luk: 44 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Demon + Element: Fire + ElementLevel: 2 + WalkSpeed: 170 + AttackDelay: 576 + AttackMotion: 768 + DamageMotion: 432 + Ai: 02 + - Id: 2572 + AegisName: G_CARAMEL + Name: Caramel + Level: 25 + Hp: 518 + Attack: 67 + Attack2: 9 + Defense: 39 + Str: 19 + Agi: 10 + Vit: 15 + Int: 10 + Dex: 32 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1604 + AttackMotion: 840 + DamageMotion: 756 + Ai: 02 + - Id: 2573 + AegisName: G_CHONCHON + Name: Chonchon + Level: 5 + Hp: 57 + Attack: 11 + Attack2: 3 + Defense: 27 + Str: 13 + Agi: 4 + Vit: 4 + Dex: 8 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Wind + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1076 + AttackMotion: 576 + DamageMotion: 480 + Ai: 02 + - Id: 2574 + AegisName: G_CIVIL_SERVANT + Name: Civil Servant + Level: 89 + Hp: 5292 + Attack: 304 + Attack2: 61 + Defense: 90 + MagicDefense: 56 + Str: 67 + Agi: 76 + Vit: 40 + Int: 65 + Dex: 74 + Luk: 30 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Brute + Element: Wind + ElementLevel: 2 + WalkSpeed: 200 + AttackDelay: 1257 + AttackMotion: 528 + DamageMotion: 432 + Ai: 02 + - Id: 2575 + AegisName: G_COCO + Name: Coco + Level: 38 + Hp: 836 + Attack: 71 + Attack2: 11 + Defense: 37 + Str: 22 + Agi: 13 + Vit: 30 + Int: 20 + Dex: 38 + Luk: 10 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 1864 + AttackMotion: 864 + DamageMotion: 1008 + Ai: 02 + - Id: 2576 + AegisName: G_CREAMY + Name: Creamy + Level: 23 + Hp: 378 + Attack: 61 + Attack2: 1 + Defense: 28 + MagicDefense: 20 + Str: 16 + Luk: 20 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Wind + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 1136 + AttackMotion: 720 + DamageMotion: 840 + Ai: 02 + - Id: 2577 + AegisName: G_FABRE + Name: Fabre + Level: 6 + Hp: 72 + Attack: 12 + Attack2: 3 + Defense: 24 + Str: 12 + Agi: 5 + Vit: 5 + Int: 5 + Dex: 12 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Earth + ElementLevel: 1 + WalkSpeed: 400 + AttackDelay: 1672 + AttackMotion: 672 + DamageMotion: 480 + Ai: 02 + - Id: 2578 + AegisName: G_HORN + Name: Horn + Level: 32 + Hp: 705 + Attack: 64 + Attack2: 11 + Defense: 52 + MagicDefense: 8 + Str: 10 + Agi: 12 + Vit: 36 + Int: 25 + Dex: 21 + Luk: 35 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Insect + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1528 + AttackMotion: 528 + DamageMotion: 288 + Ai: 02 + - Id: 2579 + AegisName: G_HYLOZOIST + Name: Hylozoist + Level: 102 + Hp: 12000 + Attack: 548 + Attack2: 81 + Defense: 101 + MagicDefense: 68 + Str: 97 + Agi: 67 + Vit: 72 + Int: 88 + Dex: 83 + Luk: 60 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Demon + Element: Dark + ElementLevel: 2 + WalkSpeed: 155 + AttackDelay: 741 + AttackMotion: 1536 + DamageMotion: 480 + Ai: 02 + - Id: 2580 + AegisName: G_KAHO + Name: Kaho + Level: 98 + Hp: 7045 + Attack: 655 + Attack2: 224 + Defense: 106 + MagicDefense: 55 + Str: 81 + Agi: 61 + Vit: 55 + Int: 65 + Dex: 79 + Luk: 73 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Demon + Element: Fire + ElementLevel: 4 + WalkSpeed: 150 + AttackDelay: 1700 + AttackMotion: 1000 + DamageMotion: 500 + Ai: 02 + - Id: 2581 + AegisName: G_LUDE + Name: Lude + Level: 101 + Hp: 11574 + Attack: 283 + Attack2: 78 + Defense: 90 + MagicDefense: 53 + Str: 97 + Agi: 38 + Vit: 55 + Int: 82 + Dex: 83 + Luk: 55 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Undead + Element: Undead + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 890 + AttackMotion: 960 + DamageMotion: 480 + Ai: 02 + - Id: 2582 + AegisName: G_LUNATIC + Name: Lunatic + Level: 3 + Hp: 55 + Attack: 11 + Attack2: 1 + Defense: 18 + Str: 10 + Agi: 3 + Vit: 3 + Dex: 8 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Neutral + ElementLevel: 3 + WalkSpeed: 200 + AttackDelay: 1456 + AttackMotion: 456 + DamageMotion: 336 + Ai: 02 + - Id: 2583 + AegisName: G_MARTIN + Name: Martin + Level: 39 + Hp: 1056 + Attack: 70 + Attack2: 18 + Defense: 58 + MagicDefense: 19 + Str: 25 + Agi: 29 + Vit: 28 + Int: 15 + Dex: 30 + Luk: 10 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 2 + WalkSpeed: 300 + AttackDelay: 1480 + AttackMotion: 480 + DamageMotion: 480 + Ai: 02 + - Id: 2584 + AegisName: G_MINERAL + Name: Mineral + Level: 96 + Hp: 8300 + Attack: 751 + Attack2: 57 + Defense: 127 + MagicDefense: 23 + Str: 70 + Agi: 61 + Vit: 40 + Int: 50 + Dex: 74 + Luk: 50 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 2 + WalkSpeed: 250 + AttackDelay: 648 + AttackMotion: 480 + DamageMotion: 360 + Ai: 02 + - Id: 2585 + AegisName: G_MOLE + Name: Mole + Level: 85 + Hp: 6228 + Attack: 286 + Attack2: 49 + Defense: 82 + MagicDefense: 16 + Str: 53 + Agi: 65 + Vit: 31 + Int: 30 + Dex: 58 + Luk: 31 + AttackRange: 9 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 2 + WalkSpeed: 300 + AttackDelay: 1400 + AttackMotion: 960 + DamageMotion: 504 + Ai: 02 + - Id: 2586 + AegisName: G_NERAID + Name: Neraid + Level: 98 + Hp: 9550 + Attack: 255 + Attack2: 71 + Defense: 100 + MagicDefense: 37 + Str: 97 + Agi: 45 + Vit: 60 + Int: 30 + Dex: 83 + Luk: 50 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 776 + AttackMotion: 576 + DamageMotion: 288 + Ai: 02 + - Id: 2587 + AegisName: G_OBSIDIAN + Name: Obsidian + Level: 97 + Hp: 10088 + Attack: 767 + Attack2: 80 + Defense: 129 + MagicDefense: 37 + Str: 84 + Agi: 38 + Vit: 40 + Int: 60 + Dex: 64 + Luk: 50 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Earth + ElementLevel: 2 + WalkSpeed: 350 + AttackDelay: 720 + AttackMotion: 864 + DamageMotion: 504 + Ai: 02 + - Id: 2588 + AegisName: G_PITMAN + Name: Pitman + Level: 90 + Hp: 7208 + Attack: 200 + Attack2: 60 + Defense: 104 + MagicDefense: 48 + Str: 78 + Agi: 56 + Vit: 45 + Int: 35 + Dex: 60 + Luk: 30 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Undead + Element: Earth + ElementLevel: 2 + WalkSpeed: 180 + AttackDelay: 960 + AttackMotion: 336 + DamageMotion: 300 + Ai: 02 + - Id: 2589 + AegisName: G_POPORING + Name: Poporing + Level: 30 + Hp: 524 + Attack: 74 + Attack2: 20 + Defense: 36 + MagicDefense: 17 + Str: 17 + Agi: 26 + Vit: 20 + Int: 18 + Dex: 36 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Plant + Element: Poison + ElementLevel: 1 + WalkSpeed: 300 + AttackDelay: 1672 + AttackMotion: 672 + DamageMotion: 480 + Ai: 02 + - Id: 2590 + AegisName: G_ROCKER + Name: Rocker + Level: 15 + Hp: 185 + Attack: 19 + Attack2: 5 + Defense: 16 + MagicDefense: 3 + Str: 12 + Agi: 18 + Vit: 8 + Int: 10 + Dex: 17 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Insect + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1864 + AttackMotion: 864 + DamageMotion: 540 + Ai: 02 + - Id: 2591 + AegisName: G_SAVAGE + Name: Savage + Level: 59 + Hp: 2301 + Attack: 181 + Attack2: 23 + Defense: 126 + MagicDefense: 3 + Str: 56 + Agi: 21 + Vit: 54 + Int: 10 + Dex: 52 + Luk: 15 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Brute + Element: Earth + ElementLevel: 2 + WalkSpeed: 150 + AttackDelay: 1960 + AttackMotion: 960 + DamageMotion: 384 + Ai: 02 + - Id: 2592 + AegisName: G_SIORAVA + Name: Siorava + Level: 87 + Hp: 6500 + Attack: 450 + Attack2: 210 + Defense: 20 + MagicDefense: 40 + Str: 10 + Agi: 40 + Vit: 66 + Int: 70 + Dex: 67 + Luk: 10 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Water + ElementLevel: 1 + WalkSpeed: 250 + AttackDelay: 1536 + AttackMotion: 1296 + DamageMotion: 576 + Ai: 02 + - Id: 2593 + AegisName: G_SIROMA + Name: Siroma + Level: 98 + Hp: 11910 + Attack: 506 + Attack2: 100 + Defense: 64 + MagicDefense: 38 + Str: 83 + Agi: 43 + Vit: 50 + Int: 70 + Dex: 96 + Luk: 60 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Water + ElementLevel: 3 + WalkSpeed: 180 + AttackDelay: 432 + AttackMotion: 648 + DamageMotion: 240 + Ai: 02 + - Id: 2594 + AegisName: G_SNOWIER + Name: Snowier + Level: 103 + Hp: 13934 + Attack: 763 + Attack2: 82 + Defense: 121 + MagicDefense: 47 + Str: 91 + Agi: 61 + Vit: 67 + Int: 45 + Dex: 83 + Luk: 55 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Formless + Element: Water + ElementLevel: 2 + WalkSpeed: 220 + AttackDelay: 936 + AttackMotion: 1020 + DamageMotion: 420 + Ai: 02 + - Id: 2595 + AegisName: G_STAINER + Name: Stainer + Level: 21 + Hp: 365 + Attack: 65 + Attack2: 9 + Defense: 22 + MagicDefense: 25 + Str: 10 + Agi: 10 + Vit: 24 + Dex: 39 + Luk: 15 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Wind + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1688 + AttackMotion: 1188 + DamageMotion: 612 + Ai: 02 + - Id: 2596 + AegisName: G_STAPO + Name: Stapo + Level: 95 + Hp: 8805 + Attack: 573 + Attack2: 51 + Defense: 129 + MagicDefense: 36 + Str: 20 + Agi: 46 + Vit: 25 + Int: 35 + Dex: 64 + Luk: 30 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Earth + ElementLevel: 2 + WalkSpeed: 300 + AttackDelay: 936 + AttackMotion: 792 + DamageMotion: 432 + Ai: 02 + - Id: 2597 + AegisName: G_STEEL_CHONCHON + Name: Steel Chonchon + Level: 48 + Hp: 1199 + Attack: 77 + Attack2: 35 + Defense: 57 + MagicDefense: 20 + Str: 30 + Agi: 62 + Vit: 20 + Int: 10 + Dex: 56 + Luk: 10 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Insect + Element: Wind + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 1076 + AttackMotion: 576 + DamageMotion: 480 + Ai: 02 + - Id: 2598 + AegisName: G_UNGOLIANT + Name: Ungoliant + Level: 94 + Hp: 27070 + Attack: 1296 + Attack2: 144 + Defense: 108 + MagicDefense: 28 + Str: 71 + Agi: 70 + Vit: 58 + Int: 43 + Dex: 110 + Luk: 38 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Insect + Element: Poison + ElementLevel: 2 + WalkSpeed: 350 + AttackDelay: 420 + AttackMotion: 576 + DamageMotion: 420 + Ai: 02 + - Id: 2599 + AegisName: G_WILD_RIDER + Name: Wild Rider + Level: 95 + Hp: 33300 + Attack: 1320 + Attack2: 330 + Defense: 480 + MagicDefense: 22 + Str: 89 + Agi: 124 + Vit: 89 + Int: 56 + Dex: 112 + Luk: 56 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Fish + Element: Water + ElementLevel: 2 + WalkSpeed: 120 + AttackDelay: 432 + AttackMotion: 792 + DamageMotion: 360 + Ai: 02 + - Id: 2600 + AegisName: G_WOLF + Name: Wolf + Level: 45 + Hp: 1219 + Attack: 80 + Attack2: 11 + Defense: 55 + MagicDefense: 3 + Str: 27 + Agi: 24 + Vit: 30 + Int: 15 + Dex: 33 + Luk: 5 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Brute + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1054 + AttackMotion: 504 + DamageMotion: 432 + Ai: 02 + - Id: 2601 + AegisName: G_YOYO + Name: Yoyo + Level: 38 + Hp: 898 + Attack: 63 + Attack2: 11 + Defense: 40 + Str: 20 + Agi: 11 + Vit: 34 + Int: 20 + Dex: 19 + Luk: 10 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Brute + Element: Earth + ElementLevel: 1 + WalkSpeed: 200 + AttackDelay: 1054 + AttackMotion: 54 + DamageMotion: 384 + Ai: 02 + - Id: 2602 + AegisName: G_ZIPPER_BEAR + Name: Zipper Bear + Level: 90 + Hp: 6620 + Attack: 451 + Attack2: 57 + Defense: 130 + MagicDefense: 40 + Str: 68 + Agi: 51 + Vit: 50 + Int: 35 + Dex: 70 + Luk: 20 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Brute + Element: Dark + ElementLevel: 1 + WalkSpeed: 155 + AttackDelay: 780 + AttackMotion: 1008 + DamageMotion: 420 + Ai: 02 - Id: 2603 AegisName: C1_ZOMBIE_SLAUGHTER Name: Swift Zombie Slaughter @@ -76895,52 +77732,255 @@ Body: - Item: Timeholder_Card Rate: 1 StealProtected: true -# - Id: 3075 -# AegisName: WA_TREASURE -# - Id: 3076 -# AegisName: WA_MONSTER_1 -# - Id: 3077 -# AegisName: WA_MONSTER_2 -# - Id: 3078 -# AegisName: WA_MONSTER_3 -# - Id: 3079 -# AegisName: WA_MONSTER_4 -# - Id: 3080 -# AegisName: WA_MONSTER_5 -# - Id: 3081 -# AegisName: WA_MONSTER_6 -# - Id: 3082 -# AegisName: WA_MONSTER_7 -# - Id: 3083 -# AegisName: WA_MONSTER_8 -# - Id: 3084 -# AegisName: WA_MONSTER_9 -# - Id: 3085 -# AegisName: WA_MONSTER_10 -# - Id: 3086 -# AegisName: WA_MERCENARY -# Name: Wa Mercenary -# Level: 101 -# Hp: 20099 -# Attack: 545 -# Attack2: 218 -# Defense: 66 -# MagicDefense: 36 -# Str: 20 -# Agi: 46 -# Vit: 25 -# Int: 35 -# Dex: 64 -# Luk: 30 -# SkillRange: 10 -# ChaseRange: 12 -# Size: Medium -# Race: Demihuman -# Element: Neutral -# ElementLevel: 1 -# WalkSpeed: 230 -# AttackDelay: 1415 -# AttackMotion: 792 + - Id: 3075 + AegisName: WA_TREASURE + Name: Treasure + Level: 1 + Hp: 3 + Attack: 1 + Attack2: 1 + Defense: 100 + Dex: 1199 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Holy + ElementLevel: 1 + Class: Battlefield + Modes: + NoRandomWalk: true + IgnoreMagic: true + IgnoreMelee: true + IgnoreMisc: true + IgnoreRanged: true + KnockBackImmune: true + Drops: + - Item: Vit_Dish06 + Rate: 3000 + - Item: Agi_Dish06 + Rate: 3000 + - Item: Int_Dish06 + Rate: 3000 + - Item: Dex_Dish06 + Rate: 3000 + - Item: Yggdrasilberry + Rate: 1000 + - Id: 3076 + AegisName: WA_MONSTER_1 + Name: Go! + Level: 100 + Hp: 10000 + Defense: 64 + MagicDefense: 50 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 300 + AttackDelay: 1332 + AttackMotion: 288 + DamageMotion: 384 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3077 + AegisName: WA_MONSTER_2 + Name: Go! + Level: 100 + Hp: 10500 + Defense: 64 + MagicDefense: 50 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 300 + AttackDelay: 1332 + AttackMotion: 288 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3078 + AegisName: WA_MONSTER_3 + Name: Go! + Level: 105 + Hp: 11000 + Defense: 106 + MagicDefense: 84 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3079 + AegisName: WA_MONSTER_4 + Name: Go! + Level: 120 + Hp: 12000 + Defense: 66 + MagicDefense: 95 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3080 + AegisName: WA_MONSTER_5 + Name: Go! + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 4 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3081 + AegisName: WA_MONSTER_6 + Name: Go! + Level: 125 + Hp: 14000 + Defense: 80 + MagicDefense: 89 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3082 + AegisName: WA_MONSTER_7 + Name: Go! + Level: 131 + Hp: 15000 + Defense: 85 + MagicDefense: 92 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 2 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3083 + AegisName: WA_MONSTER_8 + Name: Go! + Level: 131 + Hp: 18000 + Defense: 80 + MagicDefense: 86 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 2 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3084 + AegisName: WA_MONSTER_9 + Name: Go! + Level: 135 + Hp: 20000 + Defense: 196 + MagicDefense: 96 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Angel + Element: Holy + ElementLevel: 3 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3085 + AegisName: WA_MONSTER_10 + Name: Go! + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 4 + WalkSpeed: 160 + AttackDelay: 1025 + AttackMotion: 720 + Ai: 25 + Modes: + NoRandomWalk: true + - Id: 3086 + AegisName: WA_MERCENARY + Name: Mercenary + Level: 101 + Hp: 20099 + Attack: 557 + Attack2: 775 + Defense: 66 + MagicDefense: 36 + Str: 20 + Agi: 46 + Vit: 25 + Int: 35 + Dex: 64 + Luk: 30 + SkillRange: 10 + ChaseRange: 12 + Size: Medium + Race: Demihuman + Element: Neutral + ElementLevel: 1 + WalkSpeed: 230 + AttackDelay: 1415 + AttackMotion: 792 + Ai: 24 + Class: Battlefield + Modes: + Aggressive: true + IgnoreMagic: true + IgnoreMelee: true + IgnoreMisc: true + IgnoreRanged: true # - Id: 3087 # AegisName: M_NYDHOG # Name: M Nydhog diff --git a/db/re/skill_nocast_db.txt b/db/re/skill_nocast_db.txt index 2816166058..c530a3a99f 100644 --- a/db/re/skill_nocast_db.txt +++ b/db/re/skill_nocast_db.txt @@ -19,6 +19,7 @@ // 1024 - cannot be used in zone 6 maps // 2048 - cannot be used in zone 7 maps // 4096 - cannot be used in zone 8 maps +// 8192 - cannot be used in zone 9 maps // // Example: // 8,6 // Endure cannot be used in PvP and GvG maps (2+4) @@ -229,3 +230,17 @@ 409,4096 // WE_CALLPARENT 410,4096 // WE_CALLBABY 5063,4096 //WE_CALLALLFAMILY + +//---------------------------------------------------------------------------- +// Zone 9 - Wave Mode +//---------------------------------------------------------------------------- +26,8192 //AL_TELEPORT +87,8192 //WZ_ICEWALL +197,8192 //NPC_EMOTION +219,8192 //RG_INTIMIDATE +405,8192 //PF_SPIDERWEB +474,8192 //NPC_EMOTION_ON +674,8192 //NPC_EXPULSION +2284,8192 //SC_FATALMENACE +2294,8192 //SC_IGNORANCE +2300,8192 //SC_DIMENSIONDOOR diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 8e17aad92c..8f8c0c1a0c 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -143,7 +143,7 @@ to move away from their specified spawn region. Monster name is the name the monsters will have on screen, and has no relation whatsoever to their names anywhere else. It's the mob id that counts, which -identifies monster record in 'mob_db.txt' database of monsters. If the mob name +identifies monster record in 'mob_db.yml' database of monsters. If the mob name is given as "--ja--", the 'japanese name' field from the monster database is used, (which, in rAthena, actually contains an English name) if it's "--en--", it's the 'english name' from the monster database (which contains an uppercase @@ -168,6 +168,7 @@ player who triggers the script must be within 'trigger' range for the event to work. There are two optional fields for monster size and AI. +Natural enemies for AI monsters are normal monsters. can be: Size_Small (0) @@ -182,6 +183,7 @@ There are two optional fields for monster size and AI. AI_ZANZOU (4) (Kagerou/Oboro skill) AI_LEGION (5) (Sera skill) AI_FAW (6) (Mechanic skill) + AI_WAVEMODE (7) Normal monsters will ignore attack from AI_WAVEMODE monsters Alternately, a monster spawned using 'boss_monster' instead of 'monster' is able to be detected on the map with the SC_BOSSMAPINFO status (used by Convex Mirror). @@ -246,7 +248,7 @@ it's facing 5.) Sprite ID is the sprite number or constant used to display this particular NPC. You may also use a monster's ID instead to display a monster sprite for this NPC. It is possible to use a job sprite as well, but you must first define it as a -monster sprite in 'mob_avail.txt', a full description on how to do this is not +monster sprite in 'mob_avail.yml', a full description on how to do this is not in the scope of this manual. A '-1' Sprite ID will make the NPC invisible (and unclickable). A '111' Sprite ID will make an NPC which does not have a sprite, but is still @@ -2954,7 +2956,7 @@ recreate these items perfectly if they are destroyed. Here's what you get: @inventorylist_option_id5[] - fifth array of random option IDs @inventorylist_option_value5[] - fifth array of random option values @inventorylist_option_parameter5[] - fifth array of random option parameters -@inventorylist_tradable - Returns if an item is tradable or not (Pass item_trade.txt, bound, and rental restrictions). +@inventorylist_tradable - Returns if an item is tradable or not (Pass item_db.yml, bound, and rental restrictions). @inventorylist_favorite - Returns if an item is favorite or not This could be handy to save/restore a character's inventory, since no other @@ -3085,7 +3087,7 @@ Examples *mergeitem2({""{,}}); Merge all stackable items that separated by GUID flags -(either by flag 4 item_flag.txt or GUID in item_group). +(UniqueId in item_db or in item_group). If no item ID/name given, all possible items in player's inventory will be merged. --------------------------------------- @@ -3435,7 +3437,7 @@ of his/her guild, or, if a guild ID is specified, of that guild. *getcastlename("") This function returns the name of the castle when given the map name for that -castle. The data is read from 'db/castle_db.txt'. +castle. The data is read from 'db/castle_db.yml'. --------------------------------------- @@ -4781,7 +4783,7 @@ eggs, and may hatch from either, although, I'm not sure what kind of a mess will this really cause. 'getitem3' is advance version of 'getitem2' that also use Item Random Option as additional values. - : Array variable of ID for item random option, see db/[pre-]re/item_randomopt_db.txt + : Array variable of ID for item random option, see db/[pre-]re/item_randomopt_db.yml : Array variable of item random option's value. : Array variable of item random option's param. @@ -4823,7 +4825,7 @@ some cases cannot be traded or stored. For a list of bound types see 'getitembound'. 'getitembound3' is advance version of 'getitembound2' that also use Item Random Option as additional values. - : Array variable of ID for item random option, see db/[pre-]re/item_randomopt_db.txt + : Array variable of ID for item random option, see db/[pre-]re/item_randomopt_db.yml : Array variable of item random option's value. : Array variable of item random option's param. @@ -4889,7 +4891,7 @@ in