landsandboat/scripts/items/boreas_cesti.lua
ThrisStraizo ad7d8e6c52 Correct Boreas Cesti AE to 5-7 DMG
This PR corrects the AE of Boreas Cesti to random 5-7 of magic wind damage.
2026-07-17 10:48:22 +02:00

21 lines
561 B
Lua

-----------------------------------
-- ID: 18359
-- Item: Boreas Cesti
-- Additional effect: Wind damage
-----------------------------------
---@type TItem
local itemObject = {}
itemObject.onItemAdditionalEffect = function(actor, target, baseAttackDamage, item)
local pTable =
{
basePower = math.random(5, 7),
attackType = xi.attackType.MAGICAL,
magicalElement = xi.element.WIND,
canResist = true,
}
return xi.combat.action.executeAddEffectDamage(actor, target, pTable)
end
return itemObject