magiport fix

This commit is contained in:
Kaan Soral
2024-02-21 17:09:27 +03:00
parent a10a3c9da5
commit 1e43904aee
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
+3
View File
@@ -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;
}