
Enforcement of Justice
Lvl: 10
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
Deals ATK x (5000% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 9
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (4600% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 8
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (4200% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 7
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (3800% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 6
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (3400% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 5
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (3000% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 4
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (2600% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 3
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (2200% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 2
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (1800% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Lvl: 1
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
Range: 3
• Deals ATK x (1400% + STR/5) damage and repels the enemy. Enemies in a 3 x 8 m range in the back take 20% splash DMG and spin for 1 second due to the airflow. [Supreme Power]'s repel range and additional damage double in this attack. This skill ignores Flee and DEF
Formula
function CommonFun.calcDamage_100502(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 MoveSpd = srcUser:GetProperty("MoveSpd")
local MoveSpdRatio = 1
local skilllv_cs = srcUser:GetLernedSkillLevel(2570_HIGH_PRIEST:AGILITY_OF_HERO)
MoveSpdRatio = 1 + (math.max(MoveSpd, 1) - 1) * 0.075 * skilllv_cs
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2563_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE then
damChangePer = damChangePer + Str / 5
DefReduc = 1
end
if skillID == 2572_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE then
local skilllv_rz = srcUser:GetLernedSkillLevel(2563_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE)
damChangePer = skilllv_rz * 4 + 10 + Str / 5
DefReduc = 1
end
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
local skilllv_tx = srcUser:GetLernedSkillLevel(2561_HIGH_PRIEST:SUPREME_POWER)
local Str2 = targetUser:GetProperty("Str")
local B = (Str + Str2) * (skilllv_tx * 0.01 + 0.03) * AtkFinal * DefReduc * (1 - DamReduc2) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2)
if skillID == 2563_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE or skillID == 2572_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE_HIGH_PRIEST:ENFORCEMENT_OF_JUSTICE then
B = B * 2
end
local skilllv_ll = srcUser:GetLernedSkillLevel(2561_HIGH_PRIEST:SUPREME_POWER)
if 4 <= skilllv_ll then
B = B * 2
end
local Total = (A + math.max(B, 0)) * MoveSpdRatio
if Total <= 1 then
return 1
end
return Total
end
Enemy
{
"id": 136750,
"BuffName": "Earnest Punch (Spin)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "RotateSelf",
"speed": 3000,
"NoMove": 1,
"NoSkill": 1,
"NoAttack": 1,
"duration": 1
}
}
Formula
{
"CD": 5,
"id": 2563010,
"Buff": {
"enemy": [
136750
]
},
"Cost": 1,
"Desc": [
{
"id": 2563000,
"params": [
5000
]
}
],
"Icon": "skill_2563001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillTargetBehindRect",
"Damage": [
{
"type": 100502,
"damChangePer": 50
}
],
"DescId": "##1267312",
"NameZh": "##1266222",
"SE_hit": "Skill/Skill_Hero_Qiyu_Punch_Hit_01",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
136750
]
},
"RollType": 1,
"AttackAct": [
"use_skill2"
],
"Attack_EP": 2,
"SE_attack": "Skill/Skill_Hero_Qiyu_Attack_04",
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"HitEffects": [
{
"type": 1,
"speed": 60,
"distance": {
"a": 2,
"type": 7880
},
"back_path": {
"buff": [
136722
],
"camp": 2,
"width": 3
},
"direction": "back",
"ignore_no_hit_back": 1
}
],
"FireEffects": [
{
"time": 1,
"type": 2,
"curve": 1,
"range": 0.1
}
],
"Logic_Param": {
"width": 3,
"spotter": 0.2,
"no_select": 1,
"range_num": 18,
"buff_no_major": 1,
"forward_offset": 0,
"behind_distance": 8,
"hideClientDamage": 1,
"only_repel_major": 1,
"del_gain_buff_effect": 136751,
"force_service_damage": 1,
"del_gain_buff_before_odd": {
"a": 0,
"b": 0,
"c": 202111,
"type": 5010
}
},
"Launch_Range": 3,
"FashionAttackAct": "use_magic_Knuckle"
}