Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

when its raining and you use yunyun's light of saber it gives an error (probably because it wants to reapply the wet effect but it cant)


[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2371, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2472, in script

    $ msg_num = adventure.battle.on_unit_turn_end()

  File "game/scripts/adventuring/battle.rpy", line 2472, in <module>

    $ msg_num = adventure.battle.on_unit_turn_end()

  File "game/scripts/adventuring/battle.rpy", line 176, in on_unit_turn_end

    modifier.on_unit_turn_end(self.current_unit)

  File "game/scripts/adventuring/weather.rpy", line 66, in on_unit_turn_end

    message = AbilityEffectApplyStatusEffect({"effect_class_name": "StatusEffectWet"}).apply(monster, monster, 0, False, 0)

  File "game/scripts/adventuring/ability.rpy", line 2098, in apply

    effect_args = {"duration": self.duration + boost, "unit": target}

TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

-- Full Traceback ------------------------------------------------------------

Full traceback:

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2371, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2374, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2472, in script

    $ msg_num = adventure.battle.on_unit_turn_end()

  File "C:\Users\tommy\Downloads\adventurer-trainer-win-linux\adventurer_trainer.0.2.0a-0.2.0a-pc\renpy\ast.py", line 1138, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "C:\Users\tommy\Downloads\adventurer-trainer-win-linux\adventurer_trainer.0.2.0a-0.2.0a-pc\renpy\python.py", line 1130, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/scripts/adventuring/battle.rpy", line 2472, in <module>

    $ msg_num = adventure.battle.on_unit_turn_end()

  File "game/scripts/adventuring/battle.rpy", line 176, in on_unit_turn_end

    modifier.on_unit_turn_end(self.current_unit)

  File "game/scripts/adventuring/weather.rpy", line 66, in on_unit_turn_end

    message = AbilityEffectApplyStatusEffect({"effect_class_name": "StatusEffectWet"}).apply(monster, monster, 0, False, 0)

  File "game/scripts/adventuring/ability.rpy", line 2098, in apply

    effect_args = {"duration": self.duration + boost, "unit": target}

TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

Windows-10-10.0.26100 AMD64

Ren'Py 8.1.2.23090503-Pastry0.4

Adventurer Trainer 0.2.0a 0.2.0a

Mon Mar  3 21:00:05 2025

[/code]