Skip to content
Snippets Groups Projects
Commit bd6dcb6e authored by pr1n19's avatar pr1n19
Browse files

Health box fixes

parent 930d36ef
No related branches found
No related tags found
No related merge requests found
<component name="libraryTable"> <component name="libraryTable">
<library name="Maven: org.openjfx:javafx-base:linux:15.0.1"> <library name="Maven: org.openjfx:javafx-base:win:15.0.1">
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/15.0.1/javafx-base-15.0.1-linux.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/15.0.1/javafx-base-15.0.1-win.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC> <JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/15.0.1/javafx-base-15.0.1-javadoc.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/15.0.1/javafx-base-15.0.1-javadoc.jar!/" />
......
<component name="libraryTable"> <component name="libraryTable">
<library name="Maven: org.openjfx:javafx-controls:linux:15.0.1"> <library name="Maven: org.openjfx:javafx-controls:win:15.0.1">
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/15.0.1/javafx-controls-15.0.1-linux.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/15.0.1/javafx-controls-15.0.1-win.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC> <JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/15.0.1/javafx-controls-15.0.1-javadoc.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/15.0.1/javafx-controls-15.0.1-javadoc.jar!/" />
......
<component name="libraryTable"> <component name="libraryTable">
<library name="Maven: org.openjfx:javafx-graphics:linux:15.0.1"> <library name="Maven: org.openjfx:javafx-graphics:win:15.0.1">
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/15.0.1/javafx-graphics-15.0.1-linux.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/15.0.1/javafx-graphics-15.0.1-win.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC> <JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/15.0.1/javafx-graphics-15.0.1-javadoc.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/15.0.1/javafx-graphics-15.0.1-javadoc.jar!/" />
......
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-controls:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-controls:15.0.1" level="project" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-controls:linux:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-controls:win:15.0.1" level="project" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:15.0.1" level="project" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:linux:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:win:15.0.1" level="project" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-base:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-base:15.0.1" level="project" />
<orderEntry type="library" name="Maven: org.openjfx:javafx-base:linux:15.0.1" level="project" /> <orderEntry type="library" name="Maven: org.openjfx:javafx-base:win:15.0.1" level="project" />
</component> </component>
</module> </module>
\ No newline at end of file
...@@ -9,7 +9,7 @@ public class CharacterInterface { ...@@ -9,7 +9,7 @@ public class CharacterInterface {
private static final Attributes attributes = new Attributes(new int[]{7,1,7, 20,1,11, 1,1,5}); private static final Attributes attributes = new Attributes(new int[]{7,1,7, 20,1,11, 1,1,5});
private static final Abilities abilities = new Abilities(new int[]{10,10,10,10,10,10,10,10,10,10}, new int[]{10,10,10,10,10,10,10,10,10,10}, new int[]{10,10,10,10,10}); private static final Abilities abilities = new Abilities(new int[]{10,10,10,10,10,10,10,10,10,10}, new int[]{10,10,10,10,10,10,10,10,10,10}, new int[]{10,10,10,10,10});
private static final Motes motes = new Motes(10, 5, 40, 3, 8); private static final Motes motes = new Motes(10, 5, 40, 3, 8);
private static final Health health = new Health(new int[]{0,0,0,-1,-1,-2}, new int[]{-2, -2, -2, -4}, 5); private static final Health health = new Health(new int[]{0,0,0,0,0,-1,-1,-1,-1,-1,-1,-2,-2,-2,-2,-2,-999}, new int[]{-2, -2, -2, -4}, 5);
private static final Soak soak = new Soak(); private static final Soak soak = new Soak();
private static final KnownCharms knownCharms = new KnownCharms(); private static final KnownCharms knownCharms = new KnownCharms();
private static final Willpower willpower = new Willpower(1, 2, 3, 4); private static final Willpower willpower = new Willpower(1, 2, 3, 4);
......
...@@ -36,7 +36,7 @@ public class FormOfGaia extends Charm implements Supplemental { ...@@ -36,7 +36,7 @@ public class FormOfGaia extends Charm implements Supplemental {
CharacterInterface.getSoak().removeBonus("Form of Gaia"); CharacterInterface.getSoak().removeBonus("Form of Gaia");
CharacterInterface.getSoak().recalculateNaturalSoak(); CharacterInterface.getSoak().recalculateNaturalSoak();
//Lose extra health boxes //Lose extra health boxes
CharacterInterface.getHealth().loseMaxHealth(new int[]{0,0,1,1,1,1,2,2,2,2}); CharacterInterface.getHealth().loseMaxHealth(new int[]{0,0,-1,-1,-1,-1,-2,-2,-2,-2});
} }
/** /**
...@@ -50,7 +50,7 @@ public class FormOfGaia extends Charm implements Supplemental { ...@@ -50,7 +50,7 @@ public class FormOfGaia extends Charm implements Supplemental {
CharacterInterface.getSoak().increaseSoak("Form of Gaia", 12, 12, 0); CharacterInterface.getSoak().increaseSoak("Form of Gaia", 12, 12, 0);
CharacterInterface.getSoak().recalculateNaturalSoak(); CharacterInterface.getSoak().recalculateNaturalSoak();
//Gain extra health boxes //Gain extra health boxes
CharacterInterface.getHealth().gainMaxHealth(new int[]{0,0,1,1,1,1,2,2,2,2}); CharacterInterface.getHealth().gainMaxHealth(new int[]{0,0,-1,-1,-1,-1,-2,-2,-2,-2});
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment