max 3 skills
This commit is contained in:
+1
-1
@@ -582,7 +582,7 @@ pub fn vbox_apply(params: VboxApplyParams, tx: &mut Transaction, account: &Accou
|
||||
let skill = var.into_skill().ok_or(format_err!("var {:?} has no associated skill", var))?;
|
||||
let cryp = player.cryp_get(params.cryp_id)?;
|
||||
// done here because i teach them a tonne of skills for tests
|
||||
let max_skills = 4;
|
||||
let max_skills = 3;
|
||||
if cryp.skills.len() >= max_skills {
|
||||
return Err(format_err!("cryp at max skills ({:?})", max_skills));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user