Name | Type | is_array | initial_value |
Allplayers | force | No | |
BCLoc | location | No | |
BossLoc | location | No | |
Bounty | integer | No | |
Chaos_Boss | unit | No | |
ChurchServeUpg | integer | No | 1 |
CoDLocation | location | No | |
ConscriptUpg | integer | No | 1 |
CSLocation | location | No | |
CSTLocation | location | No | |
Damage | integer | No | |
DMWLocation | location | No | |
DoTUnit | unit | No | |
EffectArray | effect | Yes | |
FactorCleared | boolean | Yes | |
FinalUnits | integer | No | |
Group | group | No | |
Healing_Amount | real | Yes | |
Healing_Duration | real | Yes | |
Healing_Index | integer | Yes | |
Healing_Target | unit | Yes | |
HeroLoc | location | No | |
Ingredients | integer | No | |
ItemCharges | integer | No | |
ItemSlot1 | itemcode | Yes | |
ItemSlot2 | itemcode | Yes | |
ItemSlot3 | itemcode | Yes | |
ItemSlot4 | itemcode | Yes | |
ItemSlot5 | itemcode | Yes | |
ItemSlot6 | itemcode | Yes | |
ItemSlotCharges1 | integer | Yes | |
ItemSlotCharges2 | integer | Yes | |
ItemSlotCharges3 | integer | Yes | |
ItemSlotCharges4 | integer | Yes | |
ItemSlotCharges5 | integer | Yes | |
ItemSlotCharges6 | integer | Yes | |
ItemTarget | unit | No | |
Location | location | No | |
Location2 | location | No | |
Playernumber | force | No | |
RandomBoss | unitcode | Yes | |
RandomHero | unitcode | Yes | |
RandomHeroInteger | integer | No | |
RecipeFactor | itemcode | Yes | |
Recipeitems | item | Yes | |
Repickplayer | player | No | |
Rezhero | unit | No | |
Runes | group | No | |
SotBEffect | effect | No | |
SotBLocation | location | No | |
STCaster | unit | No | |
TempCaster | unit | No | |
TempEffect | effect | No | |
TempGroup | group | No | |
TempGroup2 | group | No | |
TempInteger | integer | No | |
TempLoc | location | No | |
TempLoc2 | location | No | |
TempReal | real | No | |
TempTarget | unit | No | |
TempUnit | unit | No | |
Unit_Group | group | No | |
VinesTempReal | real | No |
//TESH.scrollpos=3
//TESH.alwaysfold=0
function Trig_SerratedarrowdamageJASS_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00T' ) ) then
return false
endif
return true
endfunction
function Trig_SerratedarrowdamageJASS_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real damage = GetHeroAgi( caster, true ) / 1.50
local integer counter = 0
loop
exitwhen ( counter > 9 or GetUnitState( target, UNIT_STATE_LIFE ) < 0.405 )
call UnitDamageTarget( caster, target, damage, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS )
call TriggerSleepAction( 1.00 )
set counter = counter + 1
endloop
set caster = null
set target = null
endfunction
//===========================================================================
function InitTrig_SerratedarrowdamageJASS takes nothing returns nothing
set gg_trg_SerratedarrowdamageJASS = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_SerratedarrowdamageJASS, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_SerratedarrowdamageJASS, Condition( function Trig_SerratedarrowdamageJASS_Conditions ) )
call TriggerAddAction( gg_trg_SerratedarrowdamageJASS, function Trig_SerratedarrowdamageJASS_Actions )
endfunction
//TESH.scrollpos=8
//TESH.alwaysfold=0
function Trig_CrusadedamageJASS_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00I' ) ) then
return false
endif
return true
endfunction
function Trig_CrusadedamageJASS_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real damage = GetHeroStr( caster, true ) / 1.50
local integer counter = 0
loop
exitwhen ( counter > 14 or GetUnitState( target, UNIT_STATE_LIFE ) < 0.405 )
call UnitDamageTarget( caster, target, damage, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS )
call TriggerSleepAction( 1.00 )
set counter = counter + 1
endloop
set caster = null
set target = null
endfunction
//===========================================================================
function InitTrig_CrusadedamageJASS takes nothing returns nothing
set gg_trg_CrusadedamageJASS = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_CrusadedamageJASS, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_CrusadedamageJASS, Condition( function Trig_CrusadedamageJASS_Conditions ) )
call TriggerAddAction( gg_trg_CrusadedamageJASS, function Trig_CrusadedamageJASS_Actions )
endfunction
//TESH.scrollpos=20
//TESH.alwaysfold=0
function Trig_HypothermiadamageJASS_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A006' ) ) then
return false
endif
return true
endfunction
function Trig_HypothermiadamageJASS_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real damage = GetHeroInt( caster, true ) / 2
local integer counter = 0
loop
exitwhen ( counter > 14 or GetUnitState( target, UNIT_STATE_LIFE ) < 0.405 )
call UnitDamageTarget( caster, target, damage, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS )
call TriggerSleepAction( 1.00 )
set counter = counter + 1
endloop
set caster = null
set target = null
endfunction
//===========================================================================
function InitTrig_HypothermiadamageJASS takes nothing returns nothing
set gg_trg_HypothermiadamageJASS = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_HypothermiadamageJASS, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_HypothermiadamageJASS, Condition( function Trig_HypothermiadamageJASS_Conditions ) )
call TriggerAddAction( gg_trg_HypothermiadamageJASS, function Trig_HypothermiadamageJASS_Actions )
endfunction
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_ConstrictingvinesdamageJASS_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00M' ) ) then
return false
endif
return true
endfunction
function Trig_ConstrictingvinesdamageJASS_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real damage = GetHeroInt( caster, true ) / 2
local integer counter = 0
loop
exitwhen ( counter > 14 or GetUnitState( target, UNIT_STATE_LIFE ) < 0.405 )
call UnitDamageTarget( caster, target, damage, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS )
call TriggerSleepAction( 1.00 )
set counter = counter + 1
endloop
set caster = null
set target = null
endfunction
//===========================================================================
function InitTrig_ConstrictingvinesdamageJASS takes nothing returns nothing
set gg_trg_ConstrictingvinesdamageJASS = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_ConstrictingvinesdamageJASS, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_ConstrictingvinesdamageJASS, Condition( function Trig_ConstrictingvinesdamageJASS_Conditions ) )
call TriggerAddAction( gg_trg_ConstrictingvinesdamageJASS, function Trig_ConstrictingvinesdamageJASS_Actions )
endfunction
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_DeadlystrikedamageJASS_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00F' ) ) then
return false
endif
return true
endfunction
function Trig_DeadlystrikedamageJASS_Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real damage = GetHeroAgi( caster, true ) * 1.50
local integer counter = 0
loop
exitwhen ( counter > 4 or GetUnitState( target, UNIT_STATE_LIFE ) < 0.405 )
call UnitDamageTarget( caster, target, damage, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, WEAPON_TYPE_WHOKNOWS )
call TriggerSleepAction( 1.00 )
set counter = counter + 1
endloop
set caster = null
set target = null
endfunction
//===========================================================================
function InitTrig_DeadlystrikedamageJASS takes nothing returns nothing
set gg_trg_DeadlystrikedamageJASS = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_DeadlystrikedamageJASS, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_DeadlystrikedamageJASS, Condition( function Trig_DeadlystrikedamageJASS_Conditions ) )
call TriggerAddAction( gg_trg_DeadlystrikedamageJASS, function Trig_DeadlystrikedamageJASS_Actions )
endfunction