From 30296f7d620670b08d90fb62e19b07bfe9062458 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Feb 2020 12:31:31 -0300 Subject: Duck Pet. Loot Capacity 3 (default) Intimacy Bonuses: Steal Rate +15%, HP Feeding +1 on kill (physical damage only) --- db/re/item_db.conf | 21 +++++++++++++++++++++ db/re/pet_db.conf | 24 ++++++++++++++++++++++++ npc/017-1/pet_detective.txt | 5 +++++ 3 files changed, 50 insertions(+) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 8e54658b9..f50ff9a80 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12378,6 +12378,27 @@ item_db: ( bpet; "> }, +{ + Id: 4009 + AegisName: "DuckEgg" + Name: "Duck 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 0ab13cc13..665c48857 100644 --- a/db/re/pet_db.conf +++ b/db/re/pet_db.conf @@ -117,6 +117,30 @@ pet_db:( PetScript: <" petloot 1; bonus bDex, 1; "> EquipScript: <" bonus bDex, 4; "> }, +{ + Id: 1029 + SpriteName: "DangerousDuck" + Name: "Dangerous Duck" + TamingItem: "DuckFeather" + EggItem: "DuckEgg" + FoodItem: "CherryCake" + 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 bAddStealRate,15; bonus bHPGainValue,1; "> +}, { Id: 1030 SpriteName: "Cute Maggot" diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt index 3eb094fd1..358faba80 100644 --- a/npc/017-1/pet_detective.txt +++ b/npc/017-1/pet_detective.txt @@ -65,6 +65,7 @@ L_Menu: rif(PDQ_CheckGHQ(Maggot) >= 10000 && !countitem(MaggotCocoon), l("Cute Maggot")), 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(#LOGIN_ALLTIME >= 12 && !countitem(PiouEgg), l("Piou")), l("Nothing at the moment."); @@ -83,6 +84,10 @@ L_Menu: .stock-=1; break; case 4: + if (PDQ_InnerSwitch(Duck, CommonCarp, 4)) + .stock-=1; + break; + case 5: if (PDQ_InnerSwitch(Piou, PiouFeathers, 80)) .stock-=1; break; -- cgit v1.2.3-60-g2f50