Skip to content

Commit f1114df

Browse files
Update co_yukio.js
Fixed several grammar issues. Fixed CO Zone description using incorrect values for firepower and defense bonuses. Added a newline to COP and SCOP to improve readability.
1 parent 61a4725 commit f1114df

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

resources/scripts/cos/co_yukio.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ var Constructor = function()
320320
// CO - Intel
321321
this.getBio = function(co)
322322
{
323-
return qsTr("Founder of the Dark Matter Cooperation. He's the primary reason for invasions of Sturm and Von Bolt. He uses war as a way of making money and doesn't care if people die.");
323+
return qsTr("Founder of the Dark Matter Cooperation. He's the primary reason for the invasions of Sturm and Von Bolt. He uses war as a way of making money and doesn't care if people die.");
324324
};
325325
this.getHits = function(co)
326326
{
@@ -332,7 +332,7 @@ var Constructor = function()
332332
};
333333
this.getCODescription = function(co)
334334
{
335-
return qsTr("As the leader of dark matter, his troops have special armor, as well as armor piercing weapons.");
335+
return qsTr("As the leader of Dark Matter, his troops have special armor, as well as armor-piercing weapons.");
336336
};
337337
this.getLongCODescription = function(co, map)
338338
{
@@ -344,14 +344,14 @@ var Constructor = function()
344344
}
345345
var text = qsTr("\nSpecial Unit:\nLogistic Truck\n") +
346346
qsTr("\nGlobal Effect: \nEnemy attacks deal -%0% damage to Yukio's units. If an attack from Yukio's units would deal at least %2 HP damage, they deal an additional defense-ignoring -%1 HP of damage.") +
347-
qsTr("\n\nCO Zone Effect: \nEnemy attacks deal -%3% damage to Yukio's units. If an attack from Yukio's units would deal at least %5 HP damage, they deal an additional defense-ignoring -%4 HP of damage. Yukio's units also gain +%5% firepower and +%6% defence.");
347+
qsTr("\n\nCO Zone Effect: \nEnemy attacks deal -%3% damage to Yukio's units. If an attack from Yukio's units would deal at least %5 HP damage, they deal an additional defense-ignoring -%4 HP of damage. Yukio's units also gain +%6% firepower and +%7% defense.");
348348
text = replaceTextArgs(text, [values[0], values[1], values[2],
349349
CO_YUKIO.d2dCoZoneTrueDefenseBonus, CO_YUKIO.d2dCoZoneTrueDamageBonus/10, CO_YUKIO.d2dCoZoneMinTrueDamage/10, CO_YUKIO.d2dCoZoneOffBonus, CO_YUKIO.d2dCoZoneDefBonus]);
350350
return text;
351351
};
352352
this.getPowerDescription = function(co)
353353
{
354-
var text = qsTr("A small army deploys to fight for Yukio. A random 40% of his owned buildings, if empty, will randomly deploy either a Light Tank, Anti Air, or Artillery, ready to move. Enemy attacks deal -%0% damage to Yukio's units. If an attack from Yukio's units would deal at least %1 HP damage, they deal an additional defense-ignoring -%2 HP of damage. Yukio's units also gain +%3% firepower and +%4% defence.");
354+
var text = qsTr("A small army deploys to fight for Yukio. A random 40% of his unoccupied cities will randomly deploy either a Light Tank, Anti Air, or Artillery, ready to move. \nEnemy attacks deal -%0% damage to Yukio's units. If an attack from Yukio's units would deal at least %1 HP damage, they deal an additional defense-ignoring -%2 HP of damage. Yukio's units also gain +%3% firepower and +%4% defense.");
355355
text = replaceTextArgs(text, [CO_YUKIO.powerTrueDefenseBonus, CO_YUKIO.powerMinTrueDamage/10, CO_YUKIO.powerTrueDamageBonus/10,
356356
CO_YUKIO.powerOffBonus, CO_YUKIO.powerDefBonus]);
357357
return text;
@@ -362,7 +362,7 @@ var Constructor = function()
362362
};
363363
this.getSuperPowerDescription = function(co)
364364
{
365-
var text = qsTr("A large army deploys to fight for Yukio. A random 70% of his owned buildings, if empty, will randomly deploy either a Light Tank, Anti Air, Artillery, Heavy Tank, or Battle Copter, ready to move. In order to support the invasion, a bombardment is launched dealing -%0 HP of damage to a random 50% of all enemies. Enemy attacks deal -%1% damage to Yukio's units. If an attack from Yukio's units would deal at least %2 HP damage, they deal an additional defense-ignoring -%3 HP of damage. Yukio's units also gain +%4% firepower and +%5% defence.");
365+
var text = qsTr("A large army deploys to fight for Yukio. A random 70% of his unoccupied cities will randomly deploy either a Light Tank, Anti Air, Artillery, Heavy Tank, or Battle Copter, ready to move. In order to support the invasion, a bombardment is launched dealing -%0 HP of damage to a random 50% of all enemies. \nEnemy attacks deal -%1% damage to Yukio's units. If an attack from Yukio's units would deal at least %2 HP damage, they deal an additional defense-ignoring -%3 HP of damage. Yukio's units also gain +%4% firepower and +%5% defense.");
366366
text = replaceTextArgs(text, [CO_YUKIO.superPowerBombDamage, CO_YUKIO.powerTrueDefenseBonus, CO_YUKIO.powerMinTrueDamage/10, CO_YUKIO.powerTrueDamageBonus/10,
367367
CO_YUKIO.powerOffBonus, CO_YUKIO.powerDefBonus]);
368368
return text;
@@ -376,7 +376,7 @@ var Constructor = function()
376376
return [qsTr("I'll show you what true power means."),
377377
qsTr("Me? I'm the evil that destroys you."),
378378
qsTr("Your weapons are the rubbish my factories dispose of."),
379-
qsTr("Victory is mine! Alea iacta est!"),
379+
qsTr("Victory is mine! Alea iacta est!"),
380380
qsTr("I'll become the ruler of this world!")];
381381
};
382382
this.getVictorySentences = function(co)

0 commit comments

Comments
 (0)