~yujiri/roguelike

83ac7dff3a47f537107698b31ca86cd2a1bdb36a — Evin Yulo 11 months ago 0fa8aab
change names of some things
2 files changed, 8 insertions(+), 8 deletions(-)

M client/src/item.rs
M client/src/run.rs
M client/src/item.rs => client/src/item.rs +4 -4
@@ 29,15 29,15 @@ pub const WHIRLWIND: Item = Item{name: "Whirlwind", effects: &[
pub const SNIPE: Item = Item{name: "Snipe", effects: &[
	ItemEffect::Attack(Attack{pow: -4, range: 10.0, radius: 0.0}),
]};
pub const SPLASH: Item = Item{name: "Splash", effects: &[
pub const SHRAPNEL: Item = Item{name: "Shrapnel", effects: &[
	ItemEffect::Attack(Attack{pow: -6, range: 10.0, radius: 1.0}),
]};
pub const RUNNING_SHOES: Item = Item{name: "Running Shoes", effects: &[
pub const ENGINE_FLUID: Item = Item{name: "Engine fluid", effects: &[
	ItemEffect::Passive(Passive{vit: 0, pow: 0, speed: 1}),
]};
pub const RESILIENCE: Item = Item{name: "Resilience", effects: &[
pub const ARMOR_FIBER: Item = Item{name: "Armor fiber", effects: &[
	ItemEffect::Passive(Passive{vit: 1, pow: 0, speed: 0}),
]};
pub const STRENGTH: Item = Item{name: "Strength", effects: &[
pub const POWER_CELL: Item = Item{name: "Power cell", effects: &[
	ItemEffect::Passive(Passive{vit: 0, pow: 1, speed: 0}),
]};

M client/src/run.rs => client/src/run.rs +4 -4
@@ 16,10 16,10 @@ impl Run {
			STAB,
			WHIRLWIND,
			SNIPE,
			SPLASH,
			RUNNING_SHOES,
			RESILIENCE,
			STRENGTH,
			SHRAPNEL,
			ENGINE_FLUID,
			ARMOR_FIBER,
			POWER_CELL,
		];
		let state = build::State::new(&characters, &starter_items);
		let ui = build::UiState::new(&state, player_id);