Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/helpers/Attacking.js
Show All 20 Lines | |||||
const StatusEffectsSchema = | const StatusEffectsSchema = | ||||
"<element name='GiveStatus' a:help='Effects like poisoning or burning a unit.'>" + | "<element name='GiveStatus' a:help='Effects like poisoning or burning a unit.'>" + | ||||
"<oneOrMore>" + | "<oneOrMore>" + | ||||
"<element>" + | "<element>" + | ||||
"<anyName/>" + | "<anyName/>" + | ||||
"<interleave>" + | "<interleave>" + | ||||
"<optional>" + | "<optional>" + | ||||
"<element name='Name' a:help='Name for the status effect.'><text/></element>" + | |||||
"</optional>" + | |||||
"<optional>" + | |||||
"<element name='Icon' a:help='Icon for the status effect.'><text/></element>" + | "<element name='Icon' a:help='Icon for the status effect.'><text/></element>" + | ||||
"</optional>" + | "</optional>" + | ||||
"<optional>" + | "<optional>" + | ||||
"<element name='Tooltip'><text/></element>" + | "<element name='Tooltip'><text/></element>" + | ||||
"</optional>" + | "</optional>" + | ||||
"<optional>" + | "<optional>" + | ||||
"<element name='Duration' a:help='The duration of the status while the effect occurs.'><ref name='nonNegativeDecimal'/></element>" + | "<element name='Duration' a:help='The duration of the status while the effect occurs.'><ref name='nonNegativeDecimal'/></element>" + | ||||
"</optional>" + | "</optional>" + | ||||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator