summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-25 23:51:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-25 23:51:47 -0300
commit215005e3e945da689421e44d37079a201d83c6b2 (patch)
treebca13576e58f226c1418563b349a5bd7a844c05b /npc
parentdbbf74820460507dc354eaf9cc1d4b4dd4671f95 (diff)
downloadserverdata-215005e3e945da689421e44d37079a201d83c6b2.tar.gz
serverdata-215005e3e945da689421e44d37079a201d83c6b2.tar.bz2
serverdata-215005e3e945da689421e44d37079a201d83c6b2.tar.xz
serverdata-215005e3e945da689421e44d37079a201d83c6b2.zip
All skills from the deprecated magic system are now being removed on update.
If they were paid, you'll get 1000 JEXP for additional levels, and 1 Scholarship Badge for them. Otherwise, 100 JEXP for them (AL_HEAL lv 3+ will give a badge).
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/clientversion.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 9fb238dfd..98844b691 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -316,10 +316,38 @@ function script clientupdater {
// Only “paid” skills will result in a Scholarship Badge
switch (@skilllist_id[.@i]) {
case SM_BASH:
+ 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:
+ case SA_FREECAST:
+ case SA_DRAGONOLOGY:
+ case TMW2_SAGE:
+ case SA_FLAMELAUNCHER:
+ case SA_FROSTWEAPON:
+ case SA_LIGHTNINGLOADER:
+ case SA_SEISMICWEAPON:
case MG_FIREBALL:
+ case MG_ENERGYCOAT:
+ case MG_NAPALMBEAT:
+ case MG_FIREBOLT:
+ case MG_COLDBOLT:
+ case MG_LIGHTNINGBOLT:
+ case WZ_EARTHSPIKE:
mesc l("A skill has been replaced with an @@.", getitemlink(ScholarshipBadge));
getitem ScholarshipBadge, 1;
skill @skilllist_id[.@i], 0, 0;
+ getexp 5, (@skilllist_lv[.@i]-1)*1000;
break;
// Free skills (AL_HEAL and provokes) will result in XP
// Only AL_HEAL with level 3+ will result in a badge
@@ -329,6 +357,7 @@ function script clientupdater {
case EVOL_MASS_PROVOKE:
.@delval=@skilllist_lv[.@i];
mesc l("A skill has been removed, you got @@ job exp and @@ Strange Coin as an apology token.", .@delval*100, .@delval);
+ skill @skilllist_id[.@i], 0, 0;
getexp .@delval, .@delval*100;
getitem StrangeCoin, .@delval;
break;