Skip to content

Commit c419df3

Browse files
committed
adjustments to status effects
should fix #1234
1 parent 63dbf18 commit c419df3

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/pokecube/java/pokecube/api/moves/utils/IMoveConstants.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ public static enum AttackCategory
7878
/*
7979
* Stats Modifiers
8080
*/
81-
byte ATTACK = 1;
82-
byte DEFENSE = 2;
83-
byte SPATACK = 4;
84-
byte SPDEFENSE = 8;
85-
byte VIT = 16;
86-
byte ACCURACY = 32;
81+
int ATTACK = 2;
82+
int DEFENSE = 4;
83+
int SPATACK = 8;
84+
int SPDEFENSE = 16;
85+
int VIT = 32;
86+
int ACCURACY = 64;
8787

88-
byte EVASION = 64;
88+
int EVASION = 128;
8989
/*
9090
* Stats Changes
9191
*/

src/pokecube/java/pokecube/mobs/abilities/simple/BeastBoost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void postMoveUse(final IPokemob mob, final MoveApplication move)
2020
if (targetMob == null) return;
2121
if (!targetMob.inCombat())
2222
{
23-
byte boost = IMoveConstants.ATTACK;
23+
int boost = IMoveConstants.ATTACK;
2424
int stat = mob.getStat(Stats.ATTACK, true);
2525
int tmp;
2626
if ((tmp = mob.getStat(Stats.SPATTACK, true)) > stat)

0 commit comments

Comments
 (0)