1
0
Fork 0

Update from user feedback

This commit is contained in:
Carlos Galindo 2015-02-22 12:44:43 +01:00
parent 847f6dceed
commit f5fbf9b5fa
2 changed files with 2 additions and 0 deletions

View file

@ -300,6 +300,7 @@ public class MainActivity extends ActionBarActivity
player.setClassName(p.getString("className", getString(R.string.class_name))); player.setClassName(p.getString("className", getString(R.string.class_name)));
player.setRaceName(p.getString("raceName", getString(R.string.race_name))); player.setRaceName(p.getString("raceName", getString(R.string.race_name)));
player.setLevel(p.getInt("level", 1)); player.setLevel(p.getInt("level", 1));
//TODO: restore pg
player.setAtk(new int[]{ player.setAtk(new int[]{
p.getInt("fue", 10), p.getInt("fue", 10),
p.getInt("con", 10), p.getInt("con", 10),

View file

@ -170,6 +170,7 @@ public class Player {
public int getVol() {return def[VOL];} public int getVol() {return def[VOL];}
//TODO: set the pg level dependant //TODO: set the pg level dependant
//TODO: only setPg if the
public void setClass() { public void setClass() {
int pgExtra = 0, curativeEffortsExtra = 0, defCA = 0, defFORT = 0, defVOL = 0, defREF = 0; int pgExtra = 0, curativeEffortsExtra = 0, defCA = 0, defFORT = 0, defVOL = 0, defREF = 0;
if(className.equals(classStrings[1])){ if(className.equals(classStrings[1])){