if(jieduan=0)

	hero[2][3]
	hero[0][0]=20
	hero[0][1]=21
	hero[0][2]=20
	hero[1][0]=15
	hero[1][1]=15
	hero[1][2]=15
	addHero(hero)
	sethp(5,1000)
	sethp(4,500)
	sethp(6,500)
	setmp(5,500)
	setmp(4,300)
	setmp(6,300)
        setJD(jieduan+1)
endif

if(jieduan=1)
    if(gethp(5)<1000)
        talk[1]
	talk[0]="谁敢惹我!"
	setTalk(5,talk)
	setJD(jieduan+1)
    endif

    if(probability(70))
        setcontor(5,-1,1,20)
    else
        setcontor(5,-1,-1,0)
    endif
endif

if(jieduan=2)
        if(probability(85))
                setcontor(5,-1,0,0)
	else
		setcontor(5,-1,-1,0)
	endif

        if(gethp(5)<=600)
           talk[1]
	   talk[0]="看来你们是不把我放在眼里了！"
	   setTalk(5,talk)
	   setJD(jieduan+1)
           jieduan=jieduan+1
	endif
endif

if(jieduan=3)
	if(probability(70))
            act[4]
            act[0]=20
            act[1]=32
            act[2]=30
            act[3]=31
            randomContor(5,act)
         else
            setcontor(5,-1,0,0) 
        endif

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

if(jieduan=4)
        if(probability(75))
            act[4]
            act[0]=20
            act[1]=32
            act[2]=30
            act[3]=31
            randomContor(5,act)
         else
            setcontor(5,-1,0,0) 
        endif
endif

ret
