def test(adv, conf, duration=180): print( 'dps,cname,star,ele,wt,att,wpset,cond,-,amulet1,amulet2,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-' ) ams = [] amulets_withalias = slot.a.amulets for i in amulets_withalias: if i not in ams: ams.append(i) amlen = len(ams) for m in range(amlen): for n in range(m + 1, amlen): i = ams[m] j = ams[n] conf['slots.a'] = i() + j() conf['slots.a'] = conf['slots.a'] def foo(self): self.conf['slots.a'] = i() + j() self.conf['slots.a'] = self.conf['slots.a'] adv.slot_backdoor = foo adv.comment = '(' + type(i()).__name__ + type(j()).__name__ + ')' adv_test.test(adv, conf, verbose=255, mass=0, duration=duration)
def test(adv, conf, duration=180): global acls print('dps,cname,star,ele,wt,att,cond,-,acl_idx,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-') for i in acls: conf['acl'] = acls[i] adv.comment = '('+str(i)+')' adv_test.test(adv, conf, verbose=255, mass=0, duration=duration)
def test(adv, conf, duration=180): print('dps,cname,star,ele,wt,att,cond,-,amulet1,amulet2,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-') ams = slot.a.amulets amlen = len(ams) for m in range(amlen): for n in range(m+1,amlen): i = ams[m] j = ams[n] conf['slots.a'] = i() + j() adv.comment = '(',type(i()).__name__, type(j()).__name__,')' adv_test.test(adv, conf, verbose=255, mass=0, duration=duration)
if this.condition('{} resist'.format(this.conf['cond_afflict_res'])): this.afflics.paralysis.resist = this.conf['cond_afflict_res'] else: this.afflics.paralysis.resist = 100 if this.condition('s1 buff for 10s'): this.s1on = 1 else: this.s1on = 0 if this.condition('get DC at start'): Buff('dragonclaw', 0.06, -1).on() Buff('dragonclaw', 0.03, -1).on() this.s2timer = Timer(this.s2autocharge, 1, 1).on() def s2autocharge(this, t): this.s2.charge(999999.0 / 63) log('sp', 's2autocharge') def s1_proc(this, e): if this.s1on: Debuff('s1str', -0.20, 10, 1, 'att').on() def s2_proc(this, e): Event('defchain')() this.afflics.paralysis('s2', 120, 0.97) if __name__ == '__main__': conf = {} r = adv_test.test(module(), conf, verbose=0, mass=0)