diff options
author | HoraK-FDF <horak-fdf@web.de> | 2024-08-07 23:25:45 +0200 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2024-08-28 12:34:07 +0000 |
commit | d589ad4eca2c948d1ad2f325d6bb1d52ee17dc2d (patch) | |
tree | 3ce93383c107f168275b074205c453a54e021e78 /world/map/npc/magic | |
parent | 37f143a6cdcec9b8f7130b703be676ea40d321bf (diff) | |
download | serverdata-d589ad4eca2c948d1ad2f325d6bb1d52ee17dc2d.tar.gz serverdata-d589ad4eca2c948d1ad2f325d6bb1d52ee17dc2d.tar.bz2 serverdata-d589ad4eca2c948d1ad2f325d6bb1d52ee17dc2d.tar.xz serverdata-d589ad4eca2c948d1ad2f325d6bb1d52ee17dc2d.zip |
sc_phys_shield_item
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r-- | world/map/npc/magic/level2-protect.txt | 5 |
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..4a642878 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; |