Skip to content

Commit

Permalink
add: Fuscous Ooze encumbrance effect
Browse files Browse the repository at this point in the history
  • Loading branch information
ampitere committed May 15, 2024
1 parent e42b3b4 commit 59c6dcd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/actions/mobskills/fuscous_ooze.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-----------------------------------
-- Fuscous Ooze
-- Family: Slugs
-- Description: A dusky slime inflicts encumberance and weight.
-- Description: A dusky slime inflicts encumbrance and weight.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Cone
Expand All @@ -13,8 +13,11 @@ mobskillObject.onMobSkillCheck = function(target, mob, skill)
end

mobskillObject.onMobWeaponSkill = function(target, mob, skill)
-- TODO: Encumberance seems to do nothing?
xi.mobskills.mobStatusEffectMove(mob, target, xi.effect.WEIGHT, 50, 0, 45)
local power = math.random(1, 16)
local duration = math.random(30, 45)

xi.mobskills.mobStatusEffectMove(mob, target, xi.effect.ENCUMBRANCE_II, power, 0, duration)
xi.mobskills.mobStatusEffectMove(mob, target, xi.effect.WEIGHT, 50, 0, duration)

local dmgmod = 1
local baseDamage = mob:getWeaponDmg() * 3.7
Expand Down

0 comments on commit 59c6dcd

Please sign in to comment.