Level 5
##79002001
Skill #79002001
Stuns enemies around the caster with sheer majesty and has a chance to fear or freeze the surrounding enemies. The fear status will last for 3 secs, and the freeze status will last for 5 secs.
Level 5
##79002001
Formulas & functions
Formula source
function CommonFun.calcBuff_110(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local FreezeAtk = srcUser:GetProperty("FreezeAtk")
local FreezeDef2 = targetUser:GetProperty("FreezeDef")
local FreezeDam = 1 + FreezeAtk - FreezeDef2
if FreezeDam <= 0 then
FreezeDam = 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) * FreezeDam * StateDam * CommonFun.calcAttrFreezeRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endFormula source
function CommonFun.calcBuff_170(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local ChaosAtk = srcUser:GetProperty("ChaosAtk")
local ChaosDef2 = targetUser:GetProperty("ChaosDef")
local ChaosDam = 1 + ChaosAtk - ChaosDef2
if ChaosDam <= 0 then
ChaosDam = 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) * ChaosDam * StateDam * CommonFun.calcAttrFearRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endSkill JSON (Level 5)
{
"id": 79002001,
"NameZh": "卖萌",
"Level": 5,
"Icon": "skill_100550001",
"Cost": 1,
"Desc": [
{
"id": 79002001,
"params": [
100
]
}
],
"SkillType": "Buff",
"Camps": "Enemy",
"Launch_Range": 8,
"Fire_EP": 3,
"Target_EP": 3,
"Attack_EP": 1,
"Logic": "SkillSelfRange",
"Logic_Param": {
"range": 8,
"range_num": 12
},
"Buff": {
"enemy": [
174150,
174160
]
},
"Pvp_buff": {
"enemy": [
174150,
174160
]
},
"AttackAct": [
"attack"
],
"E_Attack_On": 1,
"SE_cast": "Common/Magic_cast",
"SE_attack": "Skill/Skill_monster_Doram_threaten",
"SE_hit": "Skill/Skill_monster_Doram_threaten_frozen",
"description": {
"chinesesimplified": "##79002001",
"english": "##79002001",
"german": "##79002001",
"portuguese": "##79002001",
"spanish": "##79002001"
}
}