Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/Resistance.js
Show All 37 Lines | "<Foundation>" + | ||||
"<Capture>10</Capture>" + | "<Capture>10</Capture>" + | ||||
"</Foundation>" + | "</Foundation>" + | ||||
"<Entity>" + | "<Entity>" + | ||||
"<Damage>" + | "<Damage>" + | ||||
"<Poison>5</Poison>" + | "<Poison>5</Poison>" + | ||||
"</Damage>" + | "</Damage>" + | ||||
"</Entity>" + | "</Entity>" + | ||||
"</a:example>" + | "</a:example>" + | ||||
"<zeroOrMore>" + | "<oneOrMore>" + | ||||
"<choice>" + | "<choice>" + | ||||
"<element name='Foundation' a:help='Resistance of an unfinished structure (i.e. a foundation).'>" + | "<element name='Foundation' a:help='Resistance of an unfinished structure (i.e. a foundation).'>" + | ||||
Resistance.prototype.BuildResistanceSchema() + | Resistance.prototype.BuildResistanceSchema() + | ||||
"</element>" + | "</element>" + | ||||
"<element name='Entity' a:help='Resistance of an entity.'>" + | "<element name='Entity' a:help='Resistance of an entity.'>" + | ||||
Resistance.prototype.BuildResistanceSchema() + | Resistance.prototype.BuildResistanceSchema() + | ||||
"</element>" + | "</element>" + | ||||
"</choice>" + | "</choice>" + | ||||
"</zeroOrMore>"; | "</oneOrMore>"; | ||||
Resistance.prototype.Init = function() | Resistance.prototype.Init = function() | ||||
{ | { | ||||
this.invulnerable = false; | this.invulnerable = false; | ||||
}; | }; | ||||
Resistance.prototype.IsInvulnerable = function() | Resistance.prototype.IsInvulnerable = function() | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator