landsandboat/scripts/actions/abilities/fan_dance.lua
2026-02-20 18:42:33 -07:00

19 lines
653 B
Lua

-----------------------------------
-- Ability: Fan Dance
-- Reduces physical damage taken and increases enmity but renders Samba unusable. Physical damage reduction gradually decreases with each hit taken.
-- Obtained: Dancer Level 75 Merit Group 2
-- Recast Time: 3 minutes
-- Duration: 5 minutes
-----------------------------------
---@type TAbility
local abilityObject = {}
abilityObject.onAbilityCheck = function(player, target, ability)
return 0, 0
end
abilityObject.onUseAbility = function(player, target, ability)
player:addStatusEffect(xi.effect.FAN_DANCE, { power = 9000, duration = 300, origin = player })
end
return abilityObject