Ejemplo n.º 1
0
 def s2_proc(this, e):
     if this.s2stance == 0:
         adv.Teambuff('s2str', 0.20, 10).on()
         this.s2stance = 1
     elif this.s2stance == 1:
         adv.Teambuff('s2def', 1, 15, 'defup').on()
         this.s2stance = 0
Ejemplo n.º 2
0
 def s1_proc(this, e):
     r = random.random()
     if r < 0.25:
         adv.Teambuff('s1_att', 0.25, 15, 'att').on()
     elif r < 0.5:
         adv.Teambuff('s1_crit', 0.25, 10, 'crit').on()
     else:
         log('failed', 's1')
Ejemplo n.º 3
0
 def s1_proc(this, e):  # buggy lvl3 s1
     if this.stance == 0:
         this.stance = 1
     elif this.stance == 1:
         this.stance = 2
         adv.Teambuff('s1s', 0.1, 10).on()
     elif this.stance == 2:
         this.stance = 0
         adv.Teambuff('s1s', 0.1, 10).on()
         adv.Teambuff('s1c', 0.08, 10, 'crit', 'chance').on()
Ejemplo n.º 4
0
 def s1_proc(this, e):
     if this.s1_buff_mode == 'means':
         adv.Teambuff('s1_att', 0.25 / 4, 15, 'att').on()
         adv.Teambuff('s1_crit', 0.25 / 4, 10, 'crit').on()
     elif this.s1_buff_mode == 'random':
         r = random.random()
         if r < 0.25:
             adv.Teambuff('s1_att', 0.25, 15, 'att').on()
         elif r < 0.5:
             adv.Teambuff('s1_crit', 0.25, 10, 'crit').on()
         elif r < 0.75:
             Event('defchain')()
         else:
             log('debug', 's1 HP buff')
     elif this.s1_buff_mode == 'att':
         adv.Teambuff('s1_att', 0.25, 15, 'att').on()
     elif this.s1_buff_mode == 'crit':
         adv.Teambuff('s1_crit', 0.25, 10, 'crit').on()
Ejemplo n.º 5
0
 def prerun(this):
     adv.Teambuff('last', 2.28, 1).on()
Ejemplo n.º 6
0
 def s1_before(this, e):
     if this.sleep_last > 0:
         this.sleep_last -= 1
         adv.Teambuff('a1', 0.15, 10).on()
Ejemplo n.º 7
0
 def init(this):
     this.dmg_make("o_s2hitblind", (4.035 - 2.69) * 3)
     this.dmg_make("o_s2hitblind", (4.035 - 2.69) * 3)
     this.dmg_make("o_s2hitblind", (4.035 - 2.69) * 3)
     adv.Teambuff('a1', 0.10, 10 * 3).on()
     adv.Selfbuff('blind killer', 0.20, 8 * 3, 'att', 'killer').on()
Ejemplo n.º 8
0
 def init(this):
     adv.Teambuff('last',2.28,1).on()
Ejemplo n.º 9
0
 def s1_proc(this, e):
     adv.Teambuff('s1_att', 0.25 / 4, 15, 'att').on()
     adv.Teambuff('s1_crit', 0.25 / 4, 10, 'crit').on()