From f6e72383972afb8d6f6155a5e0d90c0cec8453cf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 27 Feb 2020 15:50:26 -0300 Subject: Bat Pet (it'll not work - common color) --- db/re/item_db.conf | 21 +++++++++++++++++++++ db/re/pet_db.conf | 38 +++++++++++++++++++++++++++++++------- npc/017-1/pet_detective.txt | 5 +++++ 3 files changed, 57 insertions(+), 7 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 015d1f659..d1a4d2d8a 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12484,6 +12484,27 @@ item_db: ( bpet; "> }, +{ + Id: 4010 + AegisName: "BatEgg" + Name: "Bat Egg" + Type: "IT_PETEGG" + Buy: 90000 + Sell: 4000 + Weight: 360 + KeepAfterUse: true + Trade: { + partneroverride: true + notrade: true + nodrop: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + bpet; + "> +}, // // Dyes diff --git a/db/re/pet_db.conf b/db/re/pet_db.conf index 665c48857..769403eee 100644 --- a/db/re/pet_db.conf +++ b/db/re/pet_db.conf @@ -141,6 +141,30 @@ pet_db:( PetScript: <" petloot 3; "> EquipScript: <" bonus bAddStealRate,15; bonus bHPGainValue,1; "> }, +{ + Id: 1022 + SpriteName: "Common Fluffy" + Name: "Common Fluffy" + TamingItem: "WhiteFur" + EggItem: "FluffyEgg" + FoodItem: "LettuceLeaf" + FoodEffectiveness: 100 + HungerDelay: 120 + Intimacy: { + Initial: 250 + FeedIncrement: 100 + OverFeedDecrement: 10 + OwnerDeathDecrement: 10 + } + CaptureRate: 1000 + Speed: 220 + SpecialPerformance: true + AttackRate: 450 + DefendRate: 500 + ChangeTargetRate: 850 + PetScript: <" petloot 3; "> + EquipScript: <" bonus bMaxSP,250; "> +}, { Id: 1030 SpriteName: "Cute Maggot" @@ -166,12 +190,12 @@ pet_db:( EquipScript: <" bonus bMaxHP, 250; "> }, { - Id: 1022 - SpriteName: "Common Fluffy" - Name: "Common Fluffy" - TamingItem: "WhiteFur" - EggItem: "FluffyEgg" - FoodItem: "LettuceLeaf" + Id: 1039 + SpriteName: "Nasty Bat" + Name: "Nasty Bat" + TamingItem: "Bloodstone" + EggItem: "BatEgg" + FoodItem: "RoastedMaggot" FoodEffectiveness: 100 HungerDelay: 120 Intimacy: { @@ -187,7 +211,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bMaxSP,250; "> + EquipScript: <" bonus bAspdRate, 5; "> }, { Id: 1049 diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt index 358faba80..4bbf91c5e 100644 --- a/npc/017-1/pet_detective.txt +++ b/npc/017-1/pet_detective.txt @@ -66,6 +66,7 @@ L_Menu: rif(PDQ_CheckGHQ(ForestMushroom) >= 10000 && !countitem(ForestShroomEgg), l("Forest Mushroom")), rif(PDQ_CheckGHQ(Fluffy) >= 10000 && !countitem(FluffyEgg), l("Commmon Fluffy")), rif(PDQ_CheckGHQ(Duck) >= 10000 && !countitem(DuckEgg), l("Duck")), + rif(PDQ_CheckGHQ(Bat) >= 10000 && !countitem(BatEgg), l("Bat")), rif(#LOGIN_ALLTIME >= 12 && !countitem(PiouEgg), l("Piou")), l("Nothing at the moment."); @@ -91,6 +92,10 @@ L_Menu: if (PDQ_InnerSwitch(Piou, PiouFeathers, 80)) .stock-=1; break; + case 6: + if (PDQ_InnerSwitch(Bat, BatWing, 80)) + .stock-=1; + break; default: closedialog; goodbye; -- cgit v1.2.3-60-g2f50