if(jieduan=0)
	hero[2][3]  
	hero[0][0]=17
        hero[0][1]=18
        hero[0][2]=17
	hero[1][0]=18
        hero[1][1]=20
        hero[1][2]=18
	addHero(hero)
        sethp(4,800)
	sethp(5,2000)
        sethp(6,800)
	setmp(4,400)
        setmp(5,600)
        setmp(4,400)
        setJD(jieduan+1)
endif

if(jieduan=1)
    if(probability(70))
        act[3]
        act[0]=34
        act[1]=33
        act[2]=21
        randomContor(5,act)
    else
        addBuff(5,17,3,150)
        setcontor(5,-1,0,0)
    endif

   if(gethp(5)<1800)
      setJD(jieduan+1)
    endif
endif

if(jieduan=2)
    setcontor(5,-1,1,33)
    setJD(jieduan+1)
endif

if(jieduan=3)
    if(gethp(5)<1500)
         talk[1]
         talk[0]="神打，吕布上身~"
         setTalk(5,talk)
         setJD(jieduan+1)
    endif

    if(probability(70))
        act[3]
        act[0]=34
        act[1]=33
        act[2]=21
        randomContor(5,act)
    else
        setcontor(5,-1,0,0)
    endif
endif

if(jieduan=4)
    if(probability(75))
        setcontor(5,5,0,34)
    else
        setcontor(5,-1,0,0)
    endif

    if(gethp(5)<1200)
         talk[1]
         talk[0]="哼！我有方天画戟和赤兔马！"
         setTalk(5,talk)
         setcontor(5,-1,1,33)
         setJD(6)
    endif
endif

if(jieduan=6)
    randomAllContor()

    if(gethp(5)<400)
         talk[1]
         talk[0]="看我辕门射戟吧！"
         setTalk(5,talk)
         setcontor(5,-1,1,33)
         setJD(8)
    endif
endif

if(jieduan=8)
    if(probability(75))
        setcontor(5,5,1,34)
    else
        setcontor(5,-1,0,0)
    endif
endif

ret
