summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/craft_db.conf35
-rw-r--r--npc/020-4/baktar.txt1
-rw-r--r--npc/craft/options.txt8
-rw-r--r--npc/craft/recipes.txt6
-rw-r--r--npc/functions/clientversion.txt9
5 files changed, 54 insertions, 5 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index dd1ee65f6..c7f947dd0 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -1697,6 +1697,41 @@ craft_db: (
Priority: 20
},
/****************************************************************************/
+{
+ Id: 95
+ Name: "CraftBraknarShield"
+ Flag: 16
+ ReturnCode: 2709
+ //BraknarShield
+ SourceItems:
+ (
+ {
+ CopperIngot: 18
+ TinIngot: 2
+ Coal: 5
+ EverburnPowder: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ CopperIngot: 1
+ },
+ {
+ CopperIngot: 1
+ TinIngot: 1
+ },
+ {
+ CopperIngot: 1
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 1
+ },
+ )
+ Priority: 30
+},
+/****************************************************************************/
// 51~71 → Swords
// 72~76 → Bows
// 77~81 → Wands
diff --git a/npc/020-4/baktar.txt b/npc/020-4/baktar.txt
index a8adf471c..c92aec45a 100644
--- a/npc/020-4/baktar.txt
+++ b/npc/020-4/baktar.txt
@@ -141,6 +141,7 @@ L_Braknar:
}
mesq l("Sure. Here, take it.");
setq1 NivalisQuest_Baktar, 3;
+ RECIPES_EQUIPMENT[CraftBraknarShield]=true;
break;
case 3: close;
}
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index f18b1c449..6fe96ef88 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -824,16 +824,16 @@ function script csysGUI_OptLearnMenu {
// Returns true if can raise group, false otherwise
// You can't raise if max level (200) is exceeded
// At current max level (200) you'll have at most the following bonuses:
-// 1 Splash Radius, 100% EXP, 500 HP, 300% SC RESIST, 80 AGI, 200 ATK, 100 STR
+// 1 Splash Radius, 100% EXP, 500 HP, 300% SC RESIST, 80 AGI, 200 ATK, 100 VIT
// Walk Speed: 40% faster
// At ONE QUARTER max level (50) you'll have at most the following bonuses:
-// 1 Splash Radius, 25% EXP, 125 HP, 75% SC RESIST, 20 AGI, 50 ATK, 25 STR
+// 1 Splash Radius, 25% EXP, 125 HP, 75% SC RESIST, 20 AGI, 50 ATK, 25 VIT
// Walk Speed: 10% faster
// At level 10 it will be:
-// 1 Splash Radius, 5% EXP, 25 HP, 15% SC RESIST, 4 AGI, 10 ATK, 5 STR
+// 1 Splash Radius, 5% EXP, 25 HP, 15% SC RESIST, 4 AGI, 10 ATK, 5 VIT
// Walk Speed: 2% faster
// At level 1 it will be:
-// 1 Splash Radius, 1% EXP, 2~3 HP, 1~2% SC RESIST, 1 AGI, 1 ATK, 1 STR
+// 1 Splash Radius, 1% EXP, 2~3 HP, 1~2% SC RESIST, 1 AGI, 1 ATK, 1 VIT
// Walk Speed: 1% faster
function script csysGUI_RaiseOpt {
.@sk=getarg(0);
diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt
index 98c2c2849..693de6830 100644
--- a/npc/craft/recipes.txt
+++ b/npc/craft/recipes.txt
@@ -327,6 +327,12 @@ function readCrafting {
2, TitaniumIngot,
5, Coal,
1, EverburnPowder);
+ // Exception to shield rule: Braknar Shield
+ showRecipe(CraftBraknarShield, BraknarShield,
+ 18, CopperIngot,
+ 2, TinIngot,
+ 5, Coal,
+ 1, EverburnPowder);
next;
// Misc: Misc items
mesc "----------"+l("Miscellaneous Recipes")+"----------", 2;
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index b971f10f2..41fe19275 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -638,9 +638,16 @@ function script clientupdater {
// qua set 4 11:07:12 -03 2019
if (UPDATE < 1567606032) {
UPDATE=1567606032;
+ // Leather Quiver update
if (countitem(LeatherQuiver)) {
getitem TitaniumOre, countitem(LeatherQuiver)*3;
- dispbottom l("Titanium Ore refunded on Leather Quiver update.");
+ getitem Coal, countitem(LeatherQuiver)*2;
+ dispbottom l("Titanium Ore and COal refunded on Leather Quiver update.");
+ }
+ // Braknar shield recipe
+ if (getq(NivalisQuest_Baktar) >= 3) {
+ RECIPES_EQUIPMENT[CraftBraknarShield]=true;
+ dispbottom l("Braknar Shield Recipe unlocked!");
}
// Orby's fix
if (strcharinfo(0) == "Orby") {