Created
November 29, 2019 23:29
-
-
Save itsbriany/5c46d08224ca1c01bd7975bfc3f12630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final boolean isHappy() { | |
final double n = this.getStat('f') / (float)this.getStat('p'); | |
return n >= 2.0 && n <= 2.5; | |
} | |
public final boolean isEcstatic() { | |
final boolean b = false; | |
final int state = this.getState("mass", 0); | |
final int state2 = this.getState("happy", 0); | |
final int state3 = this.getState("clean", 0); | |
boolean b2 = b; | |
if (state == 72) { | |
b2 = b; | |
if (state2 == 30) { | |
b2 = b; | |
if (state3 == 0) { | |
b2 = true; | |
} | |
} | |
} | |
return b2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment