
Esma
Lvl: 10
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 500
Range: 6
Cast Time: 5
Deals to an enemy unit with [Estun]*130% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 9
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 468
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*127% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 8
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 436
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*124% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 7
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 404
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*121% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 6
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 372
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*118% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 5
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 340
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*115% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 4
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 308
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*112% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 3
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 276
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*109% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 2
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 244
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*106% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Lvl: 1
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 212
Range: 6
Cast Time: 5
• Deals to an enemy unit with [Estun]*103% Neutral M. DMG, and the carried [Warm Wind] can change the damage type. Every 5 points of Luck on the hero can raise DMG by 1%
Formula
function CommonFun.calcDamage_18302(srcUser, targetUser, params, damageParam, logger)
local Luk = srcUser:GetProperty("Luk")
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local bodyparam = 1
local skilllv_tx = srcUser:GetLernedSkillLevel(2325_ACOLYTE:WEIGHT_OF_SOUL)
if 0 < skilllv_tx then
bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
end
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local damChangePer = damageParam.damChangePer
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2 * bodyparam
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local skilllv_xl = srcUser:GetLernedSkillLevel(2303_STELLAR_HUNTER:MIND_PIERCE)
local Num1 = srcUser:GetRunePoint(183014_AESIR_MIND_PIERCE_ADDITIONALLY_CALCULATES_10_POINTS_OF_LUCK_EFFECT)
local Num2 = srcUser:GetRunePoint(183015_AESIR_MIND_PIERCE_S_TRUE_DMG_5)
local RealDam = (Luk + Num1 * 10) * skilllv_xl * 20 * (1 + Num2 * 0.05)
local SoulDam = 1
local skilllv_soul = srcUser:GetLernedSkillLevel(2330_ACOLYTE:SOUL_HUNTER)
if targetUser:GetBuffEffectByType("PositiveSoul") or targetUser:GetBuffEffectByType("NegativeSoul") then
SoulDam = 1 + skilllv_soul * 0.06
end
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2323_ACOLYTE:ESTUN then
if nil ~= CommonFun.Shape and CommonFun.Shape.M == targetUser.shape and srcUser.isServerCall then
srcUser:AddBuff(135080_STUN_EFFECT_STUN_CALCULATED_CHANCE_:MAX_STACK_0, targetUser:GetGuid())
srcUser:AddBuff(135340_ESTUN_ASTROLABE_:MAX_STACK_0, targetUser:GetGuid())
end
local Num = srcUser:GetRunePoint(183026_AESIR_ESTUN_DMG_5)
damChangePer = damChangePer * (1 + Num * 0.05)
end
if skillID == 2343_ACOLYTE:ESMA then
local skilllv_asd = srcUser:GetLernedSkillLevel(2323_ACOLYTE:ESTUN)
local skilllv_asm = srcUser:GetLernedSkillLevel(2343_ACOLYTE:ESMA)
local skilllv_s = srcUser:GetLernedSkillLevel(2363_ACOLYTE:ESMA_SMALL)
local skilllv_l = srcUser:GetLernedSkillLevel(2364_ACOLYTE:ESMA_BIG)
local ShapeDam = 1
if nil ~= CommonFun.Shape then
if CommonFun.Shape.S == targetUser.shape and 0 < skilllv_s then
if srcUser.isServerCall then
srcUser:AddBuff(135120_ESMA_SMALL_:MAX_STACK_0, targetUser:GetGuid())
end
elseif CommonFun.Shape.L == targetUser.shape then
local GemValue_l = srcUser:GetGemValue(183091_ESMA_DMG_AGAINST_L_SIZE_PERCENTAGE)
ShapeDam = 1 + skilllv_l * 0.05 + GemValue_l / 100000
end
end
local Num = srcUser:GetRunePoint(183026_AESIR_ESTUN_DMG_5)
local LukRatio = Luk / 500
if srcUser:HasBuffID(21830130_ESMA_S_LUK_BONUS_:MAX_STACK_0) then
LukRatio = Luk / 300
end
damChangePer = (skilllv_asd * 1.1 + 6) * (1 + 0.03 * skilllv_asm) * (1 + LukRatio) * ShapeDam * (1 + Num * 0.05)
end
local A = (((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer + RealDam) * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * SoulDam
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 135120,
"BuffDesc": "Unable to attack",
"BuffIcon": "skillbuff_2343001",
"BuffName": "Esma (Small)",
"BuffRate": {
"Odds": {
"type": 7191
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"NoPhySkill": 1,
"NoMagicSkill": 1
},
"BuffStateID": 156201
}
Formula
{
"CD": 3,
"id": 2343010,
"Buff": {
"enemy": [
135120
]
},
"Cost": 1,
"Desc": [
{
"id": 2343000,
"params": [
130
]
}
],
"Icon": "skill_2343001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 18302,
"damChangePer": 0,
"elementparam": 5
}
],
"DescId": "##1191125",
"NameZh": "##1190903",
"SE_hit": "Skill/skill_magic_energy_hit",
"CastAct": "skill_ready2",
"DamTime": {
"type": 1,
"value": 4
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "Skill/Magic_cast",
"ItemCost": [
{
"id": 12903,
"count": 2100
}
],
"Pvp_buff": {
"enemy": [
135120
]
},
"RollType": 2,
"AttackAct": [
"use_skill5"
],
"Attack_EP": 4,
"Lead_Type": {
"CCT": 0,
"FCT": 5,
"type": 2
},
"SkillCost": {
"1": {
"num": 1,
"buffID": 135032
},
"sp": 500
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Launch_Range": 6,
"ExtraMaxLevel": 0
}