From 1eeb276d981903b83b4daac529de24cad6159aac Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 3 Jul 2020 02:26:56 -0300 Subject: The python command will not work on targets protected by the MMO zone --- npc/commands/python.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2