From 75851823a7825942dcd05c4a6ff1021409f7c7e0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 8 Jun 2020 15:20:19 -0300 Subject: 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. --- npc/functions/hub.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'npc') 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 -- cgit v1.2.3-60-g2f50