summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-08 15:20:19 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-08 15:20:19 -0300
commit75851823a7825942dcd05c4a6ff1021409f7c7e0 (patch)
treea06604927b8e201d68b652bb7bb25993f13d526d /npc
parentb39329b15eeaa4b4b64e4610343af923a2991ba5 (diff)
downloadserverdata-75851823a7825942dcd05c4a6ff1021409f7c7e0.tar.gz
serverdata-75851823a7825942dcd05c4a6ff1021409f7c7e0.tar.bz2
serverdata-75851823a7825942dcd05c4a6ff1021409f7c7e0.tar.xz
serverdata-75851823a7825942dcd05c4a6ff1021409f7c7e0.zip
Work toward extincition of Mana Magic - Most of regular magic skills now also
grant mana magic experience. It is not used, unlike summoning, but it is now valid to scoring purposes.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index f4a8a152d..25717efa4 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -294,6 +294,7 @@ function script HUB_SkillInvoke {
break;
case TMW2_NILFHEIM:
SK_nilfheim();
+ GetManaExp(@skillId, 3);
break;
case TMW2_JUDGMENT:
debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY;
@@ -362,6 +363,35 @@ function script HUB_SkillInvoke {
case TMW2_TRANSMIGRATION:
doevent("sk#mkpot::OnCall");
break;
+
+ // Experience only
+ case SM_BASH:
+ case MC_MAMMONITE:
+ case AC_SHOWER:
+ case KN_AUTOCOUNTER:
+ case ASC_METEORASSAULT:
+ case SN_SHARPSHOOTING:
+ case AL_HEAL:
+ case HW_MAGICPOWER:
+ case SM_PROVOKE:
+ case EVOL_AREA_PROVOKE:
+ case EVOL_MASS_PROVOKE:
+ case AB_HIGHNESSHEAL:
+ case SN_WINDWALK:
+ case MG_FIREBALL:
+ case AL_HOLYLIGHT:
+ case MG_SOULSTRIKE:
+ case MG_NAPALMBEAT:
+ case SO_FIREWALK:
+ case WZ_FROSTNOVA:
+ case MG_LIGHTNINGBOLT:
+ case TF_BACKSLIDING:
+ case MG_FIREWALL:
+ case ALL_FULL_THROTTLE:
+ case GC_DARKILLUSION:
+ case NV_TRICKDEAD:
+ GetManaExp(@skillId, rand2(1,3));
+ break;
}
// Debug