Changeset 60 for trunk/Forms/UFormMove.pas
- Timestamp:
- Sep 26, 2014, 12:27:50 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMove.pas
r59 r60 42 42 public 43 43 DefendCount: Integer; 44 AttackCount: Integer; 44 45 procedure UpdateView; 45 46 end; … … 72 73 begin 73 74 LabelWinProbability.Caption := 74 IntToStr(Round(Core.Game.AttackProbability( SpinEditOnce.Value,75 DefendCount ) * 100)) + ' %';75 IntToStr(Round(Core.Game.AttackProbability(AttackCount + SpinEditOnce.Value, 76 DefendCount, 1) * 100)) + ' %'; 76 77 end; 77 78
Note:
See TracChangeset
for help on using the changeset viewer.