Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/tests/test_Damage.js
Show All 38 Lines | function Test_Generic() | ||||
let cmpAttack = ConstructComponent(attacker, "Attack", | let cmpAttack = ConstructComponent(attacker, "Attack", | ||||
{ | { | ||||
"Ranged": { | "Ranged": { | ||||
"Damage": { | "Damage": { | ||||
"Crush": 5, | "Crush": 5, | ||||
}, | }, | ||||
"MaxRange": 50, | "MaxRange": 50, | ||||
"MinRange": 0, | "MinRange": 0, | ||||
"Delay": 0, | "EffectDelay": 0, | ||||
"Projectile": { | "Projectile": { | ||||
"Speed": 75.0, | "Speed": 75.0, | ||||
"Spread": 0.5, | "Spread": 0.5, | ||||
"Gravity": 9.81, | "Gravity": 9.81, | ||||
"FriendlyFire": "false", | "FriendlyFire": "false", | ||||
"LaunchPoint": { "@y": 3 } | "LaunchPoint": { "@y": 3 } | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 652 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator