summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt43
1 files changed, 26 insertions, 17 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index de128fda9..463615507 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -450,6 +450,32 @@ function script HUB_SkillInvoke {
// Maybe filter_notme() would work better, indeed
GetManaExp(TMW2_NILFHEIM, 3);
break;
+ ////////////////////////////////
+ // XXX: Earth Class
+ // DEF Effects at Gaia Break
+ case TMW2_METEORSTRIKE:
+ .@PW=130+(20*@skillLv);
+ .@dmg=AdjustSpellpower(.@PW);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
+ GetManaExp(TMW2_METEORSTRIKE, 1);
+ break;
+ case TMW2_METEORSHOWER:
+ .@PW=140+(10*@skillLv);
+ .@dmg=AdjustSpellpower(.@PW);
+ .@RG=3+(@skillLv/5);
+ areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Earth);
+ GetManaExp(TMW2_METEORSTRIKE, 2);
+ break;
+ case TMW2_GAIABREAK:
+ .@PWA=170+(30*@skillLv);
+ .@PWB=110+(10*@skillLv);
+ .@dmg=AdjustSpellpower(.@PWA);
+ .@dsub=AdjustSpellpower(.@PWB);
+ harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
+ rectharm(@skillTarget, 2, 5, .@dsub, HARM_MAGI, Ele_Earth);
+ areasc(2, 5000, SC_INCDEFRATE, BL_PC, 10, "filter_friendly");
+ GetManaExp(TMW2_METEORSTRIKE, 3);
+ break;
/*
// TODO: Ultimate Skills (T5/0)
@@ -484,23 +510,6 @@ function script HUB_SkillInvoke {
- // XXX: Earth Class (DEF effects)
- case TMW2_METEORSTRIKE:
- .@dmg=AdjustSpellpower(150);
- harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
- break;
- case TMW2_METEORSHOWER:
- .@dmg=AdjustSpellpower(150);
- .@RG=3+(@skillLv/5);
- areaharm(@skillTarget, .@RG, .@dmg, HARM_MAGI, Ele_Earth);
- break;
- case TMW2_GAIABREAK:
- // TODO: DEF UP+
- .@dmg=AdjustSpellpower(200);
- .@dsub=AdjustSpellpower(120);
- harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Earth);
- rectharm(@skillTarget, 2, 5, .@dsub, HARM_MAGI, Ele_Earth);
- break;
// TODO Assassin skill
// Higher chance of success if monster HP+ATK < your own HP