Классическое ролевое приключение в мире Warcraft для 1–3 игроков.
Это пошаговая тактическая стратегия с детализированной боевой системой и интерактивным окружением. Исследуйте мир, выполняйте задания, ищите редкие артефакты.
Наследние духа диабло в варкрафте
Экшен-аркада от инди-разработчиков!
» WarCraft 3 / Применение способности триггером
» WarCraft 3 / Как дать каменному великану дерево?
» WarCraft 3 / Квесты
Мне наработка нужна
» WarCraft 3 / Способность: Круговая Молния
Надо написать Утечки: (есть), и всё, никто бы не придрался XD
Поиском пользовался, гайды читал - ничего по теме не нашел.
» WarCraft 3 / Условие при котором герой имеет определённую способность
» WarCraft 3 / Очередной вопрос про утечки на гуи "Тип юнита"
Вопрос в том, что мне делать с ней при каждом новом присвоении.
я не могу понять, глобальная она или локальная
Не знаю, не понимаю, что лучше, или оба, но в какой последовательности?
» WarCraft 3 / Продажа юнитов
Я тоже сперва так сделал, но завернул в xpcall и он рассказал мне где я не прав)
С варнингами - имена параметров не совпадают в доках и в коде.
print(GetUnitGoldCost(FourCC('hfoo')))
Стучу через _ENV потому как лень распарсить ai нативки.
всетаки работка аи нативок является не задокументированной возможностью
какой смысл?
У меня патч 1.30 и не открывается карта.
Эти скрипты с карты не загубит мою карту если я поставлю JNGP ?
Утечки если и есть, то только в GetUnitLoc(udg_Caster) и PolarProjectionBJ(...). больше не нашёл.
Утечки: (Вроде убрал)
Mui: Да.
function Trig_Light_Conditions takes nothing returns boolean if ( not ( GetSpellAbilityId() == 'A000' ) ) then return false endif return true endfunction function Trig_Light_Func004002003001 takes nothing returns boolean return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false ) endfunction function Trig_Light_Func004002003002001 takes nothing returns boolean return ( IsUnitDeadBJ(GetFilterUnit()) == false ) endfunction function Trig_Light_Func004002003002002 takes nothing returns boolean return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Caster)) == true ) endfunction function Trig_Light_Func004002003002 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func004002003002001(), Trig_Light_Func004002003002002() ) endfunction function Trig_Light_Func004002003 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func004002003001(), Trig_Light_Func004002003002() ) endfunction function Trig_Light_Func005A takes nothing returns nothing call UnitDamageTargetBJ( udg_Caster, GetEnumUnit(), ( 100.00 * I2R(GetUnitAbilityLevelSwapped('A000', udg_Caster)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_LIGHTNING ) endfunction function Trig_Light_Func043002003001 takes nothing returns boolean return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false ) endfunction function Trig_Light_Func043002003002001 takes nothing returns boolean return ( IsUnitDeadBJ(GetFilterUnit()) == false ) endfunction function Trig_Light_Func043002003002002 takes nothing returns boolean return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Caster)) == true ) endfunction function Trig_Light_Func043002003002 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func043002003002001(), Trig_Light_Func043002003002002() ) endfunction function Trig_Light_Func043002003 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func043002003001(), Trig_Light_Func043002003002() ) endfunction function Trig_Light_Func044A takes nothing returns nothing call UnitDamageTargetBJ( udg_Caster, GetEnumUnit(), ( 100.00 * I2R(GetUnitAbilityLevelSwapped('A000', udg_Caster)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_LIGHTNING ) endfunction function Trig_Light_Func080002003001 takes nothing returns boolean return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false ) endfunction function Trig_Light_Func080002003002001 takes nothing returns boolean return ( IsUnitDeadBJ(GetFilterUnit()) == false ) endfunction function Trig_Light_Func080002003002002 takes nothing returns boolean return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Caster)) == true ) endfunction function Trig_Light_Func080002003002 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func080002003002001(), Trig_Light_Func080002003002002() ) endfunction function Trig_Light_Func080002003 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func080002003001(), Trig_Light_Func080002003002() ) endfunction function Trig_Light_Func081A takes nothing returns nothing call UnitDamageTargetBJ( udg_Caster, GetEnumUnit(), ( 100.00 * I2R(GetUnitAbilityLevelSwapped('A000', udg_Caster)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_LIGHTNING ) endfunction function Trig_Light_Func117002003001 takes nothing returns boolean return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false ) endfunction function Trig_Light_Func117002003002001 takes nothing returns boolean return ( IsUnitDeadBJ(GetFilterUnit()) == false ) endfunction function Trig_Light_Func117002003002002 takes nothing returns boolean return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Caster)) == true ) endfunction function Trig_Light_Func117002003002 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func117002003002001(), Trig_Light_Func117002003002002() ) endfunction function Trig_Light_Func117002003 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func117002003001(), Trig_Light_Func117002003002() ) endfunction function Trig_Light_Func118A takes nothing returns nothing call UnitDamageTargetBJ( udg_Caster, GetEnumUnit(), ( 100.00 * I2R(GetUnitAbilityLevelSwapped('A000', udg_Caster)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_LIGHTNING ) endfunction function Trig_Light_Func154002003001 takes nothing returns boolean return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false ) endfunction function Trig_Light_Func154002003002001 takes nothing returns boolean return ( IsUnitDeadBJ(GetFilterUnit()) == false ) endfunction function Trig_Light_Func154002003002002 takes nothing returns boolean return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Caster)) == true ) endfunction function Trig_Light_Func154002003002 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func154002003002001(), Trig_Light_Func154002003002002() ) endfunction function Trig_Light_Func154002003 takes nothing returns boolean return GetBooleanAnd( Trig_Light_Func154002003001(), Trig_Light_Func154002003002() ) endfunction function Trig_Light_Func155A takes nothing returns nothing call UnitDamageTargetBJ( udg_Caster, GetEnumUnit(), ( 100.00 * I2R(GetUnitAbilityLevelSwapped('A000', udg_Caster)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_LIGHTNING ) endfunction function Trig_Light_Actions takes nothing returns nothing set udg_Caster = GetSpellAbilityUnit() set udg_CasterPoint = GetUnitLoc(udg_Caster) call SetUnitAnimation( udg_Caster, "spell" ) set udg_Group[0] = GetUnitsInRangeOfLocMatching(112.00, udg_CasterPoint, Condition(function Trig_Light_Func004002003)) call ForGroupBJ( udg_Group[0], function Trig_Light_Func005A ) // 1 call SetPlayerAbilityAvailableBJ( false, 'A000', GetOwningPlayer(udg_Caster) ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 0), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 45.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 90.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 135.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 180.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 225.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 270.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 315.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // Другой СпецЭффект call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 0), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 45.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 90.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 135.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 180.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 225.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 270.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 56.00, 315.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call TriggerSleepAction( 1.00 ) // 2 set udg_Group[1] = GetUnitsInRangeOfLocMatching(168.00, udg_CasterPoint, Condition(function Trig_Light_Func043002003)) call ForGroupBJ( udg_Group[1], function Trig_Light_Func044A ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 0), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 45.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 90.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 135.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 180.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 225.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 270.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 315.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // Другой СпецЭффект call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 0), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 45.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 90.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 135.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 180.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 225.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 270.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 112.00, 315.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call TriggerSleepAction( 1.00 ) // 3 set udg_Group[2] = GetUnitsInRangeOfLocMatching(224.00, udg_CasterPoint, Condition(function Trig_Light_Func080002003)) call ForGroupBJ( udg_Group[2], function Trig_Light_Func081A ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 0), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 45.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 90.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 135.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 180.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 225.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 270.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 315.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // Другой СпецЭффект call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 0), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 45.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 90.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 135.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 180.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 225.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 270.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 168.00, 315.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call TriggerSleepAction( 1.00 ) // 4 set udg_Group[3] = GetUnitsInRangeOfLocMatching(280.00, udg_CasterPoint, Condition(function Trig_Light_Func117002003)) call ForGroupBJ( udg_Group[3], function Trig_Light_Func118A ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 0), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 45.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 90.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 135.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 180.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 225.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 270.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 315.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // Другой СпецЭффект call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 0), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 45.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 90.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 135.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 180.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 225.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 270.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 224.00, 315.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // 5 call TriggerSleepAction( 1.00 ) set udg_Group[4] = GetUnitsInRangeOfLocMatching(336.00, udg_CasterPoint, Condition(function Trig_Light_Func154002003)) call ForGroupBJ( udg_Group[4], function Trig_Light_Func155A ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 0), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 45.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 90.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 135.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 180.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 225.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 270.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 315.00), "Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) // Другой СпецЭффект call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 0), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 45.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 90.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 135.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 180.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 225.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 270.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(udg_Caster), 280.00, 315.00), "Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl" ) call DestroyEffect( GetLastCreatedEffectBJ() ) call SetPlayerAbilityAvailableBJ( true, 'A000', GetOwningPlayer(udg_Caster) ) set udg_Caster = null call RemoveLocation(udg_CasterPoint) call DestroyGroup(udg_Group[0]) call DestroyGroup(udg_Group[1]) call DestroyGroup(udg_Group[2]) call DestroyGroup(udg_Group[3]) call DestroyGroup(udg_Group[4]) endfunction //=========================================================================== function InitTrig_Light takes nothing returns nothing set gg_trg_Light = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_Light, EVENT_PLAYER_UNIT_SPELL_EFFECT ) call TriggerAddCondition( gg_trg_Light, Condition( function Trig_Light_Conditions ) ) call TriggerAddAction( gg_trg_Light, function Trig_Light_Actions ) endfunction
» WarCraft 3 / Воскрешение героя
Воскрешение героя через "Камень воскрешения"
» WarCraft 3 / [lua] Дамми каст
планируется ли в будущем статья про фреймы?
» WarCraft 3 / Как правильно спавнить мобом, чтобы они не застревали?
либо делать адекватно и не ставить такие усложняющие вещи в местах, где что-то должно спавниться
» WarCraft 3 / Возможно ли в ИГРЕ изменить параметры способности?
» WarCraft 3 / Смена модели
» WarCraft 3 / Вес карт
Это размер файлов в карте? Я просто не умею сохранять карту как папку(
на 126 модель менялась мемхаком... и щас меняется.. но его все бояться
мне нужно тупо сменить модель без потери характеристик прежнего юнита!
Надо скинуть карту?
» WarCraft 3 / Способности и алгоритмы на заказ
Если с отбрасыванием такие проблемы можно просто чтоб доп урон шол всадникам, тоже норм будет
При снятии с публикации можно указать причину в комментарий к ресурсу.
Ред. nazarpunk
» WarCraft 3 / Применение способности триггером
» WarCraft 3 / Как дать каменному великану дерево?
» WarCraft 3 / Квесты
рабы.» WarCraft 3 / Способность: Круговая Молния
Ред. nazarpunk
» WarCraft 3 / Применение способности триггером
» WarCraft 3 / Условие при котором герой имеет определённую способность
0 - нет способности
1- уровень способности 1
2- уровень способности 2
...
Ред. nazarpunk
» WarCraft 3 / Очередной вопрос про утечки на гуи "Тип юнита"
Ред. nazarpunk
» WarCraft 3 / Продажа юнитов
» WarCraft 3 / Продажа юнитов
» WarCraft 3 / Продажа юнитов
» WarCraft 3 / Продажа юнитов
Ред. nazarpunk
» WarCraft 3 / Продажа юнитов
» WarCraft 3 / Способность: Круговая Молния
Ред. nazarpunk
» WarCraft 3 / Способность: Круговая Молния
Если у игрока будут два героя с такой способностью, то заблокируется у обоих, какое MUI?
» WarCraft 3 / Воскрешение героя
» WarCraft 3 / [lua] Дамми каст
» WarCraft 3 / Как правильно спавнить мобом, чтобы они не застревали?
» WarCraft 3 / Как правильно спавнить мобом, чтобы они не застревали?
Ред. nazarpunk
» WarCraft 3 / Возможно ли в ИГРЕ изменить параметры способности?
» WarCraft 3 / Смена модели
» WarCraft 3 / Вес карт
Ред. nazarpunk
» WarCraft 3 / Смена модели
» WarCraft 3 / Вес карт
И вы считать умеете?
Ред. nazarpunk
» WarCraft 3 / Вес карт
» WarCraft 3 / Способности и алгоритмы на заказ