diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-18 15:46:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-18 15:46:03 -0300 |
commit | f6ee091f2f0f3e9f1eb5befa4188987a06a3ebf6 (patch) | |
tree | 82d491e6c0a14dde3dd35997fa08dea8e86b3113 | |
parent | 6c9bed5421c6beef97fe2b606610ba2b3e1c076c (diff) | |
download | serverdata-f6ee091f2f0f3e9f1eb5befa4188987a06a3ebf6.tar.gz serverdata-f6ee091f2f0f3e9f1eb5befa4188987a06a3ebf6.tar.bz2 serverdata-f6ee091f2f0f3e9f1eb5befa4188987a06a3ebf6.tar.xz serverdata-f6ee091f2f0f3e9f1eb5befa4188987a06a3ebf6.zip |
Baby Dragon pet. Prepare for Mana Tree quest.
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | db/re/item_db.conf | 21 | ||||
-rw-r--r-- | db/re/pet_db.conf | 25 | ||||
-rw-r--r-- | npc/017-1/pet_detective.txt | 5 |
4 files changed, 54 insertions, 1 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf index c888620ee..1ed42eb4d 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -391,6 +391,10 @@ quest_db: ( Id: 153 Name: "FortressQuest_RangedHunt" }, +{ + Id: 154 + Name: "FortressQuest_ManaTree" +}, // ID 171 to 190: Artis & Esperia Quests // ID 191 to 249: General Quests II (eg. Dungeon Quests) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 89ee051c2..9f5d2127e 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12992,6 +12992,27 @@ item_db: ( bpet; "> }, +{ + Id: 4013 + AegisName: "DragonHorn" + Name: "Dragon Horn" + 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 6fa1daf73..f430cc8a9 100644 --- a/db/re/pet_db.conf +++ b/db/re/pet_db.conf @@ -382,4 +382,27 @@ pet_db:( PetScript: <" petloot 3; bonus bInt, 1; "> EquipScript: <"if (getpetinfo(3) > 900) { bonus bInt, 4; bonus bAgi, 1; } "> }, -) +{ + Id: 1195 + SpriteName: "Baby Dragon" + Name: "Baby Dragon" + TamingItem: "JarOfBlood" + EggItem: "DragonHorn" + FoodItem: "Dragonfruit" + FoodEffectiveness: 70 + HungerDelay: 100 + Intimacy: { + Initial: 60 + FeedIncrement: 100 + OverFeedDecrement: 10 + OwnerDeathDecrement: 10 + } + CaptureRate: 0 + Speed: 190 + SpecialPerformance: true + AttackRate: 450 + DefendRate: 500 + ChangeTargetRate: 850 + PetScript: <" petloot 3; bonus bStr, 1; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus2 bAddGetZenyNum, -1, 4; } "> +},) diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt index 98b483bb8..de0ead541 100644 --- a/npc/017-1/pet_detective.txt +++ b/npc/017-1/pet_detective.txt @@ -68,6 +68,7 @@ L_Menu: rif(PDQ_CheckGHQ(Duck) >= 10000 && !countitem(DuckEgg), l("Duck")), rif(PDQ_CheckGHQ(Bat) >= 10000 && !countitem(BatEgg), l("Bat")), rif(PDQ_CheckGHQ(Moggun) >= 10000 && !countitem(MoggunEgg), l("Moggun")), + rif(PDQ_CheckGHQ(GreenDragon) >= 10000 && !countitem(DragonHorn), l("Green Dragon")), rif(#LOGIN_ALLTIME >= 6 && !countitem(PiouEgg), l("Piou")), l("Nothing at the moment."); @@ -98,6 +99,10 @@ L_Menu: .stock-=1; break; case 7: + if (PDQ_InnerSwitch(GreenDragon,DragonScales, 65)) + .stock-=1; + break; + case 8: if (PDQ_InnerSwitch(Piou, PiouFeathers, 80)) .stock-=1; break; |