summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-16 20:38:08 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-16 20:38:08 -0300
commit34bed0767f98c9b3036fa30ad06a2e0b8355de9d (patch)
tree0bb710f811c92b3a152c6f159541f90f81fc5fc8 /npc
parent8503713cd2e8da2a22b4f953038063ba079be92f (diff)
downloadserverdata-34bed0767f98c9b3036fa30ad06a2e0b8355de9d.tar.gz
serverdata-34bed0767f98c9b3036fa30ad06a2e0b8355de9d.tar.bz2
serverdata-34bed0767f98c9b3036fa30ad06a2e0b8355de9d.tar.xz
serverdata-34bed0767f98c9b3036fa30ad06a2e0b8355de9d.zip
Tweak Meteor skills to rarely stun.
Nerf a bit Meteor Shower.
Diffstat (limited to 'npc')
-rw-r--r--npc/027-2/colin.txt12
-rw-r--r--npc/functions/hub.txt6
2 files changed, 17 insertions, 1 deletions
diff --git a/npc/027-2/colin.txt b/npc/027-2/colin.txt
index ac3d1f82e..ce4ad4b4c 100644
--- a/npc/027-2/colin.txt
+++ b/npc/027-2/colin.txt
@@ -85,11 +85,15 @@ function basicMagic {
mes l(".:: Frost Diver ::.");
mesc l("Basic ice single target attack. May freeze targets.");
mes "";
+ mes l(".:: Meteor Strike ::.");
+ mesc l("Basic earth single target attack. May stun targets.");
+ mes "";
menuint
l("Fire Arrow"), TMW2_FIREARROW,
l("Napalm Beat"), TMW2_NAPALMBEAT,
l("Magic Strike"), TMW2_MAGICSTRIKE,
l("Frost Diver"), TMW2_FROSTDIVER,
+ l("Meteor Strike"), TMW2_METEORSTRIKE,
l("Cancel"), 0;
return;
}
@@ -108,6 +112,9 @@ function standardMagic {
mes l(".:: Frost Nova ::.");
mesc l("Basic ice area attack. May freeze targets.");
mes "";
+ mes l(".:: Meteor Shower ::.");
+ mesc l("Basic earth area attack. May stun targets.");
+ mes "";
mes l(".:: Firewalk ::.");
mesc l("Superior damage on enemies who walk over the fire.");
mes "";
@@ -116,6 +123,7 @@ function standardMagic {
l("Holy Light"), TMW2_HOLYLIGHT,
l("Lightning Bolt"), TMW2_LIGHTNINGBOLT,
l("Frost Nova"), TMW2_FROSTNOVA,
+ l("Meteor Shower"), TMW2_METEORSHOWER,
l("Firewalk"), SO_FIREWALK,
l("Cancel"), 0;
return;
@@ -135,11 +143,15 @@ function advancedMagic {
mes l(".:: Nilfheim ::.");
mesc l("Basic ice area attack. Freeze targets in a big area.");
mes "";
+ mes l(".:: Gaia Break ::.");
+ mesc l("Destroys everything in a line (earth). Boosts allied forces DEF.");
+ mes "";
menuint
l("Armageddon"), TMW2_ARMAGEDDON,
l("Judgment"), TMW2_JUDGMENT,
l("Tempest"), TMW2_TEMPEST,
l("Nilfheim"), TMW2_NILFHEIM,
+ l("Gaia Break"), TMW2_GAIABREAK,
l("Cancel"), 0;
return;
}
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 8db838288..5a16f38ab 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -456,14 +456,18 @@ function script HUB_SkillInvoke {
case TMW2_METEORSTRIKE:
.@PW=130+(20*@skillLv);
.@dmg=AdjustSpellpower(.@PW);
+ .@TM=1200+(@skillLv*300);
harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
+ sc_start SC_STUN, .@TM, 1, 800, SCFLAG_NONE, @skillTarget;
GetManaExp(TMW2_METEORSTRIKE, 1);
break;
case TMW2_METEORSHOWER:
- .@PW=135+(15*@skillLv);
+ .@PW=130+(15*@skillLv);
.@dmg=AdjustSpellpower(.@PW);
.@RG=3+(@skillLv/5);
+ .@TM=800+(@skillLv*200);
areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Earth);
+ areasc(.@RG, .@TM, SC_STUN, BL_MOB | BL_PC | BL_HOM | BL_MER, 1, "filter_hostile", @skillTarget, 800);
GetManaExp(TMW2_METEORSTRIKE, 2);
break;
case TMW2_GAIABREAK: