Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var getShipRadius = function (thisShip)
- {
- var ship = (thisShip instanceof combatShip) ? thisShip : returnCombatShipByUniqueId(thisShip);
- if (ship.vesselclass=='Frigate' || ship.ship_type_id==504 || ship.ship_type_id==505 || ship.ship_type_id==506)
- return 10;
- else if (ship.vesselclass=='Cruiser')
- return 14;
- else if (ship.vesselclass=='Battleship' || ship.vesselclass=='Carrier')
- return 18;
- else if (ship.ship_type_id==499)
- return 35;
- else
- return 15;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement