logging
This commit is contained in:
parent
065af62a15
commit
950cc6fbad
@ -33,7 +33,6 @@ class CrypPage extends Phaser.GameObjects.Group {
|
||||
};
|
||||
|
||||
const learnable = (skill, i) => {
|
||||
console.log(skill);
|
||||
const SKILL_X = STATS.learnableX();
|
||||
const SKILL_Y = (i * TEXT_MARGIN) + STATS.y() + TEXT_MARGIN;
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ pub fn account_create(params: AccountCreateParams, tx: &mut Transaction) -> Resu
|
||||
token: returned.get(2),
|
||||
};
|
||||
|
||||
println!("{:?}", entry);
|
||||
println!("{:?} registered", entry.name);
|
||||
|
||||
// give them a revive
|
||||
let revive = Item::new(ItemAction::Revive, &entry);
|
||||
|
||||
@ -347,7 +347,7 @@ impl Cryp {
|
||||
.map(|cryp_effect| cryp_effect.effect)
|
||||
.collect::<Vec<Effect>>();
|
||||
|
||||
println!("{:?}", healing_mods);
|
||||
// println!("{:?}", healing_mods);
|
||||
|
||||
let modified_healing = healing_mods.iter().fold(amount, |acc, m| m.apply(acc));
|
||||
|
||||
@ -387,7 +387,7 @@ impl Cryp {
|
||||
.map(|cryp_effect| cryp_effect.effect)
|
||||
.collect::<Vec<Effect>>();
|
||||
|
||||
println!("{:?}", phys_dmg_mods);
|
||||
// println!("{:?}", phys_dmg_mods);
|
||||
|
||||
let modified_phys_dmg = phys_dmg_mods.iter().fold(amount, |acc, m| m.apply(acc));
|
||||
|
||||
@ -417,7 +417,7 @@ impl Cryp {
|
||||
.map(|cryp_effect| cryp_effect.effect)
|
||||
.collect::<Vec<Effect>>();
|
||||
|
||||
println!("{:?}", spell_dmg_mods);
|
||||
// println!("{:?}", spell_dmg_mods);
|
||||
|
||||
let modified_spell_dmg = spell_dmg_mods.iter().fold(amount, |acc, m| m.apply(acc));
|
||||
|
||||
@ -488,7 +488,7 @@ pub fn cryp_spawn(params: CrypSpawnParams, tx: &mut Transaction, account: &Accou
|
||||
|
||||
let _returned = result.iter().next().ok_or(err_msg("no row returned"))?;
|
||||
|
||||
println!("{:?} spawned cryp {:}", account.id, cryp.id);
|
||||
// println!("{:?} spawned cryp {:}", account.id, cryp.id);
|
||||
|
||||
return Ok(cryp);
|
||||
}
|
||||
@ -527,7 +527,7 @@ pub fn cryp_write(cryp: Cryp, tx: &mut Transaction) -> Result<Cryp, Error> {
|
||||
|
||||
let _returned = result.iter().next().expect("no row returned");
|
||||
|
||||
println!("{:?} wrote cryp", cryp.id);
|
||||
// println!("{:?} wrote cryp", cryp.id);
|
||||
|
||||
return Ok(cryp);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user