summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-07 14:04:30 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-07 14:04:30 -0300
commit7f91b4f988ba3a7d4c6eb44b372aec40ada214c7 (patch)
treead5bd22d8dcd4b3e44d6a7f1f5e002e5e250c31d /npc/functions
parent245ebff9989df7375693da955197ba985a34153c (diff)
downloadserverdata-7f91b4f988ba3a7d4c6eb44b372aec40ada214c7.tar.gz
serverdata-7f91b4f988ba3a7d4c6eb44b372aec40ada214c7.tar.bz2
serverdata-7f91b4f988ba3a7d4c6eb44b372aec40ada214c7.tar.xz
serverdata-7f91b4f988ba3a7d4c6eb44b372aec40ada214c7.zip
Convert a few Physical Skills from built-in to Magicv3
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt45
1 files changed, 40 insertions, 5 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index a8f21454d..ef5a94b94 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -657,6 +657,46 @@ function script HUB_SkillInvoke {
*/
////////////////////////////////
+ // XXX: Physical Class (Regular)
+ case TMW2_FALKONSTRIKE:
+ .@PW=100+(25*@skillLv);
+ .@ST=0+(10*@skillLv);
+ .@TM=100+(90*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ sc_start SC_STUN, .@TM, 1, .@ST, SCFLAG_NONE, @skillTarget;
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ case TMW2_GROUNDSTRIKE:
+ .@PW=50+(40*@skillLv);
+ .@dmg=AdjustAttackpower(.@PW);
+ .@RG=2+(@skillLv/5);
+ .@TM=100+(@skillLv*200);
+ .@ST=500+(100*@skillLv);
+ .@EF=any(SC_STUN, SC_BLIND, SC_BLOODING, SC_BLIND, SC_BLOODING);
+ areaharm(@skillTarget, .@RG, .@dmg, HARM_PHYS, Ele_Neutral);
+ areasc(.@RG, .@TM, .@EF, BL_MOB | BL_PC | BL_HOM | BL_MER, 1, "filter_hostile", @skillTarget, .@ST);
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ case TMW2_SUPREMEATTACK:
+ .@PW=100+(50*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ ////////////////////////////////
+ // XXX: Physical Class (Archery)
+ case TMW2_CHARGEDARROW:
+ .@PW=100+(50*@skillLv);
+ harm(@skillTarget, AdjustAttackpower(.@PW), HARM_PHYS, Ele_Neutral);
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ case TMW2_ARROWSHOWER:
+ .@PW=150+(10*@skillLv);
+ .@dmg=AdjustAttackpower(.@PW);
+ .@RG=1+(@skillLv/3);
+ areaharm(@skillTarget, .@RG, .@dmg, HARM_PHYS, Ele_Neutral);
+ GetManaExp(@skillId, rand2(1,3));
+ break;
+ ////////////////////////////////
// XXX: Brawling Class
case TMW2_BRAWLING:
// 75x3 = 225
@@ -818,11 +858,7 @@ function script HUB_SkillInvoke {
break;
// Experience only
- case SM_BASH:
- case MC_MAMMONITE:
- case AC_SHOWER:
case KN_AUTOCOUNTER:
- case ASC_METEORASSAULT:
case SN_SHARPSHOOTING:
case HW_MAGICPOWER:
case SM_PROVOKE:
@@ -833,7 +869,6 @@ function script HUB_SkillInvoke {
case ALL_FULL_THROTTLE:
case GC_DARKILLUSION:
case NV_TRICKDEAD:
- case AC_CHARGEARROW:
GetManaExp(@skillId, rand2(1,3));
break;
}