From 95b04c82305a699b1cb4bc63787dc1e61b890b5c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Jul 2018 14:25:11 -0300 Subject: LoF Fairy Quest + Make Maps --- conf/map/battle/pet.conf | 2 +- db/quest_db.conf | 4 ++ db/re/item_db.conf | 10 ++--- maps/re/017-1.mcache | Bin 4295 -> 4322 bytes maps/re/018-4.mcache | Bin 968 -> 974 bytes npc/017-1/_mobs.txt | 1 + npc/018-4-2/_import.txt | 1 + npc/018-4-2/susanne.txt | 93 +++++++++++++++++++++++++++++++++++++++++++++++ npc/018-4/_mobs.txt | 2 +- 9 files changed, 106 insertions(+), 7 deletions(-) create mode 100644 npc/018-4-2/susanne.txt diff --git a/conf/map/battle/pet.conf b/conf/map/battle/pet.conf index 699901e63..d7750e127 100644 --- a/conf/map/battle/pet.conf +++ b/conf/map/battle/pet.conf @@ -83,7 +83,7 @@ pet_attack_exp_rate: 90 // Pet leveling system. Use 0 to disable (default). // When enabled, a pet's level is a fixed % of the master's. (Note 2) // If 200%, pet has double level, if 50% pet has half your level, etc. -pet_lv_rate: 10 +pet_lv_rate: 14 // When pet leveling is enabled, what is the max stats for pets? pet_max_stats: 99 diff --git a/db/quest_db.conf b/db/quest_db.conf index 41614ea31..1c4ae7f4f 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -262,6 +262,10 @@ quest_db: ( Id: 271 Name: "LoFQuest_George" }, +{ + Id: 272 + Name: "LoFQuest_Fairy" +}, // ID 300 to 320: Seasonal/Annual/Monthly quests { diff --git a/db/re/item_db.conf b/db/re/item_db.conf index f2dc1b409..f41482b8d 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -7950,12 +7950,12 @@ item_db: ( AegisName: "SkullMask" Name: "Skull Mask" Type: "IT_ARMOR" - Buy: 1600 - Sell: 300 - Weight: 22 - Def: 110 + Buy: 16000 + Sell: 3000 + Weight: 150 + Def: 60 Loc: "EQP_HEAD_TOP" - EquipLv: 8 + EquipLv: 50 Refine: false ViewSprite: 2931 }, diff --git a/maps/re/017-1.mcache b/maps/re/017-1.mcache index 57bb2b904..7efcf679c 100644 Binary files a/maps/re/017-1.mcache and b/maps/re/017-1.mcache differ diff --git a/maps/re/018-4.mcache b/maps/re/018-4.mcache index d13742f1d..763f1dc6c 100644 Binary files a/maps/re/018-4.mcache and b/maps/re/018-4.mcache differ diff --git a/npc/017-1/_mobs.txt b/npc/017-1/_mobs.txt index 916d3cbb3..7031407db 100644 --- a/npc/017-1/_mobs.txt +++ b/npc/017-1/_mobs.txt @@ -3,3 +3,4 @@ 017-1,105,129,75,76 monster Cyan Butterfly 1172,40,30000,30000 017-1,125,69,103,47 monster Squirrel 1032,25,30000,30000 017-1,123,176,103,58 monster Living Potato 1181,36,30000,30000 +017-1,128,122,108,114 monster Alizarin Plant 1188,15,45000,45000 diff --git a/npc/018-4-2/_import.txt b/npc/018-4-2/_import.txt index fedb96431..8ef742521 100644 --- a/npc/018-4-2/_import.txt +++ b/npc/018-4-2/_import.txt @@ -1,3 +1,4 @@ // Map 018-4-2: Secret_Island_Indoor // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/018-4-2/_warps.txt", +"npc/018-4-2/susanne.txt", diff --git a/npc/018-4-2/susanne.txt b/npc/018-4-2/susanne.txt new file mode 100644 index 000000000..f4a9b35d6 --- /dev/null +++ b/npc/018-4-2/susanne.txt @@ -0,0 +1,93 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Slay the Fafi Dragon quest. Due the OP monster, you better find yourself a good team! + +018-4-2,31,26,0 script Susanne NPC_FAIRY_A,{ + .@q=getq(LoFQuest_Fairy); + + if(BaseLevel < 50) goto L_Noob; + if(.@q == 1) goto L_Coward; + if(.@q == 2) goto L_Complete; + if(.@q >= 3) goto L_Thanks; + + mesn; + mesq l("Do you like fairies? Well, you should love them! We play with humans all the time, it is usually pretty fun..."); + next; + mesc l("(The girl now looks away sadly, thinking about what to say next.)"); + next; + mesn; + mesq l("But dragons came and started roaming this island. My friends are now either dead or missing. You look big and strong, do you want to avenge me?"); + goto L_Menu; + +L_Menu: + menu + l("Sure, I'd love to help! What can I do?"), L_Yes, + l("Nah, I've got more serious matters to attend to..."), L_No; + +L_Yes: + mesn; + mesq l("Thank you so much! That might not bring my friends back, but will make this island much safer!"); + next; + mesn; + mesq l("The Fafi Dragon are really really bad guys. I don't know how they came here, as they're not from the Lands Of Fire, nor from Mana World."); + next; + mesn; + mesq l("But this is not important. They are dangerous. They must be stop at any cost!"); + next; + mesn; + mesq l("So if you can help, go kill at least one on this island. They take a long time to respawn."); + next; + mesn; + mesq l("Thank you..."); + setq LoFQuest_Fairy, 1; + close; + +OnKillFafi: + message strcharinfo(0), "You killed the Fafi Dragon."; + .@q=getq(LoFQuest_Fairy); + if (.@q == 1) { + setq LoFQuest_Fairy, 2; + mapannounce "018-4-2", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0; + mapannounce "018-4", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0; + mapannounce "017-1", "" +strcharinfo(0)+ " has killed the Fafi Dragon!", 0; + message strcharinfo(0), "Cheers are being heard throughout the land!"; + } + end; + +L_Complete: + mesn; + mesq l("Many thanks for killing it. Maybe more humans come here now, and play with me."); + next; + inventoryplace SkullMask, 1; + getitem SkullMask, 1; + setq LoFQuest_Fairy, 3; + mesn; + mesq l("By the way, I found this Helmet after you killed the Fafi Dragon, Maybe you can use it some day."); + close; + +L_Thanks: + mesn; + mesq l("Sometimes humans come here and play with me. Many thanks for the help!"); + close; + +L_No: + mesn; + mesq l("Ok...please come back when you aren't busy..."); + next; + mesc l("The girl turns around and you hear her sniffing, she is probably crying..."); + close; + +L_Noob: + mesn; + mesq l("Hey, have you come to play with me? I love playing with humans! Usually so few show in, it must be the dragons..."); + //mesq l("I need some help with something, but I don't think you're strong enough. Come back later please when you're stronger."); + close; + +L_Coward: + mesn; + mesq l("What are you doing talking to me? Go fight, you coward!"); + close; +} diff --git a/npc/018-4/_mobs.txt b/npc/018-4/_mobs.txt index 59b67f34a..684761f6b 100644 --- a/npc/018-4/_mobs.txt +++ b/npc/018-4/_mobs.txt @@ -7,4 +7,4 @@ 018-4,91,60,76,47 monster Yellow Slime 1091,15,30000,30000 018-4,91,56,76,43 monster Clover Patch 1028,2,75000,35000 018-4,91,60,76,47 monster Mouboo 1023,3,12000,4000 -018-4,98,66,40,12 monster Fafi Dragon 1179,1,35000,50000 +018-4,98,66,40,12 monster Fafi Dragon 1179,1,350000,350000,Susanne::OnKillFafi -- cgit v1.2.3-60-g2f50