Level 10
##1305000
Skill #1305001
The ground suddenly swells below all targets in the area, dealing Earth M. DMG.
Level 10
##1305000
Level 9
##1305000
Level 8
##1305000
Level 7
##1305000
Level 6
##1305000
Level 5
##1305000
Level 4
##1305000
Level 3
##1305000
Level 2
##1305000
Level 1
##1305000
Formulas & functions
Formula source
function CommonFun.calcBuff_3250(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Num = srcUser:GetRunePoint(c)
local A = lv * a + b + Num * d
return A
endFormula source
function CommonFun.calcDamage_8202(srcUser, targetUser, params, damageParam, logger)
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 RangeDam = srcUser:GetProperty("RangeDam")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, 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 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
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam)
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
local skilllv_ele = srcUser:GetLernedSkillLevel(1333)
local ElementNpc = srcUser:getCurElementElfID()
if skillID == 1330 and ElementNpc == 580030 then
A = A * (1 + skilllv_ele * 0.03)
end
if skillID == 1328 then
local Num_xc = srcUser:GetRunePoint(82031)
local GemValue1 = srcUser:GetGemValue(82022)
local GemValue2 = srcUser:GetGemValue(82052)
local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
A = A * (1 + Num_xc * 0.08) * GemDam
if ElementNpc == 580020 then
A = A * (1 + skilllv_ele * 0.01)
end
local RefineLv = srcUser:GetEquipedRefineLv(7)
local Ring1 = srcUser:GetEquipedID(7)
if Ring1 == 63433 or Ring1 == 163433 then
A = A * (RefineLv * 0.02 + 1)
end
if Ring1 == 63444 or Ring1 == 163444 then
A = A * (RefineLv * 0.02 + 1)
end
end
if skillID == 1305 then
local Num_dz = srcUser:GetRunePoint(82002)
A = A * (1 + Num_dz * 0.1)
end
if A <= 1 then
return 1
end
return A
endSkill JSON (Level 10)
{
"id": 1305010,
"NameZh": "地震术",
"Level": 10,
"Icon": "skill_1335001",
"Cost": 1,
"Desc": [
{
"id": 1305000,
"params": [
770
]
}
],
"RollType": 2,
"DamageType": 2,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 6,
"Fire_EP": 3,
"Target_EP": 0,
"Attack_EP": 3,
"SkillCost": {
"sp": 78
},
"DelayCD": 2,
"Lead_Type": {
"CCT": 0.3,
"FCT": 6,
"type": 2
},
"Logic": "SkillPointRange",
"Logic_Param": {
"count": 1,
"effect": "Earthquake,LowRange_B2",
"interval": 1,
"isCountTrap": 1,
"loop": false,
"no_select": 1,
"range": 3
},
"Damage": [
{
"damChangePer": 7.7,
"elementparam": 2,
"type": 8202
}
],
"DamTime": {
"type": 1,
"value": 2
},
"Buff": {
"enemy": [
118430
]
},
"Pvp_buff": {
"enemy": [
118430
]
},
"CastAct": "reading",
"AttackAct": [
"use_skill"
],
"SE_cast": "Common/Magic_cast",
"SE_attack": "Skill/HeavenDrive",
"SE_fire": "Skill/StormGust_fire",
"SE_hit": "Skill/StormGust_hit",
"description": {
"chinesesimplified": "##1305000",
"english": "##1305000",
"german": "##1305000",
"portuguese": "##1305000",
"spanish": "##1305000"
}
}