From b39329b15eeaa4b4b64e4610343af923a2991ba5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 8 Jun 2020 15:16:32 -0300 Subject: Grant 10 mana experience points for guild skills. They use the same skill ID (GD_DEVELOPMENT) instead of @skillId This is to prevent exploiting/manaexp farming --- npc/functions/hub.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc/functions/hub.txt') diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index a318873b0..f4a8a152d 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -258,30 +258,39 @@ function script HUB_SkillInvoke { break; case TMW2_GD_INCALL: GD_allboost(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_REGEN: GD_regenerating(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_DEFUP: GD_defboost(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_BATTLEPLAN: GD_atkboost(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_ATKUP: GD_atkboost2(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_CRITUP: GD_critboost(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GD_AUTOREVIVE: GD_autorevive(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GDP_MAXPOWER: SK_maximizepower(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_GDP_SPREGEN: SK_spregen(); + GetManaExp(GD_DEVELOPMENT, 10); break; case TMW2_NILFHEIM: SK_nilfheim(); -- cgit v1.2.3-70-g09d2