summaryrefslogtreecommitdiff
path: root/npc/commands/python.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-03 02:26:56 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-03 02:26:56 -0300
commit1eeb276d981903b83b4daac529de24cad6159aac (patch)
treeb77e5d5a00bedb74512af06ed1914861dbf06f5f /npc/commands/python.txt
parent2ae0fc60f0816174bb506be0053f66b0af36776e (diff)
downloadserverdata-1eeb276d981903b83b4daac529de24cad6159aac.tar.gz
serverdata-1eeb276d981903b83b4daac529de24cad6159aac.tar.bz2
serverdata-1eeb276d981903b83b4daac529de24cad6159aac.tar.xz
serverdata-1eeb276d981903b83b4daac529de24cad6159aac.zip
The python command will not work on targets protected by the MMO zone
Diffstat (limited to 'npc/commands/python.txt')
-rw-r--r--npc/commands/python.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/commands/python.txt b/npc/commands/python.txt
index cb2b27505..5273731c3 100644
--- a/npc/commands/python.txt
+++ b/npc/commands/python.txt
@@ -9,6 +9,9 @@
OnCall:
specialeffect(34, AREA, playerattached());
+ .@zone$=getmapinfo(MAPINFO_ZONE, .@mapa$);
+ if (.@zone$ == "MMO")
+ end;
sc_start SC_CASH_DEATHPENALTY, 1000, 1;
addtimer 380, .name$+"::OnKill";
end;