Permalink
Browse files

Fixed modify stage

  • Loading branch information...
1 parent cbece9a commit 19631e65dc442ace8cb78bed1a470449da42a72b @quanto committed Oct 13, 2012
Showing with 6 additions and 6 deletions.
  1. +5 −5 src/groovy/game/MoveInfo.groovy
  2. +1 −1 src/groovy/game/Stage.groovy
@@ -33,13 +33,13 @@ class MoveInfo {
boolean paralysisAction = false
boolean poisonAction = false
boolean badlypoisondAction = false
- boolean addToDefenseStage = false
+ int addToDefenseStage = 1
boolean selfStageAction = false
boolean openentStageAction = false
- boolean addToAttackStage = false
- boolean addToSpDefenseStage = false
- boolean addToSpAttackStage = false
- boolean addToSpeedStage = false
+ int addToAttackStage = 1
+ int addToSpDefenseStage = 1
+ int addToSpAttackStage = 1
+ int addToSpeedStage = 1
double effectiveness = 1
boolean effectAction = false
boolean stageAction = false
@@ -2,7 +2,7 @@ package game
class Stage {
- public static void modifyStage(Fight fight, String statName, int addToStage,int selfStageAction, int openentStageAction, boolean effectSucces, FightPlayer attackFightPlayer, FightPlayer defendingFightPlayer)
+ public static void modifyStage(Fight fight, String statName, int addToStage, boolean selfStageAction, int openentStageAction, boolean effectSucces, FightPlayer attackFightPlayer, FightPlayer defendingFightPlayer)
{
if ((addToStage > 0 || selfStageAction) && effectSucces && !openentStageAction)

0 comments on commit 19631e6

Please sign in to comment.