diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-03 02:26:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-03 02:26:56 -0300 |
commit | 1eeb276d981903b83b4daac529de24cad6159aac (patch) | |
tree | b77e5d5a00bedb74512af06ed1914861dbf06f5f /npc/commands | |
parent | 2ae0fc60f0816174bb506be0053f66b0af36776e (diff) | |
download | serverdata-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')
-rw-r--r-- | npc/commands/python.txt | 3 |
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; |