|
下面这段:
set A = 1
set DM = (LV - 1)*2 + 6)
loop
exitwhen A > 4
if ( IsUnitAliveBJ(u2) == true ) then
call CDamage(u1,u2,DM)
else
set A = 5
endif
set A = A + 1
endloop
endfunction
编译的时候会停在loop那里,说什么缺少表达式,为什么啊?
哦,修正了下set DM =( (LV - 1)*2 + 6),停在了else那里,说错误的名字 |
|