dripton / Slugathon

Clone of the old Avalon Hill fantasy wargame Titan, using Python / PyGTK / Twisted
https://github.com/dripton/Slugathon/wiki
8 stars 2 forks source link

Illegal strike penalties #88

Closed dripton closed 14 years ago

dripton commented 14 years ago

Brush, had a Titan6 (2 hits) in C1, surrounded by 3 enemies. Gargoyle (0 hits) in bramble D2, Gargoyle (2 hits) in C2, and Ogre (2 hits) in B1.

Titan swung at the Gargoyle in C2 and was given these options: 6 dice, strike number 2, able to carry to ogre (illegal has primary target requires 3 to hit) 6 dice, strike number 3, unable to carry (should be able to carry to ogre) 6 dice, strike number 4, able to carry to Gargoyle in D2 (should also be able to carry to ogre)

dripton commented 14 years ago

Fix strike penalties. Closed by 8e3c4818c2bfb46c77430dd436ae6197d21664b3

Add Creature.valid_strike_penalties Add test_battle.test_strikes_brush