summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-protect.txt
diff options
context:
space:
mode:
authorAJ K <aj@keresztes.us>2024-08-28 14:37:48 -0400
committerAJ K <aj@keresztes.us>2024-08-28 14:37:48 -0400
commite39be783e852f390d61776c51c006d444a131f0b (patch)
tree8183fcb880c427c10f0ff341e8981a4e1afa7e6f /world/map/npc/magic/level2-protect.txt
parentcca41e5ba8fcd2e971303fd54be8786c86d82c7e (diff)
parent59aa2316201d785beee4abe7a4cfe6b87f53beb1 (diff)
downloadserverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.gz
serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.bz2
serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.xz
serverdata-e39be783e852f390d61776c51c006d444a131f0b.zip
Diffstat (limited to 'world/map/npc/magic/level2-protect.txt')
-rw-r--r--world/map/npc/magic/level2-protect.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-protect.txt b/world/map/npc/magic/level2-protect.txt
index 7abc9a1a..87d010f8 100644
--- a/world/map/npc/magic/level2-protect.txt
+++ b/world/map/npc/magic/level2-protect.txt
@@ -1,5 +1,6 @@
-|script|protect|32767
{
+ if (sc_check(SC_PHYS_SHIELD_ITEM)) goto L_Itsanc; // itsanc has top priority and cant be overwritten by betsanc
if(call("magic_checks")) end;
if (Sp < 14) end;
set .@level, getskilllv(.school);
@@ -44,6 +45,10 @@ OnEnd:
misceffect FX_MAGIC_SHIELD_ENDS, strcharinfo(0);
end;
+L_Itsanc:
+ message strcharinfo(0), "Shield : You are still itsanced, This blocks your spell.";
+ end;
+
L_SpecialRules6:
if ($@KIMARR_EVENT < 1) goto L_Pay;
if (@target_id == BL_ID) goto L_Pay;