summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-26 15:02:22 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-26 15:02:22 -0300
commit54cfaa55163fdd106e8eab9c736887f385019d9a (patch)
tree0867fc38af29c909e7d923009cacb1ee51c9e051 /npc
parent581445a5f0000bd6b6bca847c9e92731283cd6f7 (diff)
downloadserverdata-54cfaa55163fdd106e8eab9c736887f385019d9a.tar.gz
serverdata-54cfaa55163fdd106e8eab9c736887f385019d9a.tar.bz2
serverdata-54cfaa55163fdd106e8eab9c736887f385019d9a.tar.xz
serverdata-54cfaa55163fdd106e8eab9c736887f385019d9a.zip
[skip ci] Prepare Armageddon and Fireball to maybe cause burning
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 61eda0418..66158458f 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -352,7 +352,7 @@ function script HUB_SkillInvoke {
// FIXME: Windwalker (1MSP?), Last Standing Man (2 MSP?)
- // Ressurection skills (also heals fully)
+ // XXX: Ressurection skills (also heals fully)
// [MAPZONE] Need special care because scripts
// [WIP] Maybe a custom recovery and a flag @canRevive ?
case TMW2_REVIVE:
@@ -366,18 +366,21 @@ function script HUB_SkillInvoke {
SK_sanctum();
break;
- // XXX: Fire Class (TODO: DMG over time? Eff_Burning?)
+ // XXX: Fire Class (May burn the targets)
case TMW2_FIREARROW:
.@PW=140+(10*@skillLv);
harm(@skillTarget, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
case TMW2_FIREBALL:
.@PW=140+(10*@skillLv);
+ // 22% chance, 2.5s
+ sc_start SC_BURNING, 2500, 1, 2200, SCFLAG_NONE, @skillTarget;
areaharm(@skillTarget, 3, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
case TMW2_ARMAGEDDON:
.@PW=140+(10*@skillLv);
- areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
+ // 18% chance, 3s, 3x3 radius
+ areasc(3, 3000, SC_BURNING, BL_MOB|BL_PC|BL_HOM|BL_MER, "filter_hostile", @skillTarget, 1800);
areaharm(@skillTarget, 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Fire);
break;
@@ -480,7 +483,7 @@ function script HUB_SkillInvoke {
// if SC_FREEZE or SC_COLD
break;
- // Sword skills are a 5-skills combo
+ // XXX: Sword skills are a 5-skills combo
// No cast time, but cooldown present
// DEF lowers as cast, damage based on combo.
case TMW2_HORIZONTALSLASH:
@@ -551,7 +554,7 @@ function script HUB_SkillInvoke {
GetManaExp(@skillId, rand2(2,3));
break;
- // Brawling Class
+ // XXX: Brawling Class
case TMW2_BRAWLING:
// 75x3 = 225
.@PW=70+(5*@skillLv);