Destructive Hammer
Lvl: 10 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 30 Range: 3

Hollgrehenn【Swing Hammer】, dealing physical damage of *2000% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.

Lvl: 9 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 28 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1900% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 8 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 26 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1800% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 7 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 24 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1700% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 6 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 22 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1600% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 5 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 20 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1500% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 4 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 18 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1400% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 3 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 16 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1300% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 2 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 14 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1200% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.
Lvl: 1 Attack Physical CD: 1.3 sec Skill Delay: 1 sec SP: 12 Range: 3
• Hollgrehenn【Swing Hammer】, dealing physical damage of *1100% to enemies within 4 meters, and at the same time, there is a 20% chance to reduce the Refine level of all Equipment and headgear of the enemy by 1, lasting for 15 seconds, the probability increases by 1% for every 10 points of Luk higher than the enemy. When dealing damage to monsters, it reduces the target's Ref. Dmg Reduc by 20%, lasting for 10 seconds.

Formula

function CommonFun.calcDamage_65501(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Vit = srcUser:GetProperty("Vit")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local MRefine = srcUser:GetProperty("MRefine")
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local skilllv_zeny = srcUser:GetLernedSkillLevel(2661_ARCHBISHOP:BLACKSMITH_S_WEALTH)
  local zeny_ratio = 1
  local zeny_num = srcUser:GetZenyNum()
  if 0 < skilllv_zeny and targetUser:GetNpcID() == 0 then
    zeny_ratio = math.min(zeny_num / 100000000, skilllv_zeny * 0.05) + 1
  elseif 0 < skilllv_zeny and targetUser:GetNpcID() ~= 0 then
    zeny_ratio = math.min(zeny_num / 100000000, skilllv_zeny * 0.3) + 1
  end
  local GemValue = srcUser:GetGemValue(205101_FOR_EACH_WEAPON_REFINEMENT_LEVEL_DESTRUCTIVE_HAMMER_S_DAMAGE_PERCENTAGE)
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  local RefineLv1 = srcUser:GetEquipedRefineLv(1)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local skilllv_ph = srcUser:GetLernedSkillLevel(2652_ARCHBISHOP:DESTRUCTIVE_HAMMER)
  local skilllv_zz = srcUser:GetLernedSkillLevel(2654_ARCHBISHOP:FOCUSED_MODE)
  if skillID == 2652_ARCHBISHOP:DESTRUCTIVE_HAMMER then
    damChangePer = damChangePer * (1 + RefineLv * GemValue / 100000)
  end
  if skillID == 2654_ARCHBISHOP:FOCUSED_MODE then
    damChangePer = (skilllv_ph + 10) * (0.8 + 0.04 * skilllv_zz) * (1 + RefineLv * GemValue / 100000)
  end
  if skillID == 2653_ARCHBISHOP:ANVIL_TOSS then
    damChangePer = damChangePer * (1 + RefineLv1 / 10)
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * zeny_ratio
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 137200,
  "BuffName": "The best blacksmith on the continent",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      137201,
      137202,
      137203,
      137204,
      137205,
      137206,
      137207
    ],
    "type": "AddBuff",
    "random": 1
  }
}

Self

{
  "id": 137201,
  "BuffName": "Off-hand",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      1
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137202,
  "BuffName": "Armor",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      2
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137203,
  "BuffName": "Garments",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      3
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137204,
  "BuffName": "Footgears",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      4
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137205,
  "BuffName": "Accessory",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      5
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137206,
  "BuffName": "Accessory",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      6
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137207,
  "BuffName": "Weapons",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": 1,
    "equipPos": [
      7
    ]
  },
  "BuffStateID": 137200
}

Self

{
  "id": 137210,
  "BuffName": "Swing Hammer",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      137200,
      137220
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 137220,
  "BuffName": "12670",
  "BuffRate": {
    "Odds": {
      "a": 2662,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AttrChange",
    "Refine": {
      "a": 2662,
      "b": 6,
      "c": 0,
      "type": 8
    }
  }
}

Enemy

{
  "id": 137230,
  "BuffName": "Destructive Hammer",
  "BuffRate": {
    "Odds": {
      "a": 20,
      "type": 8120
    }
  },
  "BuffEffect": {
    "id": [
      137232,
      137260
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 137231,
  "BuffName": "12673",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "type": 2421
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 0
  },
  "BuffEffect": {
    "type": "AttrChange",
    "RefineDamReduc": -0.2
  }
}

Enemy

{
  "id": 137232,
  "BuffDesc": "All Gear Refinement Level Reduced",
  "BuffIcon": "skillbuff_2652001",
  "BuffName": "Destructive Hammer (Reduces refinement level)",
  "BuffRate": {
    "Odds": {
      "type": 6090
    }
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "UpgradeRefineLv",
    "upLevel": -1,
    "equipPos": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12
    ],
    "from_extra_buff": [
      137221
    ]
  },
  "BuffStateID": 137232
}

Enemy

{
  "id": 137260,
  "BuffName": "12676",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 137261,
      "type": 7521
    }
  },
  "BuffEffect": {
    "type": "BeTaunt",
    "NoSkill": 1
  },
  "BuffStateID": 80031
}

Enemy

{
  "id": 137290,
  "BuffName": "High-temperature Reaction",
  "BuffRate": {
    "Odds": {
      "a": 2663,
      "b": 10,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "id": [
      137291
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 137291,
  "BuffName": "High-temperature Reaction [Stun]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Formula

{
  "CD": 1.3,
  "id": 2652010,
  "Buff": {
    "self": [
      137210
    ],
    "enemy": [
      137230,
      137231,
      137290
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2652000,
      "params": [
        2000
      ]
    }
  ],
  "Icon": "skill_2652001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 65501,
      "damChangePer": 20
    }
  ],
  "DescId": "##2833981",
  "NameZh": "##1289539",
  "SE_hit": "common/axe_hit",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      137210
    ],
    "enemy": [
      137230,
      137231,
      137290
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/Skill_Hero_Hukelian_DamageHam_Attack_01",
  "SkillCost": {
    "sp": 30
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "range": 4,
    "range_num": 8
  },
  "Launch_Range": 3
}