....
Gamefr@nk Дата: Вторник, 03 Августа 2010, 19:42:17 | Сообщение # 1
8 уровень
Группа: Проверенные
Сообщений: 638
Награды:
0
Репутация:
188
Блокировки:
Во истинну понимаю что нубо вопросы и есть раздел по помоши скиллов но там не отвечают..... Вот короче сделал спеллы создаються дамми и должны пустить Волны силы,Пронзающию смерть, И хилку.... Но начинают пускать они только после 3-4 применения...
function Trig_AOE1_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A000' ) ) then
return false
endif
return true
endfunction
function Trig_AOE1_Func001C takes nothing returns boolean if ( not ( GetUnitAbilityLevelSwapped('A000', udg_q) == 1 ) ) then return false endif return true endfunction
function Trig_AOE1_Actions takes nothing returns nothing if ( Trig_AOE1_Func001C() ) then call DisplayTimedTextToForce(GetPlayersAll(), 30,"AOE") call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 0), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 70), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 140), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 210), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 600, 0), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 600, 70), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 600, 140), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 600, 210), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 600, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 0), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 70), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 140), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 210), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 0), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 70), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 140), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 210), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 900, 0), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 900, 70), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 900, 140), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 900, 210), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 900, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() ) else call DoNothing( ) endif endfunction
//=========================================================================== function InitTrig_AOE1 takes nothing returns nothing set gg_trg_AOE1 = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_AOE1, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddCondition( gg_trg_AOE1, Condition( function Trig_AOE1_Conditions ) ) call TriggerAddAction( gg_trg_AOE1, function Trig_AOE1_Actions ) endfunction
function Trig_Txt_Func001C takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A000' ) ) then
return false
endif
return true
endfunction
function Trig_Txt_Actions takes nothing returns nothing if ( Trig_Txt_Func001C() ) then call CreateNUnitsAtLoc( 1, 'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700, 0), bj_UNIT_FACING ) set udg_W[0] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 35), bj_UNIT_FACING )//Создали дамми set udg_W[1] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 70), bj_UNIT_FACING ) set udg_W[2] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 105), bj_UNIT_FACING ) set udg_W[3] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 140), bj_UNIT_FACING ) set udg_W[4] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 185), bj_UNIT_FACING ) set udg_W[5] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 210), bj_UNIT_FACING ) set udg_W[6] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 245), bj_UNIT_FACING ) set udg_W[7] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 280), bj_UNIT_FACING ) set udg_W[8] = GetLastCreatedUnit( ) call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 315), bj_UNIT_FACING ) set udg_W[9] = GetLastCreatedUnit( ) call IssuePointOrderLocBJ( udg_W[0], "shockwave", GetUnitLoc(GetTriggerUnit()) ) // Заставили дамми пускать скилл call IssuePointOrderLocBJ( udg_W[1], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[2], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[3], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[4], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[5], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[6], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[7], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[8], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_W[9], "shockwave", GetUnitLoc(GetTriggerUnit()) ) call TriggerSleepAction( 3 ) call RemoveUnit( udg_W[0] ) call RemoveUnit( udg_W[1] ) call RemoveUnit( udg_W[2] ) call RemoveUnit( udg_W[3] ) call RemoveUnit( udg_W[4] ) call RemoveUnit( udg_W[5] ) call RemoveUnit( udg_W[6] ) call RemoveUnit( udg_W[7] ) call RemoveUnit( udg_W[8] ) call RemoveUnit( udg_W[9] ) // Удаляем юнита set udg_W[0] = null // Пока не уверен ну на всякий случай обнулил переменную) set udg_W[1] = null set udg_W[2] = null set udg_W[3] = null set udg_W[4] = null set udg_W[5] = null set udg_W[6] = null set udg_W[7] = null set udg_W[8] = null set udg_W[9] = null else call DoNothing( ) endif endfunction
//=========================================================================== function InitTrig_Txt takes nothing returns nothing set gg_trg_Txt = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_Txt, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddAction( gg_trg_Txt, function Trig_Txt_Actions ) endfunction
function Trig_Twow_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A001' ) ) then
return false
endif
return true
endfunction
function Trig_Twow_Actions takes nothing returns nothing call CreateNUnitsAtLoc( 1, 'h000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 0), bj_UNIT_FACING ) set udg_ManaSos[0] = GetLastCreatedUnit( ) call TriggerSleepAction( 0.50 ) call IssueTargetOrderBJ( udg_ManaSos[0], "heal", GetTriggerUnit() ) call CreateNUnitsAtLoc( 1, 'h000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 70), bj_UNIT_FACING ) set udg_ManaSos[1] = GetLastCreatedUnit( ) call TriggerSleepAction( 0.50 ) call IssueTargetOrderBJ( udg_ManaSos[1], "heal", GetTriggerUnit() ) call CreateNUnitsAtLoc( 1, 'h000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 140), bj_UNIT_FACING ) set udg_ManaSos[2] = GetLastCreatedUnit( ) call TriggerSleepAction( 0.50 ) call IssueTargetOrderBJ( udg_ManaSos[2], "heal", GetTriggerUnit() ) call CreateNUnitsAtLoc( 1, 'h000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 210), bj_UNIT_FACING ) set udg_ManaSos[3] = GetLastCreatedUnit( ) call TriggerSleepAction( 0.50 ) call IssueTargetOrderBJ( udg_ManaSos[3], "heal", GetTriggerUnit() ) call CreateNUnitsAtLoc( 1, 'h000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500, 280), bj_UNIT_FACING ) set udg_ManaSos[4] = GetLastCreatedUnit( ) call TriggerSleepAction( 0.50 ) call IssueTargetOrderBJ( udg_ManaSos[4], "heal", GetTriggerUnit() ) call TriggerSleepAction( 1 ) call RemoveUnit ( udg_ManaSos[0] ) call RemoveUnit ( udg_ManaSos[1] ) call RemoveUnit ( udg_ManaSos[2] ) call RemoveUnit ( udg_ManaSos[3] ) call RemoveUnit ( udg_ManaSos[4] ) set udg_ManaSos[0] = null set udg_ManaSos[1] = null set udg_ManaSos[2] = null set udg_ManaSos[3] = null set udg_ManaSos[4] = null endfunction
//=========================================================================== function InitTrig_Twow takes nothing returns nothing set gg_trg_Twow = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_Twow, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddCondition( gg_trg_Twow, Condition( function Trig_Twow_Conditions ) ) call TriggerAddAction( gg_trg_Twow, function Trig_Twow_Actions ) endfunction
function Trig_NEw_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A002' ) ) then
return false
endif
return true
endfunction
function Trig_NEw_Actions takes nothing returns nothing set udg_D[5] = GetTriggerUnit ( ) call CreateNUnitsAtLoc( 1, 'h001', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500.00, 0), bj_UNIT_FACING ) set udg_D[0] = GetLastCreatedUnit() call CreateNUnitsAtLoc( 1, 'h001', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500.00, 70), bj_UNIT_FACING ) set udg_D[1] = GetLastCreatedUnit() call CreateNUnitsAtLoc( 1, 'h001', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500.00, 140), bj_UNIT_FACING ) set udg_D[2] = GetLastCreatedUnit() call CreateNUnitsAtLoc( 1, 'h001', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500.00, 210), bj_UNIT_FACING ) set udg_D[3] = GetLastCreatedUnit() call CreateNUnitsAtLoc( 1, 'h001', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 500.00, 280), bj_UNIT_FACING ) set udg_D[4] = GetLastCreatedUnit() call TriggerSleepAction( 1 ) call IssuePointOrderLocBJ( udg_D[0], "impale", GetUnitLoc(udg_D[1]) ) call IssuePointOrderLocBJ( udg_D[1], "impale", GetUnitLoc(udg_D[2]) ) call IssuePointOrderLocBJ( udg_D[2], "impale", GetUnitLoc(udg_D[3]) ) call IssuePointOrderLocBJ( udg_D[3], "impale", GetUnitLoc(udg_D[4]) ) call IssuePointOrderLocBJ( udg_D[4], "impale", GetUnitLoc(udg_D[0]) ) call TriggerSleepAction( 2 ) call IssuePointOrderLocBJ( udg_D[0], "impale", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_D[1], "impale", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_D[2], "impale", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_D[3], "impale", GetUnitLoc(GetTriggerUnit()) ) call IssuePointOrderLocBJ( udg_D[4], "impale", GetUnitLoc(GetTriggerUnit()) ) call TriggerSleepAction( 2 ) call RemoveUnit( udg_D[0] ) call RemoveUnit( udg_D[1] ) call RemoveUnit( udg_D[2] ) call RemoveUnit( udg_D[3] ) call RemoveUnit( udg_D[4] ) set udg_D[0] = null set udg_D[1] = null set udg_D[2] = null set udg_D[3] = null set udg_D[4] = null endfunction //=========================================================================== function InitTrig_NEw takes nothing returns nothing set gg_trg_NEw = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_NEw, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddCondition( gg_trg_NEw, Condition( function Trig_NEw_Conditions ) ) call TriggerAddAction( gg_trg_NEw, function Trig_NEw_Actions ) endfunction
Ахил Дата: Вторник, 03 Августа 2010, 21:04:37 | Сообщение # 2
9 уровень
Группа: Проверенные
Сообщений: 831
Награды:
0
Репутация:
191
Блокировки:
Что за название "..."?
Banava Дата: Вторник, 03 Августа 2010, 21:56:10 | Сообщение # 3
1 уровень
Группа: Пользователи
Сообщений: 1
Награды:
1
Репутация:
0
Блокировки:
Мать моя... Оптимизь код)
Gamefr@nk Дата: Вторник, 03 Августа 2010, 22:05:06 | Сообщение # 4
8 уровень
Группа: Проверенные
Сообщений: 638
Награды:
0
Репутация:
188
Блокировки:
Эмм я джасс ток учу)) вот))
EdiTTORR Дата: Четверг, 05 Августа 2010, 12:46:49 | Сообщение # 5
8 уровень
Группа: Проверенные
Сообщений: 585
Награды:
0
Репутация:
147
Блокировки:
Локалки юзай ато читать глаза болят Quote (Gamefr@nk )
call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 185), bj_UNIT_FACING ) set udg_W[5] = GetLastCreatedUnit( )
[code] set udg_W[5]=CreateUnit(Player(0),'e000',GetUnitX(GetTriggerUnit)+700*Cos(185*bjDEGTORAD),GetUnitY(GetTriggerUnit)+700*Sin(185*bjDEGTORAD))Добавлено (04-08-2010, 20:54) --------------------------------------------- [/code]
Добавлено (04-08-2010, 20:55) --------------------------------------------- а и еще ,bj_UNIT_FACING после всего
Добавлено (05-08-2010, 12:46) ---------------------------------------------
Quote (Gamefr@nk )
call CreateNUnitsAtLoc(1,'e000', Player(0), PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 700 , 185), bj_UNIT_FACING ) set udg_W[5] = GetLastCreatedUnit( )
set udg_W[5]=CreateUnit(Player(0),'e000',GetUnitX(GetTriggerUnit)+700*Cos(185*bjDEGTORAD),GetUnitY(GetTriggerUnit)+700*Sin(185*bjDEGTORAD),bj_UNIT_FACIN G) Quote (Gamefr@nk )
else call DoNothing( )
else не является обязательным как и DoNothing() Quote (Gamefr@nk )
call IssuePointOrderLocBJ( udg_W[7], "shockwave", GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrder( udg_W[7], "shockwave", GetUnitX(GetTriggerUnit()),GetUnitY(GetTriggerUnit()) ) Quote (Gamefr@nk )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()), 800, 280), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" ) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ( GetLastCreatedEffectBJ() )
создай локалку "local effect e" и set u = AddSpecialEffect( "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl",GetUnitX(GetTriggerUnit)+800*Cos(280*bj_DEGTORAD),GetUnitY(GetTriggerUnit)+80 0*Sin(280*bj_DEGTORAD)) call TriggerSleepAction( 0.03 ) call DestroyEffectBJ(u)
Местами здесь.