static void btd(int s, int t, BS &b) { if(b.poke(s).isFull()) { if (b.gen() <= 4) turn(b,s)["CannotBeKoedBy"] = t; else turn(b,s)["CannotBeKoedAt"] = b.attackCount(); } }
static void btd(int s, int t, BS &b) { if (b.coinflip(1, 10)) { if (b.gen() <= 4) turn(b,s)["CannotBeKoedBy"] = t; else turn(b,s)["CannotBeKoedAt"] = b.attackCount(); } }
static void uodr(int s, int t, BS &b) { if (tmove(b,t).flags & Move::PowderFlag) { turn(b,s)[QString("Block%1").arg(b.attackCount())] = true; //b.sendAbMessage(17, 0, s, t); //add message for Safety Goggles } }