diff --git a/resources/scripts/weapons/weapon_frigate_naval_gun.js b/resources/scripts/weapons/weapon_frigate_naval_gun.js index 592c2a60f..e3169003e 100644 --- a/resources/scripts/weapons/weapon_frigate_naval_gun.js +++ b/resources/scripts/weapons/weapon_frigate_naval_gun.js @@ -4,6 +4,10 @@ var Constructor = function() { return qsTr("Naval gun"); }; + this.getEnviromentDamage = function(enviromentId) + { + return 20; + }; this.damageTable = [// ships ["GUNBOAT", 75], ["CANNONBOAT", 75], diff --git a/resources/scripts/weapons/weapon_gunboat_naval_gun.js b/resources/scripts/weapons/weapon_gunboat_naval_gun.js index 9e421dd87..dd1e0a255 100644 --- a/resources/scripts/weapons/weapon_gunboat_naval_gun.js +++ b/resources/scripts/weapons/weapon_gunboat_naval_gun.js @@ -4,6 +4,10 @@ var Constructor = function() { return qsTr("Naval gun"); }; + this.getEnviromentDamage = function(enviromentId) + { + return 10; + }; this.damageTable = [["GUNBOAT", 55], ["CANNONBOAT", 55], ["BLACK_BOAT", 55],