if(jieduan=0)
        setpos(0,15,44,121,200)
	hero[2][1]
	hero[0][0]=122
	hero[1][0]=35
	addHero(hero)
	sethp(4,4500)
	setmp(4,4500)
	setJD(1)
endif

if(jieduan=1)
	hp=gethp(4)
	if(hp>2500)
		if(mod(count,5)=0)
			if(getbuff(2,1))
			else
				jieduan=4
			endif
		endif
		if(probability(70))
			act[2]
			act[0]=24
			act[1]=26
			randomContor(4,act)
		else
			setcontor(4,-1,0,0)
		endif
	else
		setspeed(4,999)
		sethp(4,2500)
		addBuff(4,12,-1,100)
		addBuff(4,2,-1,25)
		removeBuff(4,14)
		removeBuff(4,1)
		setcontor(4,-1,1,25)
		talk[2]
		talk[0]="真幸运，通常我要离开巢穴才能找到食物。(提示：战斗进入#第二阶段$)"
		talk[1]="战斗提示：虬龙变得#嗜血$，并且能够#一定概率咬昏目标$"
		setTalk(4,talk)
		setJD(3)
	endif
endif

if(jieduan=3)
	setspeed(4,92)
	if(mod(count,3)=0)
		jieduan=4
	endif
	setcontor(4,-1,0,0)
endif

if(jieduan=4)
	if(getbuff(4,1)|getbuff(4,14))
	else
		setspeed(4,999)
		talk[2]
		talk[0]="要明白你的处境，凡人。"
		talk[1]="战斗提示：角色被恐惧，出现负面的情绪(被震慑或护甲减弱)"
		setTalk(4,talk)
		removeBuff(4,1)
		setcontor(4,-1,-1,0)
		if(probability(50))
			removeBuff(1,23)
			removeBuff(1,23)
			removeBuff(1,23)
			addBuff(1,23,2,count*25)
			addBuff(2,23,2,count*25)
			addBuff(3,23,2,count*25)
		else
			addBuff(1,1,2,0)
			addBuff(2,1,2,0)
			addBuff(3,1,2,0)
		endif
	endif
endif

ret
