Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Nov 1, 2013
1 parent 6cfc4c6 commit a0b27d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Server/battle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3729,7 +3729,7 @@ PokeFraction BattleSituation::getStatBoost(int player, int stat)
//Unaware / Sacred sword / Keeneye ignores evasion in gen 6
if (attacker != player && attacked == player) {
if ((hasWorkingAbility(attacker, Ability::Unaware) || tmove(attacker).attack == Move::ChipAway || tmove(attacker).attack == Move::SacredSword)
&& (stat == SpDefense || stat == Defense || stat == Evasion) || gen() > 5 && stat == Evasion && hasWorkingAbility(attacker, Ability::KeenEye)) {
&& (stat == SpDefense || stat == Defense || stat == Evasion) || (gen() > 5 && stat == Evasion && hasWorkingAbility(attacker, Ability::KeenEye))) {
boost = 0;
}
} else if (attacker == player && attacked != player && hasWorkingAbility(attacked, Ability::Unaware) &&
Expand Down
4 changes: 2 additions & 2 deletions src/Shared/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <qglobal.h>

#define VERSION QString("2.2.9")
#define VERSION QString("2.3.0")

static const quint16 PROTOCOL_VERSION = 2;
static const quint16 PROTOCOL_SUBVERSION = 2;
static const quint16 CLIENT_VERSION_NUMBER = 2209;
static const quint16 CLIENT_VERSION_NUMBER = 2300;
static const int UPDATE_ID = 4;

#ifdef Q_OS_LINUX
Expand Down

0 comments on commit a0b27d6

Please sign in to comment.