remove attack from spawned cryps

This commit is contained in:
ntr 2019-03-15 19:46:50 +11:00
parent 879313d91b
commit 15e78a63db

View File

@ -623,7 +623,6 @@ pub fn cryp_get(tx: &mut Transaction, id: Uuid, account_id: Uuid) -> Result<Cryp
pub fn cryp_spawn(params: CrypSpawnParams, tx: &mut Transaction, account: &Account) -> Result<Cryp, Error> { pub fn cryp_spawn(params: CrypSpawnParams, tx: &mut Transaction, account: &Account) -> Result<Cryp, Error> {
let cryp = Cryp::new() let cryp = Cryp::new()
.named(&params.name) .named(&params.name)
.learn(Skill::Attack)
.level(1) .level(1)
.set_account(account.id) .set_account(account.id)
.create(); .create();