set a random damage of a given ratio at a certain time, which will be processed during emulation
(self, line)
| 179 | self.sn.get_utility(int(arg)) |
| 180 | |
| 181 | def do_set_damage(self, line): |
| 182 | "set a random damage of a given ratio at a certain time, which will be processed during emulation" |
| 183 | arg, args, line = self.parseline(line) |
| 184 | rest = line.split(' ') |
| 185 | self.sn.set_damage(float(rest[0]), int(rest[1])) |
| 186 | |
| 187 | def do_set_recovery(self, line): |
| 188 | "set a recovery of the damages at a certain time, which will be processed during emulation" |
nothing calls this directly
no test coverage detected