summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-25 23:36:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-25 23:36:02 -0300
commitc814b4ebd094ab7d1bc419106386bb64b8d2266e (patch)
tree1412d862f38bce8f83626eaffb255f19fcd574a3
parent399abe81e82adf417b8b4ff9a57f36b908b5490c (diff)
downloadserverdata-c814b4ebd094ab7d1bc419106386bb64b8d2266e.tar.gz
serverdata-c814b4ebd094ab7d1bc419106386bb64b8d2266e.tar.bz2
serverdata-c814b4ebd094ab7d1bc419106386bb64b8d2266e.tar.xz
serverdata-c814b4ebd094ab7d1bc419106386bb64b8d2266e.zip
Sharpshooting - Replace skill
-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;
}