|
用YD检测....泄漏了一个点和一个特效...
但是自己看来看去.觉得都已经排泄了....想不明白..所以发上来求教.....
( 话说J区发帖求助了几次...发现石沉大海... 所以就发到这里了.
不过这个和J的关系不算大吧....)
[jass]
local effect u
local integer i = 1
local location d = GetUnitLoc(GetTriggerUnit())
local location d2 = PolarProjectionBJ(d,300,10)
local unit u1
set u1 = CreateUnitAtLoc( GetOwningPlayer(GetTriggerUnit()), 'h000', d, 0 )
call IssueImmediateOrder( u1, "stomp" )
call UnitApplyTimedLife(u1,'BHwe',3)
loop
exitwhen i > 36
set d2 = PolarProjectionBJ(d,300,10*i)
call DestroyEffect( AddSpecialEffectLoc("Abilities\\Weapons\\BallsOfFireMissile\\BallsOfFireMissile.mdl", d2 ))
set i = i + 1
endloop
call TriggerSleepAction(1)
call IssueTargetOrder( u1, "slow", GetTriggerUnit() )
set u = AddSpecialEffectTargetUnitBJ( "left hand", gg_unit_Hpal_0000, "war3mapImported\\mac1.mdx" )
call UnitAddAbility(gg_unit_Hpal_0000,'AHbh')
call TriggerSleepAction(15)
call UnitRemoveAbility(gg_unit_Hpal_0000,'AHbh')
call DestroyEffect(u)
call RemoveLocation(d)
call RemoveLocation(d2)
set d = null
set d2 = null
set u =null
set u1 = null
[/jass] |
|