if(jieduan=0)
	hero[2][1]
	hero[0][0]=126
	hero[1][0]=70
	addHero(hero)
	sethp(4,15000)
	setJD(jieduan+1)
endif

if(jieduan=1)
	hp=gethp(4)
	if(hp>7000)
		if(probability(70))
			act[4]
			act[0]=39
			act[1]=40
			act[2]=41
			act[3]=42
			randomContor(4,act)
		else
			setcontor(4,-1,0,0)
		endif
	else
		setspeed(4,999)
		setmp(4,7000)
		sethp(4,7000)
		removeBuff(4,34)
		removeBuff(4,14)
		addBuff(4,8,1,0)
		setcontor(4,-1,1,15)
		talk[2]
		talk[0]="愿佛光照傻你!"
		talk[1]="提示：战斗进入第二阶段"
		setTalk(4,talk)
		setJD(jieduan+1)
	endif
endif

if(jieduan=2)
	setmp(4,7000)
	if(count<20)
		if(probability(50))
			act[3]
			act[0]=42
			act[1]=39
			act[2]=40
			randomContor(4,act)
		else
			setcontor(4,-1,0,0)
		endif
	else
		if(mod(count,3)=0)
			jieduan=3
		else
			act[3]
			act[0]=42
			act[1]=39
			act[2]=40
			randomContor(4,act)
		endif
	endif
endif

if(jieduan=3)
	talk[1]
	talk[0]="我们的祖先一直在忽悠着你！"
	setTalk(4,talk)
	setcontor(4,-1,1,15)
endif

ret
