//TESH.scrollpos=0
//TESH.alwaysfold=0
Name | Type | is_array | initial_value |
AAATemp_Group | group | No | |
AATemp_Point | location | No | |
AATemp_Point2 | location | No | |
AATemp_Point_plague | location | No | |
Ambush | location | No | |
Antiundead_group | group | No | |
Archimonde | timer | No | |
arthassword | unit | No | |
attacked | unit | Yes | UnitNull |
Autoload | group | No | |
BurningLegionPortal | integer | No | |
Cast_point | location | No | |
CritChance | integer | No | 0 |
CritDamage | integer | No | 0 |
CritMulti | integer | No | 0 |
CritStrikeString | string | No | |
dalaranaura | weathereffect | No | |
damage | boolean | No | true |
demi_hero | abilcode | No | A05H |
DialogButtonPurp | button | Yes | |
DialogPurp | dialog | No | |
Evil_Arthas_Dialog | dialog | No | |
Evil_Arthas_Dialogbutton | button | Yes | |
evil_sylvannas | boolean | No | false |
EvilArthasevent2 | real | No | |
FearCastingPoint | location | No | |
FearCount | integer | No | |
FearGroup | group | No | |
FearOrderPoint | location | No | |
FearPlayer | player | Yes | |
FearPoint | location | No | |
FearSE | effect | Yes | |
FearUnit | unit | Yes | |
FelHordeShattrathCity | unit | No | |
Gate_pos | location | Yes | |
gate_position1 | location | No | |
i | integer | Yes | 0 |
KelLevel | integer | No | |
kill_list | multiboard | No | |
Kills | integer | Yes | |
kills_blue | integer | No | |
kills_brown | integer | No | |
kills_darkgreen | integer | No | |
kills_gray | integer | No | |
kills_green | integer | No | |
kills_lightblue | integer | No | |
kills_orange | integer | No | |
kills_pink | integer | No | |
kills_purple | integer | No | |
kills_red | integer | No | |
kills_teal | integer | No | |
kills_yellow | integer | No | |
LeakFixTempPoint | location | No | |
leap_point | location | No | |
LFtempPoint2 | location | Yes | |
MissChance | integer | No | 0 |
MissTargetLoc | location | No | |
Multi_Shot_Ability_Level | integer | No | |
Multi_Shot_Base_Arrow_Count | integer | No | |
Multi_Shot_Caster | unit | No | |
Multi_Shot_Dummy_Ability | abilcode | No | |
Multi_Shot_Facing | real | No | |
Multi_Shot_Location | location | No | |
Multi_Shot_Location_2 | location | No | |
Multi_Shot_Loop_Location | location | No | |
Multi_Shot_Loop_Location2 | location | No | |
Multi_Shot_Owner | player | No | |
Multi_Shot_Total_Arrow_Count | integer | No | |
plagued | buffcode | No | Bapl |
Portal_1 | unit | Yes | |
Portal_2 | unit | Yes | |
Portal_Times_Cast | integer | No | |
Portal_Times_Cast_Dummy | integer | No | |
Roots_Point | location | No | |
Roots_Units | group | No | |
RuinsofLordaeron | unit | No | |
Run_point | location | No | |
Shadowforge_city | unit | No | |
Spawn_Timer | timer | No | |
Spawn_Timer_window | timerdialog | No | |
Stonewatch_Keep | unit | No | |
Summon_temp_point1 | location | No | |
Summon_temp_point2 | location | No | |
summoningUnit | unit | No | |
SylvanasDead | boolean | No | false |
SymphonyOfFrostGroup | group | No | |
Temp_Point_dalaran1 | location | No | |
Temp_Point_dalaran2 | location | No | |
Temp_Point_dalaran3 | unit | No | |
Temp_Point_Naxxramas1 | location | No | |
Temp_Point_Naxxramas2 | location | No | |
Temp_Point_Naxxramas4 | unit | No | |
Temp_Point_tempest1 | location | No | |
Temp_Point_tempest2 | location | No | |
Temp_Point_tempest3 | unit | No | |
Temp_SpawnPoint01 | location | No | |
tempestKeep | boolean | No | false |
tempinteger | boolean | No | |
tempPoint | location | No | |
TempUGroup | group | No | |
terenas_dead | boolean | No | false |
TheTrueLichKing | integer | No | |
UndeadAndorhal | unit | No | |
UndeadAzolNerub | unit | No | |
UndeadBrill | unit | No | |
UndeadCaerDarrow | unit | No | |
UndeadDeathholme | unit | No | |
UndeadFenrisKeep | unit | No | |
UndeadHearthligen | unit | No | |
UndeadShadowfangKeep | unit | No | |
UndeadStratholme | unit | No | |
UndeadTyrsHand | unit | No | |
UndeadUndercity | unit | No | |
Unit_Group | group | No |
//TESH.scrollpos=58
//TESH.alwaysfold=0
// +------------------------------------------------------+
// | |
// | -=-=- Custom War Stomp -=-=- |
// | -=-=- Created by Wolfie[NoCT] -=-=- |
// | -=-=- Created for arcimondor -=-=- |
// | |
// +------------------------------------------------------+
// | |
// | How To Implement |
// | |
// +------------------------------------------------------+
// | |
// | Create a new trigger in your map |
// | Rename the trigger to 'WarStompCustom' |
// | Convert it to custom text |
// | Replace the code with this script |
// | Copy the custom abilities from this map to yours |
// | Copy the custom units from this map to yours |
// | |
// +------------------------------------------------------+
//===========================
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===========================
function SPELLID takes nothing returns integer
return 'A087'
//Rawcode of the 'War Stomp Custom' ability
endfunction
function DUMSPELLID takes nothing returns integer
return 'A086'
//Rawcode of the 'War Stomp Stun' ability
endfunction
function SPELLORDER takes nothing returns string
return "thunderbolt"
//'Order String - Use/Turn On' of the 'War Stomp Stun' ability
endfunction
function DUMID takes nothing returns integer
return 'n03D'
//Rawcode of the 'Dummy' unit
endfunction
function RANGE takes nothing returns real
return 450.
//AoE of the stomp
endfunction
//=====================================
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//=====================================
function Conditions takes nothing returns boolean
return (GetSpellAbilityId() == SPELLID())
endfunction
function Grouping takes nothing returns boolean
return IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) and GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false
endfunction
function Actions takes nothing returns nothing
local group g = CreateGroup()
local unit u
local unit FoG
call GroupEnumUnitsInRange(g, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), RANGE(), Condition(function Grouping))
loop
set FoG = FirstOfGroup(g)
exitwhen FoG == null
set u = CreateUnit(GetOwningPlayer(GetTriggerUnit()), DUMID(), GetUnitX(FoG), GetUnitY(FoG), bj_UNIT_FACING)
call UnitAddAbility(u, DUMSPELLID())
call SetUnitAbilityLevel(u, DUMSPELLID(), GetUnitAbilityLevel(u, SPELLID()))
call IssueTargetOrder(u, SPELLORDER(), FoG)
call UnitApplyTimedLife(u, 'BTLF', 1.)
call GroupRemoveUnit(g, FoG)
endloop
set u = null
call DestroyGroup(g)
endfunction
//===========================================================================
function InitTrig_WarStompCustom takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t, Condition(function Conditions))
call TriggerAddAction(t, function Actions)
endfunction
//End of spell
//End of spell
//End of spell
//TESH.scrollpos=52
//TESH.alwaysfold=0
// +------------------------------------------------------+
// | |
// | -=-=- Custom War Stomp -=-=- |
// | -=-=- Created by Wolfie[NoCT] -=-=- |
// | -=-=- Created for arcimondor -=-=- |
// | |
// +------------------------------------------------------+
// | |
// | How To Implement |
// | |
// +------------------------------------------------------+
// | |
// | Create a new trigger in your map |
// | Rename the trigger to 'WarStompCustom' |
// | Convert it to custom text |
// | Replace the code with this script |
// | Copy the custom abilities from this map to yours |
// | Copy the custom units from this map to yours |
// | |
// +------------------------------------------------------+
//===========================
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===========================
function SPELLID2 takes nothing returns integer
return 'A06W'
//Rawcode of the 'War Stomp Custom' ability
endfunction
function DUMSPELLID2 takes nothing returns integer
return 'A08R'
//Rawcode of the 'War Stomp Stun' ability
endfunction
function SPELLORDER2 takes nothing returns string
return "thunderbolt"
//'Order String - Use/Turn On' of the 'War Stomp Stun' ability
endfunction
function DUMID2 takes nothing returns integer
return 'n03D'
//Rawcode of the 'Dummy' unit
endfunction
function RANGE2 takes nothing returns real
return 450.
//AoE of the stomp
endfunction
//=====================================
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//=====================================
function Conditions2 takes nothing returns boolean
return (GetSpellAbilityId() == SPELLID2())
endfunction
function Grouping2 takes nothing returns boolean
return IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) and GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false
endfunction
function Actions2 takes nothing returns nothing
local group g2 = CreateGroup()
local unit u2
local unit FoG2
call GroupEnumUnitsInRange(g2, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), RANGE2(), Condition(function Grouping2))
loop
set FoG2 = FirstOfGroup(g2)
exitwhen FoG2 == null
set u2 = CreateUnit(GetOwningPlayer(GetTriggerUnit()), DUMID2(), GetUnitX(FoG2), GetUnitY(FoG2), bj_UNIT_FACING)
call UnitAddAbility(u2, DUMSPELLID2())
call SetUnitAbilityLevel(u2, DUMSPELLID2(), GetUnitAbilityLevel(u2, SPELLID2()))
call IssueTargetOrder(u2, SPELLORDER2(), FoG2)
call UnitApplyTimedLife(u2, 'BTLF', 1.)
call GroupRemoveUnit(g2, FoG2)
endloop
set u2 = null
call DestroyGroup(g2)
endfunction
//===========================================================================
function InitTrig_WarStompCustombolvar takes nothing returns nothing
local trigger t2 = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t2, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t2, Condition(function Conditions2))
call TriggerAddAction(t2, function Actions2)
endfunction
//End of spell
//End of spell
//End of spell
//TESH.scrollpos=10
//TESH.alwaysfold=0
// +------------------------------------------------------+
// | |
// | -=-=- Custom War Stomp -=-=- |
// | -=-=- Created by Wolfie[NoCT] -=-=- |
// | -=-=- Created for arcimondor -=-=- |
// | |
// +------------------------------------------------------+
// | |
// | How To Implement |
// | |
// +------------------------------------------------------+
// | |
// | Create a new trigger in your map |
// | Rename the trigger to 'WarStompCustom' |
// | Convert it to custom text |
// | Replace the code with this script |
// | Copy the custom abilities from this map to yours |
// | Copy the custom units from this map to yours |
// | |
// +------------------------------------------------------+
//===========================
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===== MODIFY HERE =====
//===========================
function SPELLID3 takes nothing returns integer
return 'A08S'
//Rawcode of the 'War Stomp Custom' ability
endfunction
function DUMSPELLID3 takes nothing returns integer
return 'A08T'
//Rawcode of the 'War Stomp Stun' ability
endfunction
function SPELLORDER3 takes nothing returns string
return "thunderbolt"
//'Order String - Use/Turn On' of the 'War Stomp Stun' ability
endfunction
function DUMID3 takes nothing returns integer
return 'n03D'
//Rawcode of the 'Dummy' unit
endfunction
function RANGE3 takes nothing returns real
return 450.
//AoE of the stomp
endfunction
//=====================================
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//===== DON'T TOUCH PAST HERE =====
//=====================================
function Conditions3 takes nothing returns boolean
return (GetSpellAbilityId() == SPELLID3())
endfunction
function Grouping3 takes nothing returns boolean
return IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetTriggerUnit())) and GetWidgetLife(GetFilterUnit()) > 0.405 and IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false
endfunction
function Actions3 takes nothing returns nothing
local group g3 = CreateGroup()
local unit u3
local unit FoG3
call GroupEnumUnitsInRange(g3, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), RANGE3(), Condition(function Grouping3))
loop
set FoG3 = FirstOfGroup(g3)
exitwhen FoG3 == null
set u3 = CreateUnit(GetOwningPlayer(GetTriggerUnit()), DUMID3(), GetUnitX(FoG3), GetUnitY(FoG3), bj_UNIT_FACING)
call UnitAddAbility(u3, DUMSPELLID3())
call SetUnitAbilityLevel(u3, DUMSPELLID3(), GetUnitAbilityLevel(u3, SPELLID3()))
call IssueTargetOrder(u3, SPELLORDER3(), FoG3)
call UnitApplyTimedLife(u3, 'BTLF', 1.)
call GroupRemoveUnit(g3, FoG3)
endloop
set u3 = null
call DestroyGroup(g3)
endfunction
//===========================================================================
function InitTrig_WarStompCustomhero takes nothing returns nothing
local trigger t3 = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t3, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t3, Condition(function Conditions3))
call TriggerAddAction(t3, function Actions3)
endfunction
//End of spell
//End of spell
//End of spell
//TESH.scrollpos=0
//TESH.alwaysfold=0
//=============================================================================
// Passive Polymorph
// By: scorpion182
//
// Gives a percent chance to turns a target enemy unit into a sheep.
//
//
//
// Spell Requires: Passive Polymorph ability
// Polymorph Dummy ability
// Dummy unit
//
// Implementation:
// Simply copy the forementioned requirements to your map, go through the
// options below and enjoy!
//=============================================================================
//Configuration Options:
//=============================================================================
constant function Dummy_Caster takes nothing returns integer
return 'e010' // rawcode of Dummy Caster unit
endfunction
constant function PP_AbilId takes nothing returns integer
return 'A0C8' // ability rawcode of Passive Polymorph ability
endfunction
constant function PP_Dummy_AbilId takes nothing returns integer
return 'A0C7' // ability rawcode of Polymorph Dummy ability
endfunction
constant function PP_Chance takes integer lvl returns integer
return 10+5*lvl // % chance
endfunction
//Configuration end
//=============================================================================
function PP_Conditions takes nothing returns boolean
if GetUnitAbilityLevel(GetAttacker(),PP_AbilId())==0 then
return false
endif
if IsUnitIllusion(GetAttacker())==true then
return false
endif
if IsPlayerEnemy(GetOwningPlayer(GetAttacker()),GetOwningPlayer(GetTriggerUnit()))==false then
return false
endif
if GetUnitAbilityLevel(GetTriggerUnit(),'Bply')>0 then
return false
endif
return true
endfunction
function PP_Main takes nothing returns nothing
local unit target=GetTriggerUnit()
local unit caster=GetAttacker()
local unit dummy
if(GetRandomInt(1,100)<=PP_Chance(GetUnitAbilityLevel(caster,PP_AbilId()))) then
set dummy=CreateUnit(GetOwningPlayer(caster),Dummy_Caster(),GetUnitX(target),GetUnitY(target),0)
call UnitApplyTimedLife(dummy,'BTLF',1.0)
call UnitAddAbility(dummy,PP_Dummy_AbilId())
call SetUnitAbilityLevel(dummy,PP_Dummy_AbilId(),GetUnitAbilityLevel(caster,PP_AbilId()))
call IssueTargetOrder(dummy,"polymorph",target)
endif
set caster=null
set dummy=null
set target=null
endfunction
//===========================================================================
function InitTrig_Passive_Polymorph takes nothing returns nothing
set gg_trg_Passive_Polymorph = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ(gg_trg_Passive_Polymorph,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Passive_Polymorph,Condition(function PP_Conditions))
call TriggerAddAction( gg_trg_Passive_Polymorph, function PP_Main )
endfunction