From 9e95e25b4d5839ea25605c1fb0ce6816648830b2 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 20 Apr 2016 12:02:45 -0400 Subject: fix ingrav crash --- world/map/npc/magic/level2-lightning-strike.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/map/npc/magic/level2-lightning-strike.txt b/world/map/npc/magic/level2-lightning-strike.txt index 3032d5ab..cf30a627 100644 --- a/world/map/npc/magic/level2-lightning-strike.txt +++ b/world/map/npc/magic/level2-lightning-strike.txt @@ -24,7 +24,7 @@ goto L_FreeRecast; OnAttack: - if (target(BL_ID, @target_id, 22) != 22) L_FreeRecast; // 0x10 | 0x02 | 0x04 + if (target(BL_ID, @target_id, 22) != 22) goto L_FreeRecast; // 0x10 | 0x02 | 0x04 set .@p, get(.max_radius, "rain") + 1; set @ingravspell[5], @target_id; // store it because foreach overwrites it -- cgit v1.2.3-60-g2f50