summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 12:20:06 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 12:20:06 -0300
commitffbe97eef2b4200ff90b430da7530fd7c0b601c7 (patch)
tree3f56171eedc774da0277771f9bdaddd1e7e7de61
parent7dc287d59ca06a02214d1d18ed8b27bd737a7ae1 (diff)
downloadserverdata-ffbe97eef2b4200ff90b430da7530fd7c0b601c7.tar.gz
serverdata-ffbe97eef2b4200ff90b430da7530fd7c0b601c7.tar.bz2
serverdata-ffbe97eef2b4200ff90b430da7530fd7c0b601c7.tar.xz
serverdata-ffbe97eef2b4200ff90b430da7530fd7c0b601c7.zip
Go overbroad, and implement all three quivers.
Platinum quivers goes above maximum level, beware!
-rw-r--r--db/re/item_db.conf50
-rw-r--r--npc/003-8/jhedia.txt20
-rw-r--r--npc/012-5/nicholas.txt6
3 files changed, 70 insertions, 6 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 8cbb86427..1d3137e3d 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -4851,11 +4851,13 @@ item_db: (
// Bow: Subtype W_BOW (ITEMINFO_SUBTYPE)
// Arrow: EQP_AMMO
// Check if you are using bow and arrows
+ /*
debugmes "Quiver info! Bow Getequip id is "+getequipid(EQI_HAND_R);
debugmes "Quiver info! Item subtype is "+getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE);
debugmes "Quiver info! Target subtype: "+W_BOW;
+ */
if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) {
- bonus bHitRate,10;
+ bonus bAspdRate,6;
bonus bAddMaxWeight,100;
}
bonus bMaxSPrate,-10;
@@ -4863,6 +4865,52 @@ item_db: (
">
},
{
+ Id: 1173
+ AegisName: "TerraniteQuiver"
+ Name: "Terranite Quiver"
+ Type: "IT_ARMOR"
+ Buy: 240000
+ Sell: 5800
+ Weight: 140
+ Def: 0
+ Loc: "EQP_ACC_L"
+ WeaponLv: 0
+ EquipLv: 50
+ Refine: false
+ BuyingStore: true
+ Script: <"
+ if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) {
+ bonus bAspdRate,12;
+ bonus bAddMaxWeight,200;
+ }
+ bonus bMaxSPrate,-20;
+ bonus bLuk,-2;
+ ">
+},
+{
+ Id: 1174
+ AegisName: "PlatinumQuiver"
+ Name: "Platinum Quiver"
+ Type: "IT_ARMOR"
+ Buy: 480000
+ Sell: 11300
+ Weight: 200
+ Def: 0
+ Loc: "EQP_ACC_L"
+ WeaponLv: 0
+ EquipLv: 70
+ Refine: false
+ BuyingStore: true
+ Script: <"
+ if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) {
+ bonus bAspdRate,20;
+ bonus bAddMaxWeight,300;
+ }
+ bonus bMaxSPrate,-30;
+ bonus bLuk,-3;
+ ">
+},
+{
Id: 1300
AegisName: "CreasedShirt"
Name: "Creased Shirt"
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 49052a1d3..df04ce4f9 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -59,6 +59,10 @@ L_Menu:
l("Iron Ingot"),
l("Copper Ingot"),
l("Tin Ingot"),
+ l("Titanium Ingot"),
+ l("Iridium Ingot"),
+ l("Platinum Ingot"),
+ l("Silver Ingot"),
l("Gold Ingot"),
l("Gold Pieces"),
l("Nothing, thanks.");
@@ -66,7 +70,7 @@ L_Menu:
// ingot_create(Ore, Ingot, Nº of Ore, Nº of Coal, Price);
switch (@menu) {
case 1:
- ingot_create(IronOre, IronIngot, 7, 11, 8500);
+ ingot_create(IronOre, IronIngot, 7, 11, 8400);
break;
case 2:
ingot_create(CopperOre, CopperIngot, 5, 10, 8500);
@@ -75,9 +79,21 @@ L_Menu:
ingot_create(TinOre, TinIngot, 5, 10, 8500);
break;
case 4:
- ingot_create(GoldOre, GoldIngot, 3, 10, 8500);
+ ingot_create(TitaniumOre, TitaniumIngot, 5, 10, 9000);
break;
case 5:
+ ingot_create(IridiumOre, IridiumIngot, 4, 10, 12000);
+ break;
+ case 6:
+ ingot_create(PlatinumOre, PlatinumIngot, 3, 10, 18500);
+ break;
+ case 7:
+ ingot_create(SilverOre, SilverIngot, 3, 8, 6500);
+ break;
+ case 8:
+ ingot_create(GoldOre, GoldIngot, 3, 10, 8500);
+ break;
+ case 9:
ingot_create(GoldOre, GoldPieces, 1, 20, 11000);
break;
default:
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index b6dd5c1d3..69d8f743a 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -170,13 +170,13 @@ L_Quiver:
case 1:
goto L_Menu;
case 2:
- blacksmith_create(LeatherPatch, 40, TitaniumIngot, 1, WoodenShield, 20000);
+ blacksmith_create(LeatherPatch, 40, TitaniumIngot, 1, LeatherQuiver, 20000);
break;
case 3:
- blacksmith_create(TerraniteOre, 324, Coal, 80, WoodenShield, 20000); // TODO: Terranite Ingot
+ blacksmith_create(TerraniteOre, 210, Coal, 80, TerraniteQuiver, 30000); // TODO: Terranite Ingot
break;
case 4:
- blacksmith_create(PlatinumIngot, 40, IridiumIngot, 20, WoodenShield, 20000);
+ blacksmith_create(PlatinumIngot, 30, IridiumIngot, 10, PlatinumQuiver, 40000);
break;
}
goto L_Quiver;