From bfb6f5d5e36eb1af3a08c742dc4510fca974705f Mon Sep 17 00:00:00 2001
From: asuratva <asuratva@proton.me>
Date: Wed, 15 May 2024 11:05:06 +0530
Subject: Fix: itenplz no longer aggros summoned mobs.

---
 world/map/npc/magic/level1-aggravate.txt | 1 +
 1 file changed, 1 insertion(+)

(limited to 'world')

diff --git a/world/map/npc/magic/level1-aggravate.txt b/world/map/npc/magic/level1-aggravate.txt
index 05eee811..2b945075 100644
--- a/world/map/npc/magic/level1-aggravate.txt
+++ b/world/map/npc/magic/level1-aggravate.txt
@@ -18,6 +18,7 @@
 
 OnMob:
     if (target(BL_ID, @target_id, 0x20) != 0x20) end; // line of sight
+    if (issummon(@target_id) != 0) end; // is a summoned creature
     aggravate @target_id;
     misceffect FX_MAGIC_AGGRAVATE_HIT, @target_id;
     end;
-- 
cgit v1.2.3-70-g09d2