Changeset 63
- Timestamp:
- Sep 26, 2014, 2:02:03 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMove.pas
r60 r63 43 43 DefendCount: Integer; 44 44 AttackCount: Integer; 45 ShowWinProbability: Boolean; 45 46 procedure UpdateView; 46 47 end; … … 72 73 procedure TFormMove.UpdateView; 73 74 begin 75 LabelWinProbability.Visible := ShowWinProbability; 76 Label3.Visible := ShowWinProbability; 74 77 LabelWinProbability.Caption := 75 78 IntToStr(Round(Core.Game.AttackProbability(AttackCount + SpinEditOnce.Value, -
trunk/UCore.pas
r61 r63 92 92 FormMove.DefendCount := CellTo.Power; 93 93 FormMove.AttackCount := CellTo.GetAttackPower; 94 FormMove.ShowWinProbability := CellTo.Player <> CellFrom.Player; 94 95 if FormMove.ShowModal = mrOk then begin 95 96 CountOnce := FormMove.SpinEditOnce.Value;
Note:
See TracChangeset
for help on using the changeset viewer.