Level ?
Skill #80007003
Deals (Atk[8df936]%s%%[-]) Dmg to a target and reduces their Move Spd
Formulas & functions
CommonFun links
CommonFun.calcBuff_120
buffEnemy
80007003buff | Buffs 70050100
Formula source
function CommonFun.calcBuff_120(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local StoneAtk = srcUser:GetProperty("StoneAtk")
local StoneDef2 = targetUser:GetProperty("StoneDef")
local StoneDam = 1 + StoneAtk - StoneDef2
if StoneDam <= 0 then
StoneDam = 0
end
local StateAtk = srcUser:GetProperty("StateAtk")
local StateDef2 = targetUser:GetProperty("StateDef")
local StateDam = 1 + StateAtk - StateDef2
if StateDam <= 0 then
StateDam = 0
end
local A = (lv * a + b) * StoneDam * StateDam * CommonFun.calcAttrStoneRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endSkill JSON (Level ?)
{
"id": 80007003,
"NameZh": "",
"Icon": "",
"SkillType": "Buff",
"Camps": "Enemy",
"Launch_Range": 6,
"Fire_EP": 3,
"Target_EP": 2,
"Attack_EP": 3,
"Logic": "SkillSelfRange",
"Logic_Param": {
"range": 3
},
"Buff": {
"enemy": [
70050100
]
},
"Pvp_buff": {
"enemy": [
70050100
]
},
"AttackAct": [
"attack"
]
}