From d4195d7405d979e06c7e376fde78e80f252ae4e4 Mon Sep 17 00:00:00 2001 From: sruon Date: Tue, 6 Jan 2026 00:30:18 -0700 Subject: [PATCH] AoE test executes in GM Home. Skillchain test caps hitrate --- scripts/tests/packets/s2c/0x028_battle2/weaponskills.lua | 2 +- scripts/tests/systems/spells/aoe.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/tests/packets/s2c/0x028_battle2/weaponskills.lua b/scripts/tests/packets/s2c/0x028_battle2/weaponskills.lua index 579dd49fd86..a00ce146f10 100644 --- a/scripts/tests/packets/s2c/0x028_battle2/weaponskills.lua +++ b/scripts/tests/packets/s2c/0x028_battle2/weaponskills.lua @@ -214,10 +214,10 @@ local packets = ['Skillchain'] = { test = function(player, mob) + stub('xi.combat.physicalHitRate.getPhysicalHitRate', 1) mob:setUnkillable(true) player:changeJob(xi.job.SAM) player:setLevel(99) - player:setMod(xi.mod.ACC, 10000) player:addItem(xi.item.MASAMUNE_99) player:equipItem(xi.item.MASAMUNE_99, nil, xi.slot.MAIN) diff --git a/scripts/tests/systems/spells/aoe.lua b/scripts/tests/systems/spells/aoe.lua index 3ff562d1948..b2e0f1f6ef4 100644 --- a/scripts/tests/systems/spells/aoe.lua +++ b/scripts/tests/systems/spells/aoe.lua @@ -7,13 +7,13 @@ describe('AoE', function() before_each(function() p1 = xi.test.world:spawnPlayer( { - zone = xi.zone.WEST_RONFAURE, + zone = xi.zone.GM_HOME, job = xi.job.BLM, level = 99, }) p2 = xi.test.world:spawnPlayer( { - zone = xi.zone.WEST_RONFAURE, + zone = xi.zone.GM_HOME, job = xi.job.BLM, level = 99, })