From c30d76e364ad026e71a9327003425e66ee5c5485 Mon Sep 17 00:00:00 2001 From: Ampitere Date: Sat, 11 May 2024 14:37:31 -0700 Subject: [PATCH] fix: Ripper Fang doesn't match wiki --- scripts/actions/mobskills/ripper_fang.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/actions/mobskills/ripper_fang.lua b/scripts/actions/mobskills/ripper_fang.lua index 24899b09b09..8e8a43ddb51 100644 --- a/scripts/actions/mobskills/ripper_fang.lua +++ b/scripts/actions/mobskills/ripper_fang.lua @@ -1,7 +1,7 @@ ----------------------------------- --- Sprout Smack --- Description: Additional effect: Slow. Duration of effect varies with TP. --- Type: Physical (Blunt) +-- Ripper Fang +-- Description: Deals physical damage. Damage varies with TP. +-- Type: Physical (Slashing) ----------------------------------- local mobskillObject = {} @@ -12,12 +12,11 @@ end mobskillObject.onMobWeaponSkill = function(target, mob, skill) local numhits = 1 local accmod = 1 - local dmgmod = 2.5 - local info = xi.mobskills.mobPhysicalMove(mob, target, skill, numhits, accmod, dmgmod, xi.mobskills.magicalTpBonus.NO_EFFECT) - local dmg = xi.mobskills.mobFinalAdjustments(info.dmg, mob, skill, target, xi.attackType.PHYSICAL, xi.damageType.PIERCING, info.hitslanded) + local dmgmod = 1.5 + local info = xi.mobskills.mobPhysicalMove(mob, target, skill, numhits, accmod, dmgmod, xi.mobskills.physicalTpBonus.ATK_VARIES, 1.3, 1.3, 1.3) + local dmg = xi.mobskills.mobFinalAdjustments(info.dmg, mob, skill, target, xi.attackType.PHYSICAL, xi.damageType.SLASHING, info.hitslanded) - xi.mobskills.mobPhysicalStatusEffectMove(mob, target, skill, xi.effect.SLOW, 1250, 0, 120) - target:takeDamage(dmg, mob, xi.attackType.PHYSICAL, xi.damageType.PIERCING) + target:takeDamage(dmg, mob, xi.attackType.PHYSICAL, xi.damageType.SLASHING) return dmg end