Changeset 37
- Timestamp:
- Mar 8, 2014, 12:13:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r36 r37 485 485 // Use only necessary power 486 486 AttackPower := Power - TotalAttackPower + 1; 487 if Cells[I]. Power < AttackPower then488 AttackPower := Cells[I]. Power;487 if Cells[I].GetAvialPower < AttackPower then 488 AttackPower := Cells[I].GetAvialPower; 489 489 Game.SetMove(Cells[I], Game.Map.Cells[Y, X], AttackPower); 490 490 TotalAttackPower := TotalAttackPower + AttackPower; … … 607 607 if CellTo.Player = Player then begin 608 608 // Inner move 609 CellTo.Power := CellTo.Power + CountOnce; 609 610 end else begin 610 611 AttackerPower := CountOnce;
Note:
See TracChangeset
for help on using the changeset viewer.