Name | Type | is_array | initial_value |
AbilityTmp1 | abilcode | No | |
AiBoolWait | boolean | Yes | |
AiIntWait | integer | Yes | |
AreaNext | rect | No | |
AreaTmp | rect | No | |
bCowardiceWait | boolean | Yes | false |
bHasChoosenRace | boolean | Yes | |
bIsTech | boolean | No | |
bMc_TidalMagicActive | boolean | Yes | |
BoolIsPlayer | boolean | Yes | true |
boolTmp1 | boolean | No | |
bSendGoldWorkers | boolean | Yes | true |
bSendUnits | boolean | Yes | true |
bUpgr_Conscription | boolean | Yes | |
DEMONChanceSeduce | integer | No | 15 |
DEMONChanceSummonHound | integer | No | 15 |
DEMONCountKilledHound | integer | Yes | |
FloatTmp | texttag | No | |
iCowardiceWait | integer | Yes | |
iGN_CountDeaths | integer | Yes | |
iLootChance | integer | No | |
IncomeLadder | leaderboard | No | |
Int_UnitSpawnCurr | integer | Yes | |
IntAi_UTyPrioTrain | integer | Yes | |
IntAreaTmp | integer | No | |
IntGameTimeMin | integer | No | |
IntgrPlayerChoosen | integer | No | |
IntgrPlayersPlaying | integer | No | |
IntIncome | integer | Yes | |
IntModTmp | integer | No | |
IntPlayerTmp1 | integer | No | |
IntPlayerTmp2 | integer | No | |
IntRACE | integer | Yes | 100 |
IntRnd1 | integer | No | |
IntRnd2 | integer | No | |
IntSkillCheck | integer | No | |
IntTmp1 | integer | No | |
IntTmp2 | integer | No | |
IntValTmp | integer | No | |
iSCLootRush | integer | Yes | 1 |
iSCLootRush_Count | integer | Yes | |
iSendWait | integer | Yes | |
ItemTypeTmp1 | itemcode | No | |
loc | location | No | |
ORCBloodlustLOOSE | integer | Yes | |
ORCBloodlustLvl | integer | Yes | 2 |
ORCBloodlustOMeter | integer | Yes | 500 |
PlayerAttacked | player | No | |
PlayerAttacking | player | No | |
PlayerDie | player | No | |
PlayerKill | player | No | |
PlayerMod | player | No | |
PlayerTeam | player | Yes | Player00 |
PlayerTmp1 | player | No | |
PlayerTmp2 | player | No | |
PointFloat | location | No | |
PointTmp1 | location | No | |
pPlTech3 | location | Yes | |
pPlTech4 | location | Yes | |
pPlTech5 | location | Yes | |
RealVal1 | real | No | |
RealVal2 | real | No | |
RealVal3 | real | No | |
StrFloat | string | No | |
StrTmp | string | No | |
TechTmp01 | techcode | No | |
Timer_McTidalMagic | timer | Yes | |
Timer_ScLootRush | timer | Yes | |
TimerIncome | timer | No | |
TimerRaceSel | timer | No | |
TimerW_McTidalMagic | timerdialog | Yes | |
TimerW_ScLootRush | timerdialog | Yes | |
UnitAttacked | unit | No | |
UnitAttacking | unit | No | |
UnitBuildingTmp | unit | No | |
UnitDie | unit | No | |
UnitGroup01 | group | No | |
UnitKill | unit | No | |
UnitPlBarracks | unit | Yes | |
UnitSellingTmp | unit | No | |
UnitSpawnPos_Pl1 | location | Yes | |
UnitSpawnPos_Pl2 | location | Yes | |
UnitSpawnPos_Pl3 | location | Yes | |
UnitSpawnPos_Pl5 | location | Yes | |
UnitTmp1 | unit | No | UnitNull |
UnitTmp2 | unit | No | |
UnitTypeTmp1 | unitcode | No | |
uWatchtowerPlayer | unit | Yes | UnitNull |
function Trig_SuccubusCharm_Func001003001003001001 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_SuccubusCharm_Func001003001003001002 takes nothing returns boolean
return ( IsPlayerEnemy(GetOwningPlayer(GetFilterUnit()), GetOwningPlayer(udg_UnitKill)) == true )
endfunction
function Trig_SuccubusCharm_Func001003001003001 takes nothing returns boolean
return GetBooleanAnd( Trig_SuccubusCharm_Func001003001003001001(), Trig_SuccubusCharm_Func001003001003001002() )
endfunction
function Trig_SuccubusCharm_Func001003001003002 takes nothing returns boolean
return ( GetUnitLevel(GetFilterUnit()) <= 2 )
endfunction
function Trig_SuccubusCharm_Func001003001003 takes nothing returns boolean
return GetBooleanAnd( Trig_SuccubusCharm_Func001003001003001(), Trig_SuccubusCharm_Func001003001003002() )
endfunction
function Trig_SuccubusCharm_Actions takes nothing returns nothing
call IssueTargetOrderBJ( udg_UnitKill, "charm", GroupPickRandomUnit(GetUnitsInRangeOfLocMatching(768.00, GetUnitLoc(udg_UnitKill), Condition(function Trig_SuccubusCharm_Func001003001003))) )
endfunction
//===========================================================================
function InitTrig_SuccubusCharm takes nothing returns nothing
set gg_trg_SuccubusCharm = CreateTrigger( )
call TriggerAddAction( gg_trg_SuccubusCharm, function Trig_SuccubusCharm_Actions )
endfunction