我想說 門外漢請不要胡亂說話
1.
function oS takes nothing returns nothing
set ye[0]=GetSpellTargetLoc()
call CreateNUnitsAtLoc(1,'hmil',GetOwningPlayer(GetTriggerUnit()),ye[0],bj_UNIT_FACING)
set Ox=bj_lastCreatedUnit
set Ix=GetTriggerUnit()
set Rx=0
call EnableTrigger(OR)
call StartTimerBJ(hx,true,.05)
call RemoveLocation(ye[0])
endfunction
2.
function IS takes nothing returns nothing
if(RS())then
if(OS())then
set ye[0]=GetUnitLoc(Ox)
set bj_wantDestroyGroup=true
call ForGroupBJ(xc(800.,ye[0],Condition(function ES)),function XS)
call AddSpecialEffectLocBJ(ye[0],"Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call KillUnit(Ox)
call RemoveLocation(ye[0])
endif
else
call SetUnitScalePercent(Ox,(100.+(15.*I2R(Rx))),(100.+(15.*I2R(Rx))),(100.+(15.*I2R(Rx))))
set Rx=(Rx+1)
endif
endfunction
3.
function XS takes nothing returns nothing
call UnitDamageTargetBJ(Ix,GetEnumUnit(),1200.,ATTACK_TYPE_HERO,DAMAGE_TYPE_ACID)
call AddSpecialEffectTargetUnitBJ("chest",GetEnumUnit(),"Objects\\Spawnmodels\\NightElf\\NEDeathSmall\\NEDeathSmall.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endfunction
1. 開始施法
2.3秒後
3.PickUnit的動作
在3中
並沒有判斷部隊生命的觸發
觸發並不說隨便說兩句便說真理 觸發取自14.1A信長之野望