<reponame>smashwidget/dl-1
import adv.adv_test
import adv
from slot.a import *
from slot.d import *
from slot.a import *

def module():
    return Musashi

class Musashi(adv.Adv):
    a1 = ('lo',0.40)
    a3 = ('od',0.08)
    conf = {}
    conf['slot.d'] = Pazuzu()
    conf['slot.a'] = RR()+The_Plaguebringer()
    conf['acl'] = """
        `s2, seq=5
        `s1
        `s3, s
        """
    conf['cond_afflict_res'] = 0
    def d_slots(this):
        this.conf.slot.a = RR()+TP()
        if 'bow' in this.ex:
            this.conf.slot.d = Vayu()

    def prerun(this):
        if this.condition('{} resist'.format(this.conf['cond_afflict_res'])):
            this.afflics.poison.resist=this.conf['cond_afflict_res']
        else:
            this.afflics.poison.resist=100

    def s1_proc(this, e):
        this.afflics.poison('s1',110,0.53)


if __name__ == '__main__':
    conf = {}
    adv.adv_test.test(module(), conf, verbose=0, mass=0)


import adv.adv_test
import adv
from slot.a import *
from slot.d import *
from slot.a import *

def module():
    return Musashi

class Musashi(adv.Adv):
    a1 = ('lo',0.40)
    a3 = ('od',0.08)
    conf = {}
    conf['slot.d'] = Pazuzu()
    conf['slot.a'] = RR()+The_Plaguebringer()
    conf['acl'] = """
        `s2, seq=5
        `s1
        `s3, s
        """
    conf['cond_afflict_res'] = 0
    def d_slots(this):
        this.conf.slot.a = RR()+TP()
        if 'bow' in this.ex:
            this.conf.slot.d = Vayu()

    def prerun(this):
        if this.condition('{} resist'.format(this.conf['cond_afflict_res'])):
            this.afflics.poison.resist=this.conf['cond_afflict_res']
        else:
            this.afflics.poison.resist=100

    def s1_proc(this, e):
        this.afflics.poison('s1',110,0.53)


if __name__ == '__main__':
    conf = {}
    adv.adv_test.test(module(), conf, verbose=0, mass=0)
`s2, seq=5         `s1         `s3, s