diff options
Diffstat (limited to 'battle/skills.py')
-rw-r--r-- | battle/skills.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/skills.py b/battle/skills.py index 56ee4ac..e88a2ff 100644 --- a/battle/skills.py +++ b/battle/skills.py @@ -16,7 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. ######################################################################################## # Battle Module - Skills -from utils import dbgprint, Battle +from utils import stdout, Battle from consts import (SK_SINGLE_DMG, SK_MULTI_DMG, SK_ATK_UP, SK_DEF_UP, SK_SINGLE_HEAL, SK_MULTI_HEAL, SC_ATKUP, SC_DEFUP) from battle.common import find_target, calc_dmg, attackall @@ -39,7 +39,7 @@ def skill_core(token, mask, force, element): if mask & SK_SINGLE_DMG: # Single Damage skill: 1 strength = 1 damage target_id=find_target(token, "enemy") - dbgprint("Enemy selected: %d" % target_id) + stdout("Enemy selected: %d" % target_id) target=Battle[token]["enemy"][target_id] target["hp"]-=calc_dmg(token, dummy, target, dummy["atk"]) |