summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-11 13:23:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-11 13:23:24 -0300
commit0293e9cdb644bb70576024c76c69216a6d0767bf (patch)
tree43692b815bea289563e1da1bef4939fd5f300969 /npc/magic
parentcfbb17bdb5a0b209eb64b898ef76829c4144684a (diff)
downloadserverdata-0293e9cdb644bb70576024c76c69216a6d0767bf.tar.gz
serverdata-0293e9cdb644bb70576024c76c69216a6d0767bf.tar.bz2
serverdata-0293e9cdb644bb70576024c76c69216a6d0767bf.tar.xz
serverdata-0293e9cdb644bb70576024c76c69216a6d0767bf.zip
Allow Luca to focus/unfocus even if he is not teaching the skill
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/magic/config.txt b/npc/magic/config.txt
index 5bcdd306..6286c2a6 100644
--- a/npc/magic/config.txt
+++ b/npc/magic/config.txt
@@ -387,6 +387,12 @@ function script unpoolskill {
return;
}
+// isfocused(skill)
+function script isfocused {
+ .@f=getpoolskillFID(getarg(0));
+ return (FOCUSING & .@f);
+}
+
- script Magic Load NPC_HIDDEN,{
OnInit:
end;