Custom Hero Arena Discussion
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Hosting
Sun Oct 15, 2017 9:57 am by baneofdeath

» Anyone Alive?
Fri Oct 06, 2017 5:24 am by burntbread

» Hosting
Fri May 05, 2017 7:32 pm by baneofdeath

» Starcraft 2 CHA Alpha Testing
Mon Dec 05, 2016 7:13 am by Glorn2

» yeti's watery defender's build
Sat Nov 05, 2016 4:23 pm by baneofdeath

» I'm Back Bitches
Thu Sep 29, 2016 7:35 am by Glorn2

» Speedrun CHA
Sat Aug 27, 2016 6:07 pm by carefulibite

» Any one up for some CHA?
Fri May 13, 2016 4:50 am by burntbread

» Oh snap
Sun Nov 29, 2015 4:10 pm by vonmahs

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Top posters
Glorn2
 
Mr.Blonde
 
Wrathtoruin
 
verti89
 
epicpowda11
 
carefulibite
 
Sharky
 
Shankz
 
Pissonmyhands
 
imsofattest
 

Share | 
 

 Disgustingly long Trigger

View previous topic View next topic Go down 
AuthorMessage
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Disgustingly long Trigger   Sun Oct 25, 2009 4:15 pm

function Trig_Item_Combos_Copy_Func001C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I038') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07E') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func002C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02H') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02I') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func003C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05J') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func004C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I09G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'skul') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I09E') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func005C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03H') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func006C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I037') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07C') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06B') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func007C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I036') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06E') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07A') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func008C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I061') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06I') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I078') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func009C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06M') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I076') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func010C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I066') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06K') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I074') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func011C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I070') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I071') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06Y') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func012C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02J') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06C') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02I') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func013C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06X') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02X') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func014C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02J') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02H') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func015C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06L') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02H') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func016C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06J') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02J') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func017C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06H') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02I') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func018C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I069') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I068') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func019C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I022') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I067') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02C') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func020C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I022') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I064') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02B') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func021C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I063') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I065') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func022C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I062') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func023C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I022') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I060') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02D') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func024C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03U') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05P') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func025C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05Q') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I049') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I051') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func026C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04C') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07K') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I051') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func027C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05R') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I056') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func028C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05R') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I056') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func029C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07M') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04E') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I056') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func030C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04B') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I057') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func031C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07L') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I057') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func032C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05O') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02B') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02C') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02D') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func033C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I037') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I036') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I032') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I038') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func034C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06P') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05L') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07T') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func035C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06O') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03W') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func036C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06U') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06R') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I022') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func037C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06P') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06T') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func038C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I051') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func039C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07Q') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I056') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func040C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07R') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04H') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I057') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func041C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07O') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I092') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07X') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func042C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I096') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07H') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07U') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func043C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I043') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I025') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I024') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func044C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I040') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I026') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I024') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func045C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03I') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I026') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I025') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func046C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03J') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I042') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I050') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func047C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07V') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func048C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07Y') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func049C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02X') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07W') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func050C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05G') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func051C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I041') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func052C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I080') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08E') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func053C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I088') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I080') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I030') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func054C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I087') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I080') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02M') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func055C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I082') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I080') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02K') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func056C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I085') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I083') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func057C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I081') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08C') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func058C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I086') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08A') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func059C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I054') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func060C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I058') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I031') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08H') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func061C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I038') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I073') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07X') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02V') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func062C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01O') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08F') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02L') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01D') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func063C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I032') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I054') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07B') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I037') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02T') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func064C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08X') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Z') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func065C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08W') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func066C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I094') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02M') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func067C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I091') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02K') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func068C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08Y') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I097') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I030') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func069C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I098') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I095') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func070C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06R') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I090') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func071C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I093') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06X') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func072C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06W') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I06T') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func073C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I09C') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05W') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func074C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I099') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02T') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05U') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func075C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I00Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07Z') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I032') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03Y') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func076C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I079') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I075') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I036') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02X') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I04Y') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func077C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05K') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05M') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I084') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func078C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I089') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07I') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07J') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Func079C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I08B') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I07P') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_Copy_Actions takes nothing returns nothing
if ( Trig_Item_Combos_Copy_Func001C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I038') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06F') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07E') )
call UnitAddItemByIdSwapped( 'I07D', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func002C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02H') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06D') )
call UnitAddItemByIdSwapped( 'I06E', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func003C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05J') )
call UnitAddItemByIdSwapped( 'I03F', GetTriggerUnit() )
else
endif

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Re: Disgustingly long Trigger   Sun Oct 25, 2009 4:16 pm

if ( Trig_Item_Combos_Copy_Func004C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I09E') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I09G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'skul') )
call UnitAddItemByIdSwapped( 'I09H', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func005C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03F') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03H') )
call UnitAddItemByIdSwapped( 'I07G', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func006C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I037') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06B') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07C') )
call UnitAddItemByIdSwapped( 'I07B', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func007C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I036') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06E') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07A') )
call UnitAddItemByIdSwapped( 'I079', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func008C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I061') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I078') )
call UnitAddItemByIdSwapped( 'I077', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func009C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06A') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I076') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06M') )
call UnitAddItemByIdSwapped( 'I075', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func010C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I066') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I074') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06K') )
call UnitAddItemByIdSwapped( 'I073', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func011C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I070') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I071') )
call UnitAddItemByIdSwapped( 'I072', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func012C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02J') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06C') )
call UnitAddItemByIdSwapped( 'I06B', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func013C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06X') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06S') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02X') )
call UnitAddItemByIdSwapped( 'I06W', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func014C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02J') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02H') )
call UnitAddItemByIdSwapped( 'I06F', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func015C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06L') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02H') )
call UnitAddItemByIdSwapped( 'I06M', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func016C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02J') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06J') )
call UnitAddItemByIdSwapped( 'I06K', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func017C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06H') )
call UnitAddItemByIdSwapped( 'I06I', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func018C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I068') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I069') )
call UnitAddItemByIdSwapped( 'I06A', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func019C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I022') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02C') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I067') )
call UnitAddItemByIdSwapped( 'I069', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func020C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I022') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I064') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02B') )
call UnitAddItemByIdSwapped( 'I063', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func021C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I063') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I065') )
call UnitAddItemByIdSwapped( 'I066', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func022C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I062') )
call UnitAddItemByIdSwapped( 'I061', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func023C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I022') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I060') )
call UnitAddItemByIdSwapped( 'I05Z', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func024C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03U') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03S') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05P') )
call UnitAddItemByIdSwapped( 'I05N', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func025C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05Q') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I051') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I049') )
call UnitAddItemByIdSwapped( 'I05K', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func026C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07K') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I051') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04C') )
call UnitAddItemByIdSwapped( 'I07J', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func027C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05R') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I056') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04A') )
call UnitAddItemByIdSwapped( 'I05M', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func028C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05R') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I056') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04A') )
call UnitAddItemByIdSwapped( 'I05M', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func029C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07M') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I056') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04E') )
call UnitAddItemByIdSwapped( 'I07I', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func030C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05S') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I057') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04B') )
call UnitAddItemByIdSwapped( 'I05L', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func031C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07L') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I057') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04D') )
call UnitAddItemByIdSwapped( 'I07H', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func032C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05O') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02B') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02C') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02D') )
call UnitAddItemByIdSwapped( 'I05J', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func033C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I037') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I036') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I032') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I038') )
call UnitAddItemByIdSwapped( 'I05I', GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6638" )
else
endif
if ( Trig_Item_Combos_Copy_Func034C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05L') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06P') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07T') )
call UnitAddItemByIdSwapped( 'I05H', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func035C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03W') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06O') )
call UnitAddItemByIdSwapped( 'I06N', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func036C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06U') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I022') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06R') )
call UnitAddItemByIdSwapped( 'I06P', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func037C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06P') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06T') )
call UnitAddItemByIdSwapped( 'I06S', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func038C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07S') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I051') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04F') )
call UnitAddItemByIdSwapped( 'I07N', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func039C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07Q') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I056') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04G') )
call UnitAddItemByIdSwapped( 'I07P', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func040C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07R') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I057') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04H') )
call UnitAddItemByIdSwapped( 'I07O', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func041C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07O') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I092') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07X') )
call UnitAddItemByIdSwapped( 'I001', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func042C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07H') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I096') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07U') )
call UnitAddItemByIdSwapped( 'I00Q', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func043C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I043') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I024') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I025') )
call UnitAddItemByIdSwapped( 'I042', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func044C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I040') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I024') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I026') )
call UnitAddItemByIdSwapped( 'I03J', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func045C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I025') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I026') )
call UnitAddItemByIdSwapped( 'I01A', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func046C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01A') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03J') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I042') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I050') )
call UnitAddItemByIdSwapped( 'I04Y', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func047C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02Z') )
call UnitAddItemByIdSwapped( 'I07U', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func048C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02Y') )
call UnitAddItemByIdSwapped( 'I07X', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func049C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07W') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02X') )
call UnitAddItemByIdSwapped( 'I07T', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func050C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03F') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05G') )
call UnitAddItemByIdSwapped( 'I054', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func051C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08F') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I041') )
call UnitAddItemByIdSwapped( 'I080', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func052C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I080') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08E') )
call UnitAddItemByIdSwapped( 'I08D', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func053C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I030') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I080') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I088') )
call UnitAddItemByIdSwapped( 'I086', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func054C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02M') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I080') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I087') )
call UnitAddItemByIdSwapped( 'I081', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func055C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02K') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I080') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I082') )
call UnitAddItemByIdSwapped( 'I085', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func056C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I085') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I083') )
call UnitAddItemByIdSwapped( 'I084', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func057C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I081') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08C') )
call UnitAddItemByIdSwapped( 'I08B', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func058C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I086') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08A') )
call UnitAddItemByIdSwapped( 'I089', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func059C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6639" )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I054') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call UnitAddItemByIdSwapped( 'I06Q', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func060C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6640" )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I058') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I031') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08H') )
call UnitAddItemByIdSwapped( 'I06V', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func061C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6641" )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I038') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I073') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07X') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02V') )
call UnitAddItemByIdSwapped( 'I08G', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func062C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08F') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01O') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02L') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01D') )
call UnitAddItemByIdSwapped( 'I08H', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func063C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6642" )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I037') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07B') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I054') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I032') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02T') )
call UnitAddItemByIdSwapped( 'I08L', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func064C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08X') )
call UnitAddItemByIdSwapped( 'I08Y', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func065C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08W') )
call UnitAddItemByIdSwapped( 'I08V', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func066C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02M') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I094') )
call UnitAddItemByIdSwapped( 'I06X', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func067C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02K') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I091') )
call UnitAddItemByIdSwapped( 'I090', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func068C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08Y') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I030') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I097') )
call UnitAddItemByIdSwapped( 'I095', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func069C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I095') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I098') )
call UnitAddItemByIdSwapped( 'I096', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func070C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06R') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I090') )
call UnitAddItemByIdSwapped( 'I06P', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func071C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I093') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06X') )
call UnitAddItemByIdSwapped( 'I092', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func072C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06T') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I06W') )
call UnitAddItemByIdSwapped( 'I06U', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func073C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I09C') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05W') )
call UnitAddItemByIdSwapped( 'I09B', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func074C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05U') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02T') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I099') )
call UnitAddItemByIdSwapped( 'I09A', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func075C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I032') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03S') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I00Z') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03Y') )
call UnitAddItemByIdSwapped( 'I09W', GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6643" )
else
endif
if ( Trig_Item_Combos_Copy_Func076C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I079') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I075') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I036') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02X') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I04Y') )
call UnitAddItemByIdSwapped( 'I09V', GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6644" )
else
endif
if ( Trig_Item_Combos_Copy_Func077C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I084') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05M') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05K') )
call UnitAddItemByIdSwapped( 'I0AK', GetTriggerUnit() )
else

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Re: Disgustingly long Trigger   Sun Oct 25, 2009 4:16 pm

endif
if ( Trig_Item_Combos_Copy_Func078C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I089') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07I') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07J') )
call UnitAddItemByIdSwapped( 'I0AJ', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_Copy_Func079C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07N') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I08B') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I07P') )
call UnitAddItemByIdSwapped( 'I0AL', GetTriggerUnit() )
else
endif
endfunction

//===========================================================================
function InitTrig_Item_Combos_Copy takes nothing returns nothing
set gg_trg_Item_Combos_Copy = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Item_Combos_Copy, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddAction( gg_trg_Item_Combos_Copy, function Trig_Item_Combos_Copy_Actions )
endfunction

(part 2)

function Trig_Item_Combos_2_Copy_Func001C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02N') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01O') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01D') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02L') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func002C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I052') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01P') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func003C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I059') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01E') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func004C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I05A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02G') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01R') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func005C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I051') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I056') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I057') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func007C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BP') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I021') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01U') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0AB') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func008C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BQ') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I021') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01T') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0AB') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func009C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BR') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I021') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I020') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0AB') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func010C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BS') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I021') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0AB') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func011C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BK') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I042') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BY') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func012C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BU') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03J') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BL') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func013C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BM') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I03U') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BW') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func014C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BO') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I01A') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BJ') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func015C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0C2') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02T') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BN') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func016C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0C6') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02S') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BV') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func017C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0C0') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02U') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BT') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Func018C takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0C4') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I02V') == true ) ) then
return false
endif
if ( not ( UnitHasItemOfTypeBJ(GetTriggerUnit(), 'I0BX') == true ) ) then
return false
endif
return true
endfunction

function Trig_Item_Combos_2_Copy_Actions takes nothing returns nothing
if ( Trig_Item_Combos_2_Copy_Func001C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02L') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01D') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01O') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02N') )
call UnitAddItemByIdSwapped( 'I055', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func002C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01P') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I052') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call UnitAddItemByIdSwapped( 'I051', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func003C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01E') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I059') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call UnitAddItemByIdSwapped( 'I056', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func004C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01R') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I05A') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02G') )
call UnitAddItemByIdSwapped( 'I057', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func005C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_6645" )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I057') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I051') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I056') )
call UnitAddItemByIdSwapped( 'I058', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func007C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BP') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0AB') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I021') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01U') )
call UnitAddItemByIdSwapped( 'I0BL', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func008C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BQ') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0AB') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I021') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01T') )
call UnitAddItemByIdSwapped( 'I0BJ', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func009C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BR') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0AB') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I021') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I020') )
call UnitAddItemByIdSwapped( 'I0BM', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func010C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BS') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0AB') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I021') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01V') )
call UnitAddItemByIdSwapped( 'I0BK', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func011C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BK') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BY') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I042') )
call UnitAddItemByIdSwapped( 'I0BX', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func012C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BU') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BL') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03J') )
call UnitAddItemByIdSwapped( 'I0BT', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func013C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BW') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BM') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I03U') )
call UnitAddItemByIdSwapped( 'I0BV', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func014C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BO') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BJ') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I01A') )
call UnitAddItemByIdSwapped( 'I0BN', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func015C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0C2') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BN') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02T') )
call UnitAddItemByIdSwapped( 'I0C1', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func016C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0C6') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BV') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02S') )
call UnitAddItemByIdSwapped( 'I0C5', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func017C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0C0') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BT') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02U') )
call UnitAddItemByIdSwapped( 'I0BZ', GetTriggerUnit() )
else
endif
if ( Trig_Item_Combos_2_Copy_Func018C() ) then
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0C4') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I02V') )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetTriggerUnit(), 'I0BX') )
call UnitAddItemByIdSwapped( 'I0C3', GetTriggerUnit() )
else
endif
endfunction

//===========================================================================
function InitTrig_Item_Combos_2_Copy takes nothing returns nothing
set gg_trg_Item_Combos_2_Copy = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Item_Combos_2_Copy, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddAction( gg_trg_Item_Combos_2_Copy, function Trig_Item_Combos_2_Copy_Actions )
endfunction

(part 3)

function Trig_O79446_Func000C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03M'))then
return false
endif
return true
endfunction

function Trig_O79446_Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03C'))then
return false
endif
return true
endfunction

function Trig_O79446_Func002C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03L'))then
return false
endif
return true
endfunction

function Trig_O79446_Func003C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03K'))then
return false
endif
return true
endfunction

function Trig_O79446_Func004C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03V'))then
return false
endif
return true
endfunction

function Trig_O79446_Func005C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03T'))then
return false
endif
return true
endfunction

function Trig_O79446_Func006C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03N'))then
return false
endif
return true
endfunction

function Trig_O79446_Func007C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03Q'))then
return false
endif
return true
endfunction

function Trig_O79446_Func008C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I027'))then
return false
endif
return true
endfunction

function Trig_O79446_Func009C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03D'))then
return false
endif
return true
endfunction

function Trig_O79446_Func010C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03O'))then
return false
endif
return true
endfunction

function Trig_O79446_Func011C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03P'))then
return false
endif
return true
endfunction

function Trig_O79446_Func012C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03R'))then
return false
endif
return true
endfunction

function Trig_O79446_Func013C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03X'))then
return false
endif
return true
endfunction

function Trig_O79446_Func015C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00U'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I00R'))then
return true
endif
return false
endfunction

function Trig_O79446_Func014C takes nothing returns boolean
if(not Trig_O79446_Func015C())then
return false
endif
return true
endfunction

function Trig_O79446_Func017C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00W'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I00R'))then
return true
endif
return false
endfunction

function Trig_O79446_Func016C takes nothing returns boolean
if(not Trig_O79446_Func017C())then
return false
endif
return true
endfunction

function Trig_O79446_Func019C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00S'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I00R'))then
return true
endif
return false
endfunction

function Trig_O79446_Func018C takes nothing returns boolean
if(not Trig_O79446_Func019C())then
return false
endif
return true
endfunction

function Trig_O79446_Func020C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I048'))then
return false
endif
return true
endfunction

function Trig_O79446_Func021C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I046'))then
return false
endif
return true
endfunction

function Trig_O79446_Func022C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I047'))then
return false
endif
return true
endfunction

function Trig_O79446_Func023C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I01Q'))then
return false
endif
return true
endfunction

function Trig_O79446_Func024C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03B'))then
return false
endif
return true
endfunction

function Trig_O79446_Func025C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03A'))then
return false
endif
return true
endfunction

function Trig_O79446_Func026C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I039'))then
return false
endif
return true
endfunction

function Trig_O79446_Func027C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I03Z'))then
return false
endif
return true
endfunction

function Trig_O79446_Func029C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I02S'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02V'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02T'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02U'))then
return true
endif
return false
endfunction

function Trig_O79446_Func028C takes nothing returns boolean
if(not Trig_O79446_Func029C())then
return false
endif
return true
endfunction

function Trig_O79446_Func031C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I02P'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02R'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02Q'))then
return true
endif
return false
endfunction

function Trig_O79446_Func030C takes nothing returns boolean
if(not Trig_O79446_Func031C())then
return false
endif
return true
endfunction

function Trig_O79446_Func032C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04I'))then
return false
endif
return true
endfunction

function Trig_O79446_Func033C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04T'))then
return false
endif
return true
endfunction

function Trig_O79446_Func034C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04S'))then
return false
endif
return true
endfunction

function Trig_O79446_Func036C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00T'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I01O'))then
return true
endif
return false
endfunction

function Trig_O79446_Func035C takes nothing returns boolean
if(not Trig_O79446_Func036C())then
return false
endif
return true
endfunction

function Trig_O79446_Func038C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00V'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I01D'))then
return true
endif
return false
endfunction

function Trig_O79446_Func037C takes nothing returns boolean
if(not Trig_O79446_Func038C())then
return false
endif
return true
endfunction

function Trig_O79446_Func040C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I00X'))then
return true
endif
if((GetItemTypeId(GetManipulatedItem())=='I02L'))then
return true
endif
return false
endfunction

function Trig_O79446_Func039C takes nothing returns boolean
if(not Trig_O79446_Func040C())then
return false
endif
return true
endfunction

function Trig_O79446_Func041C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04R'))then
return false
endif
return true
endfunction

function Trig_O79446_Func042C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04L'))then
return false
endif
return true
endfunction

function Trig_O79446_Func043C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04M'))then
return false
endif
return true
endfunction

function Trig_O79446_Func044C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04J'))then
return false
endif
return true
endfunction

function Trig_O79446_Func045C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04N'))then
return false
endif
return true
endfunction

function Trig_O79446_Func046C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04P'))then
return false
endif
return true
endfunction

function Trig_O79446_Func047C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04K'))then
return false
endif
return true
endfunction

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Re: Disgustingly long Trigger   Sun Oct 25, 2009 4:17 pm

function Trig_O79446_Func048C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04Q'))then
return false
endif
return true
endfunction

function Trig_O79446_Func049C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04O'))then
return false
endif
return true
endfunction

function Trig_O79446_Actions takes nothing returns nothing
set udg_O12813=GetManipulatingUnit()
set udg_lostitem = GetItemTypeId(GetManipulatedItem())
set udg_sellshop = GetSellingUnit()
if(Trig_O79446_Func000C())then
set udg_O38669='I020'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02E'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func001C())then
set udg_O38669='I01T'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02D'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func002C())then
set udg_O38669='I01V'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02B'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func003C())then
set udg_O38669='I01U'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02C'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func004C())then
set udg_O38669='I01U'
set udg_O38676='I0AB'
set udg_O38738='I01V'
set udg_O38746='I01T'
set udg_O38866='I03U'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func005C())then
set udg_O38669='I02E'
set udg_O38676='I021'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I03S'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func006C())then
set udg_O38669='I01X'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I028'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func007C())then
set udg_O38669='I01Y'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02A'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func008C())then
set udg_O38669='I01Z'
set udg_O38676='I0AB'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I029'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func009C())then
set udg_O38669='I025'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02J'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func010C())then
set udg_O38669='I024'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02H'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func011C())then
set udg_O38669='I026'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02I'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func012C())then
set udg_O38669='I023'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02G'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func013C())then
set udg_O38669='I025'
set udg_O38676='I022'
set udg_O38738='I024'
set udg_O38746='I026'
set udg_O38866='I03W'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func014C())then
set udg_O38669='I00R'
set udg_O38676='I00U'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I00V'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func016C())then
set udg_O38669='I00R'
set udg_O38676='I00W'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I00X'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func018C())then
set udg_O38669='I00R'
set udg_O38676='I00S'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I00T'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func020C())then
set udg_O38669='I028'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02K'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func021C())then
set udg_O38669='I02A'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02M'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func022C())then
set udg_O38669='I029'
set udg_O38676='I022'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I030'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func023C())then
set udg_O38669='I02N'
set udg_O38676='I03J'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I031'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func024C())then
set udg_O38669='I02J'
set udg_O38676='I034'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I038'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func025C())then
set udg_O38669='I02I'
set udg_O38676='I033'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I037'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func026C())then
set udg_O38669='I02H'
set udg_O38676='I035'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I036'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func027C())then
set udg_O38669='I034'
set udg_O38676='I035'
set udg_O38738='I033'
set udg_O38746='I02N'
set udg_O38866='I03Y'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func028C())then
set udg_O38669='I02S'
set udg_O38676='I02V'
set udg_O38738='I02U'
set udg_O38746='I02T'
set udg_O38866='I032'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func030C())then
set udg_O38669='I02R'
set udg_O38676='I02P'
set udg_O38738='I02Q'
set udg_O38746='I03J'
set udg_O38866='I02O'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func032C())then
set udg_O38669='I030'
set udg_O38676='I02N'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02Z'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func033C())then
set udg_O38669='I02M'
set udg_O38676='I02N'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02Y'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func034C())then
set udg_O38669='I02K'
set udg_O38676='I02N'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I02X'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func035C())then
set udg_O38669='I01O'
set udg_O38676='I00T'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I01P'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func037C())then
set udg_O38669='I01D'
set udg_O38676='I00V'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I01E'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func039C())then
set udg_O38669='I02L'
set udg_O38676='I00X'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I01R'
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func041C())then
set udg_O38669='I02M'
set udg_O38676='I01R'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04H'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func042C())then
set udg_O38669='I030'
set udg_O38676='I01R'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04D'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func043C())then
set udg_O38669='I02K'
set udg_O38676='I01R'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04B'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func044C())then
set udg_O38669='I030'
set udg_O38676='I01P'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04C'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func045C())then
set udg_O38669='I02K'
set udg_O38676='I01P'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I049'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func046C())then
set udg_O38669='I02M'
set udg_O38676='I01P'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04F'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func047C())then
set udg_O38669='I030'
set udg_O38676='I01E'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04E'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func048C())then
set udg_O38669='I02M'
set udg_O38676='I01E'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04G'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
if(Trig_O79446_Func049C())then
set udg_O38669='I02K'
set udg_O38676='I01E'
set udg_O38738='I03J'
set udg_O38746='I03J'
set udg_O38866='I04A'
call RemoveItem(GetManipulatedItem())
call TriggerExecute(gg_trg_O80195)
return
else
endif
endfunction

function InitTrig_Item_Creates takes nothing returns nothing
set gg_trg_Item_Creates=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Item_Creates,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(gg_trg_Item_Creates,function Trig_O79446_Actions)
endfunction

(part 4)

function Trig_O80195_Func001C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38669)==true))then
return false
endif
return true
endfunction

function Trig_O80195_Func000C takes nothing returns boolean
if(not(udg_O38676=='I03J'))then
return false
endif
if(not(udg_O38738=='I03J'))then
return false
endif
if(not(udg_O38746=='I03J'))then
return false
endif
return true
endfunction

function Trig_O80195_Func003C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38669)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38676)==true))then
return false
endif
return true
endfunction

function Trig_O80195_Func002C takes nothing returns boolean
if(not(udg_O38738=='I03J'))then
return false
endif
if(not(udg_O38746=='I03J'))then
return false
endif
return true
endfunction

function Trig_O80195_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38669)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38676)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38738)==true))then
return false
endif
return true
endfunction

function Trig_O80195_Func004C takes nothing returns boolean
if(not(udg_O38746=='I03J'))then
return false
endif
return true
endfunction

function Trig_O80195_Func006C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38669)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38676)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38738)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_O12813,udg_O38746)==true))then
return false
endif
return true
endfunction

function Trig_O80195_Actions takes nothing returns nothing
set udg_gotest = 0
if(Trig_O80195_Func000C())then
if(Trig_O80195_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38669))
call UnitAddItemByIdSwapped(udg_O38866,udg_O12813)
set udg_O26895=GetUnitLoc(udg_O12813)
call AddSpecialEffectLocBJ(udg_O26895,"Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl")
call RemoveLocation(udg_O26895)
set udg_gotest = 1
return
else
// call DisplayTextToForce( GetPlayersAll(), I2S(1) )
endif
else
endif
if(Trig_O80195_Func002C())then
if(Trig_O80195_Func003C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38669))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38676))
call UnitAddItemByIdSwapped(udg_O38866,udg_O12813)
set udg_O26895=GetUnitLoc(udg_O12813)
call AddSpecialEffectLocBJ(udg_O26895,"Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl")
call RemoveLocation(udg_O26895)
set udg_gotest = 1
return
else
// call DisplayTextToForce( GetPlayersAll(), I2S(2) )
endif
else
endif
if(Trig_O80195_Func004C())then
if(Trig_O80195_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38669))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38676))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38738))
call UnitAddItemByIdSwapped(udg_O38866,udg_O12813)
set udg_O26895=GetUnitLoc(udg_O12813)
call AddSpecialEffectLocBJ(udg_O26895,"Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl")
call RemoveLocation(udg_O26895)
set udg_gotest = 1
return
else
// call DisplayTextToForce( GetPlayersAll(), I2S(3) )
endif
else
endif
if(Trig_O80195_Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38669))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38676))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38738))
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_O12813,udg_O38746))
call UnitAddItemByIdSwapped(udg_O38866,udg_O12813)
set udg_O26895=GetUnitLoc(udg_O12813)
call AddSpecialEffectLocBJ(udg_O26895,"Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl")
call RemoveLocation(udg_O26895)
set udg_gotest = 1
return
else
// call DisplayTextToForce( GetPlayersAll(), I2S(4) )
endif
if (UnitHasItemOfTypeBJ(udg_O12813,udg_O38866) == false) then
call CreateItemLoc( udg_lostitem, GetRectCenter(gg_rct_Region_092) )
if (GetItemLifeBJ(GetLastCreatedItem()) != 75.00) then
call DisplayTextToForce( GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())), R2S(GetItemLifeBJ(GetLastCreatedItem())) )
call AdjustPlayerStateBJ( R2I(GetItemLifeBJ(GetLastCreatedItem())),GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD )
call DisplayTextToForce( GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())), "TRIGSTR_3874" )
endif
call RemoveItem( GetLastCreatedItem() )
endif
//if (udg_O38866=='I03W') then
// call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_3922" )
//endif
endfunction

function InitTrig_O80195 takes nothing returns nothing
set gg_trg_O80195=CreateTrigger()
call TriggerAddAction(gg_trg_O80195,function Trig_O80195_Actions)
endfunction




so yeah, that wall of text; that is the triggers for combining all the items in CHA. Again, those ~3000 lines of text; are only for item combos. I just though it would disgust you all to know how... extreme... that is.

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
imsofattest
You Got a Blue Star!
You Got a Blue Star!
avatar

Posts : 653
Join date : 2009-09-06
Age : 25
Location : arecansauce

PostSubject: Re: Disgustingly long Trigger   Sun Oct 25, 2009 5:24 pm

wow what the fuck that would take me like 4 years just to read all of that 0.o
Back to top Go down
View user profile http://www.redtube.com
AngelofChaos
Nooblet
Nooblet
avatar

Posts : 15
Join date : 2009-10-18

PostSubject: Re: Disgustingly long Trigger   Sun Oct 25, 2009 7:11 pm

Jesus christ thats almost as long as Axe's Beserkers call
Back to top Go down
View user profile
didnotmeanto
Master Spammer
Master Spammer
avatar

Posts : 451
Join date : 2009-08-04

PostSubject: Re: Disgustingly long Trigger   Mon Oct 26, 2009 6:29 am

Where do you get your facts from? Axe's spell is a long trigger but its no where near that long. Those are all the items strings and Im not at all surprised Ive opened up Glorns map before though I havent done so since I think he told me about somebody who hacked his map. Her actiavtor made me laugh a little. It wasnt the typical cheat space space though the cheats she put in were very basic.
Back to top Go down
View user profile
Dameon
Nooblet
Nooblet


Posts : 32
Join date : 2009-11-01
Age : 35
Location : Southern California

PostSubject: Re: Disgustingly long Trigger   Sun Nov 01, 2009 3:10 pm

All the triggers seem to be same only for defrent items, why not just set the items to a varible array and then run a loop going thru the entire varible?
Back to top Go down
View user profile
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Re: Disgustingly long Trigger   Sun Nov 01, 2009 7:45 pm

they are all if/then/else statements. How exactly would one set it to a variable? Other than saying "if unit has variable A B and C, then Remove A B and C, and give unit Variable D"

selecting a new item is the same as selecting a new variable. this is actually a lot faster to do than the item system dota uses also.

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
Dameon
Nooblet
Nooblet


Posts : 32
Join date : 2009-11-01
Age : 35
Location : Southern California

PostSubject: Re: Disgustingly long Trigger   Mon Nov 02, 2009 2:38 pm

This is pretty much the way I normaly do it, however I am lazy and a bad speller so I only use GUI.

Untitled Trigger 003
Events
Unit - A unit Acquires an item
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type Item_1[(Integer A)]) Equal to True
((Triggering unit) has an item of type Item_2[(Integer A)]) Equal to True
((Triggering unit) has an item of type Item_3[(Integer A)]) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Item_1[(Integer A)])
Item - Remove (Item carried by (Triggering unit) of type Item_2[(Integer A)])
Item - Remove (Item carried by (Triggering unit) of type Item_3[(Integer A)])
Hero - Create Combo[(Integer A)] and give it to (Triggering unit)
Else - Actions


The Down Side to doing it this way is all the item varibles you have to set on MI
Back to top Go down
View user profile
Glorn2
Ohh Captain our Captain
Ohh Captain our Captain
avatar

Posts : 3720
Join date : 2009-07-03
Age : 29
Location : Guilford, NY

PostSubject: Re: Disgustingly long Trigger   Tue Nov 03, 2009 12:14 am

Ohh, I use GUI also, i had to convert all of it to text to copy paste it...

I do the same thing, but there is no interger A to it...

just:

Unit acquires an item
conditions
Actions
If/Then/Else
If
Unit manipulating item has item of type Glyph of power
Unit manipulating item has item of type Axe
Unit manipulating item has item of type Deadly Axe (Recipe)
Then
Item -remove item of type Glyph of power
Item -remove item of type Axe
Item -remove item of type Deadly Axe (Recipe)
Item -create item of type Deadly Axe and give it to unit manipulating item.

****************************************************************
Back to top Go down
View user profile http://chao.forumclan.net
sami_gurl
You Got a Blue Star!
You Got a Blue Star!
avatar

Posts : 586
Join date : 2009-07-27
Age : 28
Location : Hell, Florida

PostSubject: Re: Disgustingly long Trigger   Tue Nov 03, 2009 2:20 am

the above posts... fucking nerds =]
Back to top Go down
View user profile
Dameon
Nooblet
Nooblet


Posts : 32
Join date : 2009-11-01
Age : 35
Location : Southern California

PostSubject: Re: Disgustingly long Trigger   Tue Nov 03, 2009 12:14 pm

I was going to post this as an attachment but I dont think your forums allow them, here is a quich example I put together.

http://www.epicwar.com/maps/114830/

Ps, my spelling is to crapy for me to be a nerd Smile
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Disgustingly long Trigger   

Back to top Go down
 
Disgustingly long Trigger
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» How Long Was Bill Murray Stuck in 'Groundhog Day'? The Answer May Surprise You
» Help.....bow tie or long tie with tuxedo?
» Am I waiting too long? What do you all do?
» Trigger Point Injections
» A trigger point causing extra pain.

Permissions in this forum:You cannot reply to topics in this forum
Custom Hero Arena Revolutions :: Game Related Discussion :: General Discussion-
Jump to:  
Forumotion's free forums | Computers and Internet | Forum management | © phpBB | Free forum support | Contact | Report an abuse | Free forum