バグ:使用イベントで召喚獣を付与するカードのエラー

Issue #840 resolved
Former user created an issue

・使用イベントの効果で選択メンバに召喚獣を付与 ・付与された召喚獣の使用イベントで更に別の召喚獣を付与 といったカードをwsn形式のシナリオ内で入手し、帰還すると宿画面でエラーが出てしまいます デバックモードで配布・更新をクリックしても該当カードだと反応がありません Py3では問題なく入手・宿に帰還できました よろしくお願いいたします

CardWirthPy 4.0 Alpha 2 (64-bit) Build: 2019-08-01 21:49:04

DateTime: 2019-08-06 23:45:26 Traceback (most recent call last): File ".\cw\thread.py", line 827, in run File ".\cw\thread.py", line 879, in _run File ".\cw\thread.py", line 894, in main_loop File ".\cw\eventhandler.py", line 108, in run File ".\cw\eventhandler.py", line 379, in lclick_event File ".\cw\sprite\card.py", line 1464, in lclick_event File ".\cw\event.py", line 621, in start File ".\cw\event.py", line 842, in start File ".\cw\event.py", line 902, in run File ".\cw\event.py", line 1101, in action File ".\cw\content.py", line 2740, in action File ".\cw\content.py", line 2811, in end_scenario File ".\cw\data.py", line 1836, in end File ".\cw\header.py", line 659, in set_scenarioend File ".\cw\thread.py", line 5254, in copy_materials File ".\cw\data.py", line 827, in copy_carddata File ".\cw\thread.py", line 5254, in copy_materials File ".\cw\data.py", line 791, in copy_carddata AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getint'

Comments (2)

  1. k4nagatsuki repo owner

    pull request #2592

    ご報告ありがとうございます。修正しました。

    Python標準ライブラリの仕様変更が原因のようです。

  2. Log in to comment