Improve the wording of attack tooltips.

This was SVN commit r14618.
This commit is contained in:
alpha123 2014-01-19 02:01:21 +00:00
parent 3c04cdb8e0
commit 7a520adbf3

View File

@ -230,7 +230,7 @@ function displaySingle(entState, template)
attack += " (" + Math.round(realRange - range) + ")";
}
attack += ", [font=\"serif-bold-13\"]Rate:[/font] " + attackRateDetails(entState);
attack += ", [font=\"serif-bold-13\"]" + (entState.buildingAI ? "Rate" : "Interval" ":[/font] ") + attackRateDetails(entState);
}
Engine.GetGUIObjectByName("attackAndArmorStats").tooltip = attack + "\n[font=\"serif-bold-13\"]Armor:[/font] " + armorTypeDetails(entState.armour);