- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 5:
Line 5:
− +
I hope one more comparison isn't too expensive
function EquipmentGraphicKai:get_source(equip, args)
function EquipmentGraphicKai:get_source(equip, args)
return args.fairy and (args.fairy == "only" and equip:fairy() or equip:cg_fairy()) or equip:cg()
return args.fairy and (args.fairy == "only" and equip:fairy() or equip:cg_fairy()) or (args.flying and equip:cg_flying() or equip:cg())
end
end