
Fire Rain
Lvl: 10
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
Shoot quickly, inflicting Phy. ATK*1800% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 9
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1740% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 8
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1680% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 7
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1620% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 6
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1560% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 5
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1500% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 4
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1440% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 3
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1380% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 2
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1320% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Lvl: 1
ClearEffect
Physical
CD: 8 sec
Skill Delay: 1.5 sec
Range: 6
• Shoot quickly, inflicting Phy. ATK*1260% in Fire Phy. DMG four times to enemies in the specified 4m area in 2 seconds. Also removes ground-based magic effects within the area. Expends 4 bullets.
Formula
function CommonFun.calcDamage_17301(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 NormalAtk = srcUser:GetProperty("NormalAtk")
NormalAtk = NormalAtk + 3 * Dex
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 AttrEffect = targetUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
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 = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 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)
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2005_SNIPER:HOMING_MISSILE or skillID == 2006_SNIPER:HOMING_MISSILE_FIRE_ON_FULL_POWER then
local GemValue = srcUser:GetGemValue(173052_HOMING_MISSILE_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
A = A * GemDam
end
if skillID == 2200_STELLAR_HUNTER:STORM_GUST or skillID == 2199_STELLAR_HUNTER:THUMP then
local WeaponType = srcUser:GetEquipedWeaponType()
if WeaponType == 320 then
A = A * 2
end
end
if skillID == 2250_STELLAR_HUNTER:FIRE_RAIN or skillID == 818_HIGH_WIZARD:FIRE_RAIN then
local GemValue = srcUser:GetGemValue(173161_FIRE_RAIN_DMG_PERCENTAGE)
A = A * (1 + GemValue / 100000)
end
if A <= 1 then
return 1
end
return A
end
Enemy 6
function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = targetUser:GetProperty("MaxHp")
local A = MaxHp * (a + c) + b
if 0 < A or a == 0 then
return A
end
if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
return 0
end
if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local Refine = srcUser:GetProperty("Refine")
local MRefine = srcUser:GetProperty("MRefine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
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 MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreDef = srcUser:GetProperty("IgnoreDef")
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local raceparam = 1
local srcRace = srcUser.race
local targetRace = targetUser.race
if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
targetRace = 3
end
if srcUser:HasBuffID(139411_TWO_FACE_DEMON_KING_DEMON_:MAX_STACK_0) then
srcRace = 3
end
if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
targetRace = 2
end
if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
srcRace = 2
end
if nil == CommonFun.RaceProps[targetRace] then
return 0
end
if nil == CommonFun.RaceProps[srcRace] then
return 0
end
local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
local raceparam = 1 + raceInc - raceRed
if raceparam <= 0.1 then
raceparam = 0.1
end
local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
if MAtkFinal <= AtkFinal then
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
else
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
end
end
local AttrFunction = srcUser:GetProperty("AttrFunction")
local bitfunc = CommonFun.getBits(AttrFunction)
if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
A = 0
end
if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
A = 0
end
if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
A = 0
end
if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
A = -1
end
if targetUser:DamageAlways1() then
A = -1
end
return A
end
Enemy
{
"id": 133810,
"BuffName": "Fire Rain (Burning effect)",
"BuffRate": {
"Odds": {
"a": 2268,
"b": 10,
"c": 0,
"type": 8
}
},
"BuffEffect": {
"id": [
133811
],
"type": "AddBuff"
}
}
Enemy
{
"id": 133811,
"BuffName": "Fire Rain (Burning effect)",
"BuffRate": {
"Odds": {
"a": 0,
"b": 100,
"type": 140
}
},
"BuffEffect": {
"id": [
133812,
133813
],
"type": "AddBuff"
}
}
Enemy
{
"id": 133812,
"BuffName": "Burn [Burn]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"MDefPer": -0.25,
"AttrEffect": [
3,
4
],
"StateEffect": "3_Burn",
"BeFireDamPer": -0.25
},
"BuffStateID": 95410
}
Enemy
{
"id": 133813,
"BuffName": "Burning Bleeding Effect",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"Hp": {
"a": -0.01,
"b": -5,
"type": 6
},
"type": "HpReduce",
"delHpPer": 0.2,
"StateEffect": "3_Burn"
}
}
Enemy
{
"id": 133814,
"BuffName": "6043",
"BuffRate": {
"Odds": {
"a": 0,
"b": 0,
"c": 173162,
"type": 5010
}
},
"BuffEffect": {
"num": 3,
"type": "Disperse",
"value": "GainBuff"
},
"BuffStateID": 118260
}
Formula
{
"CD": 8,
"id": 2250010,
"Buff": {
"enemy": [
133810,
133814
]
},
"Cost": 1,
"Desc": [
{
"id": 2250000,
"params": [
1800
]
}
],
"Icon": "skill_2250001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillPointRange",
"Damage": [
{
"type": 17301,
"damChangePer": 18,
"elementparam": 4
}
],
"DescId": "##1138171",
"NameZh": "##160660",
"DamTime": {
"type": 1,
"value": 2
},
"DelayCD": 1.5,
"Fire_EP": 3,
"ItemCost": [
{
"id": 12903,
"count": 1580
}
],
"Pvp_buff": {
"enemy": [
133810,
133814
]
},
"RollType": 1,
"AttackAct": [
"use_skill"
],
"Attack_EP": 3,
"SE_attack": "Skill/skil_gunner_7",
"SkillCost": [
{
"num": 4,
"specialType": 4
}
],
"SkillType": "ClearEffect",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"count": 4,
"range": 4,
"interval": 0.5,
"clear_num": 99,
"no_select": 1,
"range_num": 8,
"forceClear": [
1303
],
"isCountTrap": 1,
"trap_effect": "gunman_hy_floor,LowRange_B",
"del_hide_as_atk": 1,
"fieldarea_cannot_immune": 1
},
"Launch_Range": 6,
"PreCondition": [
{
"type": 2,
"itemtype": 310
},
{
"type": 2,
"itemtype": 320
}
],
"ExtraMaxLevel": 0
}