Beispiel #1
0
 def activate_special_action(self, option):
     self.unit.waste_energy(1)
     self.on_cd()
     self.string('special_hit',
                 format_dict={
                     'actor': self.unit.name,
                     'option': option
                 })
     statuses.CustomPassive(self.unit,
                            types=['receive_hit'],
                            func=self.parry,
                            option=option)
Beispiel #2
0
 def activate(self, action):
     statuses.CustomPassive(self.unit,
                            name='control_stop',
                            delay=6,
                            func=self.control_stop)
     statuses.CustomStatus(self.unit,
                           1,
                           6,
                           self.cast_speed,
                           name='cast_speed',
                           emoji=emoji_utils.emote_dict['provoke_em'])
     self.string('use', format_dict={'actor': self.unit.name})
     self.unit.cast_speed += 1
Beispiel #3
0
 def activate(self, action):
     statuses.CustomPassive(action.target,
                            types=['on_hit'],
                            name='provoke_stop',
                            delay=6,
                            func=self.stop_provoke,
                            option=action.unit)
     statuses.PermaStatus(action.target,
                          1,
                          6,
                          self.provoke,
                          name='provoke',
                          emoji=emoji_utils.emote_dict['provoke_em'],
                          args=[action.target, self.unit])
     self.string('use',
                 format_dict={
                     'actor': self.unit.name,
                     'target': action.target.name
                 })
Beispiel #4
0
 def first_stage(self):
     self.use()
     self.strength = 4
     self.activated = False
     statuses.CustomPassive(self.unit, types=['receive_spell'], func=self.block, option=None)
     self.string('use', format_dict={'actor': self.unit.name})