Post by Nemjen on Mar 19, 2016 7:26:10 GMT -8
In a similar sense to the MIRVs been unusable in this version, if a PACT Destroyer attacks it will generate the following error:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 2663, in script call
call battlewarning_label from _call_battlewarning_label
File "game/script.rpy", line 3799, in script call
call battlewarning_label from _call_battlewarning_label_3
File "game/combatlabels.rpy", line 258, in script call
if ui.interact() == 'continue':
File "game/script.rpy", line 3854, in script
$BM.battle() #continue the battle
File "game/script.rpy", line 3854, in <module>
$BM.battle() #continue the battle
File "game/classes.rpy", line 1250, in battle
self.dispatch_handler(self.result)()
File "game/classes.rpy", line 1169, in battle_end_turn
self.end_player_turn()
File "game/classes.rpy", line 1322, in end_player_turn
self.enemy_AI()
File "game/classes.rpy", line 1584, in enemy_AI
ship.AI()
File "game/classes.rpy", line 2473, in AI
self.brain.AI()
File "game/AI.rpy", line 528, in AI
parent.AI_basic_loop()
File "game/classes.rpy", line 2466, in AI_basic_loop
self.brain.AI_basic_loop()
File "game/AI.rpy", line 321, in AI_basic_loop
parent.AI_attack_target(target_ship,weapon)
File "game/classes.rpy", line 2463, in AI_attack_target
self.brain.AI_attack_target(pship,weapon,counter)
File "game/AI.rpy", line 210, in AI_attack_target
damage_multiple_ships(damage,parent)
File "game/functions.rpy", line 1623, in damage_multiple_ships
BM.taking_damage[ship] = get_modified_damage(damage,ship.faction)
File "game/functions.rpy", line 24, in get_modified_damage
damage = int(damage * 0.25)
TypeError: can't multiply sequence by non-int of type 'float'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 2663, in script call
call battlewarning_label from _call_battlewarning_label
File "game/script.rpy", line 3799, in script call
call battlewarning_label from _call_battlewarning_label_3
File "game/combatlabels.rpy", line 258, in script call
if ui.interact() == 'continue':
File "game/script.rpy", line 3854, in script
$BM.battle() #continue the battle
File "C:\Program Files (x86)\Steam\steamapps\common\Sunrider Liberation Day\renpy\ast.py", line 805, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Program Files (x86)\Steam\steamapps\common\Sunrider Liberation Day\renpy\python.py", line 1461, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 3854, in <module>
$BM.battle() #continue the battle
File "game/classes.rpy", line 1250, in battle
self.dispatch_handler(self.result)()
File "game/classes.rpy", line 1169, in battle_end_turn
self.end_player_turn()
File "game/classes.rpy", line 1322, in end_player_turn
self.enemy_AI()
File "game/classes.rpy", line 1584, in enemy_AI
ship.AI()
File "game/classes.rpy", line 2473, in AI
self.brain.AI()
File "game/AI.rpy", line 528, in AI
parent.AI_basic_loop()
File "game/classes.rpy", line 2466, in AI_basic_loop
self.brain.AI_basic_loop()
File "game/AI.rpy", line 321, in AI_basic_loop
parent.AI_attack_target(target_ship,weapon)
File "game/classes.rpy", line 2463, in AI_attack_target
self.brain.AI_attack_target(pship,weapon,counter)
File "game/AI.rpy", line 210, in AI_attack_target
damage_multiple_ships(damage,parent)
File "game/functions.rpy", line 1623, in damage_multiple_ships
BM.taking_damage[ship] = get_modified_damage(damage,ship.faction)
File "game/functions.rpy", line 24, in get_modified_damage
damage = int(damage * 0.25)
TypeError: can't multiply sequence by non-int of type 'float'
Windows-8-6.2.9200
Ren'Py 6.99.8.949
Release 2.1