From c814b4ebd094ab7d1bc419106386bb64b8d2266e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jul 2019 23:36:02 -0300 Subject: Sharpshooting - Replace skill --- npc/functions/clientversion.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'npc/functions/clientversion.txt') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index aee039e29..0db2905f3 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -274,6 +274,7 @@ function script clientupdater { // seg jul 15 16:41:35 -03 2019 if (UPDATE < 1563219695) { UPDATE=1563219695; + .@dg=true; // You got recipe book by BSS Quest - mark as complete and get Blueprint if (getq(NivalisQuest_BlueSageSlimes) == 2) { getitem any(AncientBlueprint, AlchemyBlueprintA, EquipmentBlueprintA), 1; @@ -286,21 +287,27 @@ function script clientupdater { // If you have TMW2_CRAFT skill, you need the bonus recipe if (getskilllv(TMW2_CRAFT)) { RECIPES_EQUIPMENT[CraftDagger]=true; - dispbottom l("Dagger Crafting recipe learnt."); + mesc l("Dagger Crafting recipe learnt."); } // Mercenary Rank removed if (MERC_RANK) { THIEF_RANK=MERC_RANK; MERC_RANK=0; - dispbottom l("Your class has been changed from %s to %s.", b(l("Merchant Police")), b(l("Thief"))); + mesc l("Your class has been changed from %s to %s.", b(l("Merchant Police")), b(l("Thief"))); } if (getskilllv(ALL_INCCARRY)) { skill TF_STEAL, getskilllv(ALL_INCCARRY); setskill ALL_INCCARRY, 0; - dispbottom l("Increase Weight skill replaced with Stealing."); + mesc l("Increase Weight skill replaced with Stealing."); } // NEW MAGIC SYSTEM - + if (getskilllv(SN_SHARPSHOOTING)) { + skill AC_CHARGEARROW, getskilllv(SN_SHARPSHOOTING); + setskill AC_CHARGEARROW, 0; + getexp 2000, 150; + mesc l("Sharpshooting skill replaced with Charged Arrow."); + mesc l("You've got 2000 xp and 150 job xp in apology tokens."); + } // Cleanup deletearray RNGTREASURE_DATE; } -- cgit v1.2.3-60-g2f50