
Scorching Realm
Lvl: 1
Attack
Physical
CD: 21 sec
Range: 7
Sunlight enters [Scorching Realm] and deals [Solar Vigor]*2500%% as P.DMG to a large area immediately. When in [Scorching Realm], negates debuffs, increases skill DMG by 50%% and MOV SPD by 30%%, and bans them from reducing. Lasts 12s. When the effects wear off, removes all [Solar Power] and enters weakened state for 3s, during which she can't attack. [Scorching Realm] is cast when [Solar Power] is full. It can't be used manually. Its cooldown is fixed.
Inherit Skills
Formula
function CommonFun.calcDamage_77503(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
local IgnoreDef = 0
local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
if targetUser.boss or targetUser.mini then
IgnoreDef = IgnoreDef1
else
IgnoreDef = IgnoreDef1 + IgnoreDef2
end
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local Refine = srcUser:GetProperty("Refine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamSpike = srcUser:GetProperty("DamSpike_PEN")
local DamReduc2 = targetUser:GetProperty("DamReduc")
local MDamReduc2 = targetUser:GetProperty("MDamReduc")
local DamReducfinal = CommonFun.calcDamReDuc(srcUser, targetUser)
if DamReduc2 > MDamReduc2 then
local ReduceLv = CommonFun.calcSpikeLv(srcUser, targetUser)
local SkillDamReduc = CommonFun.calcSkillDamReduc(srcUser, targetUser)
if srcUser:HasBuffID(138002_23_:MAX_STACK_0) then
local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
DamSpike = DamSpike + MDamSpike
end
if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(57720_23_:MAX_STACK_0) and srcUser:HasBuffID(138002_23_:MAX_STACK_0) then
DamSpike = DamSpike + 0.2
elseif targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(57720_23_:MAX_STACK_0) then
DamSpike = DamSpike + 0.1
end
if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(58120_23377_PHANTOM_THIEF_CARD_FROM_A_DIFFERENT_WORLD_:MAX_STACK_0) and srcUser:HasBuffID(138002_23_:MAX_STACK_0) then
DamSpike = DamSpike + 0.2
elseif targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(58120_23377_PHANTOM_THIEF_CARD_FROM_A_DIFFERENT_WORLD_:MAX_STACK_0) then
DamSpike = DamSpike + 0.1
end
if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(58730_ALIEN_ELUSIVE_THIEF_CARD_:MAX_STACK_0) and srcUser:HasBuffID(138002_23_:MAX_STACK_0) then
DamSpike = DamSpike + 0.2
elseif targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(58730_ALIEN_ELUSIVE_THIEF_CARD_:MAX_STACK_0) then
DamSpike = DamSpike + 0.1
end
if (targetUser.boss or targetUser.mini) and srcUser:HasBuffID(58730_ALIEN_ELUSIVE_THIEF_CARD_:MAX_STACK_0) and srcUser:HasBuffID(138002_23_:MAX_STACK_0) then
DamSpike = DamSpike + 0.1
elseif (targetUser.boss or targetUser.mini) and srcUser:HasBuffID(58730_ALIEN_ELUSIVE_THIEF_CARD_:MAX_STACK_0) then
DamSpike = DamSpike + 0.05
end
if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(57780_ALIEN_THANATOS_CARD_:MAX_STACK_0) then
local Card22 = srcUser:GetEquipCardNum(7, 23331)
local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
DamSpike = DamSpike + 0.01 * RefineLv * Card22
end
local DamReducThrough = srcUser:GetProperty("DamReducThrough")
local DamSpikeResistance = targetUser:GetProperty("DamSpikeResistance")
if 0 <= DamSpike then
DamSpike = DamSpike * math.max(1 - DamSpikeResistance, 0)
end
if 0 <= DamReduc2 then
DamReduc2 = DamReduc2 * math.max(1 - DamReducThrough, 0)
end
DamReducfinal = 1 - (1 + 0.009 * ReduceLv + DamSpike - MDamReduc2) * SkillDamReduc
local mapid, maptype = srcUser:GetMapInfo()
if (maptype == PVP_MAPS) and targetUser:GetNpcID() ~= 40022_EMPERIUM then
local pvpReduce = 0
local Master = targetUser:GetMasterUser()
if targetUser:GetNpcID() == 0 or Master ~= nil then
pvpReduce = 0.2
end
DamReducfinal = DamReducfinal < -1 and -1 or 1 < DamReducfinal and 1 or DamReducfinal
DamReducfinal = math.floor(DamReducfinal * 1000) / 1000
DamReducfinal = DamReducfinal + 0.3 * (1 - math.sin(DamReducfinal * 3.14 / 2)) + pvpReduce
end
if 0.85 <= DamReducfinal then
DamReducfinal = 0.85
end
end
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
Def2 = math.min(MDef2, Def2)
DefPer2 = math.min(MDefPer2, DefPer2)
RefineDamReduc = math.min(RefineMDamReduc, RefineDamReduc)
local damChangePer = 0
local skill_lv1 = srcUser:GetLernedSkillLevel(4711_SHADOW_CHASER:SOLAR_VIGOR)
if 1 <= skill_lv1 then
damChangePer = 2.4 + skill_lv1 * 0.6
end
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
local DefReduc = CommonFun.CalcDef(srcUser, targetUser, params)
local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 4717_SHADOW_CHASER:SOLAR_AURA_SKYFIRE then
local fentian = srcUser:GetBuffLayer(139647__:MAX_STACK_0)
local skill_fentian = srcUser:GetLernedSkillLevel(4705_SHADOW_CHASER:SOLAR_FLAME_SHOWER)
damChangePer = damChangePer * math.pow(1 + skill_fentian * 0.01, fentian)
end
if skillID == 4702_SHADOW_CHASER:SCORCHING_REALM then
damChangePer = damChangePer * 25
end
local layer_taiyang = srcUser:GetBuffLayer(139610_POWER_OF_THE_SUN_:MAX_STACK_0)
local yanghui = 1
if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(139680_SUNNY_:MAX_STACK_0) then
local skill_xuri = srcUser:GetLernedSkillLevel(4707_SHADOW_CHASER:SUNLIGHT_RITUAL)
yanghui = 1 + skill_xuri * 0.001 * layer_taiyang
end
local A = ((AtkFinal * DefReduc * (1 - DamReducfinal) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * yanghui
if A <= 1 then
return 1
end
return A
end
Self
{
"id": 139670,
"BuffDesc": "Scorching Realm",
"BuffIcon": "skillbuff_4702001",
"BuffName": "Solar Form",
"BuffRate": {
"Odds": 100
},
"IconType": 1,
"BuffEffect": {
"ids": [
4703
],
"type": "DynamicSkillConfig",
"value": "sfx_sunshine_Tyj_Floor_03_prf",
"configType": 3
}
}
Self
{
"id": 139621,
"BuffName": "积累太阳之力",
"BuffRate": {
"Odds": 100
}
}
Self
{
"id": 139672,
"BuffName": "Solar Form",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"id": [
139610,
139620,
139621
],
"type": "DelBuff"
}
}
Self
{
"id": 139671,
"BuffName": "太阳形态(移速,技能伤害)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AttrChange",
"SkillDam": 0.5,
"MoveSpdPer": 0.3,
"end_extra_buff": [
139672,
139673,
139676
]
},
"BuffStateID": 139671
}
Self
{
"id": 139673,
"BuffName": "太阳形态(虚弱)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AttrChange",
"NoPhySkill": 1,
"NoMagicSkill": 1,
"NoNormalAttack": 1
},
"BuffStateID": 139670
}
Self
{
"id": 139674,
"BuffName": "太阳形态(月夜猫)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"attr": {
"MoveSpd": 2,
"MoveSpdPer": 2
},
"type": "AttrControl"
}
}
Self
{
"id": 139675,
"BuffName": "太阳形态(增加连环脚次数)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AffactSkill",
"count": 5,
"skillID": [
4704
]
}
}
Self
{
"id": 139676,
"BuffName": "回复一定层数",
"BuffRate": {
"Odds": 100
},
"Condition": {
"time": 0.3,
"type": "AfterTime"
},
"BuffEffect": {
"type": "AddBuff",
"layer": [
{
"id": 139610,
"layer": {
"a": 0,
"b": 0,
"c": 217101,
"type": 5010
}
}
]
}
}
Self
{
"id": 139677,
"BuffName": "锁定太阳之力层数",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "LockBuffLayer",
"buffIDs": [
139610
]
}
}
Self
{
"id": 139678,
"BuffName": "太阳形态免疫异常效果",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "ImmuneStatus",
"status": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
]
}
}
Self
{
"id": 139679,
"BuffName": "太阳形态无法使用太阳形态",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "LimitSkill",
"notid": [
4702
]
}
}
Self
{
"id": 139610,
"BuffDesc": "Power of the Sun",
"BuffIcon": "skillbuff_4701001",
"BuffName": "Power of the Sun",
"BuffRate": {
"Odds": 100
},
"IconType": 1,
"LayerBuff": [
[
139622
]
],
"BuffEffect": {
"type": "AttrChange",
"DamSpike": {
"a": 4700,
"b": 0.001,
"c": 0,
"type": 8
},
"MDamSpike": {
"a": 4700,
"b": 0.001,
"c": 0,
"type": 8
},
"HealEncPer": {
"a": 4700,
"b": 0.001,
"c": 0,
"type": 8
},
"LayerState": [
139613,
139610,
139611,
139612
],
"ChangeBuffLayer": {
"a": 4700,
"b": 7,
"c": 100,
"d": 200,
"type": 7830
}
},
"BuffStateID": 139610
}
Self
{
"id": 139620,
"BuffName": "积累太阳之力",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AddBuff",
"layer": [
{
"id": 139610,
"layer": {
"type": 9070
}
}
],
"always_calc": 1
}
}
Self
{
"id": 139628,
"BuffName": "太阳形态替换发型",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 1,
"isdisperse": 0
},
"BuffEffect": {
"Head": 49731,
"type": "PartTransform"
}
}
Self
{
"id": 139604,
"BuffName": "日之子(4级)(免死)",
"BuffRate": {
"Odds": {
"a": 4700,
"b": 4,
"c": 0,
"d": 100,
"type": 7830
}
},
"BuffEffect": {
"type": "Undead",
"protect_buff": [
139605,
139606,
139607
]
}
}
Formula
{
"CD": 21,
"id": 4702001,
"Buff": {
"self": [
139670,
139671,
139674,
139675,
139604,
139677,
139678,
139679,
139628
]
},
"Cost": 1,
"Desc": [
{
"id": 4702000
}
],
"Icon": "skill_4702001",
"Camps": "Enemy",
"FixCD": 1,
"Level": 1,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 77503,
"damChangePer": 1
}
],
"DescId": "##42627754",
"NameZh": "##42590669",
"DamTime": {
"type": 1,
"value": 1
},
"Fire_EP": 3,
"Pvp_buff": {
"self": [
139670,
139671,
139674,
139675,
139604,
139677,
139678,
139679,
139628
]
},
"RollType": 1,
"AttackAct": [
"use_skill2"
],
"Attack_EP": 3,
"Contidion": {
"skillid": 4701001
},
"SE_attack": "Skill/sfx_skill_sun_zone_attack_01",
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"range": 7,
"range_num": 12,
"allSuperUse": 1
},
"Launch_Range": 7,
"PreCondition": {
"1": {
"id": 139610,
"type": 6,
"layer": 50
},
"2": {
"id": 139602,
"type": 6
},
"both": 1
}
}