summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 04:23:50 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 04:23:50 -0300
commit1c2640d7adc7e6ae23143044bfa9168eaa15f1b8 (patch)
tree96f4852220248730c5057ccfefc8cc5298da833f /npc
parente2d882353dfbec309d892f9816c7a1806eb6730f (diff)
downloadserverdata-1c2640d7adc7e6ae23143044bfa9168eaa15f1b8.tar.gz
serverdata-1c2640d7adc7e6ae23143044bfa9168eaa15f1b8.tar.bz2
serverdata-1c2640d7adc7e6ae23143044bfa9168eaa15f1b8.tar.xz
serverdata-1c2640d7adc7e6ae23143044bfa9168eaa15f1b8.zip
Register the new guild skills, so they become operational
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt27
-rw-r--r--npc/magic/guild.txt8
2 files changed, 31 insertions, 4 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 454560554..8ab0802a3 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -218,6 +218,33 @@ function script HUB_SkillInvoke {
case EVOL_AREA_PROVOKE:
massprovoke(@skillLv);
break;
+ case TMW2_GD_INCALL:
+ GD_allboost();
+ break;
+ case TMW2_GD_REGEN:
+ GD_regeneration();
+ break;
+ case TMW2_GD_DEFUP:
+ GD_defboost();
+ break;
+ case TMW2_GD_BATTLEPLAN:
+ GD_atkboost();
+ break;
+ case TMW2_GD_ATKUP:
+ GD_atkboost2();
+ break;
+ case TMW2_GD_CRITUP:
+ GD_critboost();
+ break;
+ case TMW2_GD_AUTOREVIVE:
+ GD_autorevive();
+ break;
+ case TMW2_GDP_MAXPOWER:
+ SK_maximizepower();
+ break;
+ case TMW2_GDP_SPREGEN:
+ SK_spregen();
+ break;
case TMW2_FAKESKILL2:
//CMD_lang(); next; closeclientdialog;
CMD_toevent();
diff --git a/npc/magic/guild.txt b/npc/magic/guild.txt
index dcb7400e7..151a95154 100644
--- a/npc/magic/guild.txt
+++ b/npc/magic/guild.txt
@@ -139,9 +139,9 @@ function script GD_autorevive {
-// maximizepower ( lv )
+// SK_maximizepower ( lv )
// Damage always at max
-function script maximizepower {
+function script SK_maximizepower {
.@lv=getarg(0, @skillLv);
// range, time, SC, BL, power, filter
areasc(1+.@lv, 60000*.@lv, SC_MAXIMIZEPOWER, BL_PC, 1, "filter_sameguildorparty");
@@ -149,9 +149,9 @@ function script maximizepower {
}
-// GD_spregen ( lv )
+// SK_spregen ( lv )
// Temporarily doubles the SP Recovery rate of the user.
-function script GD_spregen {
+function script SK_spregen {
.@lv=getarg(0, @skillLv);
// range, time, SC, BL, 1, power, filter
areasc(.@lv, 20000*.@lv, SC_MAGNIFICAT, BL_PC, 1, "filter_sameguildorparty");