
Mammonite
Lvl: 20
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
Attacks an enemy with gold coins, dealing 1530% Dmg
Lvl: 19
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1460% Dmg
Lvl: 18
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1390% Dmg
Lvl: 17
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1320% Dmg
Lvl: 16
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1250% Dmg
Lvl: 15
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1180% Dmg
Lvl: 14
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1110% Dmg
Lvl: 13
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 1040% Dmg
Lvl: 12
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 970% Dmg
Lvl: 11
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 900% Dmg
Lvl: 10
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 830% Dmg
Lvl: 9
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 760% Dmg
Lvl: 8
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 690% Dmg
Lvl: 7
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 620% Dmg
Lvl: 6
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 550% Dmg
Lvl: 5
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 480% Dmg
Lvl: 4
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 410% Dmg
Lvl: 3
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 340% Dmg
Lvl: 2
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 270% Dmg
Lvl: 1
Attack
Physical
Skill Delay: 1 sec
SP: 5
Range: 1.5
• Attacks an enemy with gold coins, dealing 200% Dmg
Aesir
• Mammonite -Proficiency [Mammonite] Dmg +5%, but skills cost an extra +5%%
Formula
function CommonFun.calcDamage_6102(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 DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
local Weapon = srcUser:GetEquipedID(7_WEAPON)
local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
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)
local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local Num1 = srcUser:GetRunePoint(62050_AESIR_MAMMONITE_DMG_5_BUT_SKILLS_COST_AN_EXTRA_5)
local RuneDamage1 = Num1 * 0.05 + 1
local skilllv_1 = srcUser:GetLernedSkillLevel(272_LORD_KNIGHT:IMPROPER_MEANS)
local carda = 1
if srcUser:HasBuffID(53400_DARK_MERCHANT_DEJE_CARD_:MAX_STACK_0) then
carda = carda + 0.15
end
if srcUser:HasBuffID(56120_DEJE_CARD_:MAX_STACK_0) then
carda = carda + 0.15
end
local GemValue = srcUser:GetGemValue(61051_MAMMONITE_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + skilllv_1 * 0.6) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * RuneDamage1 * carda * GemDam
if Weapon == 41814_BLOOD_AXE_1_BLOOD_AXE_1 or Weapon == 141814_BLOOD_AXE_2_BLOOD_AXE_2 or Weapon == 41848_BLOODY_AXE_1_BLOODY_AXE_1_BLOODY_AXE_1 or Weapon == 141848_BLOODY_AXE_2_BLOODY_AXE_2_BLOODY_AXE_2 or Weapon == 41870_BLOOD_HOUND_1_BLOOD_HOUND_1_BLOOD_HOUND_1 or Weapon == 141870_BLOOD_HOUND_2_BLOOD_HOUND_2_BLOOD_HOUND_2 then
local CriRandom = 10
local DexRatio = 0
local CriRatio = 1
local RefineRatio = 1
if 90 <= Dex and (Weapon == 41814_BLOOD_AXE_1_BLOOD_AXE_1 or Weapon == 141814_BLOOD_AXE_2_BLOOD_AXE_2) then
DexRatio = 0.4
elseif 90 <= Dex and (Weapon == 41848_BLOODY_AXE_1_BLOODY_AXE_1_BLOODY_AXE_1 or Weapon == 141848_BLOODY_AXE_2_BLOODY_AXE_2_BLOODY_AXE_2) then
DexRatio = 0.5
elseif 90 <= Dex and (Weapon == 41870_BLOOD_HOUND_1_BLOOD_HOUND_1_BLOOD_HOUND_1 or Weapon == 141870_BLOOD_HOUND_2_BLOOD_HOUND_2_BLOOD_HOUND_2) then
DexRatio = 0.5
end
if srcUser:HasBuffID(90001873_BLOODY_AXE_R4_:MAX_STACK_0) and 240 <= Str then
DexRatio = DexRatio + 0.3
end
if srcUser:HasBuffID(41950_BLOOD_HOUND_:MAX_STACK_0) and 240 <= Str then
DexRatio = DexRatio + 0.3
end
if 5 <= RefineLv and RefineLv < 10 then
RefineRatio = 1.1
elseif 10 <= RefineLv and RefineLv < 15 then
RefineRatio = 1.3
elseif 15 <= RefineLv then
RefineRatio = 1.6
end
if srcUser:HasBuffID(41950_BLOOD_HOUND_:MAX_STACK_0) then
CriRandom = CriRandom + 10
end
if srcUser:HasBuffID(90004424_BLOOD_HOUND_1_T5_:MAX_STACK_0) then
CriRandom = CriRandom + 10
end
if CommonFun.IsInRate(CriRandom, srcUser:GetRandom()) and (Weapon == 41848_BLOODY_AXE_1_BLOODY_AXE_1_BLOODY_AXE_1 or Weapon == 141848_BLOODY_AXE_2_BLOODY_AXE_2_BLOODY_AXE_2 or Weapon == 41870_BLOOD_HOUND_1_BLOOD_HOUND_1_BLOOD_HOUND_1 or Weapon == 141870_BLOOD_HOUND_2_BLOOD_HOUND_2_BLOOD_HOUND_2) then
CriRatio = 1.5
end
if CriRatio == 1 then
return A * (RefineRatio + DexRatio) * CriRatio
else
return A * (RefineRatio + DexRatio) * CriRatio, CommonFun.DamageType.Crit
end
end
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 117920,
"BuffName": "Lure",
"BuffRate": {
"Odds": {
"a": 1290,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"DefPer": {
"a": 1290,
"b": -0.02,
"c": 0,
"type": 8
},
"MoveSpdPer": {
"a": 1290,
"b": -0.03,
"c": 0,
"type": 8
}
}
}
Formula
{
"id": 204020,
"Buff": {
"enemy": [
117920
]
},
"Cost": 1,
"Desc": [
{
"id": 204000,
"params": [
1530
]
}
],
"Icon": "skill_204001",
"Camps": "Enemy",
"Level": 20,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 6102,
"damChangePer": 15.3
}
],
"DescId": "##170358",
"NameZh": "##112374",
"SE_hit": "Skill/sfx_skill_businessman_moneyattack_hit_02",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
117920
]
},
"RollType": 1,
"AttackAct": [
"attack"
],
"Attack_EP": 1,
"PeakLevel": 10,
"SkillCost": {
"1": {
"num": 1500,
"itemID": 100
},
"sp": 5
},
"SkillType": "Attack",
"Target_EP": 1,
"DamageType": 1,
"Logic_Param": {
"range": 3,
"spotter": 0,
"range_num": 6
},
"Launch_Range": 1.5
}