Pure Flattening Movement Bot

Jump to navigation Jump to search
Revision as of 31 January 2014 at 01:32.
The highlighted comment was created in this revision.

Pure Flattening Movement Bot

Could someone direct me to a strong bot which only flattens, without surfing, or instruct on me how to change a top bot( DrussGT, Diamond, etc) so that it only uses its flattener? Thanks in advance.

    Straw (talk)01:22, 31 January 2014

    Sure. In Diamond, it's all in voidious/move/MoveEnemy.java. Just comment out some of these:

        addView(simple);
        addView(normal);
        addView(recent);
        addView(recent2);
        addView(recent3);
        addView(recent4);
        addView(recent5);
        addView(recent6);
        addView(lightFlattener);
        addView(flattener);
        addView(flattener2);
    
      Voidious (talk)01:29, 31 January 2014

      Oops, sorry, you'll also want to remove the hit percentage thresholds, like:

              .setPaddedHitThreshold(FLATTENER_HIT_THRESHOLD)
      

      Flattener is only enabled at a certain hit percentage, but you want it always on.

        Voidious (talk)01:32, 31 January 2014

        Just making sure, this will also disable normal hit logging, so it will only dodge places its been before, not where its been hit? Will I also have to add something to its move history so it has some at the beginning?

          Straw (talk)02:01, 31 January 2014

          I don't think that will be a problem. I just checked and it's hard-coded to dodge head-on targeting (GF=0) when it doesn't have any stats. It doesn't pre-load the trees or anything, it's just a special case in the code.

            Voidious (talk)02:32, 31 January 2014