示例#1
0
            1
        }

    def init(this):
        this.s2_stack = 0
        this.a3 = this.Selfbuff('a3', 0, 'atk')
        this.a3(-1)
        ro_iv = env.root['duration'] / 3
        this.e_ro = this.Event('hp<30')
        Timer(this.ro)(ro_iv)

    def ro(this, t):
        this.e_ro()
        t.repeat()

    def s2_proc(this):
        this.a3.set(0.3)
        this.s2_stack += 1
        this.s2_buff = this.Selfbuff('s2', 0.3)(60)
        this.s2_buff.on_end.append(this.a3_stop)

    def a3_stop(this):
        this.s2_stack -= 1
        if not this.s2_stack:
            this.a3.set(0)


if __name__ == '__main__':
    import run
    run.this_character()
示例#2
0
            `fs, x=5
        """
        }
        if 'bow' in this.ex:
            conf['acl.cancel'] = """
                `s1
                `s2
            """
        return conf

    def conf(this):
        return {
            'star': 4,
            'ele': 'water',
            'wt': 'lance',
            'atk': 460,
            'a1': ('bt', 0.25),
            's1.recovery': 1,
            's1.sp': 3817,
            's1.buff': ('team', 0.20, 15),
            's2.sp': 5158,
            's2.recovery': 1.9,
            's2.hit': [(0, 'h1')],
            's2.attr.h1.coef': 7.54
        }


if __name__ == '__main__':
    import run
    run.this_character(mass=0)
示例#3
0
        return {
            'star': 4,
            'ele': 'water',
            'wt': 'blade',
            'atk': 454,
            'a1': ('lo', 0.40),
            'a3': ('skill_link', 0.08, 'def'),
            's1.hit': [(0, 'h1'), (0, 'h1'), (0, 'h1'), (0, 'h1')],
            's1.attr.h1.coef': 2.16,
            's1.recovery': 1.55,
            's1.sp': 2489,
            's2.sp': 7383,
            's2.recovery': 1
        }

    def init(this):
        this.Afflic = Afflic(this)
        this.bog = this.Afflic['bog']('s1', 1.20, 0.97)

    def s1_proc(this):
        this.bog()

    def s2_proc(this):
        this.Selfbuff('s2', 0.5, 'cd')(20)
        this.s1.full()


if __name__ == '__main__':
    import run
    run.this_character(mass=1)
示例#4
0
            `s1
            `fsf, x=5
        """
        }
        return conf

    def conf(this):
        return {
         'star'            : 3
        ,'ele'             : 'wind'
        ,'wt'              : 'blade'
        ,'atk'             : 470
        ,'a1'              : ('cc', 0.08, 'hp100')

        ,'s1.buff'         : ('team', 0.15, 15)
        ,'s1.sp'           : 2987
        ,'s1.stop'         : 1

        ,'s2.hit'          : [(0,'h1'),(0,'h1'),(0,'h1')]
        ,'s2.attr.h1.coef' : 2.64
        ,'s2.sp'           : 4784
        ,'s2.stop'         : 2.733
        }




if __name__ =='__main__':
    import run
    run.this_character(mass=0, verbose=-2)