You are on page 1of 48

Atk

BaseAtk1

AtkPer

ShapeCorrection

bodyparam

elementparam

elementparam2

BaseAtk3

raceparam

bossparam

bossparam2

(1 - DamReduc2)

Refine

SkillRealDamage

Vit2

VitPer2

CommonFun.CalcCrit

(1-RefineDamReduc)

(1+DamIncrease)
(1+RealDamage)

(1+skillLevel2*0.05)

Enemy

Auto Atk Inc

(1-RefineDamReduc)

NormalEnd

FinalDam

MonsterFinalDam

Result

BossResult
(damage = ((((((((((Atk - BaseAtk1) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * eleme
elementparam2 + BaseAtk3) * raceparam * bossparam * bossparam2 * (1 - DamReduc2) + Refine + SkillRealDamage - Vit2 *
CommonFun.CalcCrit(srcUser, targetUser, skillParams) * (1 - RefineDamReduc) * (1 + DamIncrease) * (1 + RealDamage) * (1
* Enemy))+NormalRealDam * (1 - RefineDamReduc))))))))) * NormalEnd) * FinalDam * MonsterFinalDam * Result * BossResu

local Atk = srcUser:GetProperty("Atk")

local BaseAtk1 = Str1 * 2 + math.floor(Str1 * Str1 / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)

(1 + local AtkPer1 = srcUser:GetProperty("AtkPer"))

CommonFun.ShapeCorrection(srcUser, targetUser) = 1

local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger) local A = 1 + bodyInc - bo

return (1 + elementInc) * CommonFun.calcElementRate(ElementRate = ElementRate + RuneRate)

local B = elementRed - elementAtk ; result = 1 - B

local BaseAtk3 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)

local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)

local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger) local A = (1 + bossInc) * (1


NpcResPer) * (1 + MonsterDamPer)

local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger) local result = 1 - bossR

local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser) local A = 1 - (1 + 0.009 * ReduceLv + DamSpike - DamRed


SkillDamReduc

local Refine = srcUser:GetProperty("Refine")

local SkillRealDamage = SkillRealDamage1 + SkillRealDamage2

local Vit2 = targetUser:GetProperty("Vit")

local VitPer2 = targetUser:GetProperty("VitPer")

local scale = (1.5 + CriDamPer - CriDefPer2) + ((Cri * (1 + CriPer) - CriRes) * Gem / 100000)

local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")

local DamIncrease = srcUser:GetProperty("DamIncrease")


local RealDamage = targetUser:GetProperty("RealDamage")

local skillLevel2 = 0

local Enemy = 1

local NormalRealDam = srcUser:GetProperty("NormalRealDam")

local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")

local NormalEnd = 1 + NormalAtkDam - NormalAtkRes

function CommonFun.calcFinalDam(srcUser, targetUser, params, logger)

local MonsterFinalDam = CommonFun.calcMonsterFinalDam(srcUser, targetUser, params, logger)

local Result = 1 + ResultDamInc - ResultDamRes (Result = math.max(Result, 0.1))

local BossResult = 1 + BossRealDam - BossRealReduc (BossResult = math.max(BossResult, 0.1))


20000 Atk 20000

1620 STR 300 DEX 300 LUK

2.4 Dmg% 140%

1 ShapePenalty 1

TargetSizeDmgR
1 UserSizeDmgInc 5% 5%
educ
UserElementInc
1.56 (Elemental - 30% ElemetRate
Empower Skill)
UserDmgToElem TargetDmgRedu
ent (Elemental - cToElement
0.732 36% 30%
Damage (Elemental -
Increases) Dmg. Reduc)
1620
UserDmgToRace
TargetRaceDmg
0.563 (Race Damage 20% Reduc 30%
Increase)
1

TargetPhyDmgR
0.727432 UserPhyPEN 50% 80%
educ

2000 UserRefineAtk 2000


TrueEquipDmg(
TrueDmg(SkillRe
0 0 SkillRealDamage 0
alDamage1)
2)
300 TargetVit 300

0 TargetVitPerBuff 0%
UserRune (Soul
UserCrit.DmgInc
6.34 400% UserCritical 500 Assasination 1st
rease
Line)
RefineDamRedu RefineDamRedu RefineDamRedu
0.46 13.5% 13.5%
ceEQ1 ceEQ2 ceEQ3
UserPhy.DmgInc
2.2 rease 120%
1

180 Auto Atk inc 180

0.46 RefineDamRedu 13.5% RefineDamRedu 13.5% RefineDamRedu


ceEQ1 ceEQ2 ceEQ3
UserAutoAtkDm TargetAutoAtkD
1.31 51% 20%
gInc mgReduc

1 FinalDmgInc1 0% FinalDmgInc2 0% FinalDmgInc3

1 ResultDamInc 0% ResultDamRes 0%

1 BossRealDam 0% BossRealReduc 0%

193,242
300

Energy
0% Coat/Steel 0%
Body/Etc

TargetCrit.Resist
0.3% TargetCrit.Deff 30% 120
ance
RefineDamRedu
13.5% 13.5%
ceEQ4
13.5% RefineDamRedu 13.5%
ceEQ4

0% FinalDmgInc4 0%
Source User

Yang diambil dari character sendiri

java script

local Str = srcUser:GetProperty("Str")

local Dex = srcUser:GetProperty("Dex")

local Agi = srcUser:GetProperty("Agi")

local Luk = srcUser:GetProperty("Luk")

local Atk = srcUser:GetProperty("Atk")

local AtkPer = srcUser:GetProperty("AtkPer")

local DamIncrease = srcUser:GetProperty("DamIncrease")

local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")

local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")

local Refine = srcUser:GetProperty("Refine")

local AttrEffect2 = srcUser:GetProperty("AttrEffect")

local Num1 = srcUser:GetRunePoint(173017_AESIR_PIERCING_SHOT_DMG_6)


local Num4 =
srcUser:GetRunePoint(173025_AESIR_PIERCING_SHOT_IGNORES_20_OF_THE_TARGET
_S_PHY_DEF)
local Num2 = srcUser:GetRunePoint(173029_AESIR_DESPERADO_DMG_5)
local GemValue_wm1 =
srcUser:GetGemValue(173061_DESPERADO_DMG_PERCENTAGE)
local GemValue_wm2 =
srcUser:GetGemValue(173062_DESPERADO_EACH_POINT_OF_AGI_DMG_PERCENTAG
E)
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)

local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) +


math.floor(Luk / 5)

2480

local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser,


targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam *
bossparam * bossparam2
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) +
Refine) * damChangePer * (1 - RefineDamReduc) * (1
+ DamIncrease - LongRangeDamReduc2) - Vit2 * (1 +
VitPer2)) * Rune * Pistol
arti in game : Keterangan

STR

DEX

AGI

LUK

Atk Basic Job

Dmg % Gatcha

Phy. Dmg Inc. Equip/card Pdi

Ignore Def Basic Job Capped 1

Ignore Deff Dari Equip/card Capped 1

Refine Atk

Wind, Earth, Fire, Water, Neutral, Holy,


Elemental Dmg Dark, Ghost, Poison, Undead

Aesir Piercing Shoot DMG +30%

Aesir Piercing Shoot Ignore 100% target's


Phy. DEF

Aesir Desperado DMG + 30%


Rune S (Massacre Bloom Rune)

Rune S (Massacre Bloom Rune)

Dex (pengaruh tinggi) Str (kecil)

400 100

Atk Final DefRduce


local DefReduc =
CommonFun.CalcDef(srcUser,
local AtkFinal = ((Atk - BaseAtk) * (1 +
targetUser)
AtkPer) *
local DefFinal = RealDef * (1 + DefPer2
CommonFun.ShapeCorrection(srcUser,
- IgnoreDef + pvpReduce) + Vit2 * (1 +
targetUser) * bodyparam *
VitPer2 + pvpReduce * 5)
elementparam * elementparam2 +
BaseAtk) * raceparam * bossparam *
local DefReduc1 = (4000 + DefFinal) /
bossparam2
div *ATAU* local DefReduc2 = 1 / (1 + 6
* DefFinal / AtkFinal)
* DI KALI

damChangePer

damChangePer = (0.5 * skilllv_wm + 5


+ Agi / 20) * (0.3 + skilllv_sl * 0.01) *
GemDam_wm

* DI KALI

(1-RefineDamReduc)

local RefineDamReduc =
targetUser:GetProperty("RefineDamRe
duc")

* DI KALI

1+DamIncrease - LongRangeDamReduc2

local LongRangeDamReduc2 =
local DamIncrease =
targetUser:GetProperty("LongRangeDa
srcUser:GetProperty("DamIncrease")
mReduc")

- DI KURANGI

Vit2 * (1 + VitPer2)
local Vit2 = (1 + local VitPer2 =
targetUser:GetProperty("Vit") targetUser:GetProperty("VitPer"))

* DI KALI

Rune

Rune = 1 + Num2 * 0.05

* DI KALI

Pistol
Pistol = 1 + RefineLv * 0.02
Calculation

local BaseAtk = Dex * 2 + math.floor(Dex *


Dex / 100) + math.floor(Str / 5) +
math.floor(Luk / 5)

local bits2 =
CommonFun.getBits(AttrEffect2)
local GemDam_wm = 1 + GemValue_wm1 /
100000 + GemValue_wm2 / 100000 * Agi

math.floor(skillIDAndLevel / 1000),
skillIDAndLevel % 1000

Luk (kecil)

300

(1- DamReduc2) Refine


local DamReduc2 =
CommonFun.calcDamReDuc(srcUser,
local Refine =
targetUser)
srcUser:GetProperty("R
local A = 1 - (1 + 0.009 * ReduceLv +
efine")
DamSpike - DamReduc2) *
SkillDamReduc

DI KALI

DI KALI

DI KALI

KURANGI
DI KALI

DI KALI
Target User

Yang diambil dari character lawan

java script

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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")

local damChangePer = damageParam.damChangePer

local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params,


damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params,
damageParam, logger)
local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params,
damageParam, logger)
local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params,
damageParam, logger)
local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params,
damageParam, logger)
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params,
damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params,
damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params,
damageParam, logger)

Body Param = CommonFun.CalcBodyParam = 1 + bodyInc - bodyRed

100%

Element Param = CommonFun.CalcElementParam (1 + elementInc) *


CommonFun.calcElementRate

Element Param2 = CommonFun.CalcElementParam2 = 1 + elementAtk - elementRed

Race Param = CommonFun.CalcRaceParam = 1 + raceInc - raceRed

1
Boss Param = CommonFun.CalcBossParam = (1 + bossInc) * (1 + NpcDamPer -
NpcResPer) * (1 + MonsterDamPer)

Bos Param2 = CommonFun.CalcBossParam2 = 1 - bossRed - MonsterResPer

(AtkFinal * DefReduc * (1 - DamReduc2) + Refine)


0,5 * LVL DESPERADO + 5 + AGI/20) * (0,3 + LVL CAPOEIRA * 0,01) * (1 + RUNE
DESPERADO_DMG_PERCENTAGE / 100000 + RUNE
DESPERADO_EACH_POINT_OF_AGI_DMG_PERCENTAGE / 100000 * AGI)

16.815328000

(1-0,54)

0.46

(1 + DamIncrease - LongRangeDamReduc2)

2.444

VitPer2 = Pengali extra dari buff skill yang meningkatkan quality PhyDeff, contohnya
angelus (angelus lvl 1,5)
1050
arti in game : Keterangan
User Atk Size Damage Increase

38769 24%

User AtkPer User Agi

2.015 328

User Dex Target Vit

413 300

User Str Target Def

101 8000

Luk Target VitPer

260 0

Weapon Shape Correction Target DefPer

1 1

User IgnoreDeff

0.845

Atk Final DefRduce


111641.69665 0.7357

1.76563449744721

AGI Rune Desperado Line 1

328 0.142

Ref. Dmg Reduce equip kiri 0.595

0.54 0.46

0.135

LongRangeDamReduce2 (Ranged Reduce


DamIncrease (Phy Dmg Inc Brp%?)
brapa % ?)

1.534 0.09

Vit2 1+VitPer2
300 2.5

Rune

1.3

Pistol

1.3

Gob Rev + OB*

SkellWorker + OB*

Hydra + OB*

Mapple fairy 1 + OB *

Phero 1 + OB*

Phero 2
Calculation

local DefReduc =
CommonFun.CalcDef(srcUser, targetUser)

local A = 1 - (1 + 0.009 * ReduceLv +


DamSpike - DamReduc2) * SkillDamReduc

TAMBAH
CommonFun.calcSpikeLv
CommonFun.calcSkillDamReduc

Map effect pvp reduce


Size Damage Reduce

24%

User Phy Dmg Inc

1.534

User SkillDmg Increase (attacker)

0.5

SkillDmg Reduce (defender)

0.9

User Pen (attacker)

0.42

Dmg Reduce (defender) User Refine Attack (Attacker)

0.7 2386

(1- DamReduc2) Refine


0.4968 2386 100,314

Rune Desperado Line 2

0.0006 1,686,820

eq pecah 179163

eq utuh 231743 29%

775,937

1,896,391
1,895,341

2,463,943

3,203,126

3,203,126

3,011,657

3,020,620

3,051,909

3,106,016 Combus 3,392,055

3,532,997 Holgrehin 3,410,566


Rumus Deff Final

(H32-H30)*(1+H36-H38+0,2)+H30*(1+H34+0,2*5)
Abnormal Status attack

Stun
Freeze
Poison
Burn

(lv*a+b)
statusDam
StateDam
calcattrStatusRate

Final Chance

Naildors
(lv*a(musuh)+b(kita))+(1-(1)) Adjustment ResistancestatusDam
Poison 100 157.00% 0%
lilly chimera*
koc atk+deff
Sleep 0 0.00% 108%
starlight sweet Nightmare Card koc atk + def
Fear 50 107.50% 0%
the gaze of koc atk + def
Burn 40 107.50% 0%
rain of fire koc atk + def
Bleed 25 0% 108%
dead soul card koc atk + def
Freeze 100 157.5% 0%
Wraith* book* rune*
cm flurry koc atk + def
Stun 100 157.5% 0%
jedate tail koc atk + def
Stone 100 107.5% 0%
ninja (myriad hyakume) koc atk + def
Silence 100 107.5% 0%
lex devina koc atk + def

math.min
Strip Accessories Double Removal Acces
Final Chance = skilllv_1 * 3 skilllv_2 * 3
18 9

Skill Requirement
Daftar skill PD yang di pakai
VCT FCT
Skill Prep For Eltie
Eden Team Blessing 1 0.5
Dark Night Sinking 3 0

Skill Offensive
Strip Accessory 1.5 0
Strip Shield 1.5 0
Illusion Storm 4 0
Status Stealing 3 0
107.5 107.5 157.5 157.5
Fear Res Burn Res Freeze Res Stun Res
Weapon 17 20.3
Armor 22.3 30 50.1
Garment 23.8 24.9
Shoes 23.6
Mirrior
KOC 12.5 12.5 12.5 12.5
Adv HB 1 5
Aesir 9 8
Cards
Deadly Infection 40 40 40 40
122.2 53.5 133.4 135.9
-14.7 54.0 24.1 21.6
int vit int vit
luk agi dex agi

Wraith* Chimera * Kaho*


50
50
50

Kaho* skill
Chimera* wraith* BukuSageFrost
Wolf Grandma dll
0.8

StateDam calcattrStatusRate final chance butuh poison res


1 0.8 0

1 0.8 0

1 0.8 0
1 0.8 0

1 0.8 21.5

1 0.8 0

1 0.8 0

1 0.8 0

1 0.8 0

Strip Weapon
skilllv_3 *3 pojia pojia_1 pojia_8 (Luk + Dex)/5
9 0 0 0 81.6

Vit2 Rate2 = Vit2/8


400 50

Debuff Spell Break Debuff Time Field Mind Erosion


VCT 75% FCT 2 Sec VCT FCT 0,5 VCT

0.75 2 0.5 5
2.25 2 0.5 5
1.125 2 0.5 5
1.125 2 0.5 5
3 2 0.5 5
2.25 2 0.5 5
107.5 157 107.5 107.5
Silence Res Poison Res Stone Res Snare Res sleep
24
16

23.5

12.5 12.5 12.5 12.5 12.5


5 5
12 12
50
40 40 40 40 40
52.5 171.0 69.5 64.5 52.5
55.0 -14.0 38.0 43.0 -52.5
vit int int int
str vit dex luk

rune sage Rune gx

Resistance imune dicky


157% 107%

0%

45%
total capped GemDam
117.6 90 30 120

total capped
50 50
Final Chance 70
-60
Frost Barrier Total Kebutuhan Rune Keci Angry Snarl + Rune
VCT VCT FCT VCT -0,75 VCT -25%

6.75 3 0.75 1.6875


10.25 2.5 0.75 2.5625
7.625 2.5 0.75 1.90625
7.625 2.5 0.75 1.90625
12 2.5 0.75 3
10.25 2.5 0.75 2.5625
kevin
157% 50%

0%

95%
14000

Total Kebutuhan Final Total Dex Di butuhkan Oracle Miror Relic Total
VCT 30 Dex = -1 detik FCT -15% FCT -50%

4.3125 129 0.45 1.5 1.95


6.9375 208 0.375 1.25 1.625
4.96875 149 0.375 1.25 1.625
4.96875 149 0.375 1.25 1.625
8.25 248 0.375 1.25 1.625
6.9375 208 0.375 1.25 1.625
Final sisa

1.05
0.875
0.875
0.875
0.875
0.875
targetRace == 5 Undead
targetRace == 6 Formless
ErLianJi Double Attack
huali Auto Attack
judu Blocking Effect Skill (kyrie, Parry, etc)

You might also like