Ignore:
Timestamp:
Nov 16, 2014, 2:31:27 PM (10 years ago)
Author:
chronos
Message:
  • Modified: Change attack probability calculation to use cache of precalculated values to speed up calculation dramatically.
  • Added: Fallback as computer strategy element to withdraw border cells where enemy is stronger.
  • Modified: Test of polygon canvas method modification.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMove.pas

    r72 r88  
    7878  LabelWinProbability.Caption :=
    7979    IntToStr(Round(Core.Game.AttackProbability(AttackCount + SpinEditOnce.Value,
    80     DefendCount, 1) * 100)) + ' %';
     80    DefendCount) * 100)) + ' %';
    8181end;
    8282
Note: See TracChangeset for help on using the changeset viewer.