Example #1
0
 def s1_before(this, e):
     if this.para_last > 0:
         this.para_last -= 1
         this.dmg_make("o_s1_paralysis",1.98)
         adv.Buff('a1',0.15,10).on()
         adv.Buff('para killer',0.20,13,'att','killer').on()
         return 8.64*0.86231884 # para only affect the second hit 
Example #2
0
 def s1_proc(this, e):
     r = random.random()
     if r < 0.25:
         adv.Buff('s1_att', 0.25, 15 * 1.2, 'att').on()
     elif r < 0.5:
         adv.Buff('s1_crit', 0.25, 10 * 1.2, 'crit').on()
     else:
         log('failed', 's1')
Example #3
0
 def s2_proc(this, e):
     if this.s2stance == 0:
         adv.Buff('s2str', 0.20, 13).on()
         this.s2stance = 1
     elif this.s2stance == 0:
         log('buff', 'def')
         this.s2stance = 0
Example #4
0
 def init(this):
     this.dmg_make("o_s1_poison",2.91)
     this.dmg_make("o_s1_poison",2.91)
     this.dmg_make("o_s1_poison",2.91)
     this.dmg_make("o_s2hitpoison",(4.035-2.69)*3)
     this.dmg_make("o_s2hitpoison",(4.035-2.69)*3)
     this.dmg_make("o_s2hitpoison",(4.035-2.69)*3)
     adv.Buff('double',(0.13+0.08)*7,30).on()
Example #5
0
 def dmg_proc(this, name, amount):
     if name[:2] == 'x1':
         this.hits += 3
     elif name[:2] == 'x2':
         this.hits += 2
     elif name[:2] == 'x3':
         this.hits += 3
     elif name[:2] == 'x4':
         this.hits += 2
     elif name[:2] == 'x5':
         this.hits += 5
     elif name[:2] == 'fs':
         this.hits += 8
     if this.hits >= 20:
         this.hits -= 20
         adv.Buff('sylvan strength', 0.02, 15 * 1.3, wide='self').on()
         adv.Buff('sylvan crit',
                  0.01,
                  15 * 1.3,
                  'crit',
                  'chance',
                  wide='self').on()
Example #6
0
 def init(this):
     this.hits = 0
     this.buffs = adv.Buff()
     this.s2stance = 0
Example #7
0
 def prerun(this):
     super(Louise, this).prerun()
     adv.Buff('double', (0.13 + 0.08) * 7, 30).on()
Example #8
0
File: waike.py Project: Totakeke/dl
 def init(this):
     this.bogcountlast = 3
     this.bogbuff = adv.Buff('s2_bog', 0.6, 8, 'att', 'bog')
Example #9
0
def s2_proc_withdoublebuff(this, e):
    this.s1level += 1
    if this.s1level > 5:
        this.s1level = 5
    adv.Buff("crown_double_buff", 0.08, 15, wide='self').on()
Example #10
0
 def init(this):
     #!!!cheat!!!!!!!!!!!!!
     #this.s2.charge(400)
     #!!!!!!!!!!!!!!!!!!!!!
     this.energy = 0
     this.doublebuff = adv.Buff("double", 0.2, 15, 'att', wide='self')
Example #11
0
File: euden.py Project: Totakeke/dl
 def s2_proc(this, e):
     adv.Buff('armorbreak', 1 / 0.955 - 1, 10, 'att', 'debuff').on()
Example #12
0
 def init(this):
     this.charge("prep", "100%")
     this.s1buff = adv.Buff('armorbreak',(1.0/0.95-1)/2,10)