Formula
CommonFun.calcBuff_4550
function CommonFun.calcBuff_4550(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 0
if srcUser:GetNpcID() == 250050_ZEALOT_S_BLADE and targetUser:GetNpcID() == 250080_ORDER_CRYSTAL then
A = 100
end
if srcUser:GetNpcID() == 250060_BLADE_OF_ORDER and targetUser:GetNpcID() == 250090_MAYHEM_CRYSTAL then
A = 100
end
if srcUser:GetNpcID() == 260050_ZEALOT_S_BLADE and targetUser:GetNpcID() == 260080_ORDER_CRYSTAL then
A = 100
end
if srcUser:GetNpcID() == 260060_BLADE_OF_ORDER and targetUser:GetNpcID() == 260090_MAYHEM_CRYSTAL then
A = 100
end
if srcUser:GetNpcID() == 270050_ZEALOT_S_BLADE and targetUser:GetNpcID() == 270080_ORDER_CRYSTAL then
A = 100
end
if srcUser:GetNpcID() == 270060_BLADE_OF_ORDER and targetUser:GetNpcID() == 270090_MAYHEM_CRYSTAL then
A = 100
end
if targetUser:HasBuffID(162853_CRYSTAL_ENVIRONMENTAL_PROTECTION_:MAX_STACK_0) then
A = 0
end
return A
end