# Triggering Effect Unit Owner
Flags —
Native
|Function
# Arguments
int
<preset::EffectPlayer> — Location
Returns — int
native int EventPlayerEffectUsedUnitOwner(int inLocation);
# Supported triggers
- Effect Used — TriggerAddEventPlayerEffectUsed
# Related
Category: Environment / Effects
- Create Explosion At Point —
void
— libNtve_gf_CreateExplosionAtPoint - Create Effect At Point (From Player) —
void
— PlayerCreateEffectPoint - Create Effect On Unit (From Player) —
void
— PlayerCreateEffectUnit - Create Effect At Point (From Unit) —
void
— UnitCreateEffectPoint - Create Effect On Unit (From Unit) —
void
— UnitCreateEffectUnit - Damage Unit (From Unit) —
void
— UnitDamage - Player Can Create Effect At Point —
bool
— libNtve_gf_PlayerCanCreateEffectAtPoint - Player Can Create Effect On Unit —
bool
— libNtve_gf_PlayerCanCreateEffectOnUnit - Unit Can Create Effect At Point —
bool
— libNtve_gf_UnitCanCreateEffectAtPoint - Unit Can Create Effect On Unit —
bool
— libNtve_gf_UnitCanCreateEffectOnUnit - Destroy Effects —
void
— GameDestroyEffects - Effect Used —
void
— TriggerAddEventPlayerEffectUsed - Effect Used From Scope —
void
— TriggerAddEventPlayerEffectUsedFromScope - Triggering Effect Used —
string
<gamelink::Effect> — EventPlayerEffectUsed - Triggering Effect Point —
point
— EventPlayerEffectUsedPoint - Triggering Effect Unit —
unit
— EventPlayerEffectUsedUnit - Triggering Effect Item —
unit
— EventPlayerEffectUsedItem - Triggering Effect Impact Unit —
unit
— EventPlayerEffectUsedUnitImpact - Triggering Effect Launch Unit —
unit
— EventPlayerEffectUsedUnitLaunch - Triggering Effect Unit Owner —
int
— EventPlayerEffectUsedUnitOwner - Triggering Effect Unit Type —
string
<gamelink::Unit> — EventPlayerEffectUsedUnitType - Triggering Effect Item Type —
string
<gamelink::Unit> — EventPlayerEffectUsedItemType - Triggering Effect Amount (Integer) —
int
— EventPlayerEffectUsedAmountInt - Triggering Effect Amount (Real) —
fixed
— EventPlayerEffectUsedAmountFixed - Triggering Effect Source Behavior —
string
<gamelink::Behavior> — EventPlayerEffectUsedSourceBehavior - Triggering Effect Weapon —
string
<gamelink::Weapon> — EventPlayerEffectUsedWeapon - Triggering Effect Ability —
string
<gamelink::Abil> — EventPlayerEffectUsedAbil
# Examples
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1771
}
lib6CB3363F_gf_ResetAmmo(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
auto0849DBC9_ae = lib6CB3363F_gv_fT_EquipSlots;
auto0849DBC9_ai = 1;
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1776
lv_i = 1;
for ( ; ( (auto0849DBC9_ai >= 0 && lv_i <= auto0849DBC9_ae) || (auto0849DBC9_ai <= 0 && lv_i >= auto0849DBC9_ae) ) ; lv_i += auto0849DBC9_ai ) {
lib6CB3363F_gv_fT_PlayerEquipmentCountCurrent[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i] = lib6CB3363F_gv_fT_PlayerEquipmentCountMax[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i];
lib6CB3363F_gf_UpdateEquipDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), lv_i);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1776
lv_i = 1;
for ( ; ( (auto0849DBC9_ai >= 0 && lv_i <= auto0849DBC9_ae) || (auto0849DBC9_ai <= 0 && lv_i >= auto0849DBC9_ae) ) ; lv_i += auto0849DBC9_ai ) {
lib6CB3363F_gv_fT_PlayerEquipmentCountCurrent[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i] = lib6CB3363F_gv_fT_PlayerEquipmentCountMax[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i];
lib6CB3363F_gf_UpdateEquipDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), lv_i);
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1777
for ( ; ( (auto0849DBC9_ai >= 0 && lv_i <= auto0849DBC9_ae) || (auto0849DBC9_ai <= 0 && lv_i >= auto0849DBC9_ae) ) ; lv_i += auto0849DBC9_ai ) {
lib6CB3363F_gv_fT_PlayerEquipmentCountCurrent[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i] = lib6CB3363F_gv_fT_PlayerEquipmentCountMax[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)][lv_i];
lib6CB3363F_gf_UpdateEquipDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), lv_i);
}
lib6CB3363F_gf_UpdateAmmoDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1779
lib6CB3363F_gf_UpdateEquipDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), lv_i);
}
lib6CB3363F_gf_UpdateAmmoDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
TextTagCreate(StringExternal("Param/Value/lib_6CB3363F_E599EA4D"), 24, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, true, false, PlayerGroupSingle(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
TextTagSetVelocity(TextTagLastCreated(), 1.0, 90.0);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1780
}
lib6CB3363F_gf_UpdateAmmoDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
TextTagCreate(StringExternal("Param/Value/lib_6CB3363F_E599EA4D"), 24, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, true, false, PlayerGroupSingle(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
TextTagSetVelocity(TextTagLastCreated(), 1.0, 90.0);
Wait(3.0, c_timeGame);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1803
// Variable Initialization
lv_enemyPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
// Actions
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1534
}
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_team = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2791
lv_handInHeroUnit2 = EventPlayerEffectUsedUnit(c_effectUnitTarget);
UnitGroupAdd(libMDoE_gv_mDoE_Cannons.lv_cannonsCurrentlyOnCooldown, lv_handInHeroUnit2);
lv_handInPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_handInHeroUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_handInTeam = libGame_gf_TeamNumberOfPlayer(lv_handInPlayer);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2871
// Variable Initialization
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingTeam = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2981
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_collectingTeam = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
libMDoE_gf_HideTextTagsOnAllActiveAmmoCachesForPlayer(lv_collectingPlayer);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:7521
}
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if ((libPEB1_gv_archangelDropshipBeingUsed[lv_player] == true)) {
return true;
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10649
else {
}
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10651
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10717
}
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_casterHero = libGame_gv_players[lv_casterPlayer].lv_heroUnit;
UnitBehaviorRemove(lv_casterHero, "HasMapMechanicInstantAbility4", 1);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:9750
else {
}
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:9752
StatEventAddDataInt(StatEventLastCreated(), "PlayerID", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
StatEventSend(StatEventLastCreated());
libNtve_gf_SetUpgradeLevelForPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster), "DisplayLockedMapMechanicAbility", 1);
return true;
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1361
}
if ((libLNYF_gv_leaderboard.lv_rank_CurrentPlayer[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)] <= 5)) {
lv_random = RandomInt(1, 2);
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1364
lv_random = RandomInt(1, 2);
}
else if ((libLNYF_gv_leaderboard.lv_rank_CurrentPlayer[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)] <= 9)) {
lv_random = RandomInt(1, 3);
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1367
lv_random = RandomInt(1, 3);
}
else if ((libLNYF_gv_leaderboard.lv_rank_CurrentPlayer[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)] == libLNYF_gv_leaderboard.lv_maxPlayers)) {
lv_random = 3;
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1386
}
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/CommandPanel/GameButtonLunarBorder_Frame/GameButtonLunarBorder_Top");
DialogControlSendAnimationEvent(DialogControlLastCreated(), PlayerGroupSingle(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)), "SheenWipe");
Wait(5.0, c_timeGame);
libLNYF_gf_CreateEnvelopeAtPoint(lv_pos);
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1925
}
SoundPlayForPlayer(SoundLink("LunarFestival_Pickup_Stunned", -1), c_maxPlayers, PlayerGroupSingle(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)), 100.0, 0.0);
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1407
else {
if ((OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0)) != null)) {
if ((OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0)) != libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)])) {
libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)] = OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1408
if ((OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0)) != null)) {
if ((OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0)) != libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)])) {
libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)] = OrderGetTargetUnit(UnitOrder(lp_ultraliskUnit, 0));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1411
}
if ((UnitFilterMatch(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterStasis - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))) == true) && (libNtve_gf_UnitIsVisibleToPlayer(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit)) == true)) {
if ((lv_lastKnownLocation != UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]))) {
lv_lastKnownLocation = UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1411
}
if ((UnitFilterMatch(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterStasis - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))) == true) && (libNtve_gf_UnitIsVisibleToPlayer(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit)) == true)) {
if ((lv_lastKnownLocation != UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]))) {
lv_lastKnownLocation = UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1412
if ((UnitFilterMatch(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterStasis - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))) == true) && (libNtve_gf_UnitIsVisibleToPlayer(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit)) == true)) {
if ((lv_lastKnownLocation != UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]))) {
lv_lastKnownLocation = UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:1413
if ((UnitFilterMatch(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterStasis - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))) == true) && (libNtve_gf_UnitIsVisibleToPlayer(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], UnitGetOwner(lp_ultraliskUnit)) == true)) {
if ((lv_lastKnownLocation != UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]))) {
lv_lastKnownLocation = UnitGetPosition(libGDHL_gv_heroKerriganUltraliskCurrentAttackTargetUnit[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)]);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4262
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterPoint), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Light", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4263
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterPoint), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Light", "Shake", 0.1, 0.2, 0.3);
}
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4291
}
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Medium", "Shake", 0.1, 0.2, 0.3);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:4292
if ((DistanceBetweenPoints(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), CameraGetTarget(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget))) <= 10.0)) {
CameraShake(EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), "Medium", "Shake", 0.1, 0.2, 0.3);
}
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:13374
// Automatic Variable Declarations
// Variable Initialization
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
// Actions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17426
lv_deadUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_deadPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_killingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
libGame_gv_players[lv_deadPlayer].lv_lastKillingPlayer = lv_killingPlayer;
libGame_gf_SendEventHeroKilled(lv_killingPlayer, lv_deadUnit);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17468
}
lv_utherPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
libGame_gv_players[lv_utherPlayer].lv_isDead = false;
libGame_gf_SendEventHeroRespawn(lv_utherPlayer, EventPlayerEffectUsedUnit(c_effectUnitCaster));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17506
lv_deadUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_deadPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_killingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
libGame_gv_players[lv_deadPlayer].lv_lastKillingPlayer = lv_killingPlayer;
libGame_gf_SendEventHeroKilled(lv_killingPlayer, lv_deadUnit);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:20494
lv_structureIndex = libGame_gf_TownGetTownStructureIndexForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_xPAwarded = CatalogFieldValueGetAsInt(c_gameCatalogUnit, UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster)), "KillXP", c_playerAny);
libGame_gf_AwardXPForNPCKill(EventPlayerEffectUsedUnit(c_effectUnitCaster), UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_unitAttributeStructure, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget), lv_xPAwarded);
libGame_gf_SendEventTownStructureEntersSpecialDeathState(lv_tower);
if ((UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == libCore_gv_cOMPUTER_TeamOrder)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:21163
// Automatic Variable Declarations
// Variable Initialization
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_vehicle = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_index_Vehicle = libMapM_gf_GetVehicleIndexOfUnit(lv_vehicle);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:6434
// Automatic Variable Declarations
// Variable Initialization
lv_collectedPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_collectedTeam = libGame_gf_TeamNumberOfPlayer(lv_collectedPlayer);
lv_collectedTeamEnemy = libGame_gf_EnemyTeam(lv_collectedTeam);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7465
// Variable Initialization
lv_dragonPilotTeam = libGame_gf_TeamNumberOfPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
// Actions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7488
TimerStart(libMapM_gv_mMGardensDragonDragonKnightLifeTimer, lv_duration, false, c_timeGame);
TriggerEnable(libMapM_gt_MMGardensDragonDragonKnightDiesorExpires, true);
libMapM_gv_mMGardensDragonUnit = libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)].lv_activeVehicle;
if ((libNtve_gf_UnitInRegion(libMapM_gv_mMGardensDragonUnit, RegionCircle(libMapM_gv_mMGardensDragonDragonKnightRespawnPoint, 1.0)) == true)) {
UnitSetPosition(libMapM_gv_mMGardensDragonUnit, libMapM_gv_mMGardensDragonSpawnPoint, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7494
UnitSetState(libMapM_gv_mMGardensDragonUnit, c_unitStateStatusBar, true);
libMapM_gv_mMGardensDragonPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
StatEventCreate("DragonKnightActivated");
StatEventAddDataInt(StatEventLastCreated(), "Event", libMapM_gv_mMGardensDragonDragonCaptures);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7527
TextTagDestroy(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned);
TextTagDestroy(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned);
libMapM_gv_mapMechanicUsedTracker[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)].lv_dragonStatue = true;
libGame_gf_DropLootBannerinSconce(UnitGroupUnit(UnitGroup("LootBannerSconce", c_playerAny, RegionCircle(UnitGetPosition(libMapM_gv_mMGardensDragonUnit), 8.0), UnitFilter(0, 0, 0, 0), 1), 1), libGame_gv_players[libMapM_gv_mMGardensDragonPlayer].lv_lootContent.lv_loot_Banner.lv_bannerID, libMapM_gv_mMGardensDragonPlayer, true);
libMapM_gf_MMGardensDragonDragonHasEnteredArtHooks();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7530
libGame_gf_DropLootBannerinSconce(UnitGroupUnit(UnitGroup("LootBannerSconce", c_playerAny, RegionCircle(UnitGetPosition(libMapM_gv_mMGardensDragonUnit), 8.0), UnitFilter(0, 0, 0, 0), 1), 1), libGame_gv_players[libMapM_gv_mMGardensDragonPlayer].lv_lootContent.lv_loot_Banner.lv_bannerID, libMapM_gv_mMGardensDragonPlayer, true);
libMapM_gf_MMGardensDragonDragonHasEnteredArtHooks();
libMapM_gf_MMDragonballsTransmissionDragonActiveQ(libGame_gf_TeamNumberOfPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:2656
}
lv_triggeringPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
if (((lv_triggeringPlayer <= 0) || (lv_triggeringPlayer > libCore_gv_bALMaxPlayers))) {
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11769
}
else {
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitTarget), StringExternal("Param/Value/lib_UIUI_23A2E25C"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11770
else {
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitTarget), StringExternal("Param/Value/lib_UIUI_23A2E25C"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11779
}
else {
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_525777A6"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11780
else {
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_525777A6"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11828
}
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11829
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_AC5EFAA0"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11830
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_AC5EFAA0"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11868
}
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11869
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_80508741"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:11870
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_UIUI_80508741"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
return true;
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:2677
// Automatic Variable Declarations
// Variable Initialization
lv_teamOfEventPlayer_c = libGame_gf_TeamNumberOfPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
lv_enemyTeamOfEventPlayer_c = libGame_gf_EnemyTeam(lv_teamOfEventPlayer_c);
lv_eventEffectTarget_c = EventPlayerEffectUsedUnit(c_effectUnitTarget);
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:1471
// Variable Initialization
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingTeam = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
lv_newDoubloonCount = MinI((UnitBehaviorCount(lv_collectingUnit, "MapMechanicStack") + 1), 100);
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:1525
// Automatic Variable Declarations
// Variable Initialization
lv_handInPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_handInHeroUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_handInTeam = libGame_gf_TeamNumberOfPlayer(lv_handInPlayer);
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:1821
}
lv_bigRag = UnitGroupUnit(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)].lv_cameraPlayerUnitGroupToFocusOn, 1);
libCore_gf_StoreUnitForUnit(lv_fortBuilding, 99, lv_bigRag);
libCore_gf_StoreUnitForUnit(lv_bigRag, 99, lv_fortBuilding);
mods/heroesmapmods/battlegroundmapmods/gardenofterror.stormmod — base.stormdata/LibGRDN.galaxy:1142
lv_seed = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_hero = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_team = libGame_gf_TeamNumberOfPlayer(lv_player);
lv_location = libGRDN_gf_SeedLocationIndex(lv_seed);
mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod — base.stormdata/LibMHmu.galaxy:1607
}
lv_bigRag = UnitGroupUnit(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)].lv_cameraPlayerUnitGroupToFocusOn, 1);
libCore_gf_StoreUnitForUnit(lv_fortBuilding, 99, lv_bigRag);
libCore_gf_StoreUnitForUnit(lv_bigRag, 99, lv_fortBuilding);
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:2044
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_collectingUnitPosition = UnitGetPosition(lv_collectingUnit);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_textTagPlayers = PlayerGroupEmpty();
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1886
}
lv_owner = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
libMSHE_gv_mMISCursedEvent = true;
UnitGroupRemove(libMSHE_gv_mMISActiveShrines, lv_shrine);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2061
}
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2062
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceFromBarbarianToPlayerTargetPoint = DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_playerTargetPoint);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2088
if ((DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_actualTargetPoint) <= (lv_barbarianRadius + 0.125))) {
libNtve_gf_UIErrorMessage(libCore_gv_playerGroupFromPlayer[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], StringExternal("Param/Value/lib_MSHE_D63B1DB4"), SoundLink("UI_GenericError", -1));
UnitBehaviorRemove(EventPlayerEffectUsedUnit(c_effectUnitCaster), "MercPunisherLanerLeap", 1);
UnitAbilityReset(EventPlayerEffectUsedUnit(c_effectUnitCaster), AbilityCommand("MercPunisherLanerLeap", 0), c_spendLocationAll);
mods/heroesmapmods/battlegroundmapmods/infernalshrinesdata.stormmod — base.stormdata/LibMSHD.galaxy:123
}
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
mods/heroesmapmods/battlegroundmapmods/infernalshrinesdata.stormmod — base.stormdata/LibMSHD.galaxy:124
lv_barbarianRadius = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster))), "Radius", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
lv_abilityRange = (StringToFixed(CatalogFieldValueGet(c_gameCatalogActor, "MercPunisherLanerLeapRangeSplat", "Scale", EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster))) + lv_barbarianRadius);
lv_playerTargetPoint = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_distanceFromBarbarianToPlayerTargetPoint = DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_playerTargetPoint);
mods/heroesmapmods/battlegroundmapmods/infernalshrinesdata.stormmod — base.stormdata/LibMSHD.galaxy:150
if ((DistanceBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), lv_actualTargetPoint) <= (lv_barbarianRadius + 0.125))) {
libNtve_gf_UIErrorMessage(libCore_gv_playerGroupFromPlayer[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)], StringExternal("Param/Value/lib_MSHD_D63B1DB4"), SoundLink("UI_GenericError", -1));
UnitBehaviorRemove(EventPlayerEffectUsedUnit(c_effectUnitCaster), "MercPunisherLanerLeap", 1);
UnitAbilityReset(EventPlayerEffectUsedUnit(c_effectUnitCaster), AbilityCommand("MercPunisherLanerLeap", 0), c_spendLocationAll);
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:1795
// Variable Initialization
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_textTagPlayers = PlayerGroupEmpty();
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:1947
// Variable Initialization
lv_channelingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_channelingTeam = libGame_gf_TeamNumberOfPlayer(lv_channelingPlayer);
lv_channelingTeamEnemy = libGame_gf_EnemyTeam(lv_channelingTeam);
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:2988
lv_globe = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_team = libGame_gf_TeamNumberOfPlayer(lv_player);
if ((lv_team == 0)) {
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1901
}
lv_calldownPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_team = libGame_gf_TeamNumberOfPlayer(lv_calldownPlayer);
lv_enemyTeam = libGame_gf_EnemyTeam(lv_team);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1952
}
lv_calldownPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if (((lv_calldownPlayer <= 0) || (lv_calldownPlayer > libCore_gv_bALMaxPlayers))) {
return true;
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:346
}
if (!((EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget) <= libCore_gv_bALMaxPlayers))) {
return false;
}
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:762
// Automatic Variable Declarations
// Variable Initialization
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
// Actions
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:796
// Variable Initialization
lv_unit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_effectString = (EventPlayerEffectUsed());
lv_searchNumber = StringReplaceWord(lv_effectString, "AlarakLightningSurgeSearch", "", c_stringReplaceAll, c_stringCase);
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:374
// Automatic Variable Declarations
// Variable Initialization
lv_anaPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_anaPlayerGroup = PlayerGroupSingle(lv_anaPlayer);
lv_targetUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:1726
// Variable Initialization
lv_lVPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
// Actions
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:426
// Automatic Variable Declarations
// Variable Initialization
lv_choGallPairsTeam = libGame_gf_TeamNumberOfPlayer(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
// Conditions
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:1077
// Conditions
if (testConds) {
if (!((UnitGetType(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)].lv_heroUnit) == "HeroDehaka"))) {
return false;
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:1087
}
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_dehakaUnit = libGame_gv_players[lv_player].lv_heroUnit;
if ((UnitIsAlive(libGame_gv_players[lv_player].lv_heroUnit) == true) && (UnitHasBehavior2(libGame_gv_players[lv_player].lv_heroUnit, "DehakaEssenceCollectionEssenceDevourerQuestToken") == true)) {
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:1118
// Automatic Variable Declarations
// Variable Initialization
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_derhaka = libGame_gv_players[lv_player].lv_heroUnit;
lv_essenceCollectedAmount = 1;
mods/heromods/firebat.stormmod — base.stormdata/LibHFIR.galaxy:93
// Automatic Variable Declarations
// Variable Initialization
lv_firebatPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
// Actions
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:398
}
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if ((EventPlayerEffectUsed() == "LucioSoundBarrierShieldApply")) {
lv_shieldsToAdd = (CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "LucioSoundBarrierShieldApply", "Count", lv_casterPlayer) * CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "LucioSoundBarrierShield", "DamageResponse.ModifyLimit", lv_casterPlayer));
mods/heromods/lucio.stormmod — base.stormdata/LibHLUC.galaxy:653
}
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
if ((EventPlayerEffectUsed() == "LucioSoundwaveGoodVibrationsApplyShieldBehaviorHero")) {
lv_shieldsToAdd = (CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "LucioSoundwaveGoodVibrationsApplyShieldBehaviorHero", "Count", lv_casterPlayer) * CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "LucioSoundwaveGoodVibrationsShield", "DamageResponse.ModifyLimit", lv_casterPlayer));
mods/heromods/maiev.stormmod — base.stormdata/LibHMAI.galaxy:374
lv_targetUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_targetPlayer = UnitGetOwner(lv_targetUnit);
lv_maievPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_allyPlayerGroup = PlayerGroupEmpty();
mods/heromods/malganis.stormmod — base.stormdata/LibHMLG.galaxy:416
lv_targetUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_targetPlayer = UnitGetOwner(lv_targetUnit);
lv_malGanisPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_allyPlayerGroup = PlayerGroupEmpty();
mods/heromods/malganis.stormmod — base.stormdata/LibHMLG.galaxy:754
lv_targetUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_targetPlayer = UnitGetOwner(lv_targetUnit);
lv_malGanisPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_allyPlayerGroup = PlayerGroupEmpty();
mods/heromods/malthael.stormmod — base.stormdata/LibHMTH.galaxy:149
// Automatic Variable Declarations
// Variable Initialization
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_targetPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
mods/heromods/malthael.stormmod — base.stormdata/LibHMTH.galaxy:150
// Variable Initialization
lv_casterPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_targetPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
// Actions
mods/heromods/medivh.stormmod — base.stormdata/LibHMDV.galaxy:911
lv_triggeringEffect = EventPlayerEffectUsed();
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_player = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
// Conditions
mods/heromods/probius.stormmod — base.stormdata/LibHPRO.galaxy:294
}
if ((UnitGetType(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)].lv_heroUnit) == "HeroProbius") && (UnitIsValid(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)].lv_activeVehicle) == true)) {
lv_player = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_probius = libGame_gv_players[lv_player].lv_heroUnit;
mods/heromods/probius.stormmod — base.stormdata/LibHPRO.galaxy:294
}
if ((UnitGetType(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)].lv_heroUnit) == "HeroProbius") && (UnitIsValid(libGame_gv_players[EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget)].lv_activeVehicle) == true)) {
lv_player = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_probius = libGame_gv_players[lv_player].lv_heroUnit;
mods/heromods/varian.stormmod — base.stormdata/LibHVAR.galaxy:128
}
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
mods/heromods/varian.stormmod — base.stormdata/LibHVAR.galaxy:129
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_HVAR_1FAF1667"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
mods/heromods/varian.stormmod — base.stormdata/LibHVAR.galaxy:130
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
PlayerGroupAdd(lv_players, EventPlayerEffectUsedUnitOwner(c_effectPlayerSource));
FloatingCombatElementCreateTextAtUnit(lv_players, "FloatingCombatElements/FloatingCombatElementTemplate", "", EventPlayerEffectUsedUnit(c_effectUnitSource), StringExternal("Param/Value/lib_HVAR_1FAF1667"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
return true;
mods/heromods/zuljin.stormmod — base.stormdata/LibHZUL.galaxy:498
// Automatic Variable Declarations
// Variable Initialization
lv_zuljinPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_zuljinUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_currentHealth = (UnitGetPropertyFixed(lv_zuljinUnit, c_unitPropLife, c_unitPropCurrent) / 2.0);
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:2134
}
if (!((libNtve_gf_UnitIsVisibleToPlayer(EventPlayerEffectUsedUnitImpact(), EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)) == false))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:2134
}
if (!((libNtve_gf_UnitIsVisibleToPlayer(EventPlayerEffectUsedUnitImpact(), EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)) == false))) {
return false;
}