summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-22 00:13:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-22 00:13:17 -0300
commit8fb14cd082846420ac73249966643fc94b3c5eb6 (patch)
tree4c21b2e2acbd96236965003333780f488144efc3 /npc/functions
parentb676c9500e036b0a87b81d99e20c93891f31b7fd (diff)
downloadserverdata-8fb14cd082846420ac73249966643fc94b3c5eb6.tar.gz
serverdata-8fb14cd082846420ac73249966643fc94b3c5eb6.tar.bz2
serverdata-8fb14cd082846420ac73249966643fc94b3c5eb6.tar.xz
serverdata-8fb14cd082846420ac73249966643fc94b3c5eb6.zip
TMW2_JUDGMENT
An untested skill (like nilfheim), proof of concept. It should have a splash effect over target. * Now I need a function to cast damage from script, can't be setting UDT_HP forever
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 01167098e..970d7d5a4 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -152,6 +152,7 @@ function script HUB_Logout {
if (.@q < 4 && .@q >= 2) {
setq1 LoFQuest_Barbara, 1;
setq3 LoFQuest_Barbara, 1;
+ // FIXME: Enable Mana Stone#01863
dispbottom col(l("WARNING: You died at Forgotten Shrine and the Shrine defense triggered."), 1);
dispbottom col(l("WARNING: Your progress on the quest was lost!"), 1);
}
@@ -229,6 +230,7 @@ function script HUB_Logout {
// HUB_SkillInvoke ( )
function script HUB_SkillInvoke {
+ debugmes "Cast skill %d", @skillId;
// TODO: Detect what was script-cast and what was player-case. Then, readd RB_IRCBROADCAST
// If you can't do this: You can't do this
if (getskilllv(@skillId) < @skillLv)
@@ -284,6 +286,10 @@ function script HUB_SkillInvoke {
case TMW2_NILFHEIM:
SK_nilfheim();
break;
+ case TMW2_JUDGMENT:
+ debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY;
+ areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
+ break;
case TMW2_PARUM:
SK_parum();
break;