Name | Type | is_array | initial_value |
ancientstandort | unit | No | |
Archer | unit | No | |
area | integer | Yes | 1 |
assassin | unit | No | |
Ausbaustufen | integer | No | |
battlehunger | integer | No | |
baum | unit | No | |
Beastman | unit | No | |
bladecache | integer | No | |
bladecounter | integer | No | 100 |
bladeshielddegree | real | Yes | |
bladeshieldunits | unit | Yes | |
blitz1 | lightning | No | |
blitz2 | lightning | No | |
blitz3 | lightning | No | |
blitz4 | lightning | No | |
blitz5 | lightning | No | |
blitz_swap | lightning | No | |
blitzy | lightning | Yes | |
bolt | unit | Yes | |
Bolt_Abstand_Degree | real | Yes | |
bolt_point | location | No | |
bounty | integer | Yes | |
brennender_schaedel | unit | No | |
bubble | effect | Yes | |
button_1 | button | Yes | |
button_2 | button | Yes | |
button_3 | button | Yes | |
C | integer | No | |
Cache_HP_Shield | integer | Yes | |
Cache_HP_Wardancer | real | No | |
CallTheEnergy | integer | No | |
casandoraorb | unit | No | |
casandorapoint | location | No | |
Caster | unit | No | |
CasterLoc | location | No | |
casterwhocouldrecive | unit | No | |
Catay | unit | No | |
Catay_A | integer | No | |
Catay_B | integer | No | |
catayswarm | unit | No | |
chaostarget | unit | No | |
Chaoswave_Distance | real | No | |
chaoswave_point | location | No | |
chosentime | real | No | |
ChronoGroup | group | No | |
ChronoPoint | location | No | |
cometduration | real | No | |
consumeangle | real | Yes | |
consumechange | real | No | |
consumeinteger | integer | No | |
consumelight | lightning | Yes | |
consumeoffset | real | Yes | |
consumetarget | unit | No | |
Count_Evasion_Wardancer | integer | No | |
CrazyWhirl | unit | Yes | |
D | integer | No | |
deadbutton | button | Yes | |
deadcache | player | No | |
deadmenu | dialog | Yes | |
destructible_treants | destructable | No | |
Diana | unit | No | |
dummy1 | unit | No | |
effectpirat | effect | No | |
emitter | unit | No | |
energy_beastman | integer | Yes | |
eviltowers | group | No | |
explodeeff | effect | Yes | |
explosion | effect | No | |
extraspawn | real | Yes | |
fcm | integer | No | |
Footmen | unit | Yes | |
gamemode_string | string | No | |
geldblau | real | No | |
geldrosa | real | No | |
goodtowers | group | No | |
gottesschildani | effect | No | |
hailtarget | location | No | |
hammer | unit | No | |
hammerlvl | real | No | |
hatred | unit | No | |
heilendeslicht | effect | Yes | |
hellfiresword | integer | No | |
Highpriest | unit | No | |
Illidan | unit | No | |
infectedgrp | group | No | |
Integer_Chaosbolt | integer | No | |
Integer_Chaoswave | integer | No | |
integer_oak_heal | integer | No | |
IntegerArcane | integer | No | |
Ironbeard | unit | No | |
Jaina | unit | No | |
JD_Angle | real | Yes | |
JD_Animations | string | Yes | |
JD_Distances | real | Yes | |
JD_Effect | string | Yes | |
JD_Group | group | No | |
JD_HighSettings | real | Yes | |
JD_Integers | integer | Yes | |
JD_JumpHigh | real | Yes | |
JD_ReachedDistance | real | Yes | |
JD_RealTimer | real | Yes | |
JD_SpeedUnits | real | Yes | |
JD_TempPoint | location | Yes | |
JD_TreesDestroy | boolean | Yes | |
JD_Unit | unit | Yes | |
JDA_Animation | string | No | |
JDA_AnimationSpeed | real | No | |
JDA_Collusion | boolean | No | |
JDA_DestroyTrees_Dash | boolean | No | |
JDA_JumpHigh_Distance | real | No | |
JDA_SpecialEffect | string | No | |
JDA_Speed | real | No | |
JDA_TargetPoint | location | No | |
JDA_Unit | unit | No | |
KB_Angle | real | Yes | |
KB_Casters | unit | Yes | |
KB_CountBuffs | integer | No | |
KB_DestroyTrees | boolean | Yes | |
KB_EffectCounter | integer | Yes | |
KB_Effects_1 | string | Yes | |
KB_GeneralIntegers | integervar | Yes | |
KB_KnockbackedUnits | group | No | |
KB_Levels | integer | Yes | |
KB_MaxDistance | real | Yes | |
KB_ReachedDistance | real | Yes | |
KB_ReducedReal | real | No | |
KB_ReduceSpeedReal | real | Yes | |
KB_SpecificSpeed | real | Yes | |
KB_StartPositions | location | Yes | |
KB_TempPoint | location | Yes | |
KB_TempReal | real | No | |
KB_TotalKnockUnits | integer | No | |
KB_Units | unit | Yes | |
KBA_Caster | unit | No | |
KBA_DestroyTrees | boolean | No | |
KBA_DistancePerLevel | real | No | |
KBA_Level | integer | No | |
KBA_SpecialEffects | string | No | |
KBA_Speed | real | No | |
KBA_StartingPosition | location | No | |
KBA_TargetUnit | unit | No | |
killemall | real | No | |
Kristalle | destructable | Yes | |
Kristalleausrichtung | real | No | |
Lehrederbestien | real | No | |
LehredesFeuers | integer | No | |
Lehredeshimmels_gut | real | No | |
LevelTotalerEnergie | integer | No | |
lightmage | unit | No | |
lightnings | lightning | Yes | |
loop | integer | No | |
LS_Dummy | unit | No | |
LS_GeneralInteger | integervar | No | |
LS_Groups | group | Yes | |
LS_TempPoint | location | Yes | |
lvldivstrike | real | No | |
mindblastcasterpos | location | No | |
Multiboard | multiboard | No | |
narathas | unit | No | |
narathascache | integer | No | |
nova | unit | No | |
nurglechosen | unit | No | |
nurgleeffect | effect | Yes | |
nurglehash | hashtable | No | |
oak | unit | No | |
orb | unit | Yes | |
orbderblitzeschie | unit | No | |
painkain | unit | No | |
pathcache | unit | No | |
pii | real | No | |
pirate | unit | No | |
pirateint | integer | No | |
player_deaths | integer | Yes | |
PlayerHero | unit | Yes | |
PlayerHeroPoint | location | Yes | |
playerkills | integer | Yes | |
pos1 | location | No | |
PostionOfeffect | real | No | |
Powers | real | No | |
ProfessionRoll | real | Yes | |
ProfessionSmithing | boolean | Yes | |
R | integer | No | |
ragetarget | unit | No | |
randomsound | integer | No | |
Ranger | unit | No | |
rangerint | integer | No | |
regio | rect | No | |
ritu_aura_mana | integer | No | |
ritu_int | real | No | |
ritualist | unit | No | |
riturnd | integer | No | |
sacredskills | integer | No | |
Sample_Group | group | No | |
Sample_Point | location | No | |
sbn | integer | No | |
sbrnd | integer | No | |
schildwunder | real | No | |
shackled_unit | unit | No | |
shaman | unit | No | |
shamancache | integer | No | |
sigmarcache | integer | No | |
sigmarpriest | unit | No | |
skrag | unit | No | |
skragcache | integer | No | |
slaughtermaster | integer | No | |
Smithing | integer | Yes | |
souldrain | lightning | Yes | |
Spinofeffect | real | No | |
swap_1_pos | location | No | |
swap_unit_1 | unit | No | |
swap_unit_2 | unit | No | |
switch_herolevel | integer | No | |
switchcolor | playercolor | No | |
switchingplayer | player | No | |
switchmenu | dialog | No | |
switchplayer | player | No | |
target | unit | No | |
target1 | unit | No | |
targethammer | unit | No | |
targetpointofability | location | No | |
targetsuck | unit | No | |
TempDistance | real | No | |
TempPoint | location | No | |
TempPoint2 | location | No | |
TempPoint3 | location | No | |
TempUnit | unit | No | |
TimeGroupStop | group | No | |
timeofday | real | No | |
timerev1 | timer | No | |
timespacekreis | real | No | |
timespacekugeln | unit | Yes | |
TK_AttackType | attacktype | No | |
TK_DamageType | damagetype | No | |
TK_FlyingUnits | group | No | |
TK_FSpeed | real | Yes | |
TK_HDmgInPercIncreasement | real | No | |
TK_HDmgInPercStart | real | No | |
TK_Hero | unit | Yes | |
TK_ImpactDmgIncreasement | real | No | |
TK_ImpactDmgStart | real | No | |
TK_ImpactSFX | string | No | |
TK_Integers | integer | Yes | |
TK_Interval | real | Yes | |
TK_Level | integer | Yes | |
TK_LiftSFX | string | No | |
TK_LiftSFXTimer | real | No | |
TK_LsfxT | real | Yes | |
TK_MaxHeight | real | Yes | |
TK_MaxHeightIncreasement | real | No | |
TK_MaxHeightStart | real | No | |
TK_MinHeightIncreasement | real | No | |
TK_MinHeightStart | real | No | |
TK_Pause | boolean | No | |
TK_Speed | real | No | |
TK_SpeedVariationPerc | real | No | |
TK_SpellAoEIncreasement | real | No | |
TK_SpellAoEStart | real | No | |
TK_StartSFX | string | No | |
TK_TempPoint | location | Yes | |
TK_Unit | unit | Yes | |
TK_UnitGroup | group | No | |
totaleenergieeeee | integer | No | |
totalerenergieeffekt | effect | No | |
undeadflag | unit | No | |
unit_get_mirrorimage | unit | Yes | |
unit_protectedbyshield | unit | Yes | |
verlaufblocker | destructable | Yes | |
voodoo | unit | No | |
voodoo_hp | real | No | |
warfog | weathereffect | No | |
whirled_units | group | No | |
WhirlPools | group | No | |
whitesteel | unit | No | |
winde | effect | Yes | |
Winkel_Alpha_chaoswave | real | No | |
Zufall_1 | integer | Yes |
function Trig_Beute_fuer_Einheiten_Actions takes nothing returns nothing
call MeleeStartingVisibility( )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(0) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(1) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(2) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(3) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(4) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(5) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(6) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(7) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(8) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(9) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(10) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(11) )
endfunction
//===========================================================================
function InitTrig_Beute_fuer_Einheiten takes nothing returns nothing
set gg_trg_Beute_fuer_Einheiten = CreateTrigger( )
call TriggerAddAction( gg_trg_Beute_fuer_Einheiten, function Trig_Beute_fuer_Einheiten_Actions )
endfunction
function Setup takes nothing returns nothing
call TriggerRegisterDeathEvent( gg_trg_Regrow_Trees, GetEnumDestructable() )
endfunction
function Trig_Regrow_Trees_Setup_Actions takes nothing returns nothing
call EnumDestructablesInRectAll( GetEntireMapRect(), function Setup )
call DestroyTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Regrow_Trees_Setup takes nothing returns nothing
set gg_trg_Regrow_Trees_Setup = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Regrow_Trees_Setup, 1.00 )
call TriggerAddAction( gg_trg_Regrow_Trees_Setup, function Trig_Regrow_Trees_Setup_Actions )
endfunction
function Trig_RegrowTrees_Actions takes nothing returns nothing
local destructable DEADTREE = GetDyingDestructable()
call TriggerSleepAction( 45.00 )
call DestructableRestoreLife( DEADTREE, GetDestructableMaxLife(DEADTREE), true )
endfunction
//===========================================================================
function InitTrig_Regrow_Trees takes nothing returns nothing
set gg_trg_Regrow_Trees = CreateTrigger( )
call TriggerAddAction( gg_trg_Regrow_Trees, function Trig_RegrowTrees_Actions )
endfunction
function Trig_Item_Stack_Conditions takes nothing returns boolean
return GetItemCharges(GetManipulatedItem()) > 0
endfunction
function Trig_Item_Stack_Actions takes nothing returns nothing
local integer i = 0
local item iteminslot
loop
set iteminslot = UnitItemInSlot(GetManipulatingUnit(), i)
if ( GetItemTypeId(iteminslot) == GetItemTypeId(GetManipulatedItem()) and iteminslot != GetManipulatedItem()) then
call SetItemCharges( iteminslot, ( GetItemCharges(iteminslot) + GetItemCharges(GetManipulatedItem()) ) )
call RemoveItem( GetManipulatedItem() )
set i = 5
// To end the loop i is increased
endif
set i = i + 1
exitwhen i > 5
endloop
set i = 0
set iteminslot = null
endfunction
// ==================
function InitTrig_Item_Stack takes nothing returns nothing
set gg_trg_Item_Stack = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Item_Stack, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_Item_Stack, Condition( function Trig_Item_Stack_Conditions ) )
call TriggerAddAction( gg_trg_Item_Stack, function Trig_Item_Stack_Actions )
endfunction
function Trig_Runeslam_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A066' ) ) then
return false
endif
return true
endfunction
function Trig_Runeslam_Func001001003 takes nothing returns boolean
return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(udg_Ironbeard)) == true )
endfunction
function Trig_Runeslam_Func001002 takes nothing returns nothing
call UnitDamageTargetBJ( udg_Ironbeard, GetEnumUnit(), ( 1.50 * I2R(GetHeroStatBJ(bj_HEROSTAT_STR, udg_Ironbeard, true)) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL )
endfunction
function Trig_Runeslam_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRangeOfLocMatching(300.00, GetUnitLoc(udg_Ironbeard), Condition(function Trig_Runeslam_Func001001003)), function Trig_Runeslam_Func001002 )
call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(udg_Ironbeard), 100.00, 0.00), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(udg_Ironbeard), 0.00, -100.00), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(udg_Ironbeard), -100.00, 0.00), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
call AddSpecialEffectLocBJ( OffsetLocation(GetUnitLoc(udg_Ironbeard), 0.00, 100.00), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" )
call DestroyEffectBJ( GetLastCreatedEffectBJ() )
endfunction
//===========================================================================
function InitTrig_Runeslam takes nothing returns nothing
set gg_trg_Runeslam = CreateTrigger( )
call DisableTrigger( gg_trg_Runeslam )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Runeslam, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Runeslam, Condition( function Trig_Runeslam_Conditions ) )
call TriggerAddAction( gg_trg_Runeslam, function Trig_Runeslam_Actions )
endfunction