📄 human.ai
字号:
set v71[2]=v71[2]+0
set v71[3]=v71[3]+0
set v71[4]=v71[4]+0
set v71[5]=v71[5]+0
set v71[6]=v71[6]+0
set v71[7]=v71[7]+0
set v71[8]=v71[8]+0
set v71[9]=v71[9]+0
set v71[10]=v71[10]+0
set v71[11]=v71[11]+0
endif
if v4b[4]>0 then
set v71[0]=v71[0]+0
set v71[1]=v71[1]+0
set v71[2]=v71[2]+0
set v71[3]=v71[3]+0
set v71[4]=v71[4]+0
set v71[5]=v71[5]+0
set v71[6]=v71[6]+0
set v71[7]=v71[7]+0
set v71[8]=v71[8]+10
set v71[9]=v71[9]+10
set v71[10]=v71[10]+0
set v71[11]=v71[11]+0
endif
if v4c[4]>0 then
set v71[0]=v71[0]+0
set v71[1]=v71[1]+0
set v71[2]=v71[2]+0
set v71[3]=v71[3]+0
set v71[4]=v71[4]+0
set v71[5]=v71[5]+0
set v71[6]=v71[6]+0
set v71[7]=v71[7]+0
set v71[8]=v71[8]+0
set v71[9]=v71[9]+0
set v71[10]=v71[10]+0
set v71[11]=v71[11]+0
endif
set v71[0]=v71[0]+-20
set v71[1]=v71[1]+-12
set v71[2]=v71[2]+-18
set v71[3]=v71[3]+-8
set v71[4]=v71[4]+-10
set v71[5]=v71[5]+-5
set v71[6]=v71[6]+-19
set v71[7]=v71[7]+-3
set v71[8]=v71[8]+20
set v71[9]=v71[9]+0
set v71[10]=v71[10]+-12
set v71[11]=v71[11]+-10
set v75=v76()
set v71[0]=v71[0]--20
set v71[1]=v71[1]--12
set v71[2]=v71[2]--18
set v71[3]=v71[3]--8
set v71[4]=v71[4]--10
set v71[5]=v71[5]--5
set v71[6]=v71[6]--19
set v71[7]=v71[7]--3
set v71[8]=v71[8]-20
set v71[9]=v71[9]-0
set v71[10]=v71[10]--12
set v71[11]=v71[11]--10
set v71[0]=v71[0]+10
set v71[1]=v71[1]+10
set v71[2]=v71[2]+-6
set v71[3]=v71[3]+-3
set v71[4]=v71[4]+-3
set v71[5]=v71[5]+-2
set v71[6]=v71[6]+-6
set v71[7]=v71[7]+-1
set v71[8]=v71[8]+0
set v71[9]=v71[9]+10
set v71[10]=v71[10]+0
set v71[11]=v71[11]+0
call v74(v23[v51],v24[v51])
call v77()
set v71[0]=v71[0]-10
set v71[1]=v71[1]-10
set v71[2]=v71[2]--6
set v71[3]=v71[3]--3
set v71[4]=v71[4]--3
set v71[5]=v71[5]--2
set v71[6]=v71[6]--6
set v71[7]=v71[7]--1
set v71[8]=v71[8]-0
set v71[9]=v71[9]-10
set v71[10]=v71[10]-0
set v71[11]=v71[11]-0
set v71[0]=v71[0]+0
set v71[1]=v71[1]+0
set v71[2]=v71[2]+0
set v71[3]=v71[3]+0
set v71[4]=v71[4]+0
set v71[5]=v71[5]+0
set v71[6]=v71[6]+0
set v71[7]=v71[7]+0
set v71[8]=v71[8]+0
set v71[9]=v71[9]+0
set v71[10]=v71[10]+32
set v71[11]=v71[11]+0
call v78()
endfunction
function v79 takes nothing returns nothing
local integer v7a=0
set v7a=v7b(9)
if v7a>=v7c then
set v51=v52
else
call v7d(v7c,9,90)
endif
endfunction
function v7e takes nothing returns nothing
local integer v7f=0
set v7f=v7b(16)
if v7f>=v80 then
set v51=v52
else
call v7d(v80,16,90)
endif
endfunction
function v81 takes nothing returns nothing
local integer v82=0
set v82=v7b(21)
if v82>=v83 then
set v51=v52
else
call v7d(v83,21,90)
endif
endfunction
function v84 takes nothing returns nothing
local integer v85=0
set v85=v7b(14)
if v85>=v86 then
set v51=v52
else
call v7d(v86,14,90)
endif
endfunction
function v87 takes nothing returns nothing
local integer v88=0
set v88=v7b(41)
if v88>=v89 then
set v51=v52
else
call v7d(v89,41,90)
endif
endfunction
function v8a takes nothing returns nothing
local integer v8b=0
set v8b=v7b(40)
if v8b>=v8c then
set v51=v52
else
call v7d(v8c,40,90)
endif
endfunction
function v8d takes nothing returns nothing
if v51==50 then
call v79()
elseif v51==51 then
call v7e()
elseif v51==52 then
call v81()
elseif v51==53 then
call v84()
elseif v51==54 then
call v87()
elseif v51==55 then
call v8a()
endif
endfunction
function v8e takes nothing returns nothing
if hero[1]==343 then
call v8f(1,1,1)
elseif hero[2]==343 then
call v8f(2,1,2)
elseif hero[3]==343 then
call v8f(3,1,3)
endif
if hero[1]==344 then
call v8f(1,2,1)
elseif hero[2]==344 then
call v8f(2,2,2)
elseif hero[3]==344 then
call v8f(3,2,3)
endif
if hero[1]==345 then
call v8f(1,3,1)
elseif hero[2]==345 then
call v8f(2,3,2)
elseif hero[3]==345 then
call v8f(3,3,3)
endif
if hero[1]==346 then
call v8f(1,4,1)
elseif hero[2]==346 then
call v8f(2,4,2)
elseif hero[3]==346 then
call v8f(3,4,3)
endif
if hero[1]==347 then
call v8f(1,5,1)
elseif hero[2]==347 then
call v8f(2,5,2)
elseif hero[3]==347 then
call v8f(3,5,3)
endif
if hero[1]==348 then
call v8f(1,6,1)
elseif hero[2]==348 then
call v8f(2,6,2)
elseif hero[3]==348 then
call v8f(3,6,3)
endif
if hero[1]==350 then
call v8f(1,7,1)
elseif hero[2]==350 then
call v8f(2,7,2)
elseif hero[3]==350 then
call v8f(3,7,3)
endif
if hero[1]==351 then
call v8f(1,8,1)
elseif hero[2]==351 then
call v8f(2,8,2)
elseif hero[3]==351 then
call v8f(3,8,3)
endif
if hero[1]==1 then
call v8f(1,9,1)
elseif hero[2]==1 then
call v8f(2,9,2)
elseif hero[3]==1 then
call v8f(3,9,3)
endif
if hero[1]==3 then
call v8f(1,10,1)
elseif hero[2]==3 then
call v8f(2,10,2)
elseif hero[3]==3 then
call v8f(3,10,3)
endif
if hero[1]==2 then
call v8f(1,11,1)
elseif hero[2]==2 then
call v8f(2,11,2)
elseif hero[3]==2 then
call v8f(3,11,3)
endif
if hero[1]==4 then
call v8f(1,12,1)
elseif hero[2]==4 then
call v8f(2,12,2)
elseif hero[3]==4 then
call v8f(3,12,3)
endif
endfunction
function v90 takes boolean inj returns nothing
set wave=wave+1
call v91()
if inj then
call RemoveInjuries()
endif
call v92(hero[1])
call v92(hero[2])
call v92(hero[3])
call v92(9)
call v92(10)
call v92(14)
call v92(15)
call v92(16)
call v92(17)
call v92(18)
call v92(20)
call v92(21)
call v92(22)
call v92(23)
call v92(24)
call v92(25)
call v92(26)
call v92(28)
call v92(29)
call v92(30)
call v92(31)
call v92(229)
call v92(230)
call v92(231)
call v92(232)
call v92(233)
call v92(349)
call v92(352)
call v92(353)
call v92(354)
call v93()
endfunction
function v14b takes integer food,integer prio returns nothing
call v14c(food,true,v11c,GetFoodUsed(v14d[v11c]),v14e(v11d),v11d,GetFoodUsed(v14d[v11d]),prio)
endfunction
function v94 takes nothing returns nothing
local integer gn=v95(v96)
local integer wood=v97()
if wood>v98 then
set v11=true
elseif wood<v98 then
set v11=false
endif
if v11 then
set v99=gn-1
elseif wave==1 then
set v99=v9a(4,gn-2)
elseif wave==2 then
set v99=v9a(5,gn-2)
elseif wood<v9b then
set v99=gn-v9a(4-(4*v95(v9c)),0)
elseif wood>v9b and wood<v98/2 then
set v99=gn-v9a(3-(4*v95(v9c)),0)
else
set v99=gn-v9a(2-(4*v95(v9c)),0)
endif
set v99=v9d(v9a(v99,0),gn-1)
if not v9e and wood<v9b then
set v9f=1
else
set v9f=1
endif
endfunction
function va0 takes nothing returns nothing
call va1(1,42,true,0,50,36)
call va1(1,34,true,0,50,36)
call va1(1,43,false,0,50,36)
call va1(8,93,true,0,41,2)
call va2(1,2,14)
call va2(3,2,16)
if v36 then
call va1(2,47,false,0,43,36)
endif
endfunction
function va3 takes nothing returns nothing
call va4(2,40,75)
call va4(1,51,70)
call va5(2,40,40)
call v14f(1,51,40)
if v150()<5000 then
call v7d(2,51,60)
endif
call va6(1,380,90)
call va6(2,380,50)
call va6(1,406,40)
call va6(1,407,40)
call va6(1,412,50)
if tier==1 then
call va6(1,408,100)
endif
if tier>1 then
call va6(1,383,80)
call va6(1,385,150)
endif
if tier==3 then
call va6(1,388,70)
endif
if tier==1 then
endif
if v5d>10 then
call va7(1,57,1,v95(14),5,0,0,8)
endif
if vd9 then
call vae(1,55,100)
endif
call va7(3,55,1,1,2,-1,5,35)
call va7(3,52,1,v95(14)+v95(17)+v95(28)+v95(29)+v95(16),10,-3,2,6)
call va7(3,54,1,v95(14)+v95(17)+v95(28)+v95(9)+v95(24),10,-3,2,4)
call va7(3,53,1,v95(21)+v95(9)+v95(24)+v95(18),10,-3,2,6)
call va7(3,61,1,v95(21)+v95(16)+v95(29)+v95(18),10,-3,2,4)
if tier==2 then
endif
call va7(1,64,2,v95(48),1,0,2,5)
call va7(2,63,2,1,0,0,0,50)
call va7(1,65,2,v95(9),4,-2,2,8)
call va7(1,70,2,v95(9),3,-2,2,8)
call va7(1,62,2,v95(21),8,-4,2,8)
call va7(1,67,2,v95(28),8,-4,2,5)
call va7(1,56,2,v95(18),4,-1,1,2)
call va7(2,59,2,v95(20),5,-2,2,8)
call va7(2,60,2,v95(23),5,-2,2,8)
if tier==3 then
endif
call va7(1,68,3,v95(18),3,0,0,10)
call va7(1,66,3,v95(16),4,0,0,10)
call va7(1,58,3,v95(17)+v95(16)+v95(29),3,0,0,10)
call v7d(v9a(2-v95(20),0),va8,40)
call v7d(v9a(2-v95(va8),0),20,40)
call va9(1,0,true,9,0.75,0,GetPlayerRace(vaa)!=RACE_UNDEAD and v95(14)>8,50,80)
call va9(3,0,true,9,0.75,0,GetPlayerRace(vaa)!=RACE_UNDEAD and v95(16)>6,80,100)
endfunction
function v151 takes nothing returns nothing
call va2(2,4,14)
call va2(2,1,21)
set vac=2
endfunction
function v152 takes nothing returns nothing
if tier==3 then
call v7d(3,21,50)
call v7d(2,18,10)
call v7d(2,9,10)
call v7d(2,29,40)
call v7d(2,28,40)
call v7d(6,17,55)
call v7d(7,16,40)
call v7d(4,21,50)
call v7d(3,23,40)
call v7d(2,20,40)
call v7d(1,37,10)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(1,hero[3],40)
call v7d(1,50,70)
call va5(1,51,55)
call v7d(1,129,50)
elseif tier==2 then
call v7d(1,hero[1],80)
call v7d(8,14,65)
call v7d(4,21,55)
call v7d(1,50,57)
call va5(1,51,57)
call v7d(1,hero[2],50)
call v7d(2,18,45)
call v7d(1,37,45)
else
call v7d(1,hero[1],80)
call v7d(8,14,65)
call v7d(3,21,55)
call v7d(1,50,54)
call v153(GetMinesOwned()<2,47,53)
call va5(1,51,45)
call v7d(4,21,43)
call v7d(1,43,42)
endif
endfunction
function v154 takes nothing returns nothing
call va2(2,5,23)
call va2(2,2,28)
set vac=2
endfunction
function v155 takes nothing returns nothing
if tier==3 then
call v14b(15,52)
call v7d(8,28,40)
call v7d(18,23,40)
call v7d(15,20,44)
call v7d(1,37,10)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(1,hero[3],40)
call v7d(1,50,50)
call v7d(3,51,55)
elseif tier==2 then
call v7d(6,28,35)
call v7d(1,37,30)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(8,23,40)
call v7d(8,20,44)
call v7d(1,50,60)
call v7d(2,51,55)
else
call v7d(1,hero[1],80)
call v7d(6,14,44)
call v7d(1,43,50)
call va5(1,51,50)
endif
endfunction
function v156 takes nothing returns nothing
call va2(2,5,14)
call va2(2,2,17)
set vac=2
endfunction
function v157 takes nothing returns nothing
if tier==3 then
call v7d(1,hero[1],90)
call v7d(1,hero[2],80)
call v7d(1,hero[3],80)
call v14b(50,36)
call v7d(12,17,40)
call v7d(6,20,50)
call v7d(3,40,65)
call v7d(1,50,50)
call v7d(1,129,50)
elseif tier==2 then
call v7d(1,hero[1],90)
call v7d(1,hero[2],80)
call v14b(50,36)
call v7d(4,20,40)
call v7d(2,40,55)
call v7d(1,37,70)
call v7d(1,50,60)
call v7d(1,129,50)
else
call v7d(1,hero[1],90)
call v14b(20,50)
call v7d(1,40,45)
call v7d(1,43,66)
call va5(1,51,55)
endif
endfunction
function v158 takes nothing returns nothing
call va2(2,2,20)
call va2(2,2,28)
call va2(2,2,16)
set vac=2
endfunction
function v159 takes nothing returns nothing
if tier==3 then
call vb3(20,0,16,0,29,v5a,8,16,50)
call v7d(3,29,40)
call v7d(7,16,38)
call v7d(4,20,48)
call v7d(1,37,10)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(1,hero[3],40)
call v7d(1,50,50)
call v7d(1,129,50)
elseif tier==2 then
call v7d(8,14,60)
call v7d(3,16,25)
call v7d(2,29,30)
call v7d(1,16,20)
call v7d(2,20,40)
call v7d(1,37,55)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(1,50,60)
call v7d(1,129,50)
else
call v7d(1,hero[1],80)
call v7d(6,14,44)
call v7d(1,43,50)
call va5(1,51,50)
endif
endfunction
function v15a takes nothing returns nothing
call va1(1,35,false,1,41,60)
call va1(1,35,false,9,19,60)
call va1(1,35,true,0,50,60)
call va2(2,6,21)
set vac=2
endfunction
function v15b takes nothing returns nothing
if tier==3 then
call v7d(19,21,40)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(8,20,52)
call v7d(1,50,50)
elseif tier==2 then
call v7d(15,21,45)
call v7d(1,hero[1],80)
call v7d(1,hero[2],60)
call v7d(4,20,48)
call v7d(1,37,50)
call v7d(1,50,60)
else
call v7d(1,vaf,60)
call v7d(10,21,48)
call v7d(1,14,60)
call v7d(1,hero[1],80)
call v7d(1,43,50)
endif
endfunction
function v15c takes nothing returns nothing
call va1(1,35,false,1,41,60)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -