Skip to content

Commit

Permalink
Casting chance does affect game
Browse files Browse the repository at this point in the history
  • Loading branch information
bobtfish committed Feb 6, 2021
1 parent 9c35127 commit f1c6cdd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@ Bug / missing feature list:

Gameplay:
Board inspect character
Make game law rating affect spell casting chances
AI Players
Gooey blob / Fire character and player interactions

Bugs:

Vengence etc - do they need LOS
2 changes: 1 addition & 1 deletion spells/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s ASpell) GetCastingChance(gameLawRating int) int {
if absLaw < 0 {
absLaw = -absLaw
}
cc := s.CastingChance + (absLaw/4)*10 // Every 4 points makes it 10% easier
cc := s.CastingChance + (absLaw/2)*10 // Every 2 points makes it 10% easier
if cc > 100 {
return 100
}
Expand Down

0 comments on commit f1c6cdd

Please sign in to comment.