show range indicator when placing tower, cleanup tower info stats
This commit is contained in:
parent
e6b04bbdd1
commit
3a25a1bd87
9 changed files with 106 additions and 49 deletions
|
|
@ -63,6 +63,8 @@ fn register(
|
|||
unlocked: true,
|
||||
},
|
||||
Cost(Quantity { souls: 5, bones: 0 }),
|
||||
Health::new(20.0),
|
||||
Defense::new(5.0),
|
||||
Name::new("Impaler"),
|
||||
));
|
||||
commands.insert_resource(ImpalerResources {
|
||||
|
|
@ -82,8 +84,6 @@ fn populate(
|
|||
}
|
||||
commands.entity(trigger.target()).insert((
|
||||
Impaler,
|
||||
Health::new(20.0),
|
||||
Defense::new(5.0),
|
||||
ContactDamage::new(5.0),
|
||||
Mesh3d(res.mesh.clone()),
|
||||
MeshMaterial3d(res.material.clone()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue