Changes
Add asset discovery
function EquipmentData:card()
function EquipmentData:card()
if self._card then
return self._card
end
api_id = self:api_id()
if api_id then
return Formatting:equipment_card(api_id, self:name())
end
return self._card
return self._card
end
end
function EquipmentData:fairy()
function EquipmentData:fairy()
if self._fairy then
return self._fairy
end
api_id = self:api_id()
if api_id then
return Formatting:equipment_fairy(api_id, self:name())
end
return self._fairy
return self._fairy
end
end
function EquipmentData:cg()
function EquipmentData:cg()
if self._cg then
return self._cg
end
api_id = self:api_id()
if api_id then
return Formatting:equipment_cg(api_id, self:name())
end
return self._cg
return self._cg
end
end
function EquipmentData:cg_fairy()
function EquipmentData:cg_fairy()
if self._cg_fairy then
return self._cg_fairy
end
api_id = self:api_id()
if api_id then
return Formatting:equipment_full(api_id, self:name())
end
return self._cg_fairy
return self._cg_fairy
end
end