Skip to content

Commit

Permalink
add titlescreen mobile announce, fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
noio committed Oct 28, 2013
1 parent deab188 commit 09eeb21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PlayState.as
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ package

public function phaseNightCycle():void{
var difficulty:Number = day.value - 10;
trollStats(30, 4, 45, 4, false, 8.0); // Strong
spawnTrolls(int(10 * difficulty));
trollStats(30, 3 + 2 * difficulty, 45, 4, false, 8.0); // Strong
spawnTrolls(int(10 + difficulty));
if (day.value % 2 == 0){
trollStats(20, 30, 10, 999999, true, 16.0); // Boss
spawnTrolls(int(2 * difficulty));
Expand Down
2 changes: 1 addition & 1 deletion Wall.as
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ package
}

public function needsWork():Boolean{
return (building || (health < HEALTH[stage] & t < HURT_COOLDOWN));
return ((building || health < HEALTH[stage]) && t < HURT_COOLDOWN);
}

public function canBuild():Boolean{
Expand Down
Binary file modified assets/gfx/title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 09eeb21

@OverlordCW
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it come to WP8?

Please sign in to comment.