Skip to content

Commit

Permalink
Now player HP restores during rest
Browse files Browse the repository at this point in the history
  • Loading branch information
Isangeles committed Aug 8, 2018
1 parent ffde435 commit 8fbada2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*Finish arena module
*Finish senlin module
*Improve characters sprite sheets
*Add more mobs sprite sheets
*Add more mobs sprite sheets
*Improve combat system
Binary file modified bin/pl/isangeles/senlin/gui/tools/WaitWindow.class
Binary file not shown.
2 changes: 1 addition & 1 deletion savegames/arena/a.ssg

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/pl/isangeles/senlin/gui/tools/WaitWindow.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* WaitWindow.java
*
* Copyright 2017 Dariusz Sikora <darek@darek-PC-LinuxMint18>
* Copyright 2017-2018 Dariusz Sikora <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -240,6 +240,7 @@ public void mouseReleased(int button, int x, int y)
if(waitB.isMouseOver())
{
gw.getDay().getTime().addHours(waitTimeH);
gw.getPlayer().modHealth(5 * waitTimeH); // restore player HP during rest
waitTimeH = 0;
waitTimeM = 0;
}
Expand Down

0 comments on commit 8fbada2

Please sign in to comment.