summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-08 15:16:32 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-08 15:16:32 -0300
commitb39329b15eeaa4b4b64e4610343af923a2991ba5 (patch)
tree7b3b11a4e49b3f43a494cbd6f6ccf8461657ca61 /npc
parent5357a87ba703aaf7155251706b0f95290e58a988 (diff)
downloadserverdata-b39329b15eeaa4b4b64e4610343af923a2991ba5.tar.gz
serverdata-b39329b15eeaa4b4b64e4610343af923a2991ba5.tar.bz2
serverdata-b39329b15eeaa4b4b64e4610343af923a2991ba5.tar.xz
serverdata-b39329b15eeaa4b4b64e4610343af923a2991ba5.zip
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
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt9
1 files changed, 9 insertions, 0 deletions
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();