forked from mirrors/0ad
Don't uselessly traffic constant statuseffect translatable strings and icons through the guiinterface.
Reviewed By: wraitii
Differential Revision: D3112
Fixes: 876b035336
This was SVN commit r24197.
This commit is contained in:
@@ -119,9 +119,6 @@ Attacking.prototype.GetStatusEffectsData = function(valueModifRoot, template, en
|
||||
{
|
||||
let statusTemplate = template[effect];
|
||||
result[effect] = {
|
||||
"StatusName": statusTemplate.StatusName,
|
||||
"ApplierTooltip": statusTemplate.ApplierTooltip,
|
||||
"ReceiverTooltip": statusTemplate.ReceiverTooltip,
|
||||
"Duration": ApplyValueModificationsToEntity(valueModifRoot + "/ApplyStatus/" + effect + "/Duration", +(statusTemplate.Duration || 0), entity),
|
||||
"Interval": ApplyValueModificationsToEntity(valueModifRoot + "/ApplyStatus/" + effect + "/Interval", +(statusTemplate.Interval || 0), entity),
|
||||
"Stackability": statusTemplate.Stackability
|
||||
|
||||
Reference in New Issue
Block a user