Skip to content

Commit

Permalink
Powerhouses don't grant AP.
Browse files Browse the repository at this point in the history
It will make sense to get two different properties : dice_granted and ap_granted.
  • Loading branch information
Gulix committed Jun 23, 2015
1 parent 3e4541d commit 063f5b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,8 @@ <h2>A team builder for <b>Pulp City</b></h2>
{
teamLevel += window.supremes_list[i].level;
teamNumber += 1;
teamAP += window.supremes_list[i].ap_granted;
if (window.supremes_list[i].role_key != "powerhouse")
teamAP += window.supremes_list[i].ap_granted;
teamMinions += window.supremes_list[i].minions_granted;
}
}
Expand Down

0 comments on commit 063f5b1

Please sign in to comment.