|
function Trig_DLSYConditions takes nothing returns boolean
return((GetSpellAbilityId()=='A035'))
endfunction
function Trig_DLSYFunc007Func002002003 takes nothing returns boolean
return(((IsUnitType(GetFilterUnit(),UNIT_TYPE_STRUCTURE)==false)and((IsUnitAliveBJ(GetFilterUnit())==true)and(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(udg_T_Unit[33]))==true))))
endfunction
function Trig_DLSYFunc007Func003A takes nothing returns nothing
call UnitDamageTarget(udg_T_Unit[33],GetEnumUnit(),((6000.00*I2R(GetUnitAbilityLevel(udg_T_Unit[33],'A035')))+(I2R(GetHeroStatBJ(bj_HEROSTAT_INT,udg_T_Unit[33],true))*(10.00+(I2R(GetUnitAbilityLevel(udg_T_Unit[33],'A035'))*25.00)))),false,false,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_UNIVERSAL,WEAPON_TYPE_WHOKNOWS)
call CreateNUnitsAtLoc(1,'e00O',GetOwningPlayer(udg_T_Unit[33]),udg_S_Point[33],bj_UNIT_FACING)
set udg_M_unit[33]=GetLastCreatedUnit()
call SetUnitTimeScale(udg_M_unit[33],0.50)
call SetUnitScale(udg_M_unit[33],2.50,2.50,2.50)
call SetUnitAbilityLevel(udg_M_unit[33],'A036',(GetUnitAbilityLevel(udg_T_Unit[33],'A035')+3))
call IssueTargetOrder(udg_M_unit[33],"thunderbolt",GetEnumUnit())
call UnitApplyTimedLife(udg_M_unit[33],'BHwe',1.00)
call CreateTextTagLocBJ("死亡脉冲",udg_S_Point[33],100.00,18.00,50.00,100,100,25.00)
call SetTextTagVelocityBJ(GetLastCreatedTextTag(),90.00,90.00)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),1.50)
call SetTextTagFadepoint(GetLastCreatedTextTag(),0.50)
endfunction |
|