From ef9530456186f53237474e0ddd328f10f99e9bd9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 5 Jul 2021 15:25:51 -0300 Subject: Add the scrolls to monsters randomly and haphazardly. Close #16 --- db/pre-re/mob_db.conf | 27 ++++++++++++++++++++++++--- npc/029-1/rewards_master.txt | 1 + 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/db/pre-re/mob_db.conf b/db/pre-re/mob_db.conf index d8bc758d..4a0568be 100644 --- a/db/pre-re/mob_db.conf +++ b/db/pre-re/mob_db.conf @@ -2309,6 +2309,13 @@ mob_db: ( AttackDelay: 1200 AttackMotion: 672 DamageMotion: 50 + Drops: { + AlizarinScroll: 10 + CobaltScroll: 10 + GambogeScroll: 10 + MauveScroll: 10 + JoyplimScroll: 10 + } }, { Id: 1106 @@ -2352,6 +2359,7 @@ mob_db: ( Amethyst: 50 IronPotion: 100 SmallMushroom: 1000 + JoyplimScroll: 40 } }, //ID, Name, Jname, LV, HP, SP, EXP, JEXP, Range1, ATK1, ATK2, DEF, MDEF, STR, AGI, VIT, INT, DEX, LUK, Range2, Range3, Scale, Race, Element,Mode, Speed, Adelay, Amotion,Dmotion,Drop1id,Drop1per,Drop2id,Drop2%, Drop3id,Drop3%, Drop4id,Drop4%, Drop5id,Drop5%, Drop6id,Drop6%, Drop7id,Drop7%, Drop8id,Drop8%, Item1, Item2, MEXP, ExpPer, MVP1id, MVP1per,MVP2id, MVP2per,MVP3id, MVP3per,mutationcount,mutationstrength @@ -2873,6 +2881,7 @@ mob_db: ( SulphurPowder: 400 Lifestone: 300 EmptyBottle: 100 + JoyplimScroll: 50 } }, { @@ -3141,6 +3150,13 @@ mob_db: ( AttackDelay: 1200 AttackMotion: 672 DamageMotion: 50 + Drops: { + AlizarinScroll: 10 + CobaltScroll: 10 + GambogeScroll: 10 + MauveScroll: 10 + JoyplimScroll: 10 + } }, //ID, Name, Jname, LV, HP, SP, EXP, JEXP, Range1, ATK1, ATK2, DEF, MDEF, STR, AGI, VIT, INT, DEX, LUK, Range2, Range3, Scale, Race, Element,Mode, Speed, Adelay, Amotion,Dmotion,Drop1id,Drop1per,Drop2id,Drop2%, Drop3id,Drop3%, Drop4id,Drop4%, Drop5id,Drop5%, Drop6id,Drop6%, Drop7id,Drop7%, Drop8id,Drop8%, Item1, Item2, MEXP, ExpPer, MVP1id, MVP1per,MVP2id, MVP2per,MVP3id, MVP3per,mutationcount,mutationstrength { @@ -4952,6 +4968,10 @@ mob_db: ( DarkCrystal: 2000 DarkCrystal: 500 DiseasedHeart: 250 + AlizarinScroll: 50 + CobaltScroll: 50 + GambogeScroll: 50 + MauveScroll: 50 } }, { @@ -6661,12 +6681,13 @@ mob_db: ( DamageMotion: 400 Drops: { BrokenDoll: 5000 + MauveScroll: 3000 + CobaltScroll: 3000 + GambogeScroll: 3000 + AlizarinScroll: 3000 MauveHerb: 1000 - MauveHerb: 1000 - CobaltHerb: 1000 CobaltHerb: 1000 GambogeHerb: 1000 - GambogeHerb: 1000 AlizarinHerb: 1000 } }, diff --git a/npc/029-1/rewards_master.txt b/npc/029-1/rewards_master.txt index a945f479..972c2bef 100644 --- a/npc/029-1/rewards_master.txt +++ b/npc/029-1/rewards_master.txt @@ -5,6 +5,7 @@ if (Mobpt < tvis) goto L_NotEnough; setarray @items$, "AppleCake", "Arrow", "Beer", "Boots", "BugLeg", "CactusDrink", "CactusPotion", "Cake", "Candy", "CasinoCoins", "CherryCake", "ChickenLeg", "ChocolateBar", "ChocolateCake", "CottonBoots", "CottonCloth", "CottonShirt", "CottonShorts", "FancyHat", "GreenApple", "HardSpike", "IronOre", "Lifestone", "LightBlueDye", "MaggotSlime", "Milk", "Orange", "OrangeCake", "OrangeCupcake", "PinkPetal", "PileOfAsh", "PinkAntenna", "PoltergeistPowder", "RawLog", "RedApple", "RedDye", "ScorpionStinger", "SerfHat", "SmallHealingPotion", "SmallMushroom", "SnakeSkin", "SpectrePowder", "Steak", "TinyHealingPotion", "WhiteCake", "WhiteFur", "WispPowder", "YellowDye", "Coal"; + //if magic: "AlizarinScroll", "CobaltScroll", "GambogeScroll", "MauveScroll"; mes "[Ishi the Rewards Master]"; mes "\"Welcome! I see you have " + Mobpt + " Monster Points. Would you like to exchange some of those for items?\""; -- cgit v1.2.3-60-g2f50