if(jieduan=0)
	hero[2][1]
	hero[0][0]=126
	hero[1][0]=60+4
	addHero(hero)
        sethp(4,30*getGrade(-1)+30000)
        addBuff(4,4,10000,800)
	setJD(jieduan+1)
endif
if(jieduan=1)
    talk[1]
    talk[0]="这就是逆天的结果！"
    setTalk(4,talk)
    setcontor(4,-1,1,26)
    setJD(jieduan+1)
endif
if(jieduan=2)
    if(count<3)
        setcontor(4,-1,1,34)
    else
        if(probability(30))
            setcontor(4,-1,1,33)
        else
            randomAllContor()
        endif
    endif
    if(count>=7)
        setJD(jieduan+1)
    endif
endif
if(jieduan=3)
    talk[1]
    talk[0]="啊哈小子们，你们让我有点烦了！"
    setTalk(4,talk)
    addBuff(4,3,2,20000)
    setJD(jieduan+1)
endif
if(jieduan=4)
    removeBuff(4,3)
    if(probability(10))
        addBuff(4,2,3,0)
    endif
    if(probability(10))
        addBuff(4,20,3,0)
    endif
    if(probability(30))
        addBuff(4,19,3,700)
    endif 
    addBuff(4,12,5,90)
    addBuff(4,27,5,200)
    addBuff(4,13,5,150)
    setcontor(4,-1,0,0)
    if(mod(count,5)=0)
        setJD(jieduan+1)
    endif
    if(count>=25)
        setJD(jieduan+2)
    endif
endif
if(jieduan=5)
    talk[1]
    talk[0]="休息，休息一下！"
    setTalk(4,talk)
    setcontor(4,-1,1,29)
    if(mod(count,2)=0)
        setJD(jieduan-1)
    endif
endif
if(jieduan=6)
    talk[1]
    talk[0]="超过了，超过了，受死吧！"
    setTalk(4,talk)
    addBuff(4,3,2,15000)
    setcontor(4,-1,1,29)
    setJD(jieduan+1)
endif
if(jieduan=7)
    removeBuff(4,3)
    trick[4]
    trick[0]=20
    trick[1]=21
    trick[2]=26
    trick[3]=27
    randomContor(4,trick)
    if(count>50)
        setJD(jieduan-4)
    endif
endif
ret
