Friendly/Enemy AP gain

Should merge now.
Merge pull request #436 from billybennett/gh-pages

Pull for issue #306