diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:57:58 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:57:58 -0400 |
commit | f778b511c7c30b8a9332c4d920d3c458f63c070d (patch) | |
tree | 5aed53eefd2dc8c6d4009db01824decffa69fce0 | |
parent | b5dd782fc8080ca5e8b3ca1bb835582820872138 (diff) | |
download | serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.gz serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.bz2 serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.tar.xz serverdata-f778b511c7c30b8a9332c4d920d3c458f63c070d.zip |
add line_of_sight check to `ingrav` spell
-rw-r--r-- | world/map/npc/magic/level2-lightning-strike.txt | 2 |
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 |