
Grimtooth
Lvl: 10
Attack
Physical
Skill Delay: 1.5 sec
SP: 14
Range: 6
Attacks an enemy with spikes, dealing (Atk240%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 75% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 9
Attack
Physical
Skill Delay: 1.5 sec
SP: 13
Range: 6
• Attacks an enemy with spikes, dealing (Atk230%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 70% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 8
Attack
Physical
Skill Delay: 1.5 sec
SP: 12
Range: 6
• Attacks an enemy with spikes, dealing (Atk220%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 65% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 7
Attack
Physical
Skill Delay: 1.5 sec
SP: 11
Range: 6
• Attacks an enemy with spikes, dealing (Atk210%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 60% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 6
Attack
Physical
Skill Delay: 1.5 sec
SP: 10
Range: 6
• Attacks an enemy with spikes, dealing (Atk200%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 55% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 5
Attack
Physical
Skill Delay: 1.5 sec
SP: 9
Range: 6
• Attacks an enemy with spikes, dealing (Atk190%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 50% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 4
Attack
Physical
Skill Delay: 1.5 sec
SP: 8
Range: 6
• Attacks an enemy with spikes, dealing (Atk180%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 45% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 3
Attack
Physical
Skill Delay: 1.5 sec
SP: 7
Range: 6
• Attacks an enemy with spikes, dealing (Atk170%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 40% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 2
Attack
Physical
Skill Delay: 1.5 sec
SP: 6
Range: 6
• Attacks an enemy with spikes, dealing (Atk160%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 35% chance to remain hiding while casting. Katar type weapons are required.
Lvl: 1
Attack
Physical
Skill Delay: 1.5 sec
SP: 5
Range: 6
• Attacks an enemy with spikes, dealing (Atk150%) Dmg to all enemies in the target area. This can only be used when the caster is hiding. Has a 30% chance to remain hiding while casting. Katar type weapons are required.
Aesir
• Grimtooth I [Grimtooth] has a 5% to deal critical damage, Dmg +20%%
• Grimtooth III [Grimtooth] has a 5% to deal critical damage, Dmg +40%%
• Grimtooth - Increase I [Grimtooth] Dmg +10%
• Grimtooth - Increase II [Grimtooth] Dmg +5%
Formula
function CommonFun.calcDamage_3201(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 AttrEffect = srcUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
local AttrEffect2 = srcUser:GetProperty("AttrEffect")
local bits2 = CommonFun.getBits(AttrEffect2)
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 damChangePer1 = damageParam.damChangePer1
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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
local BaseLvDamage = 0
local IBaseLv = srcUser.BaseLv
if srcUser:HasBuffID(42170_GALO_KATAR_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 20
end
local Num1 = srcUser:GetRunePoint(32026_AESIR_GRIMTOOTH_DMG_10)
local Num2 = srcUser:GetRunePoint(32027_AESIR_GRIMTOOTH_DMG_5)
local Num3 = srcUser:GetRunePoint(32028)
local Num4 = srcUser:GetRunePoint(32029)
local Num5 = srcUser:GetRunePoint(32030)
local RuneDamage = Num1 * 0.1 + Num2 * 0.05 + Num3 * 0.05 + Num4 * 0.1 + Num5 * 0.05 + 1
local Num6 = srcUser:GetRunePoint(32019_AESIR_GRIMTOOTH_HAS_A_5_TO_DEAL_CRITICAL_DAMAGE_DMG_20)
local Num7 = srcUser:GetRunePoint(32020)
local Num8 = srcUser:GetRunePoint(32021_AESIR_GRIMTOOTH_HAS_A_5_TO_DEAL_CRITICAL_DAMAGE_DMG_40)
local Num9 = srcUser:GetRunePoint(32022)
local Num10 = srcUser:GetRunePoint(32023)
local RuneDamage2 = Num6 * 0.2 + Num7 * 0.2 + Num8 * 0.4 + Num9 * 0.2 + Num10 * 0.4 + 1
local RuneRate = (Num6 + Num7 + Num8 + Num9 + Num10) * 5
local DamGem = srcUser:GetGemValue(31101_GRIMTOOTH_DMG_PERCENTAGE)
local A = (((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) + damChangePer1) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * (1 + DamGem / 100000) + BaseLvDamage
if A <= 1 then
return 1
end
local B = 1
if bits[CommonFun.AttrEffect.DuRenAndWuYingDam] == 1 and srcUser:HasBuffID(90001044_BLOOD_TEARS_1_R5_:MAX_STACK_0) and srcUser:HasBuffID(90001047_BLOOD_TEARS_1_R8_:MAX_STACK_0) then
B = 2
elseif bits[CommonFun.AttrEffect.DuRenAndWuYingDam] == 1 and srcUser:HasBuffID(90001044_BLOOD_TEARS_1_R5_:MAX_STACK_0) then
B = 1.8
elseif bits[CommonFun.AttrEffect.DuRenAndWuYingDam] == 1 then
B = 1.5
end
local C = 1
if bits2[CommonFun.AttrEffect.Hualiduanjian] == 1 then
C = 1.5
end
if CommonFun.IsInRate(RuneRate, srcUser:GetRandom()) then
return A * B * C * RuneDamage2, CommonFun.DamageType.Crit
end
return A * B * C
end
Formula
{
"id": 183010,
"Cost": 1,
"Desc": [
{
"id": 183000,
"params": [
240,
75
]
}
],
"Icon": "skill_183001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 3201,
"damChangePer": 2.4,
"damChangePer1": 50
}
],
"DescId": "##170572",
"NameZh": "##169946",
"SE_hit": "Skill/Grimtooth_hit",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 1.5,
"Fire_EP": 2,
"RollType": 1,
"AttackAct": [
"use_magic"
],
"Attack_EP": 2,
"SE_attack": "Skill/skill_magic_shadowbite_attack_01",
"SkillCost": {
"sp": 14
},
"SkillType": "Attack",
"Target_EP": 2,
"DamageType": 1,
"Logic_Param": {
"range": 3,
"range_num": 8,
"disperse_hide": 4,
"main_hit_effect": "Grimtooth,none"
},
"Launch_Range": 6,
"PreCondition": {
"1": {
"type": 2,
"itemtype": 200
},
"2": {
"type": 4,
"AttrEffect": 17
},
"both": 1
}
}