Changes

no edit summary
Line 218: Line 218:     
function EquipmentInfoKai:effects()
 
function EquipmentInfoKai:effects()
self._vars.effects = Formatting:format_stat_bonuses{
+
    local stats = {
 
firepower = self._equipment:firepower(),  
 
firepower = self._equipment:firepower(),  
 
bombing = self._equipment:bombing(),  
 
bombing = self._equipment:bombing(),  
Line 234: Line 234:  
special = self._equipment:special(),
 
special = self._equipment:special(),
 
}
 
}
 +
    if self._equipment:type() == 48 then
 +
        self._vars.effects = Formatting:format_stat_bonuses_interceptor(stats)
 +
    else
 +
    self._vars.effects = Formatting:format_stat_bonuses(stats)
 +
    end
 
end
 
end
  
Anonymous user