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.txt59
1 files changed, 48 insertions, 11 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 59098ee15..873873018 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -287,25 +287,39 @@ function script clientupdater {
if (UPDATE < 1563219695) {
UPDATE=1563219695;
.@dg=true;
+ mesc l(".:: This is Release 9.5 Academy ::."), 0;
+ //mesc l(".:: This is Release 10.0 Infinity ::."), 0;
+ // Fix mounts
+ unequip(EQI_SHADOW_SHOES);
+ setmount 0;
// You got recipe book by BSS Quest - mark as complete and get Blueprint
if (getq(NivalisQuest_BlueSageSlimes) == 2) {
getitem any(AncientBlueprint, AlchemyBlueprintA, EquipmentBlueprintA), 1;
CRAFTQUEST=1;
+ mesc l("You got a blueprint as reward for Blue Sage Slimes Quest completion."), 3;
+ }
+ // If you have TMW2_CRAFT skill, you need the bonus recipe
+ if (getskilllv(TMW2_CRAFT)) {
+ RECIPES_EQUIPMENT[CraftDagger]=true;
+ mesc l("Dagger Crafting recipe learnt."), 2;
}
// Bounty Hunter Helmet
if (MERCENARY_DAILYQUEST > 100) {
getitem BountyHunterHelmet, 1;
+ mesc l("You got a @@ for completing 100+ daily bountyhunter quests!", getitemlink(BountyHunterHelmet)), 2;
}
- // If you have TMW2_CRAFT skill, you need the bonus recipe
- if (getskilllv(TMW2_CRAFT)) {
- RECIPES_EQUIPMENT[CraftDagger]=true;
- mesc l("Dagger Crafting recipe learnt.");
+ // Cindy quest new rewards
+ if (getq(NivalisQuest_Cindy) >= 3) {
+ getexp 120000, 0;
+ mesc l("You got 120,000 XP for completing Mercury's quest."), 2;
}
// Mercenary Rank removed
if (MERC_RANK) {
THIEF_RANK=MERC_RANK;
+ THIEF_EXP=MERC_EXP;
MERC_RANK=0;
- mesc l("Your class has been changed from %s to %s.", b(l("Merchant Police")), b(l("Thief")));
+ MERC_EXP=0;
+ mesc l("Your class has been changed from %s to %s.", b(l("Merchant Police")), b(l("Thief"))), 1;
}
if (getskilllv(ALL_INCCARRY)) {
skill TF_STEAL, getskilllv(ALL_INCCARRY);
@@ -317,7 +331,7 @@ function script clientupdater {
skill AC_CHARGEARROW, getskilllv(SN_SHARPSHOOTING);
skill AC_CHARGEARROW, 0, 0;
getexp 2000, 150;
- mesc l("Sharpshooting skill replaced with Charged Arrow.");
+ mesc l("Sharpshooting skill replaced with Charged Arrow."), 1;
mesc l("You've got 2000 xp and 150 job xp in apology tokens.");
}
getskilllist();
@@ -326,19 +340,24 @@ function script clientupdater {
if (@skilllist_flag[.@i] != 0)
continue;
// Only “paid” skills will result in a Scholarship Badge
- switch (@skilllist_id[.@i]) {
+ .@id=@skilllist_id[.@i];
+ .@am=0;
+ switch (.@id) {
case SM_BASH:
+ case TMW2_DEMURE:
+ case MG_FIREBALL:
+ case MG_SRECOVERY:
+ case AL_DP:
+ .@am=1;
case SM_ENDURE:
case KN_AUTOCOUNTER:
case KN_TWOHANDQUICKEN:
- case TMW2_DEMURE:
case AL_ANGELUS:
case CR_TRUST:
case CR_DEFENDER:
case AL_HOLYLIGHT:
case TF_DETOXIFY:
case ALL_RESURRECTION:
- case MG_SRECOVERY:
case SM_RECOVERY:
case PR_ASPERSIO:
case AB_HIGHNESSHEAL:
@@ -349,7 +368,6 @@ function script clientupdater {
case SA_FROSTWEAPON:
case SA_LIGHTNINGLOADER:
case SA_SEISMICWEAPON:
- case MG_FIREBALL:
case MG_ENERGYCOAT:
case MG_NAPALMBEAT:
case MG_FIREBOLT:
@@ -357,7 +375,10 @@ function script clientupdater {
case MG_LIGHTNINGBOLT:
case WZ_EARTHSPIKE:
mesc l("A skill has been replaced with an @@.", getitemlink(ScholarshipBadge));
- getitem ScholarshipBadge, 1;
+ if (!.@am)
+ .@am=min(5, @skilllist_lv[.@i]);
+
+ getitem ScholarshipBadge, .@am;
skill @skilllist_id[.@i], 0, 0;
getexp 5, (@skilllist_lv[.@i]-1)*1000;
break;
@@ -377,6 +398,22 @@ function script clientupdater {
break;
}
}
+ // Grant you AL_DP based on magic level
+ if (MAGIC_LVL) {
+ skill AL_DP, MAGIC_LVL, 0;
+ mesc l("You have learnt \"Divine Protection\" level @@.", MAGIC_LVL), 3;
+ }
+ // Grant you Thief Skill Tier 3
+ if (THIEF_RANK >= 3) {
+ skill(ALL_INCCARRY,1,0);
+ mesc l("You have learnt \"Increase Weight\" in Thief Skills."), 2;
+ }
+ // If you got a Scholarship Badge, you need to travel to Tulimshar.
+ // Give you a Warp Crystal to do so.
+ if (countitem(ScholarshipBadge)) {
+ getitem TulimWarpCrystal, 1;
+ mesc l("You've obtained a @@ to visit Magic Academy.", getitemlink(TulimWarpCrystal)), 1;
+ }
// Cleanup
deletearray RNGTREASURE_DATE;
}