Erwan
- Added the possibility to narrow a spell/ability target according to color,tapped status, attacker/blocker, abilities... - Changed the games phase system to become a phaseRing. This allows to add cards that have an impact on the phases, such as stasis - Added a few cards - Fixed a (windows) bug in gatherer tool - Adding stdint.h for VC++ (see wikipedia->stdint.h) - deleting the compiled PSP lib to avoid confusion. People who work from the sourcehave to compile the lib by themselves.
This commit is contained in:
@@ -27,7 +27,7 @@ MTGCardInstance * AIPlayer::chooseCard(TargetChooser * tc, MTGCardInstance * sou
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int AIPlayer::Act(){
|
||||
int AIPlayer::Act(float dt){
|
||||
GameObserver * gameObs = GameObserver::GetInstance();
|
||||
if (gameObs->currentPlayer == this){
|
||||
gameObs->userRequestNextGamePhase();
|
||||
@@ -486,7 +486,7 @@ void AIPlayerBaka::initTimer(){
|
||||
timer = 20;
|
||||
}
|
||||
|
||||
int AIPlayerBaka::Act(){
|
||||
int AIPlayerBaka::Act(float dt){
|
||||
GameObserver * gameObs = GameObserver::GetInstance();
|
||||
int currentGamePhase = gameObs->getCurrentGamePhase();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user