Ignore:
Timestamp:
12/15/10 00:46:19 (13 years ago)
Author:
atzm
Message:

modify Skill.skilltype() returns

File:
1 edited

Legend:

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

    r47 r50  
    8585            tt = sk.selectable(attacker, self._warriors) 
    8686 
    87             if sk.skilltype() == 'SuicideAttackType': 
     87            if sk.skilltype() is pycodebattler.skill.SuicideAttackType: 
    8888                damages = attacker.invoke(skname, tt, self._warriors) 
    8989                return attacker, skname, damages 
Note: See TracChangeset for help on using the changeset viewer.