summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-26 21:45:05 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-26 21:45:05 -0300
commit473bd9cb460bf0c3cc979ba9c6161cb44c4dd769 (patch)
treec45fb829007e40385892d3effbe2363f352116ae /npc
parentd237a201a5972c7c9d82a89272bf6823d606d238 (diff)
downloadserverdata-473bd9cb460bf0c3cc979ba9c6161cb44c4dd769.tar.gz
serverdata-473bd9cb460bf0c3cc979ba9c6161cb44c4dd769.tar.bz2
serverdata-473bd9cb460bf0c3cc979ba9c6161cb44c4dd769.tar.xz
serverdata-473bd9cb460bf0c3cc979ba9c6161cb44c4dd769.zip
Replace healing skills
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt2
-rw-r--r--npc/027-1/saves.txt12
-rw-r--r--npc/functions/hub.txt33
3 files changed, 24 insertions, 23 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 0b185ebeb..f8ce13909 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -583,9 +583,9 @@ OnInit:
ReplaceSkillFromEveryPlayer(MG_FROSTDIVER, TMW2_FROSTNOVA);
ReplaceSkillFromEveryPlayer(WZ_FROSTNOVA, TMW2_NILFHEIM);
+ */
ReplaceSkillFromEveryPlayer(AL_HEAL, TMW2_FIRSTAID);
ReplaceSkillFromEveryPlayer(AB_HIGHNESSHEAL, TMW2_HEALING);
- */
debugmes "";
debugmes "* Tolchi mess cleanup";
diff --git a/npc/027-1/saves.txt b/npc/027-1/saves.txt
index 13f70d9df..4cb146f4f 100644
--- a/npc/027-1/saves.txt
+++ b/npc/027-1/saves.txt
@@ -24,20 +24,20 @@
mesc l("Windwalker - Increase walk speed and flee rate.");
mesc l("Last Standing Man - Passive - Raise Max HP and Holy Defense");
menuint
- l("Healing"), AL_HEAL,
+ l("Healing"), TMW2_FIRSTAID,
l("Mana Wisdom"), TMW2_SAGE,
l("Accumulate Power"), HW_MAGICPOWER,
l("Provoke"), SM_PROVOKE,
l("Area Provoke"), EVOL_AREA_PROVOKE,
- l("High Healing"), AB_HIGHNESSHEAL,
+ l("High Healing"), TMW2_HEALING,
l("Windwalker"), SN_WINDWALK,
l("Last Standing Man"), CR_TRUST,
l("Cancel"), 0;
mes "";
switch (@menuret) {
- case AL_HEAL:
- if (!mlearn(AL_HEAL, 4, 1, SpellBookPage, 1))
+ case TMW2_FIRSTAID:
+ if (!mlearn(TMW2_FIRSTAID, 4, 1, SpellBookPage, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case TMW2_SAGE:
@@ -56,8 +56,8 @@
if (!mlearn(EVOL_AREA_PROVOKE, 10, 2, SpellBookPage, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
- case AB_HIGHNESSHEAL:
- if (!mlearn(AB_HIGHNESSHEAL, 1, 2, SpellBookPage, 1))
+ case TMW2_HEALING:
+ if (!mlearn(TMW2_HEALING, 1, 2, SpellBookPage, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case SN_WINDWALK:
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 66158458f..9e95e0e87 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -317,22 +317,7 @@ function script HUB_SkillInvoke {
Sp=0;
GetManaExp(@skillId, 1);
break;
- case TMW2_NILFHEIM:
- // Nilfheim cast on self?
- .@PW=80+(10*@skillLv);
- areaharm(getcharid(3), 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water);
- areasc(8, 15000, SC_FREEZE, BL_PC | BL_MOB | BL_MER | BL_HOM, "filter_hostile");
- // Maybe filter_notme() would work better, indeed
- GetManaExp(@skillId, rand2(1,3));
- break;
- /*
-
- // TODO: Ultimate Skills (T5/0)
-
- // Support magic
- // TODO: Debuffs
- // TODO: Buffs
-
+ ////////////////////////////////
// XXX: Healing Class
case TMW2_FIRSTAID:
.@PW=90+(10*@skillLv);
@@ -349,6 +334,22 @@ function script HUB_SkillInvoke {
.@PW=200+(20*@skillLv);
areaharm(@skillTarget, 4, -AdjustSpellpower(.@PW), HARM_MISC, "filter_friendly");
break;
+ ////////////////////////////////
+ case TMW2_NILFHEIM:
+ // Nilfheim cast on self?
+ .@PW=80+(10*@skillLv);
+ areaharm(getcharid(3), 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water);
+ areasc(8, 15000, SC_FREEZE, BL_PC | BL_MOB | BL_MER | BL_HOM, "filter_hostile");
+ // Maybe filter_notme() would work better, indeed
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ /*
+
+ // TODO: Ultimate Skills (T5/0)
+
+ // Support magic
+ // TODO: Debuffs
+ // TODO: Buffs
// FIXME: Windwalker (1MSP?), Last Standing Man (2 MSP?)