diff --git a/db/re/mob_db.yml b/db/re/mob_db.yml index 1ad550d65a..1c11b5cef4 100644 --- a/db/re/mob_db.yml +++ b/db/re/mob_db.yml @@ -96171,34 +96171,519 @@ Body: # AegisName: VH_ENTWEIHEN_S # - Id: 20254 # AegisName: VH_MIMIC -# - Id: 20255 -# AegisName: ILL_TEDDY_BEAR_R -# - Id: 20256 -# AegisName: ILL_TEDDY_BEAR_Y -# - Id: 20257 -# AegisName: ILL_TEDDY_BEAR_G -# - Id: 20258 -# AegisName: ILL_TEDDY_BEAR_W -# - Id: 20259 -# AegisName: ILL_TEDDY_BEAR_B -# - Id: 20260 -# AegisName: ILL_TEDDY_BEAR_S -# - Id: 20261 -# AegisName: ILL_PITMAN -# - Id: 20262 -# AegisName: ILL_MINERAL -# - Id: 20263 -# AegisName: ILL_OBSIDIAN -# - Id: 20264 -# AegisName: G_ILL_TEDDY_BEAR_R -# - Id: 20265 -# AegisName: G_ILL_TEDDY_BEAR_Y -# - Id: 20266 -# AegisName: G_ILL_TEDDY_BEAR_G -# - Id: 20267 -# AegisName: G_ILL_TEDDY_BEAR_W -# - Id: 20268 -# AegisName: G_ILL_TEDDY_BEAR_B + - Id: 20255 + AegisName: ILL_TEDDY_BEAR_R + Name: Red Teddy Bear + Level: 155 + Hp: 328072 + BaseExp: 19972 + JobExp: 22503 + Attack: 2022 + Attack2: 225 + Defense: 212 + MagicDefense: 88 + Str: 132 + Agi: 100 + Vit: 155 + Int: 132 + Dex: 133 + Luk: 132 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Fire + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: NasariansSoulstone + Rate: 1000 + - Item: Iron_Ore + Rate: 2000 + - Item: Oridecon + Rate: 500 + - Item: Bearopy + Rate: 1500 + - Item: Boots_ + Rate: 50 + - Item: Colorful_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20256 + AegisName: ILL_TEDDY_BEAR_Y + Name: Yellow Teddy Bear + Level: 155 + Hp: 294044 + BaseExp: 19384 + JobExp: 23165 + Attack: 1819 + Attack2: 202 + Defense: 200 + MagicDefense: 112 + Str: 102 + Agi: 132 + Vit: 102 + Int: 182 + Dex: 155 + Luk: 102 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Wind + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: Bearopy + Rate: 1500 + - Item: NasariansSoulstone + Rate: 1000 + - Item: Elunium + Rate: 500 + - Item: Screw + Rate: 2500 + - Item: Survival_Rod_ + Rate: 50 + - Item: Colorful_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20257 + AegisName: ILL_TEDDY_BEAR_G + Name: Green Teddy Bear + Level: 157 + Hp: 331960 + BaseExp: 21646 + JobExp: 25117 + Attack: 2113 + Attack2: 235 + Defense: 227 + MagicDefense: 110 + Str: 129 + Agi: 128 + Vit: 141 + Int: 173 + Dex: 158 + Luk: 129 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Poison + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 708 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: Bearopy + Rate: 1500 + - Item: NasariansSoulstone + Rate: 1000 + - Item: Green_Bearopy + Rate: 500 + - Item: Green_Herb + Rate: 2500 + - Item: Colorful_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20258 + AegisName: ILL_TEDDY_BEAR_W + Name: White Teddy Bear + Level: 155 + Hp: 311841 + BaseExp: 20334 + JobExp: 23595 + Attack: 1985 + Attack2: 221 + Defense: 213 + MagicDefense: 103 + Str: 121 + Agi: 120 + Vit: 133 + Int: 162 + Dex: 149 + Luk: 121 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: Bearopy + Rate: 2500 + - Item: NasariansSoulstone + Rate: 1500 + - Item: Oridecon_Hammer + Rate: 500 + - Item: Steel + Rate: 250 + - Item: Survival_Rod2_ + Rate: 50 + - Item: Colorful_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20259 + AegisName: ILL_TEDDY_BEAR_B + Name: Blue Teddy Bear + Level: 152 + Hp: 280657 + BaseExp: 18300 + JobExp: 21235 + Attack: 1786 + Attack2: 198 + Defense: 192 + MagicDefense: 93 + Str: 109 + Agi: 108 + Vit: 120 + Int: 146 + Dex: 134 + Luk: 109 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Water + ElementLevel: 1 + WalkSpeed: 300 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: Bearopy + Rate: 1500 + - Item: Screw + Rate: 2500 + - Item: Iron + Rate: 1000 + - Item: Blue_Herb + Rate: 500 + - Item: Chonchon_Doll_HQ + Rate: 1000 + - Item: Colorful_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20260 + AegisName: ILL_TEDDY_BEAR_S + Name: Shining Teddy Bear + Level: 160 + Hp: 10724874 + BaseExp: 1793444 + JobExp: 1618614 + Attack: 4168 + Attack2: 2895 + Defense: 313 + MagicDefense: 152 + Str: 178 + Agi: 176 + Vit: 195 + Int: 238 + Dex: 219 + Luk: 178 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Formless + Element: Holy + ElementLevel: 4 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 21 + Drops: + - Item: Elunium + Rate: 2000 + - Item: Oridecon + Rate: 2000 + - Item: Clay_Doll + Rate: 1500 + - Item: Counter_Dagger + Rate: 300 + - Item: Screw + Rate: 4000 + - Item: Shining_T_Bear_Card + Rate: 1 + StealProtected: true + - Id: 20261 + AegisName: ILL_PITMAN + Name: Hardworking Pitman + Level: 154 + Hp: 305605 + Attack: 1945 + Attack2: 216 + Defense: 209 + MagicDefense: 101 + Str: 118 + Agi: 117 + Vit: 130 + Int: 159 + Dex: 146 + Luk: 118 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Large + Race: Demon + Element: Earth + ElementLevel: 2 + WalkSpeed: 180 + AttackDelay: 960 + AttackMotion: 336 + DamageMotion: 300 + Ai: 04 + Drops: + - Item: Old_Pick + Rate: 1500 + - Item: Old_Steel_Plate + Rate: 250 + - Item: Lantern + Rate: 2500 + - Item: Gun_Powder + Rate: 1000 + - Item: Gate_KeeperDD + Rate: 50 + - Item: Pitman_Worker_Card + Rate: 1 + StealProtected: true + - Id: 20262 + AegisName: ILL_MINERAL + Name: Soul Fragment + Level: 153 + Hp: 290324 + BaseExp: 18931 + JobExp: 21967 + Attack: 1847 + Attack2: 205 + Defense: 198 + MagicDefense: 96 + Str: 113 + Agi: 112 + Vit: 124 + Int: 151 + Dex: 139 + Luk: 113 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 2 + WalkSpeed: 250 + AttackDelay: 648 + AttackMotion: 480 + DamageMotion: 360 + Ai: 04 + Drops: + - Item: Fragment_Of_Crystal + Rate: 2500 + - Item: Golden_Jewel + Rate: 250 + - Item: Gothic_China_Doll + Rate: 1000 + - Item: Yellow_Gemstone + Rate: 300 + - Item: Fragment_Of_Soul_Card + Rate: 1 + StealProtected: true + - Id: 20263 + AegisName: ILL_OBSIDIAN + # Name: Sinister Dwelling Obsidian + Name: Sinister Obsidian + Level: 156 + Hp: 318593 + Attack: 2027 + Attack2: 225 + Defense: 217 + MagicDefense: 106 + Str: 124 + Agi: 122 + Vit: 136 + Int: 166 + Dex: 152 + Luk: 124 + AttackRange: 1 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Earth + ElementLevel: 2 + WalkSpeed: 350 + AttackDelay: 720 + AttackMotion: 864 + DamageMotion: 504 + Ai: 04 + Drops: + - Item: Dark_Crystal_Fragment + Rate: 1500 + - Item: Crystal_Jewel + Rate: 250 + - Item: Coal + Rate: 250 + - Item: Elunium + Rate: 40 + - Item: Sinister_Obsidian_Card + Rate: 1 + StealProtected: true + - Id: 20264 + AegisName: G_ILL_TEDDY_BEAR_R + Name: Red Teddy Bear + Level: 155 + Hp: 309520 + Attack: 2022 + Attack2: 225 + Defense: 212 + MagicDefense: 88 + Str: 132 + Agi: 100 + Vit: 155 + Int: 132 + Dex: 133 + Luk: 132 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Fire + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 24 + - Id: 20265 + AegisName: G_ILL_TEDDY_BEAR_Y + Name: Yellow Teddy Bear + Level: 155 + Hp: 294044 + Attack: 1819 + Attack2: 202 + Defense: 200 + MagicDefense: 112 + Str: 102 + Agi: 132 + Vit: 102 + Int: 182 + Dex: 155 + Luk: 102 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Wind + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 24 + - Id: 20266 + AegisName: G_ILL_TEDDY_BEAR_G + Name: Green Teddy Bear + Level: 157 + Hp: 331960 + Attack: 2113 + Attack2: 235 + Defense: 227 + MagicDefense: 110 + Str: 129 + Agi: 128 + Vit: 141 + Int: 173 + Dex: 158 + Luk: 129 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Poison + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 24 + - Id: 20267 + AegisName: G_ILL_TEDDY_BEAR_W + Name: White Teddy Bear + Level: 155 + Hp: 311841 + Attack: 1985 + Attack2: 221 + Defense: 213 + MagicDefense: 103 + Str: 121 + Agi: 120 + Vit: 133 + Int: 162 + Dex: 149 + Luk: 121 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Neutral + ElementLevel: 1 + WalkSpeed: 150 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 24 + - Id: 20268 + AegisName: G_ILL_TEDDY_BEAR_B + Name: Blue Teddy Bear + Level: 152 + Hp: 280657 + Attack: 1786 + Attack2: 198 + Defense: 192 + MagicDefense: 93 + Str: 109 + Agi: 108 + Vit: 120 + Int: 146 + Dex: 134 + Luk: 109 + AttackRange: 2 + SkillRange: 10 + ChaseRange: 12 + Size: Small + Race: Formless + Element: Water + ElementLevel: 1 + WalkSpeed: 300 + AttackDelay: 512 + AttackMotion: 780 + DamageMotion: 504 + Ai: 24 - Id: 20269 AegisName: GUILD_SKILL_FLAG Name: Guild Skill Flag diff --git a/db/re/mob_skill_db.txt b/db/re/mob_skill_db.txt index a57f29caf0..52c9eb2ad4 100644 --- a/db/re/mob_skill_db.txt +++ b/db/re/mob_skill_db.txt @@ -13105,6 +13105,108 @@ 20280,G_ILL_WOOTAN_FIGHTER@KN_BRANDISHSPEAR,attack,57,5,2000,0,10000,yes,target,always,0,,,,,,6, 20280,G_ILL_WOOTAN_FIGHTER@NPC_FIREATTACK,attack,186,4,1000,0,5000,yes,target,always,0,,,,,,, +// Illusion of Teddy Bear +20255,ILL_TEDDY_BEAR_R@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20255,ILL_TEDDY_BEAR_R@NPC_CURSEATTACK,chase,181,3,1000,500,5000,no,target,always,0,,,,,,2, +20255,ILL_TEDDY_BEAR_R@NPC_CRITICALSLASH,attack,170,1,1500,500,5000,no,target,always,0,,,,,,6, +20255,ILL_TEDDY_BEAR_R@NPC_FIREATTACK,attack,186,2,1000,0,5000,yes,target,always,0,,,,,,37, +20255,ILL_TEDDY_BEAR_R@BS_HAMMERFALL,attack,110,5,500,1500,5000,no,target,always,0,,,,,,8, +20256,ILL_TEDDY_BEAR_Y@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20256,ILL_TEDDY_BEAR_Y@MG_LIGHTNINGBOLT,chase,20,2,1500,1000,5000,no,target,always,0,,,,,,, +20256,ILL_TEDDY_BEAR_Y@NPC_CURSEATTACK,chase,181,5,1000,500,5000,no,target,always,0,,,,,,2, +20256,ILL_TEDDY_BEAR_Y@WZ_VERMILION,attack,85,3,500,1500,10000,no,target,always,0,,,,,,6, +20256,ILL_TEDDY_BEAR_Y@WZ_STORMGUST,attack,89,3,1000,1500,10000,no,target,always,0,,,,,,37, +20256,ILL_TEDDY_BEAR_Y@HW_GANBANTEIN,attack,483,1,1000,0,5000,no,target,skillused,18,,,,,,8, +20256,ILL_TEDDY_BEAR_Y@MG_LIGHTNINGBOLT,attack,20,3,500,1500,10000,no,target,always,0,,,,,,, +20257,ILL_TEDDY_BEAR_G@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20257,ILL_TEDDY_BEAR_G@NPC_BLOODDRAIN,chase,199,1,1500,0,5000,yes,target,always,0,,,,,,, +20257,ILL_TEDDY_BEAR_G@NPC_CLOUD_KILL,attack,739,3,500,1500,20000,no,target,always,0,,,,,,6, +20258,ILL_TEDDY_BEAR_W@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20258,ILL_TEDDY_BEAR_W@NPC_CHEAL,chase,729,5,3000,500,3000,no,self,friendhpltmaxrate,99,,,,,,, +20258,ILL_TEDDY_BEAR_W@NPC_CHEAL,chase,729,5,3000,500,3000,no,self,myhpltmaxrate,99,,,,,,, +20258,ILL_TEDDY_BEAR_W@NPC_CHEAL,attack,729,5,1500,500,5000,no,self,always,0,,,,,,2, +20258,ILL_TEDDY_BEAR_W@AL_HEAL,attack,28,9,2000,0,2000,yes,friend,friendhpltmaxrate,99,,,,,,, +20258,ILL_TEDDY_BEAR_W@AL_HEAL,attack,28,9,2000,0,2000,yes,friend,myhpltmaxrate,99,,,,,,3, +20258,ILL_TEDDY_BEAR_W@AM_POTIONPITCHER,attack,231,4,5000,500,5000,no,friend,friendhpltmaxrate,60,,,,,,, +20258,ILL_TEDDY_BEAR_W@AM_POTIONPITCHER,attack,231,4,5000,500,5000,no,friend,myhpltmaxrate,30,,,,,,5, +20258,ILL_TEDDY_BEAR_W@NPC_ALLHEAL,attack,687,1,10000,5000,30000,no,self,myhpltmaxrate,10,,,,,,6, +20258,ILL_TEDDY_BEAR_W@CR_HOLYCROSS,attack,253,5,500,0,5000,yes,target,always,0,,,,,,32, +20259,ILL_TEDDY_BEAR_B@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20259,ILL_TEDDY_BEAR_B@MG_COLDBOLT,chase,14,2,1500,1000,5000,no,target,always,0,,,,,,23, +20259,ILL_TEDDY_BEAR_B@NPC_STORMGUST2,attack,723,1,500,1500,10000,no,target,always,0,,,,,,20, +20259,ILL_TEDDY_BEAR_B@NPC_WATERATTACK,attack,184,2,1500,0,5000,yes,target,always,0,,,,,,6, +20259,ILL_TEDDY_BEAR_B@MG_COLDBOLT,attack,14,3,500,1500,10000,no,target,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_AGIUP,attack,350,1,5000,0,20000,yes,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_BLEEDING2,attack,764,5,2000,500,10000,no,target,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_CRITICALWOUND,attack,673,3,1000,500,20000,no,target,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_WIDESIGHT,attack,669,1,10000,0,30000,yes,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_WEAPONBRAKER,attack,343,1,10000,0,40000,yes,target,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_DARKBREATH,attack,202,5,2000,3000,10000,no,target,myhpltmaxrate,60,,,,,,0, +20260,ILL_TEDDY_BEAR_S@CR_HOLYCROSS,attack,253,10,500,0,5000,yes,target,always,0,,,,,,32, +20260,ILL_TEDDY_BEAR_S@NPC_CALLSLAVE,attack,352,1,10000,0,30000,yes,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_CALLSLAVE,idle,352,1,10000,0,10000,yes,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_CALLSLAVE,chase,352,1,10000,0,5000,yes,self,always,0,,,,,,, +// 20260,ILL_TEDDY_BEAR_S@NPC_EARTHQUAKE_K,attack,750,5,1500,2000,20000,no,target,myhpltmaxrate,30,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_EARTHQUAKE,attack,653,5,1500,2000,20000,no,target,myhpltmaxrate,30,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_PULSESTRIKE,attack,661,5,3000,3000,20000,no,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@NPC_SUMMONSLAVE,idle,196,1,10000,1000,30000,no,self,slavele,1,20255,20256,20257,20259,,, +20260,ILL_TEDDY_BEAR_S@NPC_SUMMONSLAVE,attack,196,1,5000,1000,30000,no,self,slavele,1,20255,20256,20257,20259,,, +20260,ILL_TEDDY_BEAR_S@NPC_POWERUP,attack,349,5,10000,0,60000,yes,self,myhpltmaxrate,20,,,,,,6, +20260,ILL_TEDDY_BEAR_S@NPC_GRANDDARKNESS,attack,339,10,3000,1000,5000,no,self,always,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@AL_TELEPORT,walk,26,1,5000,0,10000,yes,self,rudeattacked,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@AL_TELEPORT,chase,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20260,ILL_TEDDY_BEAR_S@SA_LANDPROTECTOR,attack,288,2,3000,1000,10000,no,target,groundattacked,0,,,,,,6, +20260,ILL_TEDDY_BEAR_S@AL_PNEUMA,attack,25,1,3000,0,5000,yes,target,longrangeattacked,0,,,,,,18, +20261,ILL_PITMAN@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20261,ILL_PITMAN@AL_TELEPORT,chase,26,1,5000,0,5000,yes,self,mobnearbygt,4,,,,,,, +20261,ILL_PITMAN@NPC_SILENCEATTACK,chase,178,3,500,0,5000,no,target,always,0,,,,,,6, +20261,ILL_PITMAN@NPC_COMBOATTACK,attack,171,3,500,700,5000,no,target,always,0,,,,,,, +20261,ILL_PITMAN@TF_SPRINKLESAND,attack,149,1,500,0,5000,no,target,always,0,,,,,,6, +20261,ILL_PITMAN@SM_MAGNUM,attack,7,3,1000,0,20000,yes,self,always,0,,,,,,32, +20261,ILL_PITMAN@NPC_GUIDEDATTACK,attack,172,3,2000,0,15000,yes,target,always,0,,,,,,37, +20262,ILL_MINERAL@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,0,,,,,,, +20262,ILL_MINERAL@AS_GRIMTOOTH,idle,137,3,5000,0,500,yes,target,mystatuson,0,,,,,,, +20262,ILL_MINERAL@AL_HEAL,idle,28,9,5000,0,1500,yes,friend,mystatuson,0,,,,,,18, +20262,ILL_MINERAL@TF_HIDING,chase,51,1,2000,0,10000,yes,self,always,0,,,,,,19, +20262,ILL_MINERAL@TF_HIDING,chase,51,1,10000,0,10000,yes,self,myhpltmaxrate,30,,,,,,19, +20262,ILL_MINERAL@AL_TELEPORT,chase,26,1,5000,0,5000,yes,self,mobnearbygt,4,,,,,,, +20262,ILL_MINERAL@NPC_COMBOATTACK,attack,171,3,500,700,5000,no,target,always,0,,,,,,, +20262,ILL_MINERAL@TF_SPRINKLESAND,attack,149,1,500,0,5000,no,target,always,0,,,,,,6, +20262,ILL_MINERAL@NPC_GUIDEDATTACK,attack,172,3,2000,0,15000,yes,target,always,0,,,,,,37, +20262,ILL_MINERAL@NPC_RANDOMATTACK,attack,183,2,1500,500,5000,yes,target,always,0,,,,,,, +20263,ILL_OBSIDIAN@TF_HIDING,idle,51,1,500,500,5000,yes,self,always,0,,,,,,19, +20263,ILL_OBSIDIAN@AS_GRIMTOOTH,idle,137,3,5000,0,500,yes,target,mystatuson,0,,,,,,, +20263,ILL_OBSIDIAN@WZ_EARTHSPIKE,chase,90,3,1500,500,5000,no,target,always,0,,,,,,, +20263,ILL_OBSIDIAN@CR_SHIELDCHARGE,attack,250,3,1000,1000,5000,no,target,always,0,,,,,,, +20263,ILL_OBSIDIAN@NPC_GROUNDATTACK,attack,185,2,500,500,5000,yes,target,always,0,,,,,,, +20263,ILL_OBSIDIAN@TF_HIDING,attack,51,1,500,500,50000,yes,self,always,0,,,,,,19, +20264,G_ILL_TEDDY_BEAR_R@NPC_CURSEATTACK,chase,181,3,1000,500,5000,no,target,always,0,,,,,,2, +20264,G_ILL_TEDDY_BEAR_R@NPC_CRITICALSLASH,attack,170,1,1500,500,5000,no,target,always,0,,,,,,6, +20264,G_ILL_TEDDY_BEAR_R@NPC_FIREATTACK,attack,186,5,1000,0,5000,yes,target,always,0,,,,,,37, +20264,G_ILL_TEDDY_BEAR_R@BS_HAMMERFALL,attack,110,5,500,1500,5000,no,target,always,0,,,,,,8, +20265,G_ILL_TEDDY_BEAR_Y@MG_LIGHTNINGBOLT,chase,20,2,1500,1000,5000,no,target,always,0,,,,,,, +20265,G_ILL_TEDDY_BEAR_Y@NPC_CURSEATTACK,chase,181,5,1000,500,5000,no,target,always,0,,,,,,2, +20265,G_ILL_TEDDY_BEAR_Y@WZ_VERMILION,attack,85,3,500,1500,10000,no,target,always,0,,,,,,6, +20265,G_ILL_TEDDY_BEAR_Y@WZ_STORMGUST,attack,89,3,1000,1500,10000,no,target,always,0,,,,,,37, +20265,G_ILL_TEDDY_BEAR_Y@HW_GANBANTEIN,attack,483,1,1000,0,5000,no,target,skillused,18,,,,,,8, +20265,G_ILL_TEDDY_BEAR_Y@MG_LIGHTNINGBOLT,attack,20,3,500,1500,10000,no,target,always,0,,,,,,, +20266,G_ILL_TEDDY_BEAR_G@NPC_BLOODDRAIN,chase,199,1,1500,0,5000,yes,target,always,0,,,,,,, +20266,G_ILL_TEDDY_BEAR_G@NPC_CLOUD_KILL,attack,739,3,500,1500,20000,no,target,always,0,,,,,,6, +20267,G_ILL_TEDDY_BEAR_W@NPC_CHEAL,chase,729,5,3000,500,3000,no,self,friendhpltmaxrate,99,,,,,,, +20267,G_ILL_TEDDY_BEAR_W@NPC_CHEAL,chase,729,5,3000,500,3000,no,self,myhpltmaxrate,99,,,,,,, +20267,G_ILL_TEDDY_BEAR_W@NPC_CHEAL,attack,729,5,1500,500,5000,no,self,always,0,,,,,,2, +20267,G_ILL_TEDDY_BEAR_W@AL_HEAL,attack,28,9,2000,0,2000,yes,friend,friendhpltmaxrate,99,,,,,,, +20267,G_ILL_TEDDY_BEAR_W@AL_HEAL,attack,28,9,2000,0,2000,yes,friend,myhpltmaxrate,99,,,,,,3, +20267,G_ILL_TEDDY_BEAR_W@AM_POTIONPITCHER,attack,231,4,5000,500,5000,no,friend,friendhpltmaxrate,60,,,,,,, +20267,G_ILL_TEDDY_BEAR_W@AM_POTIONPITCHER,attack,231,4,5000,500,5000,no,friend,myhpltmaxrate,30,,,,,,5, +20267,G_ILL_TEDDY_BEAR_W@NPC_ALLHEAL,attack,687,1,10000,5000,30000,no,self,myhpltmaxrate,10,,,,,,6, +20267,G_ILL_TEDDY_BEAR_W@CR_HOLYCROSS,attack,253,5,500,0,5000,yes,target,always,0,,,,,,32, +20268,G_ILL_TEDDY_BEAR_B@MG_COLDBOLT,chase,14,2,1500,1000,5000,no,target,always,0,,,,,,23, +20268,G_ILL_TEDDY_BEAR_B@NPC_STORMGUST2,attack,723,1,500,1500,10000,no,target,always,0,,,,,,20, +20268,G_ILL_TEDDY_BEAR_B@NPC_WATERATTACK,attack,184,2,1500,0,5000,yes,target,always,0,,,,,,6, +20268,G_ILL_TEDDY_BEAR_B@MG_COLDBOLT,attack,14,3,500,1500,10000,no,target,always,0,,,,,,, + // Episode 17.1 - Illusion (custom) #!todo 20340,EL-A17T@NPC_AGIUP,chase,350,5,2000,0,60000,no,self,always,0,,,,,,6, 20340,EL-A17T@NPC_POWERUP,attack,349,5,2000,0,60000,no,self,always,0,,,,,,6, diff --git a/db/re/quest_db.yml b/db/re/quest_db.yml index f07aa5d0d7..627fe46f13 100644 --- a/db/re/quest_db.yml +++ b/db/re/quest_db.yml @@ -8038,14 +8038,74 @@ Body: - Id: 11555 Title: In search of the taste of hometown - Waiting TimeLimit: 4h + - Id: 11556 + Title: Missing Steven + - Id: 11557 + Title: Missing Steven + - Id: 11558 + Title: Missing Steven + - Id: 11559 + Title: Missing Steven + - Id: 11560 + Title: Missing Steven + - Id: 11561 + Title: Missing Steven + - Id: 11562 + Title: Missing Steven + - Id: 11563 + Title: Nasarian Conspiracy + Targets: + - Mob: ILL_TEDDY_BEAR_R + Count: 10 + - Mob: ILL_TEDDY_BEAR_Y + Count: 10 + - Mob: ILL_TEDDY_BEAR_G + Count: 10 + - Id: 11564 + Title: Nasarian Conspiracy + Targets: + - Mob: ILL_TEDDY_BEAR_B + Count: 10 + - Mob: ILL_TEDDY_BEAR_W + Count: 10 + - Id: 11565 + Title: RUN! + Targets: + - Mob: ILL_PITMAN + Count: 10 + - Mob: ILL_MINERAL + Count: 10 + - Mob: ILL_OBSIDIAN + Count: 10 - Id: 11566 - Title: Escape!!!! - Wait + Title: RUN! - Pending TimeLimit: 4h + - Id: 11567 + Title: Things That Shouldn't Exist + Targets: + - Mob: ILL_TEDDY_BEAR_R + Count: 10 + - Mob: ILL_TEDDY_BEAR_Y + Count: 10 + - Mob: ILL_TEDDY_BEAR_G + Count: 10 + - Id: 11568 + Title: Things That Shouldn't Exist + Targets: + - Mob: ILL_TEDDY_BEAR_B + Count: 10 + - Mob: ILL_TEDDY_BEAR_W + Count: 10 - Id: 11569 - Title: Present not to exist-wait + Title: Things That Shouldn't Exist - Pending TimeLimit: 4h + - Id: 11570 + Title: Let the Light Devour the Darkness + Targets: + - Mob: ILL_TEDDY_BEAR_S + Count: 1 - Id: 11571 - Title: Let the light consume the darkness - Wait + Title: Let the Light Devour the Darkness - Pending TimeLimit: 4h - Id: 11596 Title: Old Memories diff --git a/npc/re/merchants/barters/enchan_illusion_dungeons.yml b/npc/re/merchants/barters/enchan_illusion_dungeons.yml index d5ca64d39a..840834d0b6 100644 --- a/npc/re/merchants/barters/enchan_illusion_dungeons.yml +++ b/npc/re/merchants/barters/enchan_illusion_dungeons.yml @@ -828,3 +828,89 @@ Body: - Index: 3 Item: Token_Of_Bigstone Amount: 150 + - Name: barter_ill_teddy + Items: + - Index: 0 + Item: Counter_Dagger_IL + RequiredItems: + - Index: 0 + Item: Counter_Dagger + Refine: 9 + - Index: 1 + Item: IllusionStone + Amount: 95 + - Index: 2 + Item: Green_Bearopy + Amount: 75 + - Index: 3 + Item: Chonchon_Doll_HQ + Amount: 50 + - Index: 1 + Item: Gate_KeeperDD_IL + RequiredItems: + - Index: 0 + Item: Gate_KeeperDD + Refine: 9 + - Index: 1 + Item: IllusionStone + Amount: 95 + - Index: 2 + Item: Gothic_China_Doll + Amount: 75 + - Index: 3 + Item: NasariansSoulstone + Amount: 150 + - Index: 2 + Item: Survival_Staff_IL + RequiredItems: + - Index: 0 + Item: Survival_Rod_ + Refine: 9 + - Index: 1 + Item: Survival_Rod2_ + Refine: 9 + - Index: 2 + Item: IllusionStone + Amount: 125 + - Index: 3 + Item: Gothic_China_Doll + Amount: 100 + - Index: 4 + Item: Chonchon_Doll_HQ + Amount: 100 + - Index: 5 + Item: Clay_Doll + Amount: 15 + - Index: 3 + Item: Boots_IL + RequiredItems: + - Index: 0 + Item: Boots_ + Refine: 9 + - Index: 1 + Item: IllusionStone + Amount: 85 + - Index: 2 + Item: Green_Bearopy + Amount: 50 + - Index: 3 + Item: Gothic_China_Doll + Amount: 50 + - Index: 4 + Item: Headband_Of_Power_IL + RequiredItems: + - Index: 0 + Item: Headband_Of_Power + Refine: 9 + - Index: 1 + Item: IllusionStone + Amount: 115 + - Index: 2 + Item: NasariansSoulstone + Amount: 100 + - Index: 3 + Item: Chonchon_Doll_HQ + Amount: 50 + - Index: 4 + Item: Clay_Doll + Amount: 5 diff --git a/npc/re/merchants/enchan_illusion_dungeons.txt b/npc/re/merchants/enchan_illusion_dungeons.txt index 853f7a1af8..9b42e04c00 100644 --- a/npc/re/merchants/enchan_illusion_dungeons.txt +++ b/npc/re/merchants/enchan_illusion_dungeons.txt @@ -15,6 +15,7 @@ //= 1.6 Added Illusion of Underwater exchange [Capuche] //= 1.7 Added Illusion of Twins enchanter [Capuche] //= 1.8 Added Illusion Merchant [Haydrich] +//= 1.9 Added Illusion of Teddy Bear exchange [Atemo] //============================================================ //============================================================ @@ -884,3 +885,53 @@ OnInit: npcshopupdate "market_resonance_stone",100004,2000000,99999; end; } + + +//============================================================ +//= Illusion of Teddy Bear +//============================================================ + +ein_d02_i,177,158,3 script Bear Wanting Illusion Stone#ITB 4_NASARIAN,{ + .@item_name$ = getitemname(25271); // IllusionStone + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "If you give me an " + .@item_name$ + ", I'll do something nice for you!"; + next; + switch( select( "Reason for being here", "Good thing [Illusion equipment]", "Quit" ) ) { + case 1: + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "I don't know why...!"; + mes "The other teddy bears were in line, so I was in line too!"; + mes "Whoaaaaaa!!!!"; + mes "I didn't know it was here!"; + next; + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "A teddy bear with an " + .@item_name$ + "!"; + mes "Strong!"; + mes "I don't have any " + .@item_name$ + "s!"; + mes "Less... stronger..."; + next; + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "What are " + .@item_name$ + "s?"; + mes "I don't know but I want some!"; + close; + case 2: + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "Makes you good with what you have!"; + next; + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "If you want to do well, bring equipment refined to ^ff0000+9 or higher. It'll all disappear... haha?^000000"; + next; + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "^ff0000" + .@item_name$ + "^000000!!! " + .@item_name$ + " is the most important thing, but... other materials are also needed."; + mes "For every good thing you need another good thing."; + next; + close2; + callshop( "barter_ill_teddy" ); + end; + case 3: + mes "[Bear Wanting " + .@item_name$ + "]"; + mes "Okay..."; + close; + } + end; +} diff --git a/npc/re/mobs/dungeons/ein_dun.txt b/npc/re/mobs/dungeons/ein_dun.txt index dfade4a99f..c62aa01fe7 100644 --- a/npc/re/mobs/dungeons/ein_dun.txt +++ b/npc/re/mobs/dungeons/ein_dun.txt @@ -14,6 +14,7 @@ //= 1.3 Official kRO 10.1 spawns [Playtester] //= 1.4 More accurate spawns [Playtester] //= 1.5 Corrected MVP spawn variance. [L0ne_W0lf] +//= 1.6 Added Illusion of Teddy Bear. [Atemo] //============================================================ //================================================== @@ -49,3 +50,46 @@ ein_dun03 monster White Porcellio 20602,22 ein_dun03 monster Jeweliant 20598,20 ein_dun03 monster Jewel 20600,3 ein_dun03 boss_monster Jungoliant 20601,1,7200000,600000,0 + +//================================================== +// Illusion of Teddy Bear +//================================================== +ein_d02_i monster Red Teddybear 20255,25,5000,0,"ein_d02_i_boss::OnMobDead" +ein_d02_i monster Yellow Teddybear 20256,25,5000,0,"ein_d02_i_boss::OnMobDead" +ein_d02_i monster Green Teddybear 20257,25,5000,0,"ein_d02_i_boss::OnMobDead" +ein_d02_i monster White Teddybear 20258,20,5000,0,"ein_d02_i_boss::OnMobDead" +ein_d02_i monster Blue Teddybear 20259,20,5000,0,"ein_d02_i_boss::OnMobDead" +ein_d02_i monster Pitman Labor Type 20261,20 +ein_d02_i monster Piece of Spirit 20262,15 +ein_d02_i monster Spirit Dwelling Obsidian 20263,15 + +- script ein_d02_i_boss -1,{ + end; +OnMobDead: + if (playerattached()) { + if (.count < 2500) + .count++; + if (!.boss_spawn && !.cooldown && .count == 2500) { + .boss_spawn = true; + .count = 0; + killmonster "ein_d02_i", "ein_d02_i_boss::OnBossDeath"; + // mapannounce "ein_d02_i", "", bc_map; // Unknown text + getunitdata( killedgid, .@data ); + monster "ein_d02_i", .@data[UMOB_X], .@data[UMOB_Y], "--ja--", 20260,1, "ein_d02_i_boss::OnBossDeath"; // ILL_TEDDY_BEAR_S + end; + } + } + end; +OnBossDeath: + // (no announce) + killmonster "ein_d02_i", "ein_d02_i_boss::OnBossDeath"; + .boss_spawn = false; + .cooldown = true; + initnpctimer; + end; + +OnTimer7200000: + .cooldown = false; + stopnpctimer; + end; +} diff --git a/npc/re/quests/illusion_investigation.txt b/npc/re/quests/illusion_investigation.txt index ea17339fc9..6ea3e57d38 100644 --- a/npc/re/quests/illusion_investigation.txt +++ b/npc/re/quests/illusion_investigation.txt @@ -618,7 +618,6 @@ OnInit: end; } -/* ein_d02_i,161,180,5 script Machoko#machoco 8_F_GIRL,{ if (BaseLevel < 150) end; @@ -767,7 +766,6 @@ OnInit: questinfo( QTYPE_DAILYQUEST, QMARK_YELLOW, "checkquest(3457,PLAYTIME) == 2" ); end; } -*/ tur_d03_i,125,186,5 script Orian#orian 4_M_LGTPOOR,{ if (BaseLevel < 150) diff --git a/npc/re/quests/quests_illusion_dungeons.txt b/npc/re/quests/quests_illusion_dungeons.txt index ef3e4dee43..090cc733a8 100644 --- a/npc/re/quests/quests_illusion_dungeons.txt +++ b/npc/re/quests/quests_illusion_dungeons.txt @@ -14,6 +14,7 @@ //= 1.5 Added Illusion of Luanda [Capuche] //= 1.6 Added Illusion of Underwater [Capuche] //= 1.7 Added Illusion of Twins [Capuche] +//= 1.8 Added Illusion of Teddy Bear [Atemo] //============================================================ //============================================================ @@ -11811,3 +11812,996 @@ ant_d02_i,125,73,6 script(CLOAKED) Vitata#part9 ILL_VITATA,{ ant_d02_i,128,73,6 duplicate(dummy_cloaked_npc) Quiet Maya#part10 ILL_MAYA ant_d02_i,129,73,2 duplicate(dummy_cloaked_npc) Vitata#part11 ILL_VITATA + + +//============================================================ +//= Illusion of Teddy Bear +//============================================================ + +ein_d02_i,161,189,3 script Exit#IBTin 4_ENERGY_BLUE,{ + warp "ein_dun01",189,80; + end; +} + +einbroch,149,242,5 script Coughing young man#ITB 4_M_NFMAN,3,3,{ + if (BaseLevel < 150) { + mes "[Coughing young man]"; + mes "The time has passed..."; + mes "Why haven't you come back yet..."; + mes "Cough Cough!!"; + next; + mes "^ff0000�� You can start this quest from level 150.^000000"; + close; + } + if (ill_teddy == 0) { + mes "[Coughing young man]"; + mes "The time has passed..."; + mes "Why haven't you come back yet..."; + mes "Cough Cough!!"; + next; + mes "[Coughing young man]"; + mes "Cough...cough...cough..."; + mes "Ha ha ha... did something happen?"; + mes "If I don't go and check it myself..."; + mes "Cough cough"; + mes "Cough...lucky..."; + next; + mes "-plop-"; + next; + if (select( "Help him", "Ignore" ) == 2) { + mes "[Coughing young man]"; + mes "...cough..."; + mes "Cough cough... cough"; + close; + } + mes "[Coughing young man]"; + mes "...cough..."; + mes "Thank you."; + mes "Cough cough... cough"; + next; + select( "You'd better take a break" ); + mes "[Coughing young man]"; + mes "Cough..."; + mes "That's true, but... Cough... My friend who went to the mine for work hasn't come back yet... Cough."; + next; + mes "[Coughing young man]"; + mes "A few days ago, as soon as work was over... he left... he said he would come back..."; + mes "He hasn't come back...cough...yet."; + next; + mes "[Coughing young man]"; + mes "Cough...cough cough...cough"; + mes "I've talked to the guards, but...cough...cough...they didn't take it seriously..."; + next; + mes "[Coughing young man]"; + mes "^ff0000Steven^000000 is not that kind of guy...Cough cough"; + mes "If he hasn't contacted me yet, something must have happened."; + next; + mes "[Coughing young man]"; + mes "It seemed like he was going to ^ff0000the first floor of the mine in Einbech^000000."; + mes "If you look around, maybe you'll find a clue...even if it's just a small thing?"; + ill_teddy = 1; + setquest 11556; + close; + } + if (ill_teddy == 1) { + mes "[Coughing young man]"; + mes "A few days ago, as soon as work was over... he left... he said he would come back..."; + mes "He hasn't come back...cough...yet."; + next; + mes "[Coughing young man]"; + mes "Cough...cough cough...cough"; + mes "I've talked to the guards, but...cough...cough...they didn't take it seriously..."; + next; + mes "[Coughing young man]"; + mes "^ff0000Steven^000000 is not that kind of guy...Cough cough"; + mes "If he hasn't contacted me yet, something must have happened."; + next; + mes "[Coughing young man]"; + mes "It seemed like he was going to ^ff0000the first floor of the mine in Einbech^000000."; + mes "If you look around, maybe you'll find a clue...even if it's just a small thing?"; + close; + } + if (ill_teddy < 5) { + mes "[Coughing young man]"; + mes "Ah! Cough Cough!"; + mes "You're back!"; + mes "Steven is...cough"; + mes "Did you find him?"; + close; + } + if (ill_teddy == 5) { + mes "[Acid]"; + mes "Ah! Cough Cough!"; + mes "You're back!"; + mes "Steven is...cough"; + mes "Did you find him?"; + next; + select( "Pass the money" ); + mes "[Acid]"; + mes "...."; + mes "As expected...cough cough...what happened?"; + next; + mes "[Acid]"; + mes "There's no way they just sent money like this when nothing happened."; + next; + mes "[Acid]"; + mes "I ..cough..must go myself...cough..cough.."; + mes "Maybe it doesn't help much, but...cough"; + mes "My dearest friend...cough..may be in danger, but I can't stay still!...cluck"; + next; + mes "[Acid]"; + mes "Cough cough..Adventurer..Cough..Take me with you!"; + mes "Please!"; + ill_teddy = 6; + erasequest 11560; + setquest 11561; + close; + } + if (ill_teddy == 6) { + mes "[Acid]"; + mes "I ..cough..must go myself...cough..cough.."; + mes "Maybe it doesn't help much, but...cough"; + mes "My dearest friend...cough..may be in danger, but I can't stay still!...cluck"; + next; + mes "[Acid]"; + mes "Cough cough..Adventurer..Cough..Take me with you!"; + mes "Please!"; + close; + } + mes "[Acid]"; + mes "I've been in the mines for most of these days, so my cough seems to be getting better."; + mes "My body has become healthy!"; + mes "The air here is worse than the mine... Cough"; + close; + +OnTouch: + if (BaseLevel >= 150 && ill_teddy == 0) + npctalk "Coughing young man: Cough Cough!!", "", bc_self; + end; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "BaseLevel >= 150 && ill_teddy == 0" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11560) == 1" ); + end; +} + +ein_dun01,198,79,3 script Teddy Bear#ITB10 4_NASARIAN,{ + if (ill_teddy == 1) { + mes "[Teddy Bear in line]"; + mes "Stand in line!"; + next; + select( "Why are you standing here?" ); + mes "[Teddy Bear in line]"; + mes "What?"; + mes "Do you think I'd give such advanced information to a stranger I am seeing for the first time?"; + next; + mes "[Teddy Bear in line]"; + mes "If you're that curious, stand behind me and wait for your turn!"; + next; + mes "[Teddy Bear in line]"; + mes "Information isn't something you get for free."; + mes "All the time and effort..."; + next; + mes "[???????????]"; + mes "AAAAAAAAAA!!!!"; + mes "Let go!!!!"; + mes "You furry bastards!!!!"; + next; + mes "- A man's scream is heard from the front of the line. Let's check the situation at the front. -"; + ill_teddy = 2; + erasequest 11556; + setquest 11557; + close; + } + if (ill_teddy == 2) { + mes "[Teddy Bear in line]"; + mes "Have you heard something strange?"; + next; + mes "- A man's scream is heard from the front of the line. Let's check the situation at the front. -"; + close; + } + mes "[Teddy Bear in line]"; + mes "Stand in line!"; + close; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11556) == 1" ); + end; +} + +ein_dun01,189,84,7 script Bear#3 4_NASARIAN,{ + mes "[Teddy Bear in line]"; + mes "Hey there!!! Don't cut in line!!!"; + close; +} + +ein_dun01,189,82,7 duplicate(dummy_npc) Bear#4 4_NASARIAN +ein_dun01,190,80,7 duplicate(dummy_npc) Bear#5 4_NASARIAN +ein_dun01,191,80,5 duplicate(dummy_npc) Bear#6 4_NASARIAN + +ein_dun01,195,80,5 script Resident#8 4_M_EINMAN2,{ + mes "[Resident]"; + mes "One day, everyone started queuing up here, so I stood here too."; + mes "What's in front?"; + mes "Well? I'm just here because I'm curious..."; + close; +} + +ein_dun01,196,80,1 script Bear#9 4_NASARIAN,{ + mes "[Teddy Bear in line]"; + mes "Everyone stands in line for days waiting for their turn."; + close; +} + +ein_dun01,189,85,7 script Teddy Bear#IBT1 4_NASARIAN,{ + if (ill_teddy < 2) { + mes "[Teddy Bear in line]"; + mes "Whoops, it's my turn to go in soon."; + close; + } + if (ill_teddy == 2) { + mes "[Teddy Bear in line]"; + mes "Whh..what happened?"; + mes "I heard a scream when the man in front of me just entered."; + next; + select( "About the man." ); + mes "[Teddy Bear in line]"; + mes "What?"; + mes "I didn't even have time to look at that!"; + next; + mes "[Teddy Bear in line]"; + mes "Flaw... Hehe... ."; + mes "I've been waiting in line for days, but suddenly I'm not interested anymore..."; + next; + mes "[Teddy Bear in line]"; + mes "If you're really curious, I'll give you my position. Why don't you go in and check it out?"; + next; + mes "[Teddy Bear in line]"; + mes "I...it's not because I'm scared!"; + mes "I just... I guess what is inside is boring for me now."; + mes "Because I've lost interest?!"; + ill_teddy = 3; + erasequest 11557; + setquest 11558; + close; + } + if (ill_teddy == 3) { + mes "[Teddy Bear in line]"; + mes "Flaw... Hehe... ."; + mes "I've been waiting in line for days, but suddenly I'm not interested anymore..."; + next; + mes "[Teddy Bear in line]"; + mes "If you're really curious, I'll give you my position. Why don't you go in and check it out?"; + next; + mes "[Teddy Bear in line]"; + mes "I...it's not because I'm scared!"; + mes "I just... I guess what is inside is boring for me now."; + mes "Because I've lost interest?!"; + close; + } + mes "[Teddy Bear in line]"; + mes "What?"; + mes "The guy in front has already ran away!"; + mes "Don't get confused!"; + close; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11557) == 1" ); + end; +} + +ein_dun01,189,87,3 script An entrance somewhere#IBTin 4_ENERGY_BLUE,{ + if (ill_teddy < 3) { + mes "- Can't get in yet -"; + close; + } + warp "ein_d02_i",168,197; + end; +} + + +ein_d02_i,170,193,5 script Steven#IBT 4W_M_02,3,3,{ + if (checkweight(1201,3) == 0) { + mes "- Wait a moment!!"; + mes "- You have too many items. -"; + mes "- You can't receive this. -"; + mes "- Lighten your weight and -"; + mes "- try again. -"; + close; + } + if (ill_teddy < 3) + end; + if (ill_teddy == 3) { + mes "[Steven]"; + mes "Can't you let me go?!"; + mes "Let me go!"; + mes "This sucks!!!!"; + npctalk "Steven: Can't you let me go?!", "", bc_self; + cloakoffnpcself( "White Teddy Bear#IBT" ); + cloakoffnpcself( "Teddy Bear#IBT" ); + next; + mes "[Teddy Bear]"; + mes "Oops!"; + mes "Caught, I got caught!"; + mes "Let's run!!!!"; + npctalk "White Teddy Bear: Caught, I got caught!", "White Teddy Bear#IBT", bc_self; + npctalk "Teddy Bear: Let's Run!!!!", "Teddy Bear#IBT", bc_self; + ill_teddy = 4; + erasequest 11558; + setquest 11559; + close2; + cloakonnpcself( "White Teddy Bear#IBT" ); + cloakonnpcself( "Teddy Bear#IBT" ); + end; + } + if (ill_teddy == 4) { + mes "[Steven]"; + mes "What..."; + mes "That's..."; + next; + mes "[Steven]"; + mes "Hey!"; + mes "You there!"; + mes "Did you see that too?"; + mes "The Teddy Bear just..."; + next; + select( "Tell him about the coughing young man." ); + mes "[Steven]"; + mes "Huh? The coughing young man in Einbroch asked you to find me?"; + mes "Is it Acid..."; + next; + mes "[Steven]"; + mes "I told him I'd come back right away, but what the hell was the rumor about? There were a lot of people and monsters waiting in line."; + next; + mes "[Steven]"; + mes "So how was Acid?"; + mes "He couldn't sleep well because his cough got so bad."; + next; + mes "[Steven]"; + mes "I have to go back and send him to the hospital, but..."; + mes "If I'm not mistaken, that's..."; + next; + mes "[Steven]"; + mes "Ugh...things got messy..."; + next; + mes "[Steven]"; + mes "Hey."; + mes "Do me a favor."; + mes "He has to go to the hospital today and won't have enough money."; + next; + mes "[Steven]"; + mes "I think I need to do some work here."; + mes "You go back and tell him that I'm all right."; + mes "Give him this money too."; + next; + mes "[Steven]"; + mes "Please."; + mes "When I go back... I don't have anything, but I'll give you something in return."; + npctalk "Steven: Please.", "", bc_self; + ill_teddy = 5; + erasequest 11559; + setquest 11560; + close; + } + if (ill_teddy == 5) { + mes "[Steven]"; + mes "Hey."; + mes "Do me a favor."; + mes "He has to go to the hospital today and won't have enough money."; + next; + mes "[Steven]"; + mes "I think I need to do some work here."; + mes "You go back and tell him that I'm all right."; + mes "Give him this money too."; + next; + mes "[Steven]"; + mes "Please."; + mes "When I go back... I don't have anything, but I'll give you something in return."; + npctalk "Steven: Please.", "", bc_self; + close; + } + if (ill_teddy == 6) { + mes "[Steven]"; + mes "Oh you are here?"; + mes "Did he go to the hospital?"; + next; + mes "[Acid]"; + mes "Steven!"; + mes "Why make people so worried..."; + cloakoffnpcself( "Acid#IBT_inN01" ); + next; + mes "[Steven]"; + mes "No... why are you here?"; + mes "Go to the hospital!"; + next; + mes "[Acid]"; + mes "Do I have a hospital or a shop now?!"; + next; + mes "[Steven]"; + mes "Ugh..."; + mes "Okay...okay!"; + mes "Be quiet for now!"; + mes "Can you hear something strange coming from the north?"; + npctalk "Steven: Ugh... nagging...", "", bc_self; + ill_teddy = 7; + erasequest 11561; + setquest 11562; + close2; + cloakonnpcself( "Acid#IBT_inN01" ); + end; + } + if (ill_teddy == 7) { + mes "[Steven]"; + mes "Ugh..."; + mes "Okay!"; + mes "Be quiet for now!"; + mes "Can you hear something strange coming from the north?"; + npctalk "Steven: Ugh... nagging...", "", bc_self; + close; + } + if (ill_teddy == 8) { + if (checkquest(11563,HUNTING) != 2 || checkquest(11564,HUNTING) != 2) { + mes "[Steven]"; + mes "Too many of them."; + mes "This is too dangerous."; + mes "Let's clear things up and talk again."; + close; + } + mes "[Steven]"; + mes "Whoa..."; + mes "Did you send them out?"; + next; + mes "[Acid]"; + mes "Aren't those just Teddy Bears?"; + mes "Invading... they called themselves Nazarians, right?"; + cloakoffnpcself( "Acid#IBT_inN01" ); + next; + mes "[Steven]"; + mes "What the hell is going on..."; + mes "I'm out of my mind..."; + next; + select( "About Teddy Bear" ); + mes "[Acid]"; + mes "Steven brought it because he said he was looking for something salty to eat at home."; + next; + mes "[Acid]"; + mes "The pay is so good compared to the job, and the delivery place is also a mine, so it was a bit suspicious..."; + next; + mes "[Acid]"; + mes "I've been told that idiot is excited."; + next; + mes "[Steven]"; + mes "What an idiot!"; + mes "Thanks to you, I get hospital bills and your cough..."; + mes "Oh... Come to think of it, you don't cough anymore, do you?"; + npctalk "Steven: What an idiot!", "", bc_self; + next; + mes "[Acid]"; + mes "Uh... is that so?"; + mes "Come to think of it, I feel like I can breathe easier!"; + next; + mes "[Steven]"; + mes "No matter how many times I went to the hospital, there was no improvement..."; + mes "Maybe it was just the bad air!"; + npctalk "Steven: Air worse than in the mine...", "", bc_self; + next; + mes "[Acid]"; + mes "No, that's not important right now..."; + mes "The doll we made is alive and moving!"; + mes "They even tried to kidnap you!"; + next; + mes "[Steven]"; + mes "Kidnapped... Come to think of it, I helped a man who was being chased by a terrific Teddy Bear on the way back."; + next; + mes "[Steven]"; + mes "...I'm not the only one brought here, am I?"; + mes "I guess I'll have to stay here and watch the situation."; + mes "Acid! You can go back to the village for now."; + next; + mes "[Steven]"; + mes "Thank you for helping me too."; + mes "I can't give you much, but I'll give you the rare ore I found earlier."; + mes "It might come in handy somewhere!"; + ill_teddy = 9; + erasequest 11563; + erasequest 11564; + getitem 25271,5; // IllusionStone + getexp 3500000,2500000; + close2; + cloakonnpcself( "Acid#IBT_inN01" ); + end; + } + + // daily + switch( checkquest(11566,PLAYTIME) ) { + case -1: + break; + case 0: + case 1: + mes "[Steven]"; + mes "Get some rest"; + mes "If you overdo it, you'll only ruin your health."; + close; + case 2: + erasequest 11566; + break; + } + switch( checkquest(11565,HUNTING) ) { + case -1: + mes "[Steven]"; + mes "Ugh..."; + mes "Where do these guys keep popping up?"; + next; + mes "[Steven]"; + mes "If you're familiar with combat, puppeteers who aren't familiar with combat won't find it easy to get out of here."; + next; + mes "[Steven]"; + mes "For now, I'm also taking care of it, but I'm not good enough alone."; + mes "If you're not busy right now, help me defeat " + getmonsterinfo("ILL_PITMAN", MOB_NAME) + ", " + getmonsterinfo("ILL_MINERAL", MOB_NAME) + ", and " + getmonsterinfo("ILL_OBSIDIAN", MOB_NAME) + "."; + mes "I think I'll be able to breathe a little more if I catch 10 of them."; + next; + if (select( "Accept", "Quit" ) == 2) { + mes "[Steven]"; + mes "Okay..."; + close; + } + mes "[Steven]"; + mes "Then please help me defeat"; + mes "10 " + getmonsterinfo("ILL_PITMAN", MOB_NAME) + ", " + getmonsterinfo("ILL_MINERAL", MOB_NAME) + ", and " + getmonsterinfo("ILL_OBSIDIAN", MOB_NAME) + "!"; + setquest 11565; + close; + case 0: + case 1: + mes "[Steven]"; + mes "How are you?"; + mes "How are things going with " + getmonsterinfo("ILL_PITMAN", MOB_NAME) + ", " + getmonsterinfo("ILL_MINERAL", MOB_NAME) + ", and " + getmonsterinfo("ILL_OBSIDIAN", MOB_NAME) + "?"; + close; + case 2: + mes "[Steven]"; + mes "Whoa..."; + mes "Good job!"; + mes "Are you feeling a little safer now?"; + erasequest 11565; + setquest 11566; + getitem 25271,1; // IllusionStone + getexp 1000000,900000; + close; + } + end; + +OnTouch: + if (ill_teddy == 3) { + mes "[Steven]"; + mes "Can't you let me go?!"; + mes "Let me go!"; + mes "This sucks!!!!"; + npctalk "Steven: Can't you let me go?!", "", bc_self; + cloakoffnpcself( "White Teddy Bear#IBT" ); + cloakoffnpcself( "Teddy Bear#IBT" ); + next; + mes "[Teddy Bear]"; + mes "Oops!"; + mes "Caught, I got caught!"; + mes "Let's run!!!!"; + npctalk "White Teddy Bear: Caught, I got caught!", "White Teddy Bear#IBT", bc_self; + npctalk "Teddy Bear: Let's Run!!!!", "Teddy Bear#IBT", bc_self; + ill_teddy = 4; + erasequest 11558; + setquest 11559; + close2; + cloakonnpcself( "White Teddy Bear#IBT" ); + cloakonnpcself( "Teddy Bear#IBT" ); + end; + } + end; + +OnInit: + // main quest + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11558) == 1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11559) == 1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11561) == 1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11563,HUNTING) == 2 && checkquest(11564,HUNTING) == 2" ); + + // daily + questinfo( QTYPE_QUEST, QMARK_YELLOW, "ill_teddy == 9 && checkquest(11565,HUNTING) == -1 && checkquest(11566,PLAYTIME) == -1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11565,HUNTING) == 2" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11566,PLAYTIME) == 2" ); + end; +} + +ein_d02_i,135,229,1 duplicate(dummy_cloaked_npc) Acid#IBT_inN 4_M_NFMAN +ein_d02_i,169,193,5 duplicate(dummy_cloaked_npc) White Teddy Bear#IBT 4_TEDDY_BEAR_W +ein_d02_i,171,193,3 duplicate(dummy_cloaked_npc) Teddy Bear#IBT 4_NASARIAN +ein_d02_i,172,192,1 duplicate(dummy_cloaked_npc) Acid#IBT_inN01 4_M_NFMAN + +ein_d02_i,132,233,0 script #ITBSuspicious place HIDDEN_WARP_NPC,3,3,{ + end; +OnTouch: + if (ill_teddy == 7) { + mes "[??????]"; + mes "Um hahahahahahahahaha!!!!"; + mes "Listen, people!"; + mes "Finally the day has come when we will rise again!"; + cloakoffnpcself( "??????#IBT_inB01" ); + cloakoffnpcself( "??????#IBT_inB02_1" ); + cloakoffnpcself( "??????#IBT_inB03" ); + cloakoffnpcself( "??????#IBT_inB04" ); + cloakoffnpcself( "??????#IBT_inB05" ); + cloakoffnpcself( "??????#IBT_inB06" ); + cloakoffnpcself( "??????#IBT_inB07" ); + cloakoffnpcself( "??????#IBT_inB08" ); + cloakoffnpcself( "??????#IBT_inB09" ); + cloakoffnpcself( "??????#IBT_inB10" ); + cloakoffnpcself( "??????#IBT_inB11" ); + cloakoffnpcself( "??????#IBT_inB12" ); + cloakoffnpcself( "??????#IBT_inB13" ); + cloakoffnpcself( "??????#IBT_inB15" ); + cloakoffnpcself( "??????#IBT_inB16" ); + cloakoffnpcself( "??????#IBT_inB17" ); + cloakoffnpcself( "??????#IBT_inB18" ); + cloakoffnpcself( "??????#IBT_inB19" ); + cloakoffnpcself( "??????#IBT_inB20" ); + cloakoffnpcself( "??????#IBT_inB21" ); + cloakoffnpcself( "??????#IBT_inB22" ); + npctalk "?????? : Mmmhahahahahahahahahaha!!!!", "??????#IBT_inB01", bc_self; + next; + mes "[??????]"; + mes "Forget the shameful past of being trapped in the dark and damp ground."; + npctalk "?????? : Forget the shameful past of being trapped in the dark and damp ground.", "????????#IBT_inB01", bc_self; + next; + mes "[??????]"; + mes "This land!!!"; + npctalk "?????? : This land!!!", "????????#IBT_inB01", bc_self; + sleep2 500; + mes "This world!!!!"; + npctalk "?????? : This world!!!!", "??????#IBT_inB01", bc_self; + sleep2 500; + mes "Until the day they are at our feet, us Nazarians!!!!"; + npctalk "?????? : Until the day they are at our feet, us Nazarians!!!!", "??????#IBT_inB01", bc_self; + sleep2 500; + mes "Will not stop the invasion!"; + npctalk "?????? : Will not stop the invasion!", "??????#IBT_inB01", bc_self; + next; + mes "[Nazarians]"; + mes "Okay! A new body has arrived!"; + mes "We will plant our holy core into the body that is only an empty shell!"; + next; + mes "[??????]"; + mes "Drivius! Come on get it!!!"; + next; + mes "[Drivius]"; + mes "Yes!!! His Majesty is here!!!"; + next; + mes "[Emperor of Nazarians]"; + mes "Ha ha... look!"; + mes "This bright and beautiful figure..."; + next; + mes "[Emperor of Nazarians]"; + mes "People!!!"; + mes "Welcome!"; + mes "Brave newly born soldiers!!!!"; + cloakonnpcself( "??????#IBT_inB02_1" ); + cloakoffnpcself( "??????#IBT_inB02_2" ); + npctalk "?????? : ...oh...ahah...", "??????#IBT_inB01", bc_self; + next; + mes "[Nazarians]"; + mes "Waaaaaaaa!!!!"; + mes "Long live the Emperor!!!!"; + next; + mes "[Nazarians]"; + mes "Hooray!!! Hooray!!!"; + next; + mes "[Nazarians]"; + mes "Look at those dashing soldiers over there!!!"; + mes "Awesome!!!!"; + next; + mes "[Emperor of Nazarians]"; + mes "The world will bow before the mighty power of the Nazarians!!!!!"; + next; + mes "[Nazarians]"; + mes "Waaaaaaaa!!!!"; + mes "Long live the Emperor!!!!"; + mes "Hooray!!! Hooray!!!"; + cloakoffnpcself( "Steven#IBT_inN" ); + cloakoffnpcself( "Acid#IBT_inN" ); + next; + mes "[Steven]"; + mes "Wait what's that?"; + mes "Isn't that the doll we made?"; + next; + mes "[Acid]"; + mes "I guess so?"; + next; + mes "[Steven]"; + mes "It does not only look like that, it is the one we made!"; + next; + mes "[Steven]"; + mes "It's the one who made a mess because you sewed wrong?? Yes!"; + next; + mes "[Acid]"; + mes "What a mess..."; + mes "That one has its own cuteness point?"; + next; + mes "[Steven]"; + mes "...cute horns..."; + next; + mes "[Emperor of Nazarians]"; + mes "Hmm..."; + mes "Oops..."; + next; + mes "[Emperor of Nazarians]"; + mes "It looks like a rat has lurked into the sacred assembly."; + next; + mes "[Emperor of Nazarians]"; + mes "Warriors of Nazarians!!!!"; + mes "Punish the intruder!!!"; + next; + mes "[Nazarians]"; + mes "From our name!"; + mes "We'll do it!"; + next; + mes "[Nazarians]"; + mes "Waaaaaaa!!!"; + mes "Punish them!"; + mes "It's an intruder!!!"; + next; + mes "[Steven]"; + mes "Oops!"; + mes "Looks like we got caught?!"; + next; + mes "[Steven]"; + mes "Hey!"; + mes "There are many enemies, so let's scatter and run away!"; + next; + mes "[Steven]"; + mes "Take care of those chasing us appropriately."; + mes "Then see you near the exit in a minute!"; + ill_teddy = 8; + erasequest 11562; + setquest 11563; + setquest 11564; + close2; + cloakonnpcself( "Steven#IBT_inN" ); + cloakonnpcself( "Acid#IBT_inN" ); + cloakonnpcself( "??????#IBT_inB01" ); + cloakonnpcself( "??????#IBT_inB02_2" ); + cloakonnpcself( "??????#IBT_inB03" ); + cloakonnpcself( "??????#IBT_inB04" ); + cloakonnpcself( "??????#IBT_inB05" ); + cloakonnpcself( "??????#IBT_inB06" ); + cloakonnpcself( "??????#IBT_inB07" ); + cloakonnpcself( "??????#IBT_inB08" ); + cloakonnpcself( "??????#IBT_inB09" ); + cloakonnpcself( "??????#IBT_inB10" ); + cloakonnpcself( "??????#IBT_inB11" ); + cloakonnpcself( "??????#IBT_inB12" ); + cloakonnpcself( "??????#IBT_inB13" ); + cloakonnpcself( "??????#IBT_inB15" ); + cloakonnpcself( "??????#IBT_inB16" ); + cloakonnpcself( "??????#IBT_inB17" ); + cloakonnpcself( "??????#IBT_inB18" ); + cloakonnpcself( "??????#IBT_inB19" ); + cloakonnpcself( "??????#IBT_inB20" ); + cloakonnpcself( "??????#IBT_inB21" ); + cloakonnpcself( "??????#IBT_inB22" ); + end; + } + end; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(11562) == 1" ); + end; +} + +ein_d02_i,142,244,3 duplicate(dummy_cloaked_npc) ??????#IBT_inB01 4_NASARIAN_EM +ein_d02_i,141,244,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB02_1 4_TEDDY_BEAR_B_L +ein_d02_i,141,244,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB02_2 4_TEDDY_BEAR_B +ein_d02_i,140,244,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB03 4_TEDDY_BEAR_W +ein_d02_i,141,240,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB04 4_NASARIAN +ein_d02_i,139,240,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB05 4_TEDDY_BEAR_W +ein_d02_i,140,238,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB06 4_NASARIAN +ein_d02_i,136,240,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB07 4_TEDDY_BEAR_W +ein_d02_i,133,240,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB08 4_TEDDY_BEAR_B +ein_d02_i,142,237,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB09 4_NASARIAN +ein_d02_i,140,236,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB10 4_TEDDY_BEAR_W +ein_d02_i,142,243,1 duplicate(dummy_cloaked_npc) ??????#IBT_inB11 4_NASARIAN +ein_d02_i,144,242,3 duplicate(dummy_cloaked_npc) ??????#IBT_inB12 4_NASARIAN +ein_d02_i,144,240,1 duplicate(dummy_cloaked_npc) ??????#IBT_inB13 4_NASARIAN +ein_d02_i,141,246,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB14 4_TEDDY_BEAR_W +ein_d02_i,141,237,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB15 4_NASARIAN +ein_d02_i,141,242,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB16 4_TEDDY_BEAR_B +ein_d02_i,137,240,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB17 4_NASARIAN +ein_d02_i,136,238,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB18 4_NASARIAN +ein_d02_i,138,238,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB19 4_NASARIAN +ein_d02_i,141,241,7 duplicate(dummy_cloaked_npc) ??????#IBT_inB20 4_TEDDY_BEAR_B +ein_d02_i,145,241,1 duplicate(dummy_cloaked_npc) ??????#IBT_inB21 4_NASARIAN +ein_d02_i,140,243,5 duplicate(dummy_cloaked_npc) ??????#IBT_inB22 4_NASARIAN +ein_d02_i,133,233,7 duplicate(dummy_cloaked_npc) Steven#IBT_inN 4W_M_02 + +ein_d02_i,168,206,5 script Gloomy Teddy Bear#ITB 4_TEDDY_BEAR_B_L,{ + if (checkweight(1201,3) == 0) { + mes "- Wait a moment!!"; + mes "- You have too many items. -"; + mes "- You can't receive this. -"; + mes "- Lighten your weight and -"; + mes "- try again. -"; + close; + } + if (ill_teddy < 9) { + mes "[Gloomy Teddy Bear]"; + mes "Ah..."; + mes "Is this a dream or reality..."; + mes "Am I dead... or am I alive..."; + next; + mes "[Gloomy Teddy Bear]"; + mes "We're... not supposed to come back..."; + mes "I have to go back..."; + close; + } + switch( checkquest(11569,PLAYTIME) ) { + case -1: + break; + case 0: + case 1: + mes "[Gloomy Teddy Bear]"; + mes "Whoops...don't rush me like that..."; + close; + case 2: + erasequest 11569; + break; + } + switch( checkquest(11567,HUNTING) ) { + case -1: + mes "[Gloomy Teddy Bear]"; + mes "Ah..."; + mes "Is this a dream or reality..."; + mes "Am I dead... or am I alive..."; + next; + mes "[Gloomy Teddy Bear]"; + mes "We're... not supposed to come back..."; + mes "I have to go back..."; + next; + mes "[Gloomy Teddy Bear]"; + mes "Hey... don't just stand there, help me..."; + mes "Me... the Nazarians..."; + next; + mes "[Gloomy Teddy Bear]"; + mes "^ff0000Kill 10 " + getmonsterinfo("ILL_TEDDY_BEAR_R", MOB_NAME) + ", " + getmonsterinfo("ILL_TEDDY_BEAR_Y", MOB_NAME) + ", " + getmonsterinfo("ILL_TEDDY_BEAR_G", MOB_NAME) + ", " + getmonsterinfo("ILL_TEDDY_BEAR_B", MOB_NAME) + ", and " + getmonsterinfo("ILL_TEDDY_BEAR_W", MOB_NAME) + "^000000 and return them to the depths... to rest..."; + next; + if (select( "Accept", "Quit" ) == 2) { + mes "[Gloomy Teddy Bear]"; + mes "...Ah..."; + close; + } + mes "[Gloomy Teddy Bear]"; + mes "I want to end this... infernal nightmare..."; + mes "Come on..."; + setquest 11567; + setquest 11568; + close; + case 0: + case 1: + mes "[Gloomy Teddy Bear]"; + mes "Ah... When will the peaceful rest..."; + mes "...is the request yet..."; + close; + case 2: + switch( checkquest(11568,HUNTING) ) { + case -1: + end; + case 0: + case 1: + mes "[Gloomy Teddy Bear]"; + mes "Ah... When will the peaceful rest..."; + mes "...is the request yet..."; + close; + case 2: + mes "[Gloomy Teddy Bear]"; + mes "Why is it still... not going away..."; + mes "This horrible nightmare..."; + erasequest 11567; + erasequest 11568; + setquest 11569; + getitem 25271,1; // IllusionStone + getexp 1300000,1000000; + close; + } + end; + } + end; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "ill_teddy == 9 && checkquest(11569,PLAYTIME) == -1 && checkquest(11567,HUNTING) == -1 && checkquest(11568,HUNTING) == -1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11569,PLAYTIME) == 2" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11567,HUNTING) == 2 && checkquest(11568,HUNTING) == 2" ); + end; +} + + +ein_d02_i,191,192,3 script Porcelain Doll Craftsman#ITB 4_F_HUWOMAN,{ + if (checkweight(1201,3) == 0) { + mes "- Wait a moment!!"; + mes "- You have too many items. -"; + mes "- You can't receive this. -"; + mes "- Lighten your weight and -"; + mes "- try again. -"; + close; + } + if (ill_teddy < 9) { + mes "[Porcelain Doll Craftsman]"; + mes "Kyaaaaaa!!!!!"; + mes "You were surprised!"; + close; + } + switch( checkquest(11571,PLAYTIME) ) { + case -1: + break; + case 0: + case 1: + mes "[Porcelain Doll Craftsman]"; + mes "Adventurer, welcome back."; + mes "Thanks to you, I have been able to continue my studies in the deep parts of the mine."; + mes "Please come back again at dawn."; + close; + case 2: + erasequest 11571; + break; + } + switch( checkquest(11570,HUNTING) ) { + case -1: + mes "[Porcelain Doll Craftsman]"; + mes "Kyaaaaaa!!!!!"; + mes "You were surprised!"; + next; + mes "[Porcelain Doll Craftsman]"; + mes "Have you ever seen a huge ^ff0000" + getmonsterinfo("ILL_TEDDY_BEAR_S", MOB_NAME) + "^000000 nearby?"; + mes "I barely made it to the entrance, but when I try to leave, he shows up and has been hiding here for days."; + next; + if (select( "Help", "Quit" ) == 2) { + mes "[Porcelain Doll Craftsman]"; + mes "Sob!"; + mes "It's over!!!"; + mes "I'm stuck here forever!"; + close; + } + mes "[Porcelain Doll Craftsman]"; + mes "Alive!!!"; + mes "Did you see that?"; + mes "It's a huge ^ff0000" + getmonsterinfo("ILL_TEDDY_BEAR_S", MOB_NAME) + "^000000."; + mes "You must kill it!"; + setquest 11570; + close; + case 0: + case 1: + mes "[Porcelain Doll Craftsman]"; + mes "How are you?"; + mes "Have you killed ^ff0000" + getmonsterinfo("ILL_TEDDY_BEAR_S", MOB_NAME) + "^000000?"; + close; + case 2: + // unknown text + erasequest 11570; + setquest 11571; + getitem 25271,1; // IllusionStone + getexp 1500000,1100000; + end; + } + end; + +OnInit: + questinfo( QTYPE_QUEST, QMARK_YELLOW, "ill_teddy == 9 && checkquest(11571,PLAYTIME) == -1 && checkquest(11570,HUNTING) == -1" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11571,PLAYTIME) == 2" ); + questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(11570,HUNTING) == 2" ); + end; +} + +ein_d02_i,169,244,1 script White Bear#ITBz01 4_TEDDY_BEAR_W,3,3,{ + end; +OnTouch: + npctalk "White Teddy Bear: Ah... dear Charlotte... to be in a place like this...", "", bc_self; + end; +} + +ein_d02_i,169,244,1 script Sirumsireum Teddy Bear#ITBz02 4_TEDDY_BEAR_B_L,{ + npctalk "Teddy Bear: What have you done to me...", "", bc_self; + end; +} diff --git a/src/common/mmo.hpp b/src/common/mmo.hpp index ceacee8a7c..671f40b09f 100644 --- a/src/common/mmo.hpp +++ b/src/common/mmo.hpp @@ -115,7 +115,7 @@ typedef uint32 t_itemid; #define MAX_CLAN 500 #define MAX_CLANALLIANCE 6 #ifndef MAX_BARTER_REQUIREMENTS - #define MAX_BARTER_REQUIREMENTS 5 + #define MAX_BARTER_REQUIREMENTS 6 #endif #ifndef WEB_AUTH_TOKEN_LENGTH #define WEB_AUTH_TOKEN_LENGTH 16+1 diff --git a/src/map/npc.cpp b/src/map/npc.cpp index c8bb9f2f1f..75c0a2547d 100644 --- a/src/map/npc.cpp +++ b/src/map/npc.cpp @@ -616,8 +616,8 @@ uint64 BarterDatabase::parseBodyNode( const ryml::NodeRef& node ){ return 0; } - if( requirement_index >= MAX_BARTER_REQUIREMENTS ){ - this->invalidWarning( requiredItemNode["Index"], "barter_parseBodyNode: Index %hu is out of bounds. Barters support up to %d requirements.\n", requirement_index, MAX_BARTER_REQUIREMENTS ); + if( item->requirements.size() >= MAX_BARTER_REQUIREMENTS ){ + this->invalidWarning( requiredItemNode["Index"], "barter_parseBodyNode: Failed at Index %hu. Too many requirements, Barters support up to %d.\n", requirement_index, MAX_BARTER_REQUIREMENTS ); return 0; }