Name | Type | is_array | initial_value |
AllrandomON | boolean | No | |
B_L_Caster | unit | No | |
B_L_CasterPos | location | No | |
B_L_ChannelBreak | boolean | No | |
B_L_Effect | effect | Yes | |
B_L_EnumedUnit | unit | No | |
B_L_Group | group | No | |
B_L_Group2 | group | No | |
B_L_Lightnings | lightning | Yes | |
B_L_Loop | integer | No | |
B_L_Loop2 | integer | No | |
B_L_Picked | unit | No | |
B_L_TargetPoint | location | No | |
B_L_TargetPos | location | Yes | |
B_MG_Caster | unit | No | |
B_MG_Picked | unit | No | |
B_MG_Point | location | No | |
BC_BC_Caster | unit | No | |
BC_BC_Effect | effect | Yes | |
BC_BC_StrengthCount | real | No | |
BC_BC_Target | unit | No | |
BC_CG_ArmorBonus | abilcode | Yes | |
BC_CG_Caster | unit | No | |
BC_CG_LifeBonus | abilcode | Yes | |
BC_HH_Caster | unit | No | |
BC_HH_CountDown | integer | No | |
BC_HH_Damage | integer | No | 30 |
BC_HH_Quake | effect | No | |
BC_HH_Shake | terraindeformation | No | |
BC_HH_ShakeCounter | integer | No | |
BC_HH_ShakerPoint | location | No | |
BC_T_AbilityDummy | abilcode | Yes | |
BC_T_Caster | unit | No | |
BC_T_Dummy | unit | No | |
BC_T_Effect | effect | No | |
BC_T_TargetPoint | location | No | |
CalcTentacleDamage | real | No | |
CNR_AoB_Caster | unit | No | |
CNR_AoB_KilledUnit | unit | No | |
CNR_B_Caster | unit | No | |
CNR_B_Effect | effect | No | |
CNR_B_Point | location | No | |
CNR_B_Unit | unit | No | |
CNR_MP_Caster | unit | No | |
CNR_MP_DamageEffects | effect | No | |
CNR_MP_DamageEffects3 | effect | No | |
CNR_MP_DamagePoint | location | No | |
CNR_MP_Target | unit | No | |
CNR_SotsD_Caster | unit | No | |
CNR_SotsD_Demon | unit | No | |
CNR_SotsD_Demons | unitcode | Yes | |
CNR_SotsD_Effect | effect | No | |
CNR_SotsD_Integer | integer | No | |
CNR_SotsD_NumberOfSacrificed | integer | No | |
CNR_SotsD_Pointer | location | No | |
CNR_SotsD_Runes | effect | Yes | |
CNR_SotsD_TargetPoint | location | No | |
CNR_SotsD_TerrainEffect | terraindeformation | No | |
CNR_SotsD_UnitGroup | group | No | |
CounterWavesForUpgrade | integer | No | |
CR_CC_AttacherFire | effect | No | |
CR_CC_Caster | unit | No | |
CR_CC_CasterPos | location | No | |
CR_CC_ChaosDummy | unit | No | |
CR_CC_DistCounter | real | No | |
CR_CC_EffectOfBlink | effect | No | |
CR_CC_FacePosOfDummy | location | No | |
CR_CC_Facer | real | No | 0.00 |
CR_CC_IllusionTrailPos | location | No | |
CR_CC_Loop | integer | No | |
CR_CC_SecTargetPos | location | No | |
CR_CC_Target | unit | No | |
CR_CC_TargetPos | location | No | |
CR_CC_TrailOfIllusions | effect | Yes | |
CR_CS_Attacked | unit | No | |
CR_CS_Attacker | unit | No | |
CR_CS_Real | real | No | |
CR_FU_Abilitys | abilcode | Yes | |
CR_FU_Caster | unit | No | |
CR_FU_CasterPos | location | No | |
CR_FU_DuskEffect | effect | No | |
CR_FU_MovePos | location | No | |
CR_FU_NumberOfStr | integer | No | |
CR_FU_Target | unit | No | |
CR_FU_TargetPos | location | No | |
CR_PF_Caster | unit | No | |
CR_PF_NegativeAS | abilcode | Yes | |
CR_PF_PositiveAS | abilcode | Yes | |
CR_PF_SpeciaEffects | effect | Yes | |
Death_Count | integer | Yes | |
DotS_AttackerEf | unit | No | |
DotS_AttackingEf | unit | No | |
DotS_IntervalOfTentacles | real | No | |
DotS_MT_Owner | unit | No | |
DotS_Pos | location | No | |
DotS_Self | unit | No | |
DotS_TentacleGroup | group | No | |
DotS_TentacleInteger | integer | No | |
DotS_TentacleNumber | integer | No | |
DotS_TentacleNumber2 | integer | No | |
DotS_TentPoint | location | No | |
DotS_TR_Boolean | boolean | No | |
DotS_TR_StunAbility | abilcode | Yes | |
DotS_U_Activated | boolean | No | |
DotS_U_EffectAbility | abilcode | Yes | |
DR_HS_Caster | unit | No | |
DR_HS_CasterDummy | unit | No | |
DR_HS_Dummy | unit | No | |
DR_HS_Point | location | No | |
DR_HS_Target | unit | No | |
DR_SH_Caster | unit | No | |
DR_SH_Counter | integer | No | |
DR_SH_EffectOfImpact | effect | No | |
DR_SH_Randomizer | real | No | |
DR_SH_Target | unit | No | |
DR_WS_Point | location | No | |
DR_WSAttacker | unit | No | |
DR_WSTarget | unit | No | |
HA_PingPoint | location | No | |
HA_PingUnit | unit | No | |
HeroDeaths | integer | Yes | |
HeroKillCounters | integer | Yes | |
HeroKills | integer | Yes | |
HeroLevelInteger | integer | No | |
HeroPoolNerubian | group | No | |
HeroPoolUndead | group | No | |
HeroRevive | unit | No | |
InfoTxt | string | Yes | |
InfoUnits | unit | Yes | |
Item_VPoint | location | No | |
Leaderboard | leaderboard | No | |
M_EB_Boolean | boolean | No | |
M_EB_EnemyUnit | unit | No | |
M_EB_EnemyUnitPos | location | No | |
M_EB_Ordered | unit | No | |
M_EB_OrderedPos | location | No | |
M_EB_PreBurrowUnit | unit | No | |
M_EB_SpecialEffects | effect | Yes | |
M_EB_UnitStop | unit | No | |
M_FB_Caster | unit | No | |
M_FB_Loop | integer | No | |
M_FB_PosiOfBrood | location | No | |
M_FR_Caster | unit | No | |
M_FR_CasterPos | location | No | |
M_FR_GroundBurnArray | abilcode | Yes | |
M_SI_Caster | unit | No | |
M_SI_Dummy | unit | Yes | |
M_SI_IntegerA | integer | No | |
M_SI_Loop | integer | No | |
M_SI_PointWithArc | location | No | |
M_SI_PullArea | location | No | |
M_SI_PullPoint | location | No | |
M_SI_PullTimer | timer | No | |
M_SI_Target | location | No | |
MissOrNotSH | string | Yes | |
ND_CF_Caster | unit | No | |
ND_CF_Loop | integer | No | |
ND_CF_Target | unit | No | |
ND_CF_TargetLocation | location | No | |
ND_NJ_CasterOfNJ | unit | No | |
ND_NJ_Effects | effect | Yes | |
ND_NJ_EnemyUnit | unit | No | |
ND_NJ_Lightning | lightning | No | |
ND_NJ_PosOfCaster | location | No | |
ND_NJ_PosOfTarget | location | No | |
ND_NJ_SOUND | sound | No | |
ND_NJ_TargetOfNJ | unit | No | |
ND_NM_Position | location | No | |
ND_NM_User | unit | No | |
ND_SQ_Area | location | No | |
ND_SQ_Caster | unit | No | |
ND_SQ_Effect | effect | No | |
ND_SQ_Group | group | No | |
ND_SQ_PositionOfSkeleton | location | No | |
ND_SQ_SPWN | unitcode | No | |
NerubianMainBase | unit | No | |
NerubianWaypoints | rect | Yes | |
NM_HS_Caster | unit | No | |
NM_HS_Dummy | unit | No | |
NM_HS_Point | location | No | |
NM_HS_SpeedBonus | abilcode | Yes | |
NM_M_Caster | unit | No | |
NM_M_Effect | abilcode | Yes | |
NM_M_Target | unit | No | |
NM_PE_Breed | unitcode | Yes | |
NM_PE_Caster | unit | No | |
NM_PE_Egg | unit | No | |
NM_PE_EggBreedCount | group | No | |
NM_PE_KilledUnit | unit | No | |
NM_PE_Point | location | No | |
NM_PE_Point2 | location | No | |
NM_PE_SpecialEffect | effect | No | |
NM_PE_Unit | unit | No | |
NM_PE_Unit2 | unit | No | |
NM_PE_Unit3 | unit | No | |
NM_SS_Ability | abilcode | Yes | |
NM_SS_Caster | unit | No | |
NM_SS_Dummy | unit | No | |
NM_SS_ModelStringPoisonArena | string | Yes | |
NM_SS_Picked | unit | No | |
NM_SS_Point | location | No | |
NM_SS_SfX | effect | Yes | |
NM_SS_SfXCounter | integer | No | |
NM_SS_SfXPoints | location | No | |
NQ_DE_Point | location | No | |
NQ_R_Effect | effect | No | |
NQ_R_Point | location | No | |
NQ_WM_Point | location | No | |
NT_AT_TrapPoint | location | No | |
NT_CT_CrystalPoint | location | No | |
NT_TI_Attacked | unit | No | |
NT_TI_Attacker | unit | No | |
NT_TI_Dummy | unit | No | |
NT_TI_TremorPoint | location | No | |
NT_TI_TremorPoint2 | location | No | |
NT_WT_WebPoint | location | No | |
PlayerHeroes | unit | Yes | |
PlayerHeroGroup | group | No | |
RandomNerubianUnit | unit | No | |
RandomUndeadUnit | unit | No | |
RepickBolean | boolean | Yes | true |
S_ES_Caster | unit | No | |
S_ES_EchoScreamStuns | abilcode | Yes | |
S_ES_End | boolean | No | |
S_ES_GrowthInteger | real | No | 50.00 |
S_ES_PickSize | integer | No | |
S_ES_PointOfPick | location | No | |
S_ES_Target | unit | No | |
S_ES_TargetPoint | location | No | |
S_MD_Caster | unit | No | |
S_MD_DamageShow | texttag | No | |
S_MD_Point | location | No | |
S_MD_Target | unit | No | |
S_WC_Caster | unit | No | |
S_WC_Dummy | unit | No | |
S_WC_Point | location | No | |
S_WC_Target | unit | No | |
SBAI | integer | No | |
ShowEnemyNamesLoop | integer | No | |
SpawnBuildingsNerubian | unit | Yes | |
SpawnBuildingsUndead | unit | Yes | |
SpawnPointsNerubian | rect | Yes | |
SpawnPointsUndead | rect | Yes | |
SpecialEffectsOnHeroes | effect | Yes | |
ST_AA_Caster | unit | No | |
ST_AA_DamageVars | real | Yes | |
ST_AA_SubRealsForDamage | real | No | |
ST_AA_Target | unit | No | |
ST_AA_TextAmount | integer | Yes | |
ST_SE_Caster | unit | No | |
ST_SE_CasterPos | location | No | |
ST_SE_Everlasting | unit | No | |
ST_SE_Integer | integer | No | |
ST_SE_Pos | location | No | |
ST_TC_Caster | unit | No | |
ST_TC_Chain | lightning | No | |
ST_TC_Integer | integer | No | |
ST_TC_TargetM | unit | No | |
ST_TC_TargetPosM | location | No | |
ST_TC_TargetPosS | location | No | |
ST_TC_TargetS | unit | No | |
ST_TF_Caster | unit | No | |
ST_TF_Dummy | unit | No | |
UndeadMainBase | unit | No | |
UndeadWaypoints | rect | Yes | |
UnleashBoolean | boolean | No | |
WeatherTypes | weathereffect | Yes | |
WorldTime | timer | No | |
ZodiocNoFrostBiteUnit | unit | No |
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_Grabber_Gloves_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetAttackedUnitBJ(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetAttacker(), 'I00S') == true ) ) then
return false
endif
return true
endfunction
function Trig_Grabber_Gloves_Actions takes nothing returns nothing
local unit Attacker = GetAttacker()
local unit Attacked = GetAttackedUnitBJ()
call AdjustPlayerStateBJ( 2, GetOwningPlayer(Attacker), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( -2, GetOwningPlayer(Attacked), PLAYER_STATE_RESOURCE_GOLD )
set Attacker = null
set Attacked = null
endfunction
//===========================================================================
function InitTrig_Grabber_Gloves takes nothing returns nothing
set gg_trg_Grabber_Gloves = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Grabber_Gloves, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_Grabber_Gloves, Condition( function Trig_Grabber_Gloves_Conditions ) )
call TriggerAddAction( gg_trg_Grabber_Gloves, function Trig_Grabber_Gloves_Actions )
endfunction