summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-30 18:57:58 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-30 18:57:58 -0400
commitf778b511c7c30b8a9332c4d920d3c458f63c070d (patch)
tree5aed53eefd2dc8c6d4009db01824decffa69fce0 /world/map
parentb5dd782fc8080ca5e8b3ca1bb835582820872138 (diff)
downloadserverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.gz
serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.bz2
serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.xz
serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.zip
add line_of_sight check to `ingrav` spell
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/magic/level2-lightning-strike.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-lightning-strike.txt b/world/map/npc/magic/level2-lightning-strike.txt
index cf30a627..b7e2319c 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) goto L_FreeRecast; // 0x10 | 0x02 | 0x04
+ if (target(BL_ID, @target_id, 0x36) != 0x36) goto L_FreeRecast; // 0x10 | 0x02 | 0x04 | 0x20
set .@p, get(.max_radius, "rain") + 1;
set @ingravspell[5], @target_id; // store it because foreach overwrites it