diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-17 12:31:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-17 12:31:31 -0300 |
commit | 30296f7d620670b08d90fb62e19b07bfe9062458 (patch) | |
tree | 1dc3492d917b70278e361f96d81cbd5fc79eb2be | |
parent | b260b8afa8902d3b064df549b4fe82ed6f761ed0 (diff) | |
download | serverdata-30296f7d620670b08d90fb62e19b07bfe9062458.tar.gz serverdata-30296f7d620670b08d90fb62e19b07bfe9062458.tar.bz2 serverdata-30296f7d620670b08d90fb62e19b07bfe9062458.tar.xz serverdata-30296f7d620670b08d90fb62e19b07bfe9062458.zip |
Duck Pet.
Loot Capacity 3 (default)
Intimacy Bonuses: Steal Rate +15%, HP Feeding +1 on kill (physical damage only)
-rw-r--r-- | db/re/item_db.conf | 21 | ||||
-rw-r--r-- | db/re/pet_db.conf | 24 | ||||
-rw-r--r-- | npc/017-1/pet_detective.txt | 5 |
3 files changed, 50 insertions, 0 deletions
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 @@ -118,6 +118,30 @@ pet_db:( 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" Name: "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; |