Level 1
##10000
Skill #10000008
Level 1
##10000
Formulas & functions
Formula source
function CommonFun.calcDamage_8008(srcUser, targetUser, params, damageParam, logger)
local MaxHp = targetUser:GetProperty("MaxHp")
local A = MaxHp * 0.25
return A, CommonFun.DamageType.Normal
endSkill JSON (Level 1)
{
"id": 10000008,
"NameZh": "普通攻击(25%血量)",
"Level": 1,
"Icon": "skill_10000",
"Cost": 0,
"Desc": [
{
"id": 10000,
"params": [
100
]
}
],
"RollType": 1,
"Launch_Type": 1,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 1.5,
"Fire_EP": 3,
"Target_EP": 3,
"Attack_EP": 3,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 8008
}
],
"DamTime": {
"type": 1,
"value": 1
},
"AttackAct": [
"attack"
],
"description": {
"chinesesimplified": "##10000",
"english": "##10000",
"german": "##10000",
"portuguese": "##10000",
"spanish": "##10000"
}
}