From 1da4376b9c440a9d3bc0f36c0a0e9c003ec156aa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 6 Sep 2019 13:32:05 -0300 Subject: Quest-exclusive recipe: [Braknar Shield], automatically unlocked, not a blueprint --- npc/020-4/baktar.txt | 1 + npc/craft/options.txt | 8 ++++---- npc/craft/recipes.txt | 6 ++++++ npc/functions/clientversion.txt | 9 ++++++++- 4 files changed, 19 insertions(+), 5 deletions(-) (limited to 'npc') 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") { -- cgit v1.2.3-70-g09d2