<filename>adv/nobunaga.py<gh_stars>0
import adv.adv_test
from core.advbase import *
from slot.a import *
#from slot.d import *

def module():
    return Nobunaga

class Nobunaga(Adv):
    a1 = ('a',0.2,'hit15')
    conf = {}
    conf['slot.a'] = RR()+Primal_Crisis()
    conf['acl'] = """
        `s3, not this.s3_buff_on
        `s1
        `s2
        `fs, x=5
        """

    def prerun(this):
        this.ba = 0
    
    def s1_proc(this, e):
        this.ba = 1

    def s2_proc(this, e):
        if this.ba == 1:
            this.ba = 0
            this.dmg_make('o_s1_boost',5.59)

    def fs_proc(this, e):
        if this.ba == 1:
            this.ba = 0
            this.dmg_make('o_s1_boost',5.59)

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

<filename>adv/nobunaga.py<gh_stars>0
import adv.adv_test
from core.advbase import *
from slot.a import *
#from slot.d import *

def module():
    return Nobunaga

class Nobunaga(Adv):
    a1 = ('a',0.2,'hit15')
    conf = {}
    conf['slot.a'] = RR()+Primal_Crisis()
    conf['acl'] = """
        `s3, not this.s3_buff_on
        `s1
        `s2
        `fs, x=5
        """

    def prerun(this):
        this.ba = 0
    
    def s1_proc(this, e):
        this.ba = 1

    def s2_proc(this, e):
        if this.ba == 1:
            this.ba = 0
            this.dmg_make('o_s1_boost',5.59)

    def fs_proc(this, e):
        if this.ba == 1:
            this.ba = 0
            this.dmg_make('o_s1_boost',5.59)

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

#from slot.d import * `s3, not this.s3_buff_on         `s1         `s2         `fs, x=5