Changeset 88 for pycodebattler/trunk


Ignore:
Timestamp:
01/07/11 15:33:09 (14 years ago)
Author:
atzm
Message:

fixed a trivial bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodebattler/trunk/pycodebattler/warrior.py

    r87 r88  
    6868        for val in [hitpoint, skillpoint, strength, concentration, 
    6969                    defense, agility, luck, luck_range]: 
    70             if val <= 0: 
     70            if int(val) <= 0: 
    7171                raise ValueError('parameter includes invalid value') 
    7272 
Note: See TracChangeset for help on using the changeset viewer.