class Halloween_Elisanne(Adv): a1 = ('s',0.35) conf = {} conf['slots.a'] = Resounding_Rendition()+Spirit_of_the_Season() conf['slots.paralysis.a'] = conf['slots.a'] conf['acl'] = """ `dragon.act('c3 s end'), x=5 or s `s2, s1.charged<=s1.sp-700 and s4.charged<=s4.sp-700 `s4, self.afflics.poison.get() or x=5 `s3 `s1 `fs, x=5 """ coab = ['Wand','Sharena','Peony'] conf['afflict_res.paralysis'] = 0 share = ['Ranzal','Curran'] def prerun(self): self.phase['s1'] = 0 self.vampire_maiden = X_alt(self, 'vampire_maiden', vm_auto_conf, x_proc=self.l_vm_x) def l_vm_x(self, e): self.vampire_maiden.x_proc_default(e) @staticmethod def prerun_skillshare(adv, dst): adv.rebind_function(Halloween_Elisanne, 's1_latency') adv.phase[dst] = 0 def s1_latency(self, t): Teambuff(t.name,0.13,15).on() def s1_proc(self, e): self.phase[e.name] += 1 with KillerModifier(e.name, 'hit', 0.2 * int(self.phase[e.name] == 3), ['paralysis']): self.dmg_make(e.name, 1.17) if self.phase[e.name] > 1: t = Timer(self.s1_latency) t.name = e.name t.on(2.5) self.afflics.paralysis(e.name, 120, 0.97) self.dmg_make(e.name, 1.17*6) self.phase[e.name] %= 3 def s2_proc(self, e): self.charge(e.name, 700) self.vampire_maiden.on()
class Lily(Adv): a1 = ('a', 0.20, 'hp100') a3 = [('prep', 1.00), ('scharge_all', 0.05)] conf = {} comment = 's1 for freeze/frostbite only' conf['slots.a'] = Candy_Couriers() + His_Clever_Brother() conf['slots.d'] = Gaibhne_and_Creidhne() conf['acl'] = """ `dragon.act('c3 s end'), cancel `s1, not self.sim_afflict `s3 `s4 `s2 """ coab = ['Blade', 'Renee', 'Dagger2'] share = ['Gala_Elisanne', 'Eugene'] # conf['slots.a'] = Candy_Couriers()+His_Clever_Brother() # conf['slots.d'] = Siren() # conf['acl'] = """ # `dragon.act('c3 s end'), cancel # `s3 # `s4 # `s2 # `s1 # """ # coab = ['Blade', 'Dagger', 'Lazry'] # share = ['Ranzal', 'Eugene'] def prerun(self): self.crystalian_princess = X_alt(self, 'crystalian_princess', cp_auto_conf, x_proc=self.l_cp_x) def l_cp_x(self, e): with KillerModifier('alt_x_killer', 'hit', 0.3, ['frostbite']): self.crystalian_princess.x_proc_default(e) def s1_proc(self, e): self.afflics.freeze(e.name, 200) self.afflics.frostbite(e.name, 120, 0.41) def s2_proc(self, e): self.crystalian_princess.on()