debug collect income
This commit is contained in:
3 files changed
+3
-4
No files matched your search
@@ -102,9 +102,6 @@ module.exports = {
|
||||
if (alarm.disabled || !alarm.rules.includes('ban_on_kill')) continue; // ignore if alarm is disabled or not ban on kill;
|
||||
if (alarm.ignoredPlayers.includes(data.killerID)) continue;
|
||||
|
||||
console.log(data);
|
||||
console.log(alarm);
|
||||
|
||||
let diff = [Math.round(alarm.origin[0] - data.killerPOS[0]), Math.round(alarm.origin[1] - data.killerPOS[1])];
|
||||
let distance = Math.sqrt(Math.pow(diff[0], 2) + Math.pow(diff[1], 2)).toFixed(2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user