summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-06 14:57:21 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-06 14:57:21 -0300
commit9d11ee7aeae335bb6dd52340d4c4a15793c8bd51 (patch)
tree04ba2907d23dbf8ea23781a7cd0f6f6b590414bb /npc/config
parent11eca31d2f8882b62517c0a6367e102dd5721d0d (diff)
downloadserverdata-9d11ee7aeae335bb6dd52340d4c4a15793c8bd51.tar.gz
serverdata-9d11ee7aeae335bb6dd52340d4c4a15793c8bd51.tar.bz2
serverdata-9d11ee7aeae335bb6dd52340d4c4a15793c8bd51.tar.xz
serverdata-9d11ee7aeae335bb6dd52340d4c4a15793c8bd51.zip
Strip summons from BOSS status. Should not happen but anyway
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 77c14a43e..2825f3830 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -131,6 +131,9 @@ function script SummonMagic {
// All summons can suffer knockback
if (.@opt & MD_NOKNOCKBACK)
.@opt=.@opt^MD_NOKNOCKBACK;
+ // Strip summons from BOSS mode and immunity
+ if (.@opt & MD_BOSS)
+ .@opt=.@opt^MD_BOSS;
// Save new options
setunitdata(.@mods, UDT_MODE, .@opt);
}