summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-25 14:11:16 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-25 14:11:16 -0300
commitb44b9cd3b2a87aedbf8bf8623f5bf857e06481b3 (patch)
treece320d992b6282ac4c006e617fb83960bb721e1a /npc/functions
parenta2ecf9e627f23fe76eb3a95bc50c7ddd3af80196 (diff)
downloadserverdata-b44b9cd3b2a87aedbf8bf8623f5bf857e06481b3.tar.gz
serverdata-b44b9cd3b2a87aedbf8bf8623f5bf857e06481b3.tar.bz2
serverdata-b44b9cd3b2a87aedbf8bf8623f5bf857e06481b3.tar.xz
serverdata-b44b9cd3b2a87aedbf8bf8623f5bf857e06481b3.zip
I'm almost sure this will blow away when I test, but...
Add the traps, they happen every 60 seconds in average. Now only the weak AoE is missing. This boss is a spellcaster, don't expect a break. Timing is not exact, the skills will delay all spellcasting.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 8fbde066d..5f2cfac2d 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -1212,6 +1212,13 @@ function script set_aggro {
return;
}
+function script immortal {
+ .@u=getarg(0);
+ setunitdata(.@u, UDT_HP, 2147483647);
+ setunitdata(.@u, UDT_MAXHP, 2147483647);
+ return;
+}
+
// Special function which makes a date as a number
// numdate( - )
function script numdate {