if(jieduan=0)
        setpos(0,19,48,121,200)
	hero[2][1]
	hero[0][0]=126
	hero[1][0]=65
	addHero(hero)
	sethp(4,8000)
	setJD(jieduan+1)
endif

if(jieduan=1)
	hp=gethp(4)
	if(hp>6000)
		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,14)
		removeBuff(4,1)
		setcontor(4,-1,1,15)
		talk[3]
		talk[0]="愿佛光照傻你!"
		talk[1]="提示：战斗进入#第二阶段$"
		talk[2]="提示：整场战斗持续到#11回合$后，将启动#无限佛光$计划，尽请期待。"
		setTalk(4,talk)
		setJD(jieduan+1)
	endif
endif

if(jieduan=2)
	if(count=9)
		talk[2]
		talk[0]="时间不多了，孩子们!"
		talk[1]="战斗提示：战斗进行到#第9回合$!"
		setTalk(4,talk)
	endif

	removeBuff(4,34)
	setmp(4,7000)
	if(count<11)
		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,4)=0)
			talk[1]
			talk[0]="我们的祖先一直在忽悠（护佑）着你！"
			setTalk(4,talk)
			setcontor(4,-1,1,15)
		else
			act[3]
			act[0]=42
			act[1]=39
			act[2]=40
			randomContor(4,act)
		endif
	endif
endif

ret
