summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt15
1 files changed, 11 insertions, 4 deletions
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;
}