Conditions | 2 |
Total Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from synergine.synergy.event.Action import Action |
||
16 | def run(self, obj, context, synergy_manager): |
||
17 | # TODO: reprendre ? |
||
18 | for obj_id_attackable in self._parameters['objects_ids_attackable']: |
||
19 | obj_attackable = synergy_manager.get_map().get_object(obj_id_attackable) |
||
20 | obj_attackable.hurted(randint(0, 2)) |
||
21 |