hostility fix
This commit is contained in:
parent
2384be897e
commit
62c6e4bc42
@ -1184,8 +1184,8 @@ fn hex(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, skill: Sk
|
||||
}
|
||||
|
||||
fn hostility(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, skill: Skill) -> Resolutions {
|
||||
skill.effect().into_iter()
|
||||
.for_each(|e| (results.push(Resolution::new(source, target).event(target.add_effect(skill, e)))));
|
||||
let hostility = skill.effect().first().unwrap().clone();
|
||||
results.push(Resolution::new(source, target).event(target.add_effect(skill, hostility)));
|
||||
return results;;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user