Name | Type | is_array | initial_value |
AstralImprisonmentTG | unit | No | |
Black_Hole | unit | No | |
Black_Hole_Caster | unit | No | |
Black_Hole_Group | group | No | |
Black_Hole_Point | location | No | |
Blast_Point | location | No | |
Bolt1 | lightning | No | |
Bolt2 | lightning | No | |
Bolt3 | lightning | No | |
BTCaster | unitcode | No | |
Caster | unit | No | |
CasterLoc | location | No | |
Chronosphere | unit | No | |
ChronosphereCaster | unit | No | |
ChronosphereTimeStopGroup | group | No | |
ER_Point | location | No | |
ExpireTimer1 | timer | No | |
HydroCaster | unit | Yes | |
HydroCastPoint | location | Yes | |
HydroCounter | integer | Yes | |
HydroLength | real | Yes | |
HydroTargetpos | location | Yes | |
HydroUsers | integer | No | |
HydroWavepos | location | Yes | |
HydroWaveTargets | group | Yes | |
i | integer | No | |
LineOfFaissure | location | No | |
MH_Angle | real | No | |
MH_Level | integer | No | |
MH_Link | unit | Yes | |
MH_Links | integer | No | |
MH_Unit | unit | Yes | |
NS_Target | location | No | |
Player_Unit_Heroes | unit | Yes | |
Psionic_Trap | unit | No | |
RP_Caster | location | No | |
RP_Group | group | No | |
SpecialFX | effect | No | |
SR_Group | group | No | |
SR_Point | location | No | |
Stored_Unit | unit | Yes | |
SW_Position | location | No | |
Temp_Group | group | No | |
Temp_Point | location | No | |
TempInt | integer | No | |
TempPoint | location | No | |
TempReal | real | No | |
UN_Target | location | No | |
Unit_Group | group | No | |
V_Caster | unit | No | |
V_Point | location | No |
//TESH.scrollpos=10
//TESH.alwaysfold=0
///////////////////////////////////////////////////////////////////////////////////
/// Author of Script :HellCeZaR ///
/// Variables:udg_LineOfFaissure;udg_i; ///
/// If you want copy this trigger on you'r map Give me Credit ///
/// Original idea From DotA ///
/// Import:Rock Dummy;Spell; ///
/// ///
///////////////////////////////////////////////////////////////////////////////////
function Trig_Powder_Snow_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A02Y' ) ) then
return false
endif
return true
endfunction
function Trig_Powder_Snow_Actions takes nothing returns nothing
set udg_i = 1
loop
exitwhen udg_i > 12
set udg_LineOfFaissure = PolarProjectionBJ(GetUnitLoc(GetSpellAbilityUnit()), ( I2R(udg_i) * 100.00 ), GetUnitFacing(GetSpellAbilityUnit()))
call CreateNUnitsAtLoc( 1, 'h00H', GetOwningPlayer(GetSpellAbilityUnit()), udg_LineOfFaissure, bj_UNIT_FACING )
call AddSpecialEffectLocBJ( udg_LineOfFaissure, "Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl" )
call UnitApplyTimedLifeBJ( 10.00, 'BFig', GetLastCreatedUnit() )
set udg_i = udg_i + 1
call RemoveLocation (udg_LineOfFaissure)
endloop
endfunction
//===========================================================================
function InitTrig_Powder_Snow takes nothing returns nothing
set gg_trg_Powder_Snow = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Powder_Snow, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Powder_Snow, Condition( function Trig_Powder_Snow_Conditions ) )
call TriggerAddAction( gg_trg_Powder_Snow, function Trig_Powder_Snow_Actions )
endfunction
function Trig_Ravage_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A0B2'
endfunction
function Trig_Ravage_Actions takes nothing returns nothing
local location l = GetUnitLoc(GetTriggerUnit())
local integer i = 1
local unit u
local player p = GetOwningPlayer(GetTriggerUnit())
loop
exitwhen i > 16
set u = CreateUnit( p, 'n016', GetLocationX(l), GetLocationY(l), bj_UNIT_FACING )
call SetUnitAbilityLevelSwapped( 'A0B3', u, GetUnitAbilityLevelSwapped('A0B2', GetTriggerUnit()) )
call IssuePointOrderLoc( u, "impale", PolarProjectionBJ(l, 100.00, ( 22.50 * i )) )
call UnitApplyTimedLife( u, 'BTLF', 1.00 )
set i = i + 1
endloop
call RemoveLocation(l)
set l = null
set p = null
set u = null
endfunction
//===========================================================================
function InitTrig_Ravage takes nothing returns nothing
set gg_trg_Ravage = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Ravage, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Ravage, Condition( function Trig_Ravage_Conditions ) )
call TriggerAddAction( gg_trg_Ravage, function Trig_Ravage_Actions )
endfunction
//TESH.scrollpos=0
//TESH.alwaysfold=0
//////////////////////////////////////////////////////////////////////
/// Script Author:HellCeZaR /////
/// Original idea From DotA /////
/// To Import: Spell; Buff; /////
/////////////////////////////////////////////////////////////////////
function Trig_Enchant_Totem_Conditions takes nothing returns boolean
if ( not ( UnitHasBuffBJ(GetAttacker(), 'B03D') == true ) ) then
return false
endif
return true
endfunction
function Trig_Enchant_Totem_Actions takes nothing returns nothing
call TriggerSleepAction( 0.15 )
call UnitRemoveBuffBJ( 'B03D', GetAttacker() )
endfunction
//===========================================================================
function InitTrig_Enchant_Totem takes nothing returns nothing
set gg_trg_Enchant_Totem = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Enchant_Totem, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_Enchant_Totem, Condition( function Trig_Enchant_Totem_Conditions ) )
call TriggerAddAction( gg_trg_Enchant_Totem, function Trig_Enchant_Totem_Actions )
endfunction
//TESH.scrollpos=10
//TESH.alwaysfold=0
///////////////////////////////////////////////////////////////////////////////////
/// Author of Script :HellCeZaR ///
/// Variables:udg_LineOfFaissure;udg_i; ///
/// If you want copy this trigger on you'r map Give me Credit ///
/// Original idea From DotA ///
/// Import:Rock Dummy;Spell; ///
/// ///
///////////////////////////////////////////////////////////////////////////////////
function Trig_Fissure_v2_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A0BL' ) ) then
return false
endif
return true
endfunction
function Trig_Fissure_v2_Actions takes nothing returns nothing
set udg_i = 1
loop
exitwhen udg_i > 12
set udg_LineOfFaissure = PolarProjectionBJ(GetUnitLoc(GetSpellAbilityUnit()), ( I2R(udg_i) * 100.00 ), GetUnitFacing(GetSpellAbilityUnit()))
call CreateNUnitsAtLoc( 1, 'h00F', GetOwningPlayer(GetSpellAbilityUnit()), udg_LineOfFaissure, bj_UNIT_FACING )
call AddSpecialEffectLocBJ( udg_LineOfFaissure, "Abilities\\Spells\\Other\\Volcano\\VolcanoDeath.mdl" )
call UnitApplyTimedLifeBJ( 10.00, 'BFig', GetLastCreatedUnit() )
set udg_i = udg_i + 1
call RemoveLocation (udg_LineOfFaissure)
endloop
endfunction
//===========================================================================
function InitTrig_Fissure_v2 takes nothing returns nothing
set gg_trg_Fissure_v2 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Fissure_v2, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Fissure_v2, Condition( function Trig_Fissure_v2_Conditions ) )
call TriggerAddAction( gg_trg_Fissure_v2, function Trig_Fissure_v2_Actions )
endfunction
//TESH.scrollpos=9
//TESH.alwaysfold=0
/////////////////////////////////////////////////////////////////
/// Script author:HellCeZaR /////
/// Original Scripts Author: emjlr3 /////
/// To import:Copy this trigger /////
/////////////////////////////////////////////////////////////////
function Trig_Echo_Slam_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A0BQ'
endfunction
function Echo_Group takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) == true )
endfunction
function Trig_Echo_Slam_Actions takes nothing returns nothing
local location l = GetUnitLoc(GetTriggerUnit())
local group g
local unit u
local unit v
call TriggerSleepAction(.15)
set g = GetUnitsInRangeOfLocMatching(600, l, Condition(function Echo_Group))
loop
set u = FirstOfGroup(g)
exitwhen u ==null
call GroupRemoveUnit(g,u)
set v = CreateUnit(GetOwningPlayer(GetTriggerUnit()),'h002',GetUnitX(u), GetUnitY(u), bj_UNIT_FACING)
call SetUnitAbilityLevelSwapped( 'A0BR', v, GetUnitAbilityLevelSwapped('A0BQ', GetTriggerUnit()) )
call IssueImmediateOrder(v,"fanofknives")
call UnitApplyTimedLife(v,'BTLF',1.00)
endloop
call RemoveLocation(l)
set l = null
call DestroyGroup(g)
set g = null
set v = null
endfunction
//===========================================================================
function InitTrig_Echo_Slam takes nothing returns nothing
set gg_trg_Echo_Slam = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Echo_Slam, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Echo_Slam, Condition( function Trig_Echo_Slam_Conditions ) )
call TriggerAddAction( gg_trg_Echo_Slam, function Trig_Echo_Slam_Actions )
endfunction
function Trig_Fissure_Actions takes nothing returns nothing
call CreateDestructableLoc( 'LTlt', udg_LineOfFaissure, GetRandomDirectionDeg(), 1, 1 )
endfunction
//===========================================================================
function InitTrig_Fissure takes nothing returns nothing
set gg_trg_Fissure = CreateTrigger( )
call TriggerAddAction( gg_trg_Fissure, function Trig_Fissure_Actions )
endfunction
//TESH.scrollpos=0
//TESH.alwaysfold=0
//////////////////////////////////////////////////////////////////////
/// Script Author:HellCeZaR ///
/// to imoprt:This trigger;Spell;Dummy;dummy spell; ///
//////////////////////////////////////////////////////////////////////
function Trig_AfterShock_Conditions takes nothing returns boolean
if ( not ( UnitHasBuffBJ(GetSpellAbilityUnit(), 'B03E') == true ) ) then
return false
endif
return true
endfunction
function Trig_AfterShock_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h00G', GetOwningPlayer(GetSpellAbilityUnit()), GetUnitLoc(GetSpellAbilityUnit()), bj_UNIT_FACING )
call SetUnitPathing( GetLastCreatedUnit(), true )
call UnitApplyTimedLifeBJ( 2.00, 'BTLF', GetLastCreatedUnit() )
call UnitAddAbilityBJ( 'A0BP', GetLastCreatedUnit() )
call SetUnitAbilityLevelSwapped( 'A0BP', GetLastCreatedUnit(), GetUnitAbilityLevelSwapped('A0BO', GetSpellAbilityUnit()) )
call IssueImmediateOrderBJ( GetLastCreatedUnit(), "stomp" )
call AddSpecialEffectLocBJ( GetUnitLoc(GetLastCreatedUnit()), "Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl" )
endfunction
//===========================================================================
function InitTrig_AfterShock takes nothing returns nothing
set gg_trg_AfterShock = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_AfterShock, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_AfterShock, Condition( function Trig_AfterShock_Conditions ) )
call TriggerAddAction( gg_trg_AfterShock, function Trig_AfterShock_Actions )
endfunction
function Trig_Diabolic_Edict_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A06D'
endfunction
function Diabolic_Edict_Group takes nothing returns boolean
return GetBooleanAnd( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) == true, IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Diabolic_Edict_Actions takes nothing returns nothing
local unit u = GetTriggerUnit()
local integer i = GetUnitAbilityLevelSwapped('A06D', u)
local location l
local timer t = CreateTimer()
local unit v
call StartTimerBJ(t,false, 8)
loop
exitwhen TimerGetRemaining(t) <= 0.00
set l = GetUnitLoc(u)
set v = GroupPickRandomUnit(GetUnitsInRangeOfLocMatching(500.00, l, Condition(function Diabolic_Edict_Group)))
call DestroyEffect( AddSpecialEffectTarget( "Abilities\\Weapons\\SteamTank\\SteamTankImpact.mdl", v, "chest" ))
call UnitDamageTarget( u, v, 25*i, false, true, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_AXE_MEDIUM_CHOP )
call RemoveLocation(l)
call TriggerSleepAction(.2)
endloop
call DestroyTimer(t)
set t = null
set u = null
set l = null
set v = null
endfunction
//===========================================================================
function InitTrig_Diabolic_Edict takes nothing returns nothing
set gg_trg_Diabolic_Edict = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Diabolic_Edict, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Diabolic_Edict, Condition( function Trig_Diabolic_Edict_Conditions ) )
call TriggerAddAction( gg_trg_Diabolic_Edict, function Trig_Diabolic_Edict_Actions )
endfunction