Level 1
Reward for helping teammates with Endless Tower
Skill #80016001
Deals DMG ([8df936]%s%%[-] *ATK) and slows down for [8df936]%s[-] seconds.
Level 1
Reward for helping teammates with Endless Tower
Formulas & functions
Formula source
function CommonFun.calcBuff_160(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local SlowAtk = srcUser:GetProperty("SlowAtk")
local SlowDef2 = targetUser:GetProperty("SlowDef")
local SlowDam = 1 + SlowAtk - SlowDef2
if SlowDam <= 0 then
SlowDam = 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) * SlowDam * StateDam * CommonFun.calcAttrSlowRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endFormula source
function CommonFun.calcDamage_8009(srcUser, targetUser, params, damageParam, logger)
local Hp = targetUser:GetProperty("Hp")
local A = Hp
if targetUser:GetNpcID() ~= 59128 then
A = 1
end
return A, CommonFun.DamageType.Normal
endSkill JSON (Level 1)
{
"id": 80016001,
"NameZh": "猫波气功",
"Level": 1,
"Icon": "skill_124001",
"Cost": 1,
"Desc": [
{
"id": 124000,
"params": [
115
]
}
],
"RollType": 1,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 5,
"Fire_EP": 6,
"Target_EP": 3,
"Attack_EP": 3,
"Lead_Type": {
"ReadyTime": 1.5,
"type": 1
},
"Logic": "SkillLockedTarget",
"Logic_Param": {
"emit": {
"effect": "Monkcat_skill_Ballistic",
"speed": 10,
"type": 1
}
},
"Damage": [
{
"type": 8009
}
],
"DamTime": {
"type": 1,
"value": 1
},
"Buff": {
"enemy": [
70047001
]
},
"Pvp_buff": {
"enemy": [
70047001
]
},
"CastAct": "skill_ready",
"AttackAct": [
"use_magic"
],
"SE_attack": "Skill/ArrowRepel",
"description": {
"chinesesimplified": "帮助队友恩德勒斯塔获得",
"english": "Reward for helping teammates with Endless Tower",
"german": "Prämie,weil du Teamkollegen mit dem Endlosn Turm geholfen hast",
"portuguese": "Recompensa por trabalhar com os Aliados em Endless Tower",
"spanish": "Recompensa por ayudar compañeros en la Torre Infinita"
}
}