Focused Mode
Lvl: 5 LeadSkill Physical CD: 2.8 sec Skill Delay: 1 sec SP: 60 Range: 3

Hollgrehenn enters a focused mode, swinging the 【Swing Hammer】 every 0.6 seconds, dealing 【Destructive Hammer】*100% physical damage to enemies within 4 meters, while also applying the 【Destructive Hammer】 Debuff, hitting a total of 7 times. The hit correction of focused mode is increased by 50%. If not in the 【Ultimate Tempering】 state, the Move SPD limit is 150%.

Lvl: 4 LeadSkill Physical CD: 2.8 sec Skill Delay: 1 sec SP: 50 Range: 3
• Hollgrehenn enters a focused mode, swinging the 【Swing Hammer】 every 0.6 seconds, dealing 【Destructive Hammer】*98% physical damage to enemies within 4 meters, while also applying the 【Destructive Hammer】 Debuff, hitting a total of 7 times. The hit correction of focused mode is increased by 40%. If not in the 【Ultimate Tempering】 state, the Move SPD limit is 150%.
Lvl: 3 LeadSkill Physical CD: 2.8 sec Skill Delay: 1 sec SP: 40 Range: 3
• Hollgrehenn enters a focused mode, swinging the 【Swing Hammer】 every 0.6 seconds, dealing 【Destructive Hammer】*92% physical damage to enemies within 4 meters, while also applying the 【Destructive Hammer】 Debuff, hitting a total of 7 times. The hit correction of focused mode is increased by 30%. If not in the 【Ultimate Tempering】 state, the Move SPD limit is 150%.
Lvl: 2 LeadSkill Physical CD: 2.8 sec Skill Delay: 1 sec SP: 30 Range: 3
• Hollgrehenn enters a focused mode, swinging the 【Swing Hammer】 every 0.6 seconds, dealing 【Destructive Hammer】*88% physical damage to enemies within 4 meters, while also applying the 【Destructive Hammer】 Debuff, hitting a total of 7 times. The hit correction of focused mode is increased by 20%. If not in the 【Ultimate Tempering】 state, the Move SPD limit is 150%.
Lvl: 1 LeadSkill Physical CD: 2.8 sec Skill Delay: 1 sec SP: 20 Range: 3
• Hollgrehenn enters a focused mode, swinging the 【Swing Hammer】 every 0.6 seconds, dealing 【Destructive Hammer】*84% physical damage to enemies within 4 meters, while also applying the 【Destructive Hammer】 Debuff, hitting a total of 7 times. The hit correction of focused mode is increased by 10%. If not in the 【Ultimate Tempering】 state, the Move SPD limit is 150%.

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
    }
  }
}

Self

{
  "id": 137310,
  "BuffName": "Focused Mode",
  "BuffRate": {
    "Odds": {
      "a": 205131,
      "type": 5000
    }
  },
  "BuffEffect": {
    "type": "AttrChange",
    "DamReduc": {
      "a": 0,
      "b": 0,
      "c": 205131,
      "type": 5020
    },
    "StateDef": {
      "a": 0,
      "b": 0,
      "c": 205131,
      "type": 5020
    }
  }
}

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": 2.8,
  "id": 2654005,
  "Buff": {
    "self": [
      137210,
      137310
    ],
    "enemy": [
      137230,
      137231,
      137290
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2654000,
      "params": [
        100,
        50
      ]
    }
  ],
  "Icon": "skill_2654001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 65501,
      "damChangePer": 0
    }
  ],
  "DescId": "##2833982",
  "NameZh": "##1289559",
  "SE_hit": "common/axe_hit",
  "CastAct": "use_skill5",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "SE_cast": "Skill/Skill_Hero_Hukelian_FoucusHam_Attack_01",
  "Pvp_buff": {
    "self": [
      137210,
      137310
    ],
    "enemy": [
      137230,
      137231,
      137290
    ]
  },
  "RollType": 1,
  "SkillHit": 0.5,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "DCT": 4.3,
    "type": 4
  },
  "SkillCost": {
    "sp": 60
  },
  "SkillType": "LeadSkill",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "count": 7,
    "range": 4,
    "interval": 0.6,
    "no_select": 1,
    "chant_buff": [
      137312
    ],
    "isCountTrap": 1,
    "noMoveAction": 1,
    "del_hide_as_atk": 1,
    "noReadingEffect": 1,
    "attackEffect_interval": 0.6,
    "fieldarea_cannot_immune": 1
  },
  "Launch_Range": 3,
  "FashionCastAct": "skill_ready8"
}