Exemple #1
0
    static void tp(int s, int, BS &b) {
        int berry = b.poke(s).item();

        if (!testpinch(s, s, b, 4))
            return;

        int stat = (b.true_rand()%5) +1;
        b.gainStatMod(s, stat, 2,false);
        b.sendBerryMessage(9,s,0,s,berry, stat);
    }
Exemple #2
0
    static void tu(int s, int, BS &b) {
        if (b.true_rand() % 5 == 0) {
	    turn(b,s)["TurnOrder"] = 2;
            turn(b,s)["QuickClawed"] = true;
	}
    }
Exemple #3
0
    static void btd(int s, int t, BS &b) {
        if (b.true_rand() % 10 == 0) {
	    turn(b,s)["CannotBeKoedBy"] = t;
	}
    }