Changeset 318 for trunk/Forms/FormMove.pas
- Timestamp:
- Jun 21, 2024, 3:20:20 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMove.pas
r317 r318 4 4 5 5 uses 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Spin, 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Spin, Game, 7 7 StdCtrls, ComCtrls, FormEx; 8 8 … … 43 43 ShowWinProbability: Boolean; 44 44 AllowChangeOnce: Boolean; 45 Game: TGame; 45 46 procedure UpdateView; 46 47 end; … … 50 51 51 52 {$R *.lfm} 52 53 uses54 Core;55 53 56 54 { TFormMove } … … 73 71 Label3.Visible := ShowWinProbability; 74 72 LabelWinProbability.Caption := 75 IntToStr(Round( Core.Core.Game.AttackProbability(AttackCount + SpinEditOnce.Value,73 IntToStr(Round(Game.AttackProbability(AttackCount + SpinEditOnce.Value, 76 74 DefendCount) * 100)) + ' %'; 77 75 end;
Note:
See TracChangeset
for help on using the changeset viewer.