Changes
mLine 610:
Line 610:
− +
fix
-- Basic attack power for opening torpedo, including fleet torpedo.
-- Basic attack power for opening torpedo, including fleet torpedo.
function ShipCapabilities:opening_torpedo(fleet_torpedo)
function ShipCapabilities:opening_torpedo(fleet_torpedo)
return _opening_torpedo_conditon(self._ship) and closing_torpedo(fleet_torpedo)
return self:_opening_torpedo_conditon(self._ship) and self:closing_torpedo(fleet_torpedo)
-- With the new implementation we can remove _opening_torpedo attribute
-- With the new implementation we can remove _opening_torpedo attribute
end
end