give 125 mitigation stats by default
This commit is contained in:
parent
13bc69628d
commit
61f35ef9a9
13
WORKLOG.md
13
WORKLOG.md
@ -5,16 +5,7 @@
|
|||||||
|
|
||||||
* can't reset password without knowing password =\
|
* can't reset password without knowing password =\
|
||||||
|
|
||||||
* mobile
|
* mobile styles
|
||||||
- force to landscape view and try make everything fit
|
|
||||||
OR
|
|
||||||
- 2 pages vbox / equip
|
|
||||||
- vbox page as current with equip button at bottom
|
|
||||||
- equip page with inventory and all 3 construct avatars
|
|
||||||
- click one of the avatars to expand out skill / spec slots
|
|
||||||
- show the info pane at the bottom or as an overlay
|
|
||||||
|
|
||||||
|
|
||||||
* mobile info page
|
* mobile info page
|
||||||
|
|
||||||
* Invert recharge
|
* Invert recharge
|
||||||
@ -36,8 +27,6 @@
|
|||||||
- Strike + SpeedRR -> StrikeSpeed (strike has Y% more speed)
|
- Strike + SpeedRR -> StrikeSpeed (strike has Y% more speed)
|
||||||
- Strike + LifeRR -> StrikeLife (Strike recharges X% of damage as red life)
|
- Strike + LifeRR -> StrikeLife (Strike recharges X% of damage as red life)
|
||||||
|
|
||||||
* move item from one construct to another
|
|
||||||
|
|
||||||
* ACP
|
* ACP
|
||||||
* essential
|
* essential
|
||||||
|
|
||||||
|
|||||||
@ -220,11 +220,11 @@ impl Construct {
|
|||||||
account: id,
|
account: id,
|
||||||
img: Uuid::new_v4(),
|
img: Uuid::new_v4(),
|
||||||
red_power: ConstructStat { base: 320, value: 320, max: 320, stat: Stat::RedPower },
|
red_power: ConstructStat { base: 320, value: 320, max: 320, stat: Stat::RedPower },
|
||||||
red_life: ConstructStat { base: 0, value: 0, max: 0, stat: Stat::RedLife },
|
red_life: ConstructStat { base: 125, value: 125, max: 125, stat: Stat::RedLife },
|
||||||
blue_power: ConstructStat { base: 320, value: 320, max: 320, stat: Stat::BluePower },
|
blue_power: ConstructStat { base: 320, value: 320, max: 320, stat: Stat::BluePower },
|
||||||
blue_life: ConstructStat { base: 0, value: 0, max: 0, stat: Stat::BlueLife },
|
blue_life: ConstructStat { base: 125, value: 125, max: 125, stat: Stat::BlueLife },
|
||||||
green_power: ConstructStat { base: 300, value: 300, max: 300, stat: Stat::GreenPower },
|
green_power: ConstructStat { base: 300, value: 300, max: 300, stat: Stat::GreenPower },
|
||||||
green_life: ConstructStat { base: 950, value: 950, max: 950, stat: Stat::GreenLife },
|
green_life: ConstructStat { base: 800, value: 800, max: 800, stat: Stat::GreenLife },
|
||||||
speed: ConstructStat { base: 100, value: 100, max: 100, stat: Stat::Speed },
|
speed: ConstructStat { base: 100, value: 100, max: 100, stat: Stat::Speed },
|
||||||
// evasion: ConstructStat { base: 0, value: 0, max: 0, stat: Stat::Evasion },
|
// evasion: ConstructStat { base: 0, value: 0, max: 0, stat: Stat::Evasion },
|
||||||
skills: vec![],
|
skills: vec![],
|
||||||
|
|||||||
@ -1229,7 +1229,7 @@ mod tests {
|
|||||||
assert!(game.player_by_id(x_player.id).unwrap().constructs[0].is_stunned() == false);
|
assert!(game.player_by_id(x_player.id).unwrap().constructs[0].is_stunned() == false);
|
||||||
// riposte
|
// riposte
|
||||||
assert_eq!(game.player_by_id(y_player.id).unwrap().constructs[0].green_life(), (
|
assert_eq!(game.player_by_id(y_player.id).unwrap().constructs[0].green_life(), (
|
||||||
y_construct.green_life() - x_construct.red_power().pct(Skill::CounterAttack.multiplier())));
|
y_construct.green_life() + y_construct.red_life() - x_construct.red_power().pct(Skill::CounterAttack.multiplier())));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@ -2082,6 +2082,7 @@ mod tests {
|
|||||||
x.blue_power.force(256);
|
x.blue_power.force(256);
|
||||||
x.green_power.force(220);
|
x.green_power.force(220);
|
||||||
x.green_life.force(1024);
|
x.green_life.force(1024);
|
||||||
|
y.blue_life.force(0);
|
||||||
x.green_life.reduce(512);
|
x.green_life.reduce(512);
|
||||||
|
|
||||||
let mut results = resolve(Skill::Siphon, &mut x, &mut y, vec![]);
|
let mut results = resolve(Skill::Siphon, &mut x, &mut y, vec![]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user