mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:39:29 -05:00
magiport fix
This commit is contained in:
@@ -8259,6 +8259,9 @@ function init_io() {
|
||||
const isTargetTooFar = (target) => {
|
||||
// Use the range of the skill, falling back to the player range if it isn't set
|
||||
let range = gSkill.range || player.range;
|
||||
if (gSkill.global) {
|
||||
return false;
|
||||
}
|
||||
if (gSkill.range_multiplier) {
|
||||
range *= gSkill.range_multiplier;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user