if(jieduan=0)
        setpos(0,16,45,121,200)
	hero[2][1]
	hero[0][0]=124
	hero[1][0]=50
	addHero(hero)
	setJD(jieduan+1)
	sethp(4,10000)
	setmp(4,10000)
endif

if(jieduan=1)
	hp=gethp(4)
	if(hp>7500)
		if(probability(70))
			act[3]
			act[0]=7
			act[1]=23
			act[2]=9
			randomContor(4,act)
		else
			setcontor(4,-1,0,0)
		endif
	else
		setspeed(4,999)
		sethp(4,7500)
		setmp(4,7500)
		addBuff(1,1,3,0)
		addBuff(2,1,3,0)
		addBuff(3,1,3,0)
		removeBuff(4,14)
		removeBuff(4,1)
		setcontor(4,-1,1,25)
		talk[2]
		talk[0]="战栗吧!凡人!"
		talk[1]="提示：战斗进入#第二阶段$，角色被#震慑3回合$"
		setTalk(4,talk)
		setJD(jieduan+1)
	endif
endif

if(jieduan=2)
	setspeed(4,116)
	hp=gethp(4)
	if(hp>5000)
		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,5000)
		setmp(4,5000)
		removeBuff(4,14)
		removeBuff(4,1)
		setcontor(4,-1,1,10)
		talk[2]
		talk[0]="享受这千年的寒冰吧!"
		talk[1]="提示：战斗进入#第三阶段$"
		setTalk(4,talk)
		setJD(jieduan+1)
	endif
endif

if(jieduan=3)
	setspeed(4,116)
	if(probability(70))
		act[2]
		act[0]=26
		act[1]=10
		randomContor(4,act)
	else
		setcontor(4,-1,0,0)
	endif
endif

ret
