summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-24 16:54:57 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-24 16:54:57 -0200
commitdcb574f74d46075edcea13d62d65fb6e874d5d49 (patch)
treefdf55ec478250f809d077e95495eff1afff00e30
parentda3877dcf804204b8b51d926fe191a3933ae6263 (diff)
downloadserverdata-dcb574f74d46075edcea13d62d65fb6e874d5d49.tar.gz
serverdata-dcb574f74d46075edcea13d62d65fb6e874d5d49.tar.bz2
serverdata-dcb574f74d46075edcea13d62d65fb6e874d5d49.tar.xz
serverdata-dcb574f74d46075edcea13d62d65fb6e874d5d49.zip
Add Milly quest, and stat the Plush Mouboo for that
@Saulc will probably get mad, so I added a debug block which instead of giving the reward it'll heal you and give you a 30% attack speed buff for 10 minutes. Which is not a bad reward, specially without Frostia, but then, not even DragonStar have the Quest Log cleared (because Cindy's quest)
-rw-r--r--db/re/item_db.conf15
-rw-r--r--npc/012-1/milly.txt62
2 files changed, 71 insertions, 6 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 2eb6f862f..1bfdac0de 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5256,14 +5256,19 @@ item_db: (
AegisName: "PlushMouboo"
Name: "Plush Mouboo"
Type: "IT_ARMOR"
- Buy: 7000
- Sell: 1800
- Weight: 450
- Def: 1
+ Buy: 70000
+ Sell: 0
+ Weight: 50
Loc: "EQP_ACC_L"
- EquipLv: 54
+ EquipLv: 90
Refine: false
ViewSprite: 1160
+ Script: <"
+ bonus2 bSubRace,RC_Player,20;
+ bonus2 bCriticalAddRace,RC_Player,20;
+ bonus3 bSPDrainRate,10,5,1;
+ bonus bAspdRate,-15;
+ ">
},
{
Id: 1161
diff --git a/npc/012-1/milly.txt b/npc/012-1/milly.txt
index 5bacbdcaf..dbe222c35 100644
--- a/npc/012-1/milly.txt
+++ b/npc/012-1/milly.txt
@@ -2,11 +2,71 @@
// Authors:
// Jesusalva
// Description:
-// World's Hero quest
+// Milly here is mixed with Crastur's almanach quest.
+// She controls "World's Hero quest", which is now her MAIN QUEST;
+// But maybe later she'll get nodes about Khafar etc but not like in TMW
012-1,111,66,0 script Milly NPC_TEDDYGIRL,{
+ .@q=getq(General_Milly);
mesn;
mesq l("Hello.");
+ if (.@q == 1) goto L_Assign;
+ close;
+
+L_Assign:
+ next;
+ mesn;
+ mesq lg("hey, hey, are you a hero, are you a hero?");
+ next;
+ mesn;
+ mesq l("I want to meet a hero!");
+ next;
+ mesc b(l(".:: World's Hero Quest ::.")), 3;
+ msObjective(reputation("Candor") >= 100, l("* become @@ Hero", l("Candor")));
+ msObjective(reputation("Tulim") >= 100, l("* become @@ Hero", l("Tulimshar")));
+ msObjective(reputation("Halin") >= 100, l("* become @@ Hero", l("Halinarzo")));
+ msObjective(reputation("Hurns") >= 100, l("* become @@ Hero", l("Hurnscald")));
+ msObjective(reputation("LoF") >= 100, l("* become @@ Hero", l("Land Of Fire")));
+ msObjective(reputation("Nival") >= 100, l("* become @@ Hero", l("Nivalis")));
+ msObjective(reputation("Frostia") >= 100, l("* become @@ Hero"), l("Frostia"));
+ next;
+ if (reputation("Candor") >= 100 &&
+ reputation("Tulim") >= 100 &&
+ reputation("Halin") >= 100 &&
+ reputation("Hurns") >= 100 &&
+ reputation("LoF") >= 100 &&
+ reputation("Nival") >= 100 &&
+ reputation("Frostia") >= 100) goto L_Finish;
+ mesc l("You can become a hero by completing every quest in a certain location.");
+ close;
+
+L_Finish:
+ mesn;
+ mesq lg("Wo-wo-wow! You really did it! You're the best!");
+ next;
+ mesn;
+ mesq l("But the game still is in development, so not every quest was added yet.");
+ next;
+ mesn;
+ mesq l("Do you want to get a reward nonetheless? You will lose @@.", b(l("any planned experience and gold reward.")));
+ mesc l("Also note that, under team's discretion, all rewards from this quest might be erasen along quest state.");
+ mesc l("This would mean you might need to complete this quest again in the future.");
+ next;
+ // Debug
+ percentheal 100, 100;
+ sc_start SC_ATTHASTE_POTION1, 600000, 30;
+ mesn;
+ mesc l("Saulc was here"), 1;
+ close;
+ // / Debug
+ if (askyesno() == ASK_YES) {
+ mes "";
+ inventoryplace PlushMouboo, 1;
+ setq General_Milly, 1;
+ getitem PlushMouboo, 1;
+ mesn;
+ mesq lg("Here you go, miss! Thanks for being my hero! <3", "Here you go, mister! Thanks for being my hero! <3");
+ }
close;
OnInit: