Differential D1995 Diff 8736 ps/trunk/binaries/data/mods/public/simulation/components/DeathDamage.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/simulation/components/DeathDamage.js
Show All 18 Lines | DeathDamage.prototype.bonusesSchema = | ||||
"</optional>"; | "</optional>"; | ||||
DeathDamage.prototype.Schema = | DeathDamage.prototype.Schema = | ||||
"<a:help>When a unit or building is destroyed, it inflicts damage to nearby units.</a:help>" + | "<a:help>When a unit or building is destroyed, it inflicts damage to nearby units.</a:help>" + | ||||
"<a:example>" + | "<a:example>" + | ||||
"<Shape>Circular</Shape>" + | "<Shape>Circular</Shape>" + | ||||
"<Range>20</Range>" + | "<Range>20</Range>" + | ||||
"<FriendlyFire>false</FriendlyFire>" + | "<FriendlyFire>false</FriendlyFire>" + | ||||
"<Damage>" + | |||||
"<Hack>0.0</Hack>" + | "<Hack>0.0</Hack>" + | ||||
"<Pierce>10.0</Pierce>" + | "<Pierce>10.0</Pierce>" + | ||||
"<Crush>50.0</Crush>" + | "<Crush>50.0</Crush>" + | ||||
"</Damage>" + | |||||
"</a:example>" + | "</a:example>" + | ||||
"<element name='Shape' a:help='Shape of the splash damage, can be circular'><text/></element>" + | "<element name='Shape' a:help='Shape of the splash damage, can be circular'><text/></element>" + | ||||
"<element name='Range' a:help='Size of the area affected by the splash'><ref name='nonNegativeDecimal'/></element>" + | "<element name='Range' a:help='Size of the area affected by the splash'><ref name='nonNegativeDecimal'/></element>" + | ||||
"<element name='FriendlyFire' a:help='Whether the splash damage can hurt non enemy units'><data type='boolean'/></element>" + | "<element name='FriendlyFire' a:help='Whether the splash damage can hurt non enemy units'><data type='boolean'/></element>" + | ||||
"<element name='Damage'>" + | "<element name='Damage'>" + | ||||
DamageTypes.BuildSchema("damage strength") + | DamageTypes.BuildSchema("damage strength") + | ||||
"</element>" + | "</element>" + | ||||
DeathDamage.prototype.bonusesSchema; | DeathDamage.prototype.bonusesSchema; | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator