Changes

no edit summary
Line 880: Line 880:  
function EquipmentData:id()
 
function EquipmentData:id()
 
return self._id
 
return self._id
 +
end
 +
 +
function EquipmentData:localized_name()
 +
return self._localized_name
 +
end
 +
 +
function EquipmentData:reading()
 +
return self._reading
 +
end
 +
 +
function EquipmentData:card_name()
 +
return self._card_name or self:name()
 +
end
 +
 +
function EquipmentData:card_japanese_name()
 +
return self._card_name and self._card_japanese_name or self:japanese_name()
 +
end
 +
 +
function EquipmentData:card_localized_name()
 +
return self._card_name and self._card_localized_name or self:localized_name()
 +
end
 +
 +
function EquipmentData:card_reading()
 +
return self._card_name and self._card_reading or self:reading()
 
end
 
end
   Line 895: Line 919:     
function EquipmentData:stars()
 
function EquipmentData:stars()
return self._stars or self:rarity()
+
return self._stars or self:back()
 
end
 
end
    
function EquipmentData:back()
 
function EquipmentData:back()
return self._back or self:stars()
+
return self._back or self:rarity()
 
end
 
end
  
Anonymous user