
Moonlight Dance
Lvl: 10
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 300
Range: 2
Deal physical damage of *1500% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 9
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 280
Range: 2
• Deal physical damage of *1420% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 8
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 260
Range: 2
• Deal physical damage of *1340% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 7
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 240
Range: 2
• Deal physical damage of *1260% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 6
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 220
Range: 2
• Deal physical damage of *1180% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 5
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 200
Range: 2
• Deal physical damage of *1100% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 4
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 180
Range: 2
• Deal physical damage of *1020% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 3
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 160
Range: 2
• Deal physical damage of *940% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 2
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 140
Range: 2
• Deal physical damage of *860% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Lvl: 1
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 120
Range: 2
• Deal physical damage of *780% to enemies within an 8-meter range of oneself, each layer of 【Charging】 increases damage by 10%, consumes all 【Charging】, and for each layer consumed, restores 10% of the maximum health to oneself
Apply 【Mirror】 to all enemies hit
Formula
function CommonFun.calcDamage_68501(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local Vit = srcUser:GetProperty("Vit")
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 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 Hp2 = targetUser:GetProperty("Hp")
local MaxHp2 = targetUser:GetProperty("MaxHp")
local damChangePer = damageParam.damChangePer
local AttrEffect = srcUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
local MaxSp = targetUser:GetProperty("MaxSp")
if skillID == 2734_SAINT:WHITE_STAR_MOON_SAINT:WHITE_STAR_MOON then
AtkFinal = (((Atk - BaseAtk) * (1 + AtkPer) + MaxSp) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
end
if skillID == 2731_ARCHBISHOP:WHITE_STAR_WIND or skillID == 2732_ARCHBISHOP:WHITE_STAR_FLOWER or skillID == 2733_ARCHBISHOP:WHITE_STAR_SNOW or skillID == 2734_SAINT:WHITE_STAR_MOON_SAINT:WHITE_STAR_MOON or skillID == 2746_SAINT:COUNTER_ATTACK then
local skilllv_bd = srcUser:GetLernedSkillLevel(2745_SAINT:STARLIGHT)
if 0 < skilllv_bd then
damChangePer = (damChangePer + skilllv_bd * 0.2) * (1 + Vit / 600)
end
end
local Num = srcUser:GetBuffLayer(137710_GATHER_MOMENTUM_:MAX_STACK_10)
if skillID == 2740_SAINT:MOONLIGHT_DANCE then
local GemValue = srcUser:GetGemValue(208121_IN_THE_GLIMPSE_STATE_THE_DAMAGE_OF_MOON_DANCE_IS_INCREASED_BY_PERCENTAGE)
damChangePer = damChangePer * (1 + Num * 0.1)
if srcUser:HasBuffID(137700_PHANTOM_OF_POWER_:MAX_STACK_0) then
damChangePer = damChangePer * (1 + GemValue / 100000)
end
end
local Hp = srcUser:GetProperty("Hp")
local MaxHp = srcUser:GetProperty("MaxHp")
if skillID == 2741_SAINT:FIRE_STRIKE then
local mapid, maptype = srcUser:GetMapInfo()
local pvpRatio = 1
if maptype == PVP_MAPS then
pvpRatio = 0.25
end
damChangePer = (damChangePer + Hp * pvpRatio / 50000) * (1 + Num * 0.1)
end
local tx_lv = srcUser:GetLernedSkillLevel(2730_ARCHBISHOP:WHITE_STAR)
local NormalAtkDam = srcUser:GetProperty("NormalAtkDam")
local NormalEnd = 1 + NormalAtkDam
if 7 <= tx_lv then
damChangePer = damChangePer * NormalEnd
end
if srcUser:HasBuffID(137720_NOBLE_BLOODLINE_:MAX_STACK_0) then
local xm_lv = srcUser:GetLernedSkillLevel(2737_SAINT:UNYIELDING)
if 0.6 <= Hp / MaxHp then
damChangePer = damChangePer * (1 + 0.05 * xm_lv)
end
end
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
local CriDamPer = srcUser:GetProperty("CriDamPer")
local CriDefPer2 = targetUser:GetProperty("CriDefPer")
local fushou = srcUser:GetEquipTypeByPos(1)
local wuqi = srcUser:GetEquipTypeByPos(7)
local WeaponNum = 0
if fushou == 180 or fushou == 250 then
WeaponNum = WeaponNum + 1
end
if wuqi == 180 or wuqi == 250 then
WeaponNum = WeaponNum + 1
end
local Rate = (7 + 4 * tx_lv) * WeaponNum
if 4 <= tx_lv then
Rate = (7 + 4 * tx_lv) * WeaponNum + Num * 3
end
if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
A = (AtkFinal * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
return math.max(A * (1.5 + CriDamPer - CriDefPer2), 1), CommonFun.DamageType.Crit
end
if A <= 1 then
return 1
end
return A
end
Self 8380
function CommonFun.calcBuff_8380(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = srcUser:GetProperty("MaxHp")
local Num1 = srcUser:GetBuffLayer(137710_GATHER_MOMENTUM_:MAX_STACK_10)
local A = MaxHp * 0.1 * Num1
return A
end
Self
{
"id": 137790,
"BuffName": "Delete all 【 gather momentum 】",
"BuffRate": {
"Odds": 100
},
"Condition": {
"time": 0.5,
"type": "AfterTime"
},
"BuffEffect": {
"type": "DelBuff",
"layer": [
{
"id": 137710,
"layer": 10
}
]
}
}
Self
{
"id": 137791,
"BuffName": "Control of the superior (healing)",
"BuffRate": {
"Odds": {
"a": 0,
"b": 100,
"c": 137710,
"type": 5040
}
},
"BuffEffect": {
"Hp": {
"type": 8380
},
"type": "HSPChange",
"calc_heal": 1
},
"BuffStateID": 137791
}
Enemy
{
"id": 137740,
"BuffDesc": "Reduced burst damage and decrease in all elemental mitigations.",
"BuffIcon": "skillbuff_2738001",
"BuffName": "Heart and mind",
"BuffRate": {
"Odds": {
"a": 2738,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1,
"npc_no_disperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"CriDefPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeFireDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeHolyDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeWindDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeEarthDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeGhostDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeWaterDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BePoisonDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeShadowDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeUndeadDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
},
"BeNeutralDamPer": {
"a": 2738,
"b": -0.06,
"c": 0,
"type": 8
}
}
}
Enemy
{
"id": 137741,
"BuffDesc": "Expose one's armor attributes",
"BuffIcon": "skillbuff_2738001",
"BuffName": "Heart's Eye (Armor Attribute)",
"BuffRate": {
"Odds": {
"a": 2738,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "ShowDefAttr",
"attr2buff": [
[
137870
],
[
137871
],
[
137872
],
[
137873
],
[
137874
],
[
137875
],
[
137876
],
[
137877
],
[
137878
],
[
137879
]
]
},
"BuffStateID": 137741
}
Enemy
{
"id": 137792,
"BuffName": "Moonlight Dance (Bright Mirror)",
"BuffRate": {
"Odds": 100
},
"Condition": {
"time": 1.5,
"type": "AfterTime"
},
"BuffEffect": {
"id": [
137740,
137741
],
"type": "AddBuff"
}
}
Formula
{
"CD": 6,
"id": 2740010,
"Buff": {
"self": [
137790,
137791
],
"enemy": [
137792
]
},
"Cost": 1,
"Desc": [
{
"id": 2740000,
"params": [
1500
]
}
],
"Icon": "skill_2740001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 68501,
"damChangePer": 15
}
],
"DescId": "##2833998",
"NameZh": "##2833997",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"self": [
137790,
137791
],
"enemy": [
137792
]
},
"RollType": 1,
"SkillHit": 0.3,
"AttackAct": [
"use_skill4"
],
"Attack_EP": 2,
"SE_attack": "Skill/skill_hero_haiyinlixi_moondance_attack_01",
"SkillCost": {
"sp": 300
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"range": 8,
"range_num": 12,
"fire_count": 5,
"fire_interval": 0.2
},
"Launch_Range": 2,
"FashionAttackAct": "use_skill2_KnifeAS"
}