1function CommonFun.calcATMDam(srcUser, targetUser, params, logger)
2 local A = 111111
3 local base = 1
4 if targetUser:GetNpcID() == 81000_GOMORA and srcUser:HasBuffID(120350_GOMORA_S_DEMISE_:MAX_STACK_0) then
5 base = 2
6 end
7 if targetUser:GetNpcID() == 81001_BALTAN and srcUser:HasBuffID(120360_BALTAN_S_DEMISE_:MAX_STACK_0) then
8 base = 2
9 end
10 if targetUser:GetNpcID() == 81002_GOLZA and srcUser:HasBuffID(120370_GOLZA_S_DEMISE_:MAX_STACK_0) then
11 base = 2
12 end
13 if targetUser:GetNpcID() == 81003_BEMSTAR and srcUser:HasBuffID(120380_BEMSTAR_S_DEMISE_:MAX_STACK_0) then
14 base = 2
15 end
16 if targetUser:GetNpcID() == 81004_ELEKING and srcUser:HasBuffID(120390_ELEKING_S_DEMISE_:MAX_STACK_0) then
17 base = 2
18 end
19 if targetUser:GetNpcID() == 81005_KING_JOE and srcUser:HasBuffID(120400_KING_JOE_S_DEMISE_:MAX_STACK_0) then
20 base = 2
21 end
22 return A * base
23end