找回密码
 立即注册

手机短信,快捷登录

搜索

killing spree range check

[复制链接]
 楼主| 发表于 2023-6-11 18:24:53 | 显示全部楼层 |阅读模式
proof of concept, probably not the best for in game usage

when killing spree is off cd, it shows a list of all targets in range, and puts an icon on their nameplates

doesn't actually work perfectly because:
1. IsSpellInRange only accepts string inputs for spells, and the string input for "Killing Spree" checks one of the various script spells that have a range of 0, so you cannot specifically check the range for killing spree

2. All range checks in this game work with absolute values, but when moving you have spell leeway which increases range, so all range checks will not work while moving

this aura just checks range 12 and it seems to work in practice?

this aura is also fucking cursed, it just hard checks nameplate1 -> nameplate15, cause making a custom code trigger to check every nameplate was too hard, and could be done without code. that might be an issue later idk how nameplate numbering actually works
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|魔兽世界玩家社区APP官网 ( 鄂ICP备20007009号-6 )

GMT+8, 2025-8-20 21:02 , Processed in 0.173911 second(s), 7 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表