globalsforce x=nullforce o=nullinteger a=0integer n=0unit V=nullplayer array Einteger X=0integer O=0integer R=0integer I=0integer A=0timer array Ntimerdialog array blocation B=nullinteger c=0integer C=0integer D=0texttag array finteger array Feffect G=nullunit array hinteger array Hinteger array Jinteger array kinteger array Kinteger l=0integer L=0force m=nullinteger array Mforce array Pinteger q=0integer array Qinteger S=0integer T=0integer array Uinteger array winteger array Winteger array yinteger Y=0integer Z=0integer array vvinteger array evinteger array xvinteger ov=0integer array rvinteger array ivinteger array avstring array nvstring array Vvinteger Ev=0integer array Xvforce Ov=nullinteger array Rvinteger array Ivunit array Avstring Nv=""integer array bvstring array Bvinteger array cvunit array Cvinteger array dvlocation Dv=nullunit fv=nullunit Fv=nullinteger array gvinteger array Gvinteger array hvinteger array Hvinteger jv=0integer Jv=0unit kv=nullinteger array Kvinteger lv=0integer Lv=0unit array mvinteger array Mvinteger array pvunit Pv=nullinteger array qvinteger array Qvunit array svinteger array Sveffect tv=nullinteger array Tvsound uv=nullinteger array Uvstring array wvinteger array Wvinteger yv=0string Yv=""integer array zvinteger array Zvunit array velocation array eereal array xereal array oereal array rereal array ieboolean array aereal array neunit array Vegroup Ee=nullgroup array Xeinteger Oe=0integer array Restring Ie=""integer Ae=0integer array Neinteger be=0integer array Bestring array cestring Ce=""string de=""string array Destring array feforce Fe=nullinteger array geinteger Ge=0string he=""integer He=0boolean je=falsestring array Jeinteger array kestring array Keboolean le=falseboolean array Lestring array meboolean array Meinteger array peboolean array Peinteger array qeboolean array Qeinteger array seboolean array Seinteger array teboolean array Teboolean array ueboolean array Ueboolean array Weboolean array yeboolean array Yeboolean array zeboolean array Zeboolean array vxboolean array exinteger xx=0string array oxreal array rxreal array ixreal array axinteger array nxinteger array Vxinteger array Exstring array Xxstring array Oxstring array Rxinteger array Ixstring array Axinteger array Nxboolean array bxboolean array Bxreal array cxboolean array Cxboolean array Dxinteger fx=0string array Fxboolean array gxboolean Gx=falsestring array hxinteger Hx=0boolean jx=falsestring array Jxinteger array kxinteger array Kxinteger array lxinteger array Lxboolean array mxinteger array Mxinteger array pxinteger array Pxinteger qx=0integer array Qxreal array sxgamecache Sx=nullboolean array txinteger array Txrect ux=nullrect Ux=nullrect wx=nullrect Wx=nullrect yx=nullrect Yx=nullrect zx=nullrect Zx=nullrect vo=nullrect eo=nullrect xo=nullrect oo=nullrect ro=nullrect io=nullrect ao=nullrect no=nullrect Vo=nullrect Eo=nullrect Xo=nullrect Oo=nullrect Ro=nullrect Io=nullrect Ao=nullrect No=nullrect bo=nullrect Bo=nullrect co=nullrect Co=nullrect do=nullrect Do=nullrect fo=nullrect Fo=nullrect go=nullrect Go=nullrect ho=nullrect Ho=nullrect jo=nullrect Jo=nullrect ko=nullrect Ko=nullrect lo=nullrect Lo=nullrect mo=nullrect Mo=nullrect po=nullrect Po=nullrect qo=nullrect Qo=nullrect so=nullrect So=nullrect to=nullrect To=nullrect uo=nullrect Uo=nullrect wo=nullrect Wo=nullrect yo=nullrect Yo=nullrect zo=nullrect Zo=nullrect vr=nullrect er=nullrect xr=nullrect rr=nullrect ir=nullrect ar=nullrect nr=nullrect Vr=nullrect Er=nullrect Xr=nullrect Rr=nullrect Ir=nullrect Ar=nullrect Nr=nullrect br=nullrect Br=nullrect cr=nullrect Cr=nullrect dr=nullrect Dr=nullrect fr=nullrect Fr=nullrect gr=nullrect Gr=nullrect hr=nullrect Hr=nullrect jr=nullrect Jr=nullrect kr=nullrect Kr=nullrect lr=nullrect Lr=nullrect mr=nullrect Mr=nullrect pr=nullrect Pr=nullrect qr=nullrect Qr=nullrect sr=nullrect Sr=nullrect tr=nullrect Tr=nullrect ur=nullrect Ur=nullrect wr=nullrect Wr=nullrect yr=nullrect Yr=nullrect zr=nullrect Zr=nullrect vi=nullrect ei=nullrect xi=nullrect oi=nullrect ri=nullrect ii=nullrect ai=nullrect ni=nullrect Vi=nullrect Ei=nullrect Xi=nullrect Oi=nullrect Ri=nullrect Ii=nullrect Ai=nullrect Ni=nullrect bi=nullrect Bi=nullrect ci=nullrect Ci=nullrect di=nullrect Di=nullrect fi=nullrect Fi=nullrect gi=nullrect Gi=nullrect hi=nullrect Hi=nullrect ji=nullrect Ji=nullrect ki=nullrect Ki=nullrect li=nullrect Li=nullrect mi=nullrect Mi=nullrect pi=nullrect Pi=nullrect qi=nullrect Qi=nullrect si=nullrect Si=nullrect ti=nullrect Ti=nullrect ui=nullrect Ui=nullrect wi=nullrect Wi=nullrect yi=nullrect Yi=nullrect zi=nullrect Zi=nullrect va=nullrect ea=nullrect xa=nullrect oa=nullrect ra=nullrect ia=nullrect aa=nullrect na=nullrect Va=nullrect Ea=nullrect Xa=nullrect Oa=nullrect Ra=nullrect Ia=nullrect Aa=nullrect Na=nullrect ba=nullrect Ba=nullrect ca=nullrect Ca=nullrect da=nullrect Da=nullrect fa=nullrect Fa=nullrect ga=nullrect Ga=nullrect ha=nullrect Ha=nullrect ja=nullrect Ja=nullrect ka=nullrect Ka=nullrect la=nullrect La=nullrect ma=nullrect Ma=nullrect pa=nullrect Pa=nullrect qa=nullrect Qa=nullrect sa=nullrect Sa=nullrect ta=nullrect Ta=nullrect ua=nullrect Ua=nullrect wa=nullrect Wa=nullrect ya=nullrect Ya=nullrect za=nullrect Za=nullrect vn=nullrect en=nullrect xn=nullrect on=nullrect rn=nullrect in=nullrect an=nullrect nn=nullrect Vn=nullrect En=nullrect Xn=nullrect On=nullrect Rn=nullrect In=nullrect An=nullrect Nn=nullrect bn=nullrect Bn=nullrect cn=nullrect Cn=nullrect dn=nullrect Dn=nullrect fn=nullrect Fn=nullrect gn=nullrect Gn=nullrect hn=nullrect Hn=nullrect jn=nullrect Jn=nullrect kn=nullrect Kn=nullrect ln=nullrect Ln=nullrect mn=nullrect Mn=nullrect pn=nullrect Pn=nullrect qn=nullrect Qn=nullrect sn=nullrect Sn=nullrect tn=nullrect Tn=nullrect un=nullrect Un=nullrect wn=nullrect Wn=nullrect yn=nullrect Yn=nullrect zn=nullrect Zn=nullrect vV=nullrect eV=nullrect xV=nullrect oV=nullrect rV=nullrect iV=nullrect aV=nullrect nV=nullrect VV=nullrect EV=nullrect XV=nullrect OV=nullrect RV=nullrect IV=nullrect AV=nullrect NV=nullrect bV=nullrect BV=nullrect cV=nullrect CV=nullrect dV=nullrect DV=nullrect fV=nullrect FV=nullrect gV=nullrect GV=nullrect hV=nullrect HV=nullrect jV=nullrect JV=nullrect kV=nullrect KV=nullrect lV=nullrect LV=nullrect mV=nullrect MV=nullrect pV=nullrect PV=nullrect qV=nullrect QV=nullrect sV=nullrect SV=nullrect tV=nullrect TV=nullrect uV=nullrect UV=nullrect wV=nullrect WV=nullrect yV=nullrect YV=nullrect zV=nullrect ZV=nullrect vE=nullrect eE=nullrect xE=nullrect oE=nullrect rE=nullrect iE=nullrect aE=nullsound nE=nullsound VE=nullsound EE=nulltrigger XE=nulltrigger OE=nulltrigger RE=nulltrigger IE=nulltrigger AE=nulltrigger NE=nulltrigger bE=nulltrigger BE=nulltrigger cE=nulltrigger CE=nulltrigger dE=nulltrigger DE=nulltrigger fE=nulltrigger FE=nulltrigger gE=nulltrigger GE=nulltrigger hE=nulltrigger HE=nulltrigger jE=nulltrigger JE=nulltrigger kE=nulltrigger KE=nulltrigger lE=nulltrigger LE=nulltrigger mE=nulltrigger ME=nulltrigger pE=nulltrigger PE=nulltrigger qE=nulltrigger QE=nulltrigger sE=nulltrigger SE=nulltrigger tE=nulltrigger TE=nulltrigger uE=nulltrigger UE=nulltrigger wE=nulltrigger WE=nulltrigger yE=nulltrigger YE=nulltrigger zE=nulltrigger ZE=nulltrigger vX=nulltrigger eX=nulltrigger xX=nulltrigger oX=nulltrigger rX=nulltrigger iX=nulltrigger aX=nulltrigger nX=nulltrigger VX=nulltrigger EX=nulltrigger XX=nulltrigger OX=nulltrigger RX=nulltrigger IX=nulltrigger AX=nulltrigger NX=nulltrigger bX=nulltrigger BX=nulltrigger cX=nulltrigger CX=nulltrigger dX=nulltrigger DX=nulltrigger fX=nulltrigger FX=nulltrigger gX=nulltrigger GX=nulltrigger hX=nulltrigger HX=nulltrigger jX=nulltrigger JX=nulltrigger kX=nulltrigger KX=nulltrigger lX=nulltrigger LX=nulltrigger mX=nulltrigger MX=nulltrigger pX=nulltrigger PX=nulltrigger qX=nulltrigger QX=nulltrigger sX=nulltrigger SX=nulltrigger tX=nulltrigger TX=nulltrigger uX=nulltrigger UX=nulltrigger wX=nulltrigger WX=nulltrigger yX=nulltrigger YX=nulltrigger zX=nulltrigger ZX=nulltrigger vO=nulltrigger eO=nulltrigger xO=nulltrigger oO=nulltrigger rO=nulltrigger iO=nulltrigger aO=nulltrigger nO=nulltrigger VO=nulltrigger EO=nulltrigger XO=nulltrigger OO=nulltrigger RO=nulltrigger IO=nulltrigger AO=nulltrigger NO=nulltrigger bO=nulltrigger BO=nulltrigger cO=nulltrigger CO=nulltrigger dO=nulltrigger DO=nulltrigger fO=nulltrigger FO=nulltrigger gO=nulltrigger GO=nulltrigger hO=nulltrigger HO=nulltrigger jO=nulltrigger JO=nulltrigger kO=nulltrigger KO=nulltrigger lO=nulltrigger LO=nulltrigger mO=nulltrigger MO=nulltrigger pO=nulltrigger PO=nulltrigger qO=nulltrigger QO=nulltrigger sO=nulltrigger SO=nulltrigger tO=nulltrigger TO=nulltrigger uO=nulltrigger UO=nulltrigger wO=nulltrigger WO=nulltrigger yO=nulltrigger YO=nulltrigger zO=nulltrigger ZO=nulltrigger vR=nulltrigger eR=nulltrigger xR=nulltrigger oR=nulltrigger rR=nulltrigger iR=nulltrigger aR=nulltrigger nR=nulltrigger VR=nulltrigger ER=nulltrigger XR=nulltrigger OR=nulltrigger RR=nulltrigger IR=nulltrigger AR=nulltrigger NR=nulltrigger bR=nulltrigger BR=nulltrigger cR=nulltrigger CR=nulltrigger dR=nulltrigger DR=nulltrigger fR=nulltrigger FR=nulltrigger gR=nulltrigger GR=nulltrigger hR=nulltrigger HR=nulltrigger jR=nulltrigger JR=nulltrigger kR=nulltrigger KR=nulltrigger lR=nulltrigger LR=nulltrigger mR=nulltrigger MR=nulltrigger pR=nulltrigger PR=nulltrigger qR=nulltrigger QR=nulltrigger sR=nulltrigger SR=nulltrigger tR=nulltrigger TR=nulltrigger uR=nulltrigger UR=nulltrigger wR=nulltrigger WR=nulltrigger yR=nulltrigger YR=nulltrigger zR=nulltrigger ZR=nulltrigger vI=nulltrigger eI=nulltrigger xI=nulltrigger oI=nulltrigger rI=nulltrigger iI=nulltrigger aI=nulltrigger nI=nulltrigger VI=nulltrigger EI=nulltrigger XI=nulltrigger OI=nulltrigger RI=nulltrigger II=nulltrigger AI=nulltrigger NI=nulltrigger bI=nulltrigger BI=nulltrigger cI=nulltrigger CI=nulltrigger dI=nulltrigger DI=nulltrigger fI=nulltrigger FI=nulltrigger gI=nulltrigger GI=nulltrigger hI=nulltrigger HI=nulltrigger jI=nulltrigger JI=nulltrigger kI=nulltrigger KI=nulltrigger lI=nulltrigger LI=nulltrigger mI=nulltrigger MI=nulltrigger pI=nulltrigger PI=nulltrigger qI=nulltrigger QI=nulltrigger sI=nulltrigger SI=nulltrigger tI=nulltrigger TI=nulltrigger uI=nulltrigger UI=nulltrigger wI=nulltrigger WI=nulltrigger yI=nulltrigger YI=nulltrigger zI=nulltrigger ZI=nulltrigger vA=nulltrigger eA=nulltrigger xA=nulltrigger oA=nulltrigger rA=nulltrigger iA=nulltrigger aA=nulltrigger nA=nulltrigger VA=nulltrigger EA=nulltrigger XA=nulltrigger OA=nulltrigger RA=nulltrigger IA=nulltrigger AA=nulltrigger NA=nulltrigger bA=nulltrigger BA=nulltrigger cA=nulltrigger CA=nulltrigger dA=nulltrigger DA=nulltrigger fA=nulltrigger FA=nulltrigger gA=nulltrigger GA=nulltrigger hA=nulltrigger HA=nulltrigger jA=nulltrigger JA=nulltrigger kA=nulltrigger KA=nulltrigger lA=nulltrigger LA=nulltrigger mA=nulltrigger MA=nulltrigger pA=nulltrigger PA=nulltrigger qA=nulltrigger QA=nulltrigger sA=nulltrigger SA=nulltrigger tA=nulltrigger TA=nulltrigger uA=nulltrigger UA=nulltrigger wA=nulltrigger WA=nulltrigger yA=nulltrigger YA=nulltrigger zA=nulltrigger ZA=nulltrigger vN=nulltrigger eN=nulltrigger xN=nulltrigger oN=nulltrigger rN=nulltrigger iN=nulltrigger aN=nulltrigger nN=nulltrigger VN=nulltrigger EN=nulltrigger XN=nulltrigger ON=nulltrigger RN=nulltrigger IN=nulltrigger AN=nulltrigger NN=nulltrigger bN=nulltrigger BN=nulltrigger cN=nulltrigger CN=nulltrigger dN=nulltrigger DN=nulltrigger fN=nulltrigger FN=nulltrigger gN=nulltrigger GN=nulltrigger hN=nulltrigger HN=nulltrigger jN=nulltrigger JN=nulltrigger kN=nulltrigger KN=nulltrigger lN=nulltrigger LN=nulltrigger mN=nulltrigger MN=nulltrigger pN=nulltrigger PN=nulltrigger qN=nulltrigger QN=nulltrigger sN=nulltrigger SN=nulltrigger tN=nulltrigger TN=nulltrigger uN=nulltrigger UN=nulltrigger wN=nulltrigger WN=nulltrigger yN=nulltrigger YN=nulltrigger zN=nulltrigger ZN=nulltrigger vb=nulltrigger eb=nulltrigger xb=nulltrigger ob=nulltrigger rb=nulltrigger ib=nulltrigger ab=nulltrigger nb=nulltrigger Vb=nulltrigger Eb=nulltrigger Xb=nulltrigger Ob=nulltrigger Rb=nulltrigger Ib=nulltrigger Ab=nulltrigger Nb=nulltrigger bb=nulltrigger Bb=nulltrigger cb=nulltrigger Cb=nulltrigger db=nulltrigger Db=nulltrigger fb=nulltrigger Fb=nulltrigger gb=nulltrigger Gb=nulltrigger hb=nulltrigger Hb=nulltrigger jb=nulltrigger Jb=nulltrigger kb=nulltrigger Kb=nulltrigger lb=nulltrigger Lb=nulltrigger mb=nulltrigger Mb=nulltrigger pb=nulltrigger Pb=nulltrigger qb=nulltrigger Qb=nulltrigger sb=nulltrigger Sb=nulltrigger tb=nulltrigger Tb=nulltrigger ub=nulltrigger Ub=nulltrigger wb=nulltrigger Wb=nulltrigger yb=nulltrigger Yb=nulltrigger zb=nulltrigger Zb=nulltrigger vB=nulltrigger eB=nulltrigger xB=nulltrigger oB=nulltrigger rB=nulltrigger iB=nulltrigger aB=nulltrigger nB=nulltrigger VB=nulltrigger EB=nulltrigger XB=nulltrigger OB=nulltrigger RB=nulltrigger IB=nulltrigger AB=nulltrigger NB=nulltrigger bB=nulltrigger BB=nulltrigger cB=nulltrigger CB=nulltrigger dB=nulltrigger DB=nulltrigger fB=nulltrigger FB=nulltrigger gB=nulltrigger GB=nulltrigger hB=nulltrigger HB=nulltrigger jB=nulltrigger JB=nulltrigger kB=nulltrigger KB=nulltrigger lB=nulltrigger LB=nulltrigger mB=nulltrigger MB=nulltrigger pB=nulltrigger PB=nulltrigger qB=nulltrigger QB=nulltrigger sB=nulltrigger SB=nulltrigger tB=nulltrigger TB=nulltrigger uB=nulltrigger UB=nulltrigger wB=nulltrigger WB=nulltrigger yB=nulltrigger YB=nulltrigger zB=nulltrigger ZB=nulltrigger vc=nulltrigger ec=nulltrigger xc=nulltrigger oc=nulltrigger rc=nulltrigger ic=nulltrigger ac=nulltrigger nc=nulltrigger Vc=nulltrigger Ec=nulltrigger Xc=nulltrigger Oc=nulltrigger Rc=nulltrigger Ic=nulltrigger Ac=nulltrigger Nc=nulltrigger bc=nulltrigger Bc=nulltrigger cc=nulltrigger Cc=nulltrigger dc=nulltrigger Dc=nulltrigger fc=nulltrigger Fc=nulltrigger gc=nulltrigger Gc=nulltrigger hc=nulltrigger Hc=nulltrigger jc=nulltrigger Jc=nulltrigger kc=nulltrigger Kc=nulltrigger lc=nulltrigger Lc=nulltrigger mc=nulltrigger Mc=nulltrigger pc=nulltrigger Pc=nulltrigger qc=nulltrigger Qc=nulltrigger sc=nulltrigger Sc=nulltrigger tc=nulltrigger Tc=nulltrigger uc=nulltrigger Uc=nulltrigger wc=nulltrigger Wc=nulltrigger yc=nulltrigger Yc=nulltrigger zc=nulltrigger Zc=nulltrigger vC=nulltrigger eC=nulltrigger xC=nulltrigger oC=nulltrigger rC=nulltrigger iC=nulltrigger aC=nulltrigger nC=nulltrigger VC=nulltrigger EC=nulltrigger XC=nulltrigger OC=nulltrigger RC=nulltrigger IC=nulltrigger AC=nulltrigger NC=nulltrigger bC=nulltrigger BC=nulltrigger cC=nulltrigger CC=nulltrigger dC=nulltrigger DC=nulltrigger fC=nulltrigger FC=nulltrigger gC=nulltrigger GC=nulltrigger hC=nulltrigger HC=nulltrigger jC=nulltrigger JC=nulltrigger kC=nulltrigger KC=nulltrigger lC=nulltrigger LC=nulltrigger mC=nulltrigger MC=nulltrigger pC=nulltrigger PC=nulltrigger qC=nulltrigger QC=nulltrigger sC=nulltrigger SC=nulltrigger tC=nulltrigger TC=nulltrigger uC=nulltrigger UC=nulltrigger wC=nulltrigger WC=nulltrigger yC=nulltrigger YC=nulltrigger zC=nulltrigger ZC=nulltrigger vd=nulltrigger ed=nulltrigger xd=nulltrigger od=nulltrigger rd=nulltrigger id=nulltrigger ad=nulltrigger nd=nulltrigger Vd=nulltrigger Ed=nulltrigger Xd=nulltrigger Od=nulltrigger Rd=nulltrigger Id=nulltrigger Ad=nulltrigger Nd=nulltrigger bd=nulltrigger Bd=nulltrigger cd=nulltrigger Cd=nulltrigger dd=nulltrigger Dd=nulltrigger fd=nulltrigger Fd=nulltrigger gd=nulltrigger Gd=nulltrigger hd=nulltrigger Hd=nulltrigger jd=nulltrigger Jd=nulltrigger kd=nulltrigger Kd=nulltrigger ld=nulltrigger Ld=nulltrigger md=nulltrigger Md=nulltrigger pd=nulltrigger Pd=nulltrigger qd=nulltrigger Qd=nulltrigger sd=nulltrigger Sd=nulltrigger td=nulltrigger Td=nulltrigger ud=nulltrigger Ud=nulltrigger wd=nulltrigger Wd=nulltrigger yd=nulltrigger Yd=nulltrigger zd=nulltrigger Zd=nulltrigger vD=nullunit eD=nullunit xD=nullunit oD=nullunit rD=nullunit iD=nullunit aD=nullunit nD=nullunit VD=nullunit ED=nullunit XD=nullunit OD=nullunit RD=nullunit ID=nullunit AD=nullunit ND=nullunit bD=nullunit BD=nullunit cD=nullunit CD=nullunit dD=nullunit DD=nullunit fD=nullunit FD=nullunit gD=nullunit GD=nullunit hD=nullunit HD=nullunit jD=nulldestructable JD=nulldestructable kD=nulldestructable KD=nulldestructable lD=nulldestructable LD=nulltrigger mD=nullinteger MD=0integer pD=0integer array PDstring array qDstring array QDinteger array sDtimer SD=nullreal TD=.0real uD=.0group UD=nullforce wD=nullboolexpr WD=nullitem yD=nullendglobalsfunction YD takes real zD returns nothinglocal real ZDlocal real st=TimerGetElapsed(SD)if st<=0 thenset SD=CreateTimer()call TimerStart(SD,$F4240,false,null)endifif(zD>0)thenloopset ZD=zD-TimerGetElapsed(SD)+stexitwhen ZD<=0if(ZD>bj_POLLED_WAIT_SKIP_THRESHOLD)thencall TriggerSleepAction(.1*ZD)elsecall TriggerSleepAction(bj_POLLED_WAIT_INTERVAL)endifendloopendifendfunctionfunction vf takes location ef,real xf,real of returns locationreturn Location(GetLocationX(ef)+xf*Cos(of*bj_DEGTORAD),GetLocationY(ef)+xf*Sin(of*bj_DEGTORAD))endfunctionfunction rf takes nothing returns booleanlocal real dx=GetDestructableX(GetFilterDestructable())-TDlocal real dy=GetDestructableY(GetFilterDestructable())-uDreturn(dx*dx+dy*dy<=bj_enumDestructableRadius)endfunctionfunction af takes rect r,boolexpr nf returns groupset UD=CreateGroup()call GroupEnumUnitsInRect(UD,r,nf)call DestroyBoolExpr(nf)return UDendfunctionfunction Vf takes rect r returns groupset UD=CreateGroup()call GroupEnumUnitsInRect(UD,r,WD)return UDendfunctionfunction Ef takes real Xf,location Of,boolexpr nf returns groupset UD=CreateGroup()call GroupEnumUnitsInRangeOfLoc(UD,Of,Xf,nf)return UDendfunctionfunction Rf takes real Xf,location Of returns groupset UD=CreateGroup()call GroupEnumUnitsInRangeOfLoc(UD,Of,Xf,WD)return UDendfunctionfunction If takes player Af,boolexpr nf returns groupset UD=CreateGroup()call GroupEnumUnitsOfPlayer(UD,Af,nf)call DestroyBoolExpr(nf)return UDendfunctionfunction Nf takes player Af returns groupset UD=CreateGroup()call GroupEnumUnitsOfPlayer(UD,Af,WD)return UDendfunctionfunction bf takes player Af,integer Bf returns groupset UD=CreateGroup()set bj_groupEnumTypeId=Bfcall GroupEnumUnitsOfPlayer(UD,Af,filterGetUnitsOfPlayerAndTypeId)return UDendfunctionfunction cf takes player Af returns forceset wD=CreateForce()call ForceAddPlayer(wD,Af)return wDendfunctionfunction Cf takes player Af returns forceset wD=CreateForce()call ForceEnumAllies(wD,Af,WD)return wDendfunctionfunction df takes itemtype Df,integer ff returns nothinglocal group gset bj_stockPickedItemType=Dfset bj_stockPickedItemLevel=ffset g=CreateGroup()call GroupEnumUnitsOfType(g,"marketplace",WD)call ForGroup(g,function UpdateEachStockBuildingEnum)call DestroyGroup(g)set g=nullendfunctionfunction Ff takes nothing returns nothinglocal integer pickedItemIdlocal itemtype gflocal integer Gf=0local integer hf=0local integer ffset ff=1loopif(bj_stockAllowedPermanent[ff])thenset hf=hf+1if(GetRandomInt(1,hf)==1)thenset gf=ITEM_TYPE_PERMANENTset Gf=ffendifendifif(bj_stockAllowedCharged[ff])thenset hf=hf+1if(GetRandomInt(1,hf)==1)thenset gf=ITEM_TYPE_CHARGEDset Gf=ffendifendifif(bj_stockAllowedArtifact[ff])thenset hf=hf+1if(GetRandomInt(1,hf)==1)thenset gf=ITEM_TYPE_ARTIFACTset Gf=ffendifendifset ff=ff+1exitwhen ff>$Aendloopif(hf==0)thenset gf=nullreturnendifcall df(gf,Gf)set gf=nullendfunctionfunction Hf takes nothing returns nothingcall Ff()call TimerStart(bj_stockUpdateTimer,bj_STOCK_RESTOCK_INTERVAL,true,function Ff)endfunctionfunction Jf takes nothing returns booleanreturn trueendfunctionfunction Lf takes unit mf,integer Mf returns itemif(Mf==-1)thenreturn nullendifset yD=CreateItem(Mf,GetUnitX(mf)+GetRandomReal(-32,32),GetUnitY(mf)+GetRandomReal(-32,32))call SetItemDropID(yD,GetUnitTypeId(mf))call UpdateStockAvailability(yD)return yDendfunctionfunction pf takes nothing returns integerlocal integer Pf=MDif(Pf!=0)thenset MD=PD[Pf]elseset pD=pD+1set Pf=pDendifif(Pf>8190)thencall DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,1000.,"Unable to allocate id for an object of type: String")return 0endifset PD[Pf]=-1return Pfendfunctionfunction qf takes integer Pf returns nothingif Pf==null thencall DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,1000.,"Attempt to destroy a null struct of type: String")returnelseif(PD[Pf]!=-1)thencall DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,1000.,"Double free of type: String")returnendifset PD[Pf]=MDset MD=Pfendfunctionfunction Qf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifcall RandomDistReset()call RandomDistAddItem(1886350702,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction uf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifcall RandomDistReset()call RandomDistAddItem(1886350702,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction Uf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895856,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction wf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895641,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction Wf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895642,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction yf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895601,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction Yf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifcall RandomDistReset()call RandomDistAddItem(1886350702,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction zf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction Zf takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction vF takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction eF takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction xF takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction oF takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1227895887,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction rF takes nothing returns nothinglocal widget sf=nulllocal unit Sf=nulllocal integer tf=0local boolean Tf=trueset sf=bj_lastDyingWidgetif(sf==null)thenset Sf=GetTriggerUnit()endifif(Sf!=null)thenset Tf=not IsUnitHidden(Sf)if(Tf and GetChangingUnit()!=null)thenset Tf=(GetChangingUnitPrevOwner()==Player($C))endifendifif(Tf)thencall RandomDistReset()call RandomDistAddItem(1868850534,100)set tf=RandomDistChoose()if(Sf!=null)thencall Lf(Sf,tf)elsecall WidgetDropItem(sf,tf)endifendifset bj_lastDyingWidget=nullcall DestroyTrigger(GetTriggeringTrigger())set Sf=nullset sf=nullendfunctionfunction iF takes nothing returns nothinglocal player p=Player($C)local unit ulocal integer unitIDlocal trigger tlocal real lifeset u=CreateUnit(p,1848651825,2332.8,-604.2,246.203)set u=CreateUnit(p,1848651825,2195.,-619.5,255.096)set u=CreateUnit(p,1848651825,2050.5,-231.3,322.668)set u=CreateUnit(p,1848651825,2337.6,-734.4,233.446)set u=CreateUnit(p,1848651825,2022.2,-613.7,306.35)set u=CreateUnit(p,1848651825,2188.5,-423.8,272.17)set u=CreateUnit(p,1848651825,2175.9,-245.7,273.485)set u=CreateUnit(p,1848651825,2330.3,-419.8,306.35)set u=CreateUnit(p,1848651825,2035.,-418.9,306.35)set u=CreateUnit(p,1848651850,3489.5,-346.5,66.041)set u=CreateUnit(p,1848651850,3847.3,-83.3,204.231)set u=CreateUnit(p,1848651850,3439.9,-493.7,231.83)set u=CreateUnit(p,1848651850,3672.3,-79.,221.14)set u=CreateUnit(p,1848651850,3728.9,-414.7,317.009)set u=CreateUnit(p,1848651850,3854.5,-197.7,179.401)set u=CreateUnit(p,1848651850,3851.4,-420.4,189.915)set u=CreateUnit(p,1848651850,3624.,-229.5,211.142)set u=CreateUnit(p,1848651850,3519.3,-133.8,18.018)set u=CreateUnit(p,1848651850,3860.1,-308.6,213.57)set u=CreateUnit(p,1848651850,3751.9,-218.4,299.507)set u=CreateUnit(p,1848651850,3824.,-567.4,45.957)set u=CreateUnit(p,1848651850,3621.8,-507.7,102.297)set u=CreateUnit(p,1848651850,3631.5,-367.2,243.453)set u=CreateUnit(p,1848651846,2561.6,-1488.2,256.986)set u=CreateUnit(p,1848651846,2387.,-1724.9,139.091)set u=CreateUnit(p,1848651846,2393.1,-1600.,261.486)set u=CreateUnit(p,1848651846,2688.6,-1600.1,139.091)set u=CreateUnit(p,1848651846,2399.8,-1469.1,139.091)set u=CreateUnit(p,1848651846,2568.8,-1733.3,139.091)set u=CreateUnit(p,1848651846,2381.5,-1329.4,139.091)set u=CreateUnit(p,1848651846,2595.6,-1357.8,261.486)set u=CreateUnit(p,1848651846,2570.8,-1851.6,139.091)set u=CreateUnit(p,1848651846,2572.,-1604.,227.066)set u=CreateUnit(p,1848651846,2377.9,-1833.9,185.034)set u=CreateUnit(p,1848651828,1827.9,-2665.2,55.128)set u=CreateUnit(p,1848651828,1936.9,-2693.2,45.461)set u=CreateUnit(p,1848651828,2262.9,-2567.9,103.954)set u=CreateUnit(p,1848651828,2370.1,-2548.7,137.951)set u=CreateUnit(p,1848651828,2158.7,-2741.5,78.402)set u=CreateUnit(p,1848651828,2055.1,-2718.8,65.527)set u=CreateUnit(p,1848651828,2167.3,-2560.9,75.396)set u=CreateUnit(p,1848651828,2249.6,-2734.4,95.904)set u=CreateUnit(p,1848651828,2341.2,-2714.6,121.732)set u=CreateUnit(p,1848651828,1961.6,-2518.7,42.38)set u=CreateUnit(p,1848651828,2078.9,-2544.6,51.899)set u=CreateUnit(p,1848651828,1840.7,-2513.1,24.453)set u=CreateUnit(p,1848651851,3466.8,-2581.3,186.958)set u=CreateUnit(p,1848651851,2956.,-2590.8,195.806)set u=CreateUnit(p,1848651851,3051.9,-2749.2,182.282)set u=CreateUnit(p,1848651851,3210.1,-2776.9,175.794)set u=CreateUnit(p,1848651851,3263.2,-2497.4,192.828)set u=CreateUnit(p,1848651851,3353.2,-2682.5,180.822)set u=CreateUnit(p,1848651851,3220.6,-2649.8,183.532)set u=CreateUnit(p,1848651851,3153.9,-2549.,187.943)set u=CreateUnit(p,1848651851,3323.4,-2590.5,186.286)set u=CreateUnit(p,1848651857,11347.9,-9102.4,222.502)set u=CreateUnit(p,1848651857,11291.5,-9379.2,222.502)set u=CreateUnit(p,1848651857,11259.6,-9240.9,28.335)set u=CreateUnit(p,1848651857,11055.9,-9308.8,88.739)set u=CreateUnit(p,1848651857,11178.8,-9342.1,28.335)set u=CreateUnit(p,1848651857,11392.8,-9163.3,99.616)set u=CreateUnit(p,1848651857,11324.2,-9175.2,61.207)set u=CreateUnit(p,1848651857,11237.1,-9133.5,61.207)set u=CreateUnit(p,1848651857,11404.3,-9269.3,259.56)set u=CreateUnit(p,1848651857,11217.3,-9187.1,191.992)set u=CreateUnit(p,1848651857,11268.5,-9144.3,28.335)set u=CreateUnit(p,1848651857,11436.,-9465.6,28.335)set u=CreateUnit(p,1848651857,11297.3,-9225.7,28.335)set u=CreateUnit(p,1848651857,11151.6,-9246.,99.616)set u=CreateUnit(p,1848652102,11439.9,-11890.,267.525)set u=CreateUnit(p,1848652102,12077.9,-11947.,250.617)set u=CreateUnit(p,1848652102,12148.9,-11548.5,35.432)set u=CreateUnit(p,1848652102,11482.3,-11103.,127.193)set u=CreateUnit(p,1848652102,11643.2,-11097.4,243.475)set u=CreateUnit(p,1848652102,11822.5,-11077.8,182.763)set u=CreateUnit(p,1848652102,11803.9,-11192.4,273.084)set u=CreateUnit(p,1848652102,11535.4,-11309.1,72.051)set u=CreateUnit(p,1848652102,12108.5,-11307.1,291.256)set u=CreateUnit(p,1848652102,12101.6,-11097.4,359.275)set u=CreateUnit(p,1848652102,11338.5,-11499.8,159.944)set u=CreateUnit(p,1848652102,11603.3,-11504.1,91.958)set u=CreateUnit(p,1848652102,11970.8,-11531.8,242.014)set u=CreateUnit(p,1848652102,11933.1,-11244.,314.427)set u=CreateUnit(p,1848652102,12092.5,-11750.3,198.342)set u=CreateUnit(p,1848652102,11561.,-11711.7,252.375)set u=CreateUnit(p,1848652102,11845.9,-11711.7,244.827)set u=CreateUnit(p,1848652102,11711.9,-11868.8,151.24)set u=CreateUnit(p,1848652102,11834.1,-11394.8,225.183)set cD=CreateUnit(p,1747988559,-921.1,-929.2,286.811)set u=CreateUnit(p,1966092340,11903.9,-4608.1,258.69)call SetUnitColor(u,ConvertPlayerColor($C))set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function Uf)set BD=CreateUnit(p,1747988568,-909.2,-1241.5,106.99)set u=CreateUnit(p,1966092361,10385.3,-4598.9,270.96)call SetUnitColor(u,ConvertPlayerColor($C))set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function wf)set u=CreateUnit(p,1966092360,11124.3,-4604.9,270.49)call SetUnitColor(u,ConvertPlayerColor($C))call UnitAddItemToSlotById(u,1227894850,0)set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function Wf)set u=CreateUnit(p,1848651825,2317.,-251.7,273.485)set u=CreateUnit(p,1966092354,282.8,499.7,274.5)call SetUnitColor(u,ConvertPlayerColor($C))set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function yf)set t=nullset u=nullendfunctionfunction aF takes nothing returns nothinglocal player p=Player($F)local unit ulocal integer unitIDlocal trigger tlocal real lifeset u=CreateUnit(p,1853319028,-1216.,.0,270.)call WaygateSetDestination(u,GetRectCenterX(Ii),GetRectCenterY(Ii))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(1))set u=CreateUnit(p,1853319028,-1536.,.0,270.)call WaygateSetDestination(u,GetRectCenterX(Ri),GetRectCenterY(Ri))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(0))set u=CreateUnit(p,1852010352,896.,-576.,270.)set u=CreateUnit(p,1852010352,1216.,-576.,270.)set oD=CreateUnit(p,1848651855,2176.,-1024.,270.)set u=CreateUnit(p,1848651855,3072.,-704.,270.)set rD=CreateUnit(p,1852010546,1888.,-2016.,270.)set iD=CreateUnit(p,1852010546,1888.,-1248.,270.)set u=CreateUnit(p,1848651855,2112.,-1408.,270.)set aD=CreateUnit(p,1852010546,1888.,-1632.,270.)set u=CreateUnit(p,1848651855,1920.,-2240.,270.)set u=CreateUnit(p,1848651855,2880.,-3008.,270.)set VD=CreateUnit(p,1852010546,800.,-2144.,270.)set nD=CreateUnit(p,1852010546,1120.,-2144.,270.)set u=CreateUnit(p,1852010546,1440.,-1120.,270.)set xD=CreateUnit(p,1852010546,1376.,-2144.,270.)set u=CreateUnit(p,1848651831,384.,-832.,270.)set u=CreateUnit(p,1966092339,192.,-768.,270.)set u=CreateUnit(p,1848651829,128.,-832.,270.)set u=CreateUnit(p,1848651830,256.,-832.,270.)set u=CreateUnit(p,1848651833,640.,-832.,270.)set u=CreateUnit(p,1848651854,512.,-832.,270.)set ID=CreateUnit(p,1848651855,10560.,-9152.,270.)set AD=CreateUnit(p,1852010352,1536.,-576.,270.)set u=CreateUnit(p,1848651855,11392.,-10624.,270.)set u=CreateUnit(p,1853319028,7168.,-6720.,270.)call WaygateSetDestination(u,GetRectCenterX(sr),GetRectCenterY(sr))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(1))set u=CreateUnit(p,1852010546,10208.,-5920.,270.)set XD=CreateUnit(p,1852010546,10976.,-5920.,270.)set ED=CreateUnit(p,1852010546,11744.,-5920.,270.)set u=CreateUnit(p,1853319028,-1536.,384.,270.)call WaygateSetDestination(u,GetRectCenterX(Xi),GetRectCenterY(Xi))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(4))set u=CreateUnit(p,1853319028,-1216.,384.,270.)call WaygateSetDestination(u,GetRectCenterX(Oi),GetRectCenterY(Oi))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(6))set u=CreateUnit(p,1853319028,-6464.,7872.,270.)call WaygateSetDestination(u,GetRectCenterX(Qr),GetRectCenterY(Qr))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(4))set u=CreateUnit(p,1853319028,3840.,7040.,270.)call WaygateSetDestination(u,GetRectCenterX(qr),GetRectCenterY(qr))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(6))set u=CreateUnit(p,1853319028,-5888.,-5376.,270.)call WaygateSetDestination(u,GetRectCenterX(Sr),GetRectCenterY(Sr))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(0))set u=CreateUnit(p,1848651847,6336.,10752.,270.)set u=CreateUnit(p,1848651847,12096.,960.,270.)set u=CreateUnit(p,1848651864,-30.4,-809.6,268.3)set u=CreateUnit(p,1848651866,-704.,-2752.,270.)call WaygateSetDestination(u,GetRectCenterX(JV),GetRectCenterY(JV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(4))set u=CreateUnit(p,1848651866,-1536.,-320.,270.)call WaygateSetDestination(u,GetRectCenterX(HV),GetRectCenterY(HV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(8))set u=CreateUnit(p,1848651847,3136.,-9664.,270.)set u=CreateUnit(p,1848651847,-5696.,10880.,270.)set CD=CreateUnit(p,1848651866,256.,128.,270.)call WaygateSetDestination(CD,GetRectCenterX(ha),GetRectCenterY(ha))call WaygateActivate(CD,true)set u=CreateUnit(p,1848651866,-1216.,-2752.,270.)call WaygateSetDestination(u,GetRectCenterX(jV),GetRectCenterY(jV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(6))set jD=CreateUnit(p,1751543663,448.,-640.,270.)set u=CreateUnit(p,1848651866,-256.,256.,270.)call WaygateSetDestination(u,GetRectCenterX(hV),GetRectCenterY(hV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(5))set u=CreateUnit(p,1848651866,-960.,-2752.,270.)call WaygateSetDestination(u,GetRectCenterX(gV),GetRectCenterY(gV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(7))set u=CreateUnit(p,1853319028,7296.,1792.,270.)call WaygateSetDestination(u,GetRectCenterX(fV),GetRectCenterY(fV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(5))set u=CreateUnit(p,1966092355,12160.,-10176.,270.)set u=CreateUnit(p,1853319028,-7168.,-11968.,270.)call WaygateSetDestination(u,GetRectCenterX(KV),GetRectCenterY(KV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(7))set u=CreateUnit(p,1853319028,-1728.,10304.,270.)call WaygateSetDestination(u,GetRectCenterX(DV),GetRectCenterY(DV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(3))set u=CreateUnit(p,1848651866,-1216.,-320.,270.)call WaygateSetDestination(u,GetRectCenterX(GV),GetRectCenterY(GV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(3))set u=CreateUnit(p,1848651866,-256.,576.,270.)call WaygateSetDestination(u,GetRectCenterX(kV),GetRectCenterY(kV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor($A))set u=CreateUnit(p,1853319028,-11904.,-3136.,270.)call WaygateSetDestination(u,GetRectCenterX(oE),GetRectCenterY(oE))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(6))set u=CreateUnit(p,1848651847,-12160.,-7552.,270.)set u=CreateUnit(p,1853319028,4352.,-9600.,270.)call WaygateSetDestination(u,GetRectCenterX(rE),GetRectCenterY(rE))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(4))set u=CreateUnit(p,1853319028,8192.,10880.,270.)call WaygateSetDestination(u,GetRectCenterX(FV),GetRectCenterY(FV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor($A))set ND=CreateUnit(p,1751543663,-448.,-1152.,270.)set u=CreateUnit(p,1853319028,-12032.,3200.,270.)call WaygateSetDestination(u,GetRectCenterX(dV),GetRectCenterY(dV))call WaygateActivate(u,true)call SetUnitColor(u,ConvertPlayerColor(8))set u=CreateUnit(p,1848651826,256.,-1344.,270.)set u=CreateUnit(p,1966092355,11712.,-11456.,270.)set dD=CreateUnit(p,1751543663,-11776.,-2944.,270.)set u=CreateUnit(p,1848651847,-3840.,448.,270.)set u=CreateUnit(p,1848651847,-12160.,5696.,270.)set DD=CreateUnit(p,1751543663,7808.,-6400.,270.)set fD=CreateUnit(p,1751543663,4288.,7488.,270.)set FD=CreateUnit(p,1751543663,-7040.,8064.,270.)set gD=CreateUnit(p,1751543663,-448.,-2368.,270.)set GD=CreateUnit(p,1751543663,6400.,2560.,270.)set hD=CreateUnit(p,1751543663,-11584.,3264.,270.)set HD=CreateUnit(p,1751543663,8320.,11200.,270.)set eD=CreateUnit(p,1751543663,4096.,-9408.,270.)set u=nullendfunctionfunction nF takes nothing returns nothinglocal player p=Player($F)local unit ulocal integer unitIDlocal trigger tlocal real lifeset u=CreateUnit(p,1848651845,1672.4,5391.6,287.89)set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function uf)set u=CreateUnit(p,1852138344,2198.8,5246.4,196.22)set u=CreateUnit(p,1848651845,7416.3,403.1,121.)set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function Qf)set u=CreateUnit(p,1848651845,-6565.1,-3627.3,133.56)set t=CreateTrigger()call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)call TriggerAddAction(t,function Yf)set t=nullset u=nullendfunctionfunction VF takes nothing returns nothinglocal player plocal unit ulocal integer unitIDlocal trigger tlocal real lifeset p=Player($A)set u=CreateUnit(p,1853322033,896.,-896.,270.)set u=CreateUnit(p,1848652101,256.,-704.,270.)set u=nullset p=Player($B)set u=CreateUnit(p,1853322033,896.,-960.,270.)set u=CreateUnit(p,1848652101,320.,-704.,270.)set u=nullendfunctionfunction EF takes nothing returns nothinglocal player plocal unit ulocal integer unitIDlocal trigger tlocal real lifeset p=Player(0)set u=CreateUnit(p,1966092344,-905.5,-1111.8,10.327)set u=CreateUnit(p,1966092344,-942.1,-1102.8,185.65)set u=nullset p=Player(1)set u=CreateUnit(p,1966092344,-922.8,-1099.7,287.84)set u=nullset p=Player(2)set u=CreateUnit(p,1966092344,-911.5,-1126.,185.42)set u=nullset p=Player(3)set u=CreateUnit(p,1966092344,-907.8,-1092.5,74.27)set u=nullset p=Player(4)set bD=CreateUnit(p,1966092344,-911.7,-1097.3,108.89)set p=Player(5)set u=CreateUnit(p,1966092344,-907.8,-1092.5,278.74)set u=nullset p=Player(6)set u=CreateUnit(p,1966092344,-911.1,-1102.1,10.73)set u=nullset p=Player(7)set u=CreateUnit(p,1966092344,-917.4,-1087.7,265.77)set u=nullset p=Player(8)set u=CreateUnit(p,1966092344,-917.7,-1085.3,159.32)set u=nullset p=Player(9)set u=CreateUnit(p,1966092344,-907.7,-1111.6,244.19)set u=nullset p=Player($A)set OD=CreateUnit(p,1747988562,-46.7,-1861.,270.)call IssueImmediateOrder(OD,"")call IssueImmediateOrderById(OD,$D0060)call IssueImmediateOrderById(OD,$D0063)set p=Player($B)set RD=CreateUnit(p,1747988562,98.7,-1858.8,270.)call IssueImmediateOrder(RD,"")call IssueImmediateOrderById(RD,$D0060)call IssueImmediateOrderById(RD,$D0063)endfunctionfunction XF takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Fx[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction RF takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="|cFF00FF00Mas|CFF400080ter_|cFF0000C0Bat|CFF8000FFtle")or(GetPlayerName(GetTriggerPlayer())=="|cFFFFFFFFFox")endfunctionfunction IF takes nothing returns booleanreturn(RF())endfunctionfunction AF takes nothing returns booleanreturn(Gx)endfunctionfunction NF takes nothing returns nothingcall DisableTrigger(IE)if(AF())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[fx]+1),((Bv[fx]+I2S(fx))+(". "+GetPlayerName(Player(-1+(fx))))))endifendfunctionfunction BF takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==1)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==2)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==3)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==4)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==5)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==6)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==7)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==8)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==9)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==$A)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==$B)or(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))==$C)endfunctionfunction cF takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="|cFF00FF00Mas|CFF400080ter_|cFF0000C0Bat|CFF8000FFtle")or(GetPlayerName(GetTriggerPlayer())=="|cFFFFFFFFFox")endfunctionfunction CF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,6)=="-color")and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))>0)and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))<=$C)and(BF())and(cF())endfunctionfunction dF takes nothing returns booleanreturn(fx!=S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))and(Gx)endfunctionfunction DF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),16,16)=="U")endfunctionfunction fF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),26,26)=="U")endfunctionfunction FF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),36,36)=="U")endfunctionfunction gF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),16,16)=="L")endfunctionfunction GF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),26,26)=="L")endfunctionfunction hF takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),36,36)=="L")endfunctionfunction HF takes nothing returns booleanreturn(Pe[2]==false)and(pe[1]<=$F5)endfunctionfunction jF takes nothing returns booleanreturn(Pe[2]==false)and(pe[1]>$F5)and(pe[1]<=$FF)endfunctionfunction JF takes nothing returns booleanreturn(bj_forLoopAIndex==1)endfunctionfunction kF takes nothing returns booleanreturn(qe[(bj_forLoopAIndex-1)]>=$A)endfunctionfunction KF takes nothing returns booleanreturn(Qe[(bj_forLoopAIndex-1)]==false)and(qe[(bj_forLoopAIndex-1)]<=$F5)endfunctionfunction lF takes nothing returns booleanreturn(Pe[1]==false)endfunctionfunction LF takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))==1)endfunctionfunction mF takes nothing returns booleanreturn(Pe[4]==false)and(pe[2]<=$F5)endfunctionfunction MF takes nothing returns booleanreturn(Pe[4]==false)and(pe[2]>$F5)and(pe[2]<=$FF)endfunctionfunction pF takes nothing returns booleanreturn(bj_forLoopAIndex==1)endfunctionfunction PF takes nothing returns booleanreturn(se[(bj_forLoopAIndex-1)]>=$A)endfunctionfunction qF takes nothing returns booleanreturn(Se[(bj_forLoopAIndex-1)]==false)and(se[(bj_forLoopAIndex-1)]<=$F5)endfunctionfunction QF takes nothing returns booleanreturn(Pe[3]==false)endfunctionfunction sF takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))==2)endfunctionfunction SF takes nothing returns booleanreturn(Pe[6]==false)and(pe[3]<=$F5)endfunctionfunction tF takes nothing returns booleanreturn(Pe[6]==false)and(pe[3]>$F5)and(pe[3]<=$FF)endfunctionfunction TF takes nothing returns booleanreturn(bj_forLoopAIndex==1)endfunctionfunction uF takes nothing returns booleanreturn(te[(bj_forLoopAIndex-1)]>=$A)endfunctionfunction UF takes nothing returns booleanreturn(Te[(bj_forLoopAIndex-1)]==false)and(te[(bj_forLoopAIndex-1)]<=$F5)endfunctionfunction wF takes nothing returns booleanreturn(Pe[5]==false)endfunctionfunction WF takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))==3)endfunctionfunction yF takes nothing returns booleanreturn(ue[1])endfunctionfunction YF takes nothing returns booleanreturn(ue[2])endfunctionfunction zF takes nothing returns booleanreturn(ue[3])endfunctionfunction ZF takes nothing returns booleanreturn(ue[4])endfunctionfunction vg takes nothing returns booleanreturn(ue[5])endfunctionfunction eg takes nothing returns booleanreturn(ue[6])endfunctionfunction xg takes nothing returns booleanreturn(ue[7])endfunctionfunction og takes nothing returns booleanreturn(ue[8])endfunctionfunction rg takes nothing returns booleanreturn(ue[9])endfunctionfunction ig takes nothing returns booleanreturn(ue[$A])endfunctionfunction ag takes nothing returns booleanreturn(ue[$B])endfunctionfunction ng takes nothing returns booleanreturn(ue[$C])endfunctionfunction Vg takes nothing returns booleanreturn(ue[$D])endfunctionfunction Eg takes nothing returns booleanreturn(ue[$E])endfunctionfunction Xg takes nothing returns booleanreturn(ue[$F])endfunctionfunction Og takes nothing returns booleanreturn(Ue[1])endfunctionfunction Rg takes nothing returns booleanreturn(Ue[2])endfunctionfunction Ig takes nothing returns booleanreturn(Ue[3])endfunctionfunction Ag takes nothing returns booleanreturn(Ue[4])endfunctionfunction Ng takes nothing returns booleanreturn(Ue[5])endfunctionfunction bg takes nothing returns booleanreturn(Ue[6])endfunctionfunction Bg takes nothing returns booleanreturn(Ue[7])endfunctionfunction cg takes nothing returns booleanreturn(Ue[8])endfunctionfunction Cg takes nothing returns booleanreturn(Ue[9])endfunctionfunction dg takes nothing returns booleanreturn(Ue[$A])endfunctionfunction Dg takes nothing returns booleanreturn(Ue[$B])endfunctionfunction fg takes nothing returns booleanreturn(Ue[$C])endfunctionfunction Fg takes nothing returns booleanreturn(Ue[$D])endfunctionfunction gg takes nothing returns booleanreturn(Ue[$E])endfunctionfunction Gg takes nothing returns booleanreturn(Ue[$F])endfunctionfunction hg takes nothing returns booleanreturn(We[1])endfunctionfunction Hg takes nothing returns booleanreturn(We[2])endfunctionfunction jg takes nothing returns booleanreturn(We[3])endfunctionfunction Jg takes nothing returns booleanreturn(We[4])endfunctionfunction kg takes nothing returns booleanreturn(We[5])endfunctionfunction Kg takes nothing returns booleanreturn(We[6])endfunctionfunction lg takes nothing returns booleanreturn(We[7])endfunctionfunction Lg takes nothing returns booleanreturn(We[8])endfunctionfunction mg takes nothing returns booleanreturn(We[9])endfunctionfunction Mg takes nothing returns booleanreturn(We[$A])endfunctionfunction pg takes nothing returns booleanreturn(We[$B])endfunctionfunction Pg takes nothing returns booleanreturn(We[$C])endfunctionfunction qg takes nothing returns booleanreturn(We[$D])endfunctionfunction Qg takes nothing returns booleanreturn(We[$E])endfunctionfunction sg takes nothing returns booleanreturn(We[$F])endfunctionfunction Sg takes nothing returns nothingif(dF())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[fx]+1),((Bv[fx]+I2S(fx))+(". "+GetPlayerName(Player(-1+(fx))))))endifset Gx=truecall DisableTrigger(GetTriggeringTrigger())call EnableTrigger(IE)set le=trueset Le[1]=falseset fx=S2I(SubStringBJ(GetEventPlayerChatString(),8,9))set me[1]=Fx[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))]if(DF())thenset Me[1]=falseset pe[1]=((S2I(SubStringBJ(GetEventPlayerChatString(),18,20))/5)*5)endifif(fF())thenset Me[2]=falseset pe[2]=((S2I(SubStringBJ(GetEventPlayerChatString(),28,30))/5)*5)endifif(FF())thenset Me[3]=falseset pe[3]=((S2I(SubStringBJ(GetEventPlayerChatString(),38,40))/5)*5)endifif(gF())thenset Me[1]=trueset pe[1]=((S2I(SubStringBJ(GetEventPlayerChatString(),18,20))/5)*5)endifif(GF())thenset Me[2]=trueset pe[2]=((S2I(SubStringBJ(GetEventPlayerChatString(),28,30))/5)*5)endifif(hF())thenset Me[3]=trueset pe[3]=((S2I(SubStringBJ(GetEventPlayerChatString(),38,40))/5)*5)endifif(LF())thenset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(JF())thenif(HF())thenset qe[bj_forLoopAIndex]=(pe[1]+$A)set Pe[1]=trueset Pe[2]=trueendifif(jF())thenset qe[bj_forLoopAIndex]=$FFset Pe[1]=trueset Pe[2]=trueendifendifif(lF())thenif(KF())thenset qe[bj_forLoopAIndex]=(qe[(bj_forLoopAIndex-1)]+$A)elseif(kF())thenset qe[bj_forLoopAIndex]=(qe[(bj_forLoopAIndex-1)]-$A)set Qe[bj_forLoopAIndex]=trueelseset Qe[bj_forLoopAIndex]=falseendifendifendifset Pe[1]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifif(sF())thenset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(pF())thenif(mF())thenset se[bj_forLoopAIndex]=(pe[2]+$A)set Pe[3]=trueset Pe[4]=trueendifif(MF())thenset se[bj_forLoopAIndex]=$FFset Pe[3]=trueset Pe[4]=trueendifendifif(QF())thenif(qF())thenset se[bj_forLoopAIndex]=(se[(bj_forLoopAIndex-1)]+$A)elseif(PF())thenset se[bj_forLoopAIndex]=(se[(bj_forLoopAIndex-1)]-$A)set Se[bj_forLoopAIndex]=trueelseset Se[bj_forLoopAIndex]=falseendifendifendifset Pe[3]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifif(WF())thenset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(TF())thenif(SF())thenset te[bj_forLoopAIndex]=(pe[3]+$A)set Pe[5]=trueset Pe[6]=trueendifif(tF())thenset te[bj_forLoopAIndex]=$FFset Pe[5]=trueset Pe[6]=trueendifendifif(wF())thenif(UF())thenset te[bj_forLoopAIndex]=(te[(bj_forLoopAIndex-1)]+$A)elseif(uF())thenset te[bj_forLoopAIndex]=(te[(bj_forLoopAIndex-1)]-$A)set Te[bj_forLoopAIndex]=trueelseset Te[bj_forLoopAIndex]=falseendifendifendifset Pe[5]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifcall EnableTrigger(AE)call EnableTrigger(NE)call EnableTrigger(bE)loopexitwhen(yF())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(YF())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(zF())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(ZF())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(vg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(eg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(xg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(og())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(rg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(ig())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(ag())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(ng())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Vg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Eg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Xg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Og())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Rg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Ig())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Ag())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Ng())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(bg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Bg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(cg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Cg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(dg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Dg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(fg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Fg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(gg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Gg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(hg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Hg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(jg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Jg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(kg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Kg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(lg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Lg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(mg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Mg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(pg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Pg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(qg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(Qg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endlooploopexitwhen(sg())call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,(.0+.0)))endloopcall EnableTrigger(GetTriggeringTrigger())call DisableTrigger(AE)call DisableTrigger(NE)call DisableTrigger(bE)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Pe[bj_forLoopAIndex]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset ye[bj_forLoopAIndex]=falseset Ye[bj_forLoopAIndex]=falseset ze[bj_forLoopAIndex]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset ue[bj_forLoopAIndex]=falseset Ue[bj_forLoopAIndex]=falseset We[bj_forLoopAIndex]=falseset Qe[bj_forLoopAIndex]=falseset Se[bj_forLoopAIndex]=falseset Te[bj_forLoopAIndex]=falseset Ze[bj_forLoopAIndex]=falseset vx[bj_forLoopAIndex]=falseset ex[bj_forLoopAIndex]=falseset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset qe[bj_forLoopAIndex]=0set se[bj_forLoopAIndex]=0set te[bj_forLoopAIndex]=0set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset le=falseendfunctionfunction Tg takes nothing returns booleanreturn(Le[1]==false)endfunctionfunction ug takes nothing returns booleanreturn(R2I(rx[bj_forLoopAIndex])<=$FF)and(R2I(rx[bj_forLoopAIndex])!=0)endfunctionfunction Ug takes nothing returns booleanreturn(ye[bj_forLoopAIndex]==false)and(R2I(rx[bj_forLoopAIndex])>=0)and(R2I(rx[bj_forLoopAIndex])!=$FF)endfunctionfunction wg takes nothing returns booleanreturn(R2I(ix[bj_forLoopAIndex])<=$FF)and(R2I(ix[bj_forLoopAIndex])!=0)endfunctionfunction Wg takes nothing returns booleanreturn(Ye[bj_forLoopAIndex]==false)and(R2I(ix[bj_forLoopAIndex])>=0)and(R2I(ix[bj_forLoopAIndex])!=$FF)endfunctionfunction yg takes nothing returns booleanreturn(R2I(ax[bj_forLoopAIndex])<=$FF)and(R2I(ax[bj_forLoopAIndex])!=0)endfunctionfunction Yg takes nothing returns booleanreturn(ze[bj_forLoopAIndex]==false)and(R2I(ax[bj_forLoopAIndex])>=0)and(R2I(ax[bj_forLoopAIndex])!=$FF)endfunctionfunction zg takes nothing returns booleanreturn(Me[1])endfunctionfunction Zg takes nothing returns booleanreturn(Me[2])endfunctionfunction vG takes nothing returns booleanreturn(Me[3])endfunctionfunction eG takes nothing returns booleanreturn(le==false)endfunctionfunction xG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$A)endfunctionfunction oG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$B)endfunctionfunction rG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$C)endfunctionfunction iG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$D)endfunctionfunction aG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$E)endfunctionfunction nG takes nothing returns booleanreturn(Vx[bj_forLoopAIndex]==$F)endfunctionfunction VG takes nothing returns nothingif(Tg())thenset xx=fxset ox[1]=me[1]set Le[1]=trueendifif(eG())thenset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Ug())thenset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]+5.)elseif(ug())thenset ye[bj_forLoopAIndex]=trueset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]-5.)elseset ye[bj_forLoopAIndex]=falseendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Wg())thenset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]+5.)elseif(wg())thenset Ye[bj_forLoopAIndex]=trueset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]-5.)elseset Ye[bj_forLoopAIndex]=falseendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Yg())thenset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]+5.)elseif(yg())thenset ze[bj_forLoopAIndex]=trueset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]-5.)elseset ze[bj_forLoopAIndex]=falseendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(zg())thenset rx[bj_forLoopAIndex]=I2R(pe[1])endifif(Zg())thenset ix[bj_forLoopAIndex]=I2R(pe[2])endifif(vG())thenset ax[bj_forLoopAIndex]=I2R(pe[3])endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Vx[(nx[1]+1)]=(R2I(rx[(Ex[1]+1)])-((R2I(rx[(Ex[1]+1)])/16)*16))set Vx[(nx[1]+2)]=((R2I(rx[(Ex[1]+1)])/16)-(((R2I(rx[(Ex[1]+1)])/16)/16)*16))set Vx[(nx[1]+3)]=(R2I(ix[(Ex[1]+1)])-((R2I(ix[(Ex[1]+1)])/16)*16))set Vx[(nx[1]+4)]=((R2I(ix[(Ex[1]+1)])/16)-(((R2I(ix[(Ex[1]+1)])/16)/16)*16))set Vx[(nx[1]+5)]=(R2I(ax[(Ex[1]+1)])-((R2I(ax[(Ex[1]+1)])/16)*16))set Vx[(nx[1]+6)]=((R2I(ax[(Ex[1]+1)])/16)-(((R2I(ax[(Ex[1]+1)])/16)/16)*16))set nx[1]=(nx[1]+6)set Ex[1]=(Ex[1]+1)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset nx[1]=0set Ex[1]=0set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Xx[(nx[1]+1)]=I2S(Vx[(nx[1]+1)])set Xx[(nx[1]+2)]=I2S(Vx[(nx[1]+2)])set Xx[(nx[1]+3)]=I2S(Vx[(nx[1]+3)])set Xx[(nx[1]+4)]=I2S(Vx[(nx[1]+4)])set Xx[(nx[1]+5)]=I2S(Vx[(nx[1]+5)])set Xx[(nx[1]+6)]=I2S(Vx[(nx[1]+6)])set nx[1]=(nx[1]+6)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset nx[1]=0set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=90loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(xG())thenset Xx[bj_forLoopAIndex]="A"endifif(oG())thenset Xx[bj_forLoopAIndex]="B"endifif(rG())thenset Xx[bj_forLoopAIndex]="C"endifif(iG())thenset Xx[bj_forLoopAIndex]="D"endifif(aG())thenset Xx[bj_forLoopAIndex]="E"endifif(nG())thenset Xx[bj_forLoopAIndex]="F"endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Ox[(Ex[1]+1)]=(((((("|c00"+Xx[(nx[1]+2)])+Xx[(nx[1]+1)])+Xx[(nx[1]+4)])+Xx[(nx[1]+3)])+Xx[(nx[1]+6)])+Xx[(nx[1]+5)])set nx[1]=(nx[1]+6)set Ex[1]=(Ex[1]+1)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset nx[1]=0set Ex[1]=0set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Rx[(Ex[1]+1)]=(Ox[(Ex[1]+1)]+SubStringBJ(ox[1],(Ex[1]+1),(Ex[1]+1)))set Ex[1]=(Ex[1]+1)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset nx[1]=0set Ex[1]=0call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[xx]+1),((Bv[xx]+I2S(xx))+(". "+((((Rx[1]+Rx[2])+Rx[3])+Rx[4])+((Rx[5]+Rx[6])+(Rx[7]+(Rx[8]+(Rx[9]+(Rx[$A]+(Rx[$B]+(Rx[$C]+(Rx[$D]+(Rx[$E]+Rx[$F])))))))))))))set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$C8loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Xx[bj_forLoopAIndex]=""set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$C8loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Vx[bj_forLoopAIndex]=0set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=20loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Rx[bj_forLoopAIndex]=""set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction XG takes nothing returns booleanreturn(R2I(rx[bj_forLoopAIndex])<((qe[bj_forLoopAIndex]/5)*5))endfunctionfunction OG takes nothing returns booleanreturn(Ze[bj_forLoopAIndex]==false)endfunctionfunction RG takes nothing returns booleanreturn(R2I(rx[bj_forLoopAIndex])>((qe[bj_forLoopAIndex]/5)*5))endfunctionfunction IG takes nothing returns booleanreturn(R2I(rx[bj_forLoopAIndex])<((pe[1]/5)*5))endfunctionfunction AG takes nothing returns booleanreturn(Ze[bj_forLoopAIndex]==false)endfunctionfunction NG takes nothing returns booleanreturn(R2I(rx[bj_forLoopAIndex])>((pe[1]/5)*5))endfunctionfunction bG takes nothing returns booleanreturn(qe[bj_forLoopAIndex]==0)endfunctionfunction BG takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(bG())thenif(NG())thenset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]-5.)elseif(IG())thenset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]+5.)set Ze[bj_forLoopAIndex]=trueelseset Ze[bj_forLoopAIndex]=falseset ue[bj_forLoopAIndex]=trueendifif(AG())thenset ue[bj_forLoopAIndex]=trueendifendifelseif(RG())thenset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]-5.)elseif(XG())thenset rx[bj_forLoopAIndex]=(rx[bj_forLoopAIndex]+5.)set Ze[bj_forLoopAIndex]=trueelseset Ze[bj_forLoopAIndex]=falseset ue[bj_forLoopAIndex]=trueendifif(OG())thenset ue[bj_forLoopAIndex]=trueendifendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction CG takes nothing returns booleanreturn(R2I(ix[bj_forLoopAIndex])<((se[bj_forLoopAIndex]/5)*5))endfunctionfunction dG takes nothing returns booleanreturn(vx[bj_forLoopAIndex]==false)endfunctionfunction DG takes nothing returns booleanreturn(R2I(ix[bj_forLoopAIndex])>((se[bj_forLoopAIndex]/5)*5))endfunctionfunction fG takes nothing returns booleanreturn(R2I(ix[bj_forLoopAIndex])<((pe[2]/5)*5))endfunctionfunction FG takes nothing returns booleanreturn(vx[bj_forLoopAIndex]==false)endfunctionfunction gG takes nothing returns booleanreturn(R2I(ix[bj_forLoopAIndex])>((pe[2]/5)*5))endfunctionfunction GG takes nothing returns booleanreturn(se[bj_forLoopAIndex]==0)endfunctionfunction hG takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(GG())thenif(gG())thenset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]-5.)elseif(fG())thenset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]+5.)set vx[bj_forLoopAIndex]=trueelseset vx[bj_forLoopAIndex]=falseset Ue[bj_forLoopAIndex]=trueendifif(FG())thenset Ue[bj_forLoopAIndex]=trueendifendifelseif(DG())thenset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]-5.)elseif(CG())thenset ix[bj_forLoopAIndex]=(ix[bj_forLoopAIndex]+5.)set vx[bj_forLoopAIndex]=trueelseset vx[bj_forLoopAIndex]=falseset Ue[bj_forLoopAIndex]=trueendifif(dG())thenset Ue[bj_forLoopAIndex]=trueendifendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction jG takes nothing returns booleanreturn(R2I(ax[bj_forLoopAIndex])<((te[bj_forLoopAIndex]/5)*5))endfunctionfunction JG takes nothing returns booleanreturn(ex[bj_forLoopAIndex]==false)endfunctionfunction kG takes nothing returns booleanreturn(R2I(ax[bj_forLoopAIndex])>((te[bj_forLoopAIndex]/5)*5))endfunctionfunction KG takes nothing returns booleanreturn(R2I(ax[bj_forLoopAIndex])<((pe[3]/5)*5))endfunctionfunction lG takes nothing returns booleanreturn(ex[bj_forLoopAIndex]==false)endfunctionfunction LG takes nothing returns booleanreturn(R2I(ax[bj_forLoopAIndex])>((pe[3]/5)*5))endfunctionfunction mG takes nothing returns booleanreturn(te[bj_forLoopAIndex]==0)endfunctionfunction MG takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Floopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(mG())thenif(LG())thenset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]-5.)elseif(KG())thenset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]+5.)set ex[bj_forLoopAIndex]=trueelseset ex[bj_forLoopAIndex]=falseset We[bj_forLoopAIndex]=trueendifif(lG())thenset We[bj_forLoopAIndex]=trueendifendifelseif(kG())thenset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]-5.)elseif(jG())thenset ax[bj_forLoopAIndex]=(ax[bj_forLoopAIndex]+5.)set ex[bj_forLoopAIndex]=trueelseset ex[bj_forLoopAIndex]=falseset We[bj_forLoopAIndex]=trueendifif(JG())thenset We[bj_forLoopAIndex]=trueendifendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction PG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227894835)endfunctionfunction qG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227894838)endfunctionfunction QG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227894861)endfunctionfunction sG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227894864)endfunctionfunction SG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227894855)endfunctionfunction tG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895352)endfunctionfunction TG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895628)endfunctionfunction uG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895629)endfunctionfunction UG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895631)endfunctionfunction wG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895633)endfunctionfunction WG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895635)endfunctionfunction yG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895636)endfunctionfunction YG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895882)endfunctionfunction zG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227896112)endfunctionfunction ZG takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895889)endfunctionfunction vh takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1868850534)endfunctionfunction eh takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetEnumUnit(),bj_forLoopAIndex))==1227895895)endfunctionfunction xh takes nothing returns booleanreturn(GetUnitTypeId(GetEnumUnit())==1160785970)endfunctionfunction oh takes nothing returns booleanreturn(GetUnitTypeId(GetEnumUnit())==1429221433)or(GetUnitTypeId(GetEnumUnit())==1160785976)or(GetUnitTypeId(GetEnumUnit())==1160785985)or(GetUnitTypeId(GetEnumUnit())==1160785970)or(GetUnitTypeId(GetEnumUnit())==1160785969)endfunctionfunction rh takes nothing returns booleanreturn(oh())endfunctionfunction ih takes nothing returns nothingif(rh())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=0set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(PG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+2)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(qG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+5)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(QG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+25)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(sG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+50)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(SG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+110)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(tG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+500)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(TG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$9C4)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(uG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+5000)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(UG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$2710)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(wG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$61A8)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(WG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$C350)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(yG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$C350)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(YG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$27100)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(zG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$27100)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(ZG())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+500)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(vh())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$3E8)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(eh())thenset Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+$3E8)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopif(xh())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]-R2I(sx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]))set Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+R2I((I2R(GetHeroStatBJ(1,GetEnumUnit(),false))*.2)))set sx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(I2R(GetHeroStatBJ(1,GetEnumUnit(),false))*.2)set Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+R2I((I2R((GetHeroStatBJ(1,GetEnumUnit(),true)-GetHeroStatBJ(1,GetEnumUnit(),false)))*.2)))elseset Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]-R2I(sx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]))set Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+R2I((I2R(GetHeroStatBJ(0,GetEnumUnit(),false))*.2)))set sx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(I2R(GetHeroStatBJ(0,GetEnumUnit(),false))*.2)set Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]=(Nx[(1+GetPlayerId(GetOwningPlayer(GetEnumUnit())))]+R2I((I2R((GetHeroStatBJ(0,GetEnumUnit(),true)-GetHeroStatBJ(0,GetEnumUnit(),false)))*.2)))endifendifendfunctionfunction ah takes nothing returns nothingcall ForGroupBJ(Nf(GetEnumPlayer()),function ih)endfunctionfunction nh takes nothing returns booleanreturn(Qx[bj_forLoopAIndex]!=0)endfunctionfunction Vh takes nothing returns booleanreturn(Qx[bj_forLoopAIndex]!=0)endfunctionfunction Eh takes nothing returns nothingcall ForForce(x,function ah)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(nh())thenset qx=(qx+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ClearTextMessagesBJ(cf(GetTriggerPlayer()))call DisplayTextToForce(cf(GetTriggerPlayer()),"|c00FFD700Урон петросянов:|r")set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Vh())thencall DisplayTextToForce(cf(GetTriggerPlayer()),((Bv[bj_forLoopAIndex]+(GetPlayerName(Player(-1+(bj_forLoopAIndex)))+"|r: "))+(I2S(Qx[bj_forLoopAIndex])+((" |c0000FF00+")+I2S(Nx[bj_forLoopAIndex])))))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=($C-qx)loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall DisplayTextToForce(cf(GetTriggerPlayer())," ")set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset qx=0endfunctionfunction Oh takes nothing returns booleanreturn(GetSpellAbilityId()==1093681744)endfunctionfunction Rh takes nothing returns booleanreturn(Zv[1]==0)endfunctionfunction Ih takes nothing returns nothingif(Rh())thencall EnableTrigger(CE)endifset Zv[1]=(Zv[1]+1)set Zv[2]=(Zv[2]+1)set ve[Zv[2]]=GetSpellAbilityUnit()set ee[0]=GetUnitLoc(ve[Zv[2]])set ee[1]=GetSpellTargetLoc()set xe[Zv[2]]=AngleBetweenPoints(ee[0],ee[1])set ee[2]=vf(ee[0],50.,xe[Zv[2]])set oe[Zv[2]]=50.set re[Zv[2]]=1500.set ie[Zv[2]]=.0set ae[Zv[2]]=trueset ne[Zv[2]]=(200.*I2R(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),ve[Zv[2]])))call CreateNUnitsAtLoc(1,1752196449,GetOwningPlayer(ve[Zv[2]]),ee[0],xe[Zv[2]])set Ve[Zv[2]]=bj_lastCreatedUnitset Xe[Zv[2]]=CreateGroup()call RemoveLocation(ee[0])call RemoveLocation(ee[1])call RemoveLocation(ee[2])endfunctionfunction Nh takes nothing returns booleanreturn(IsUnitAliveBJ(GetFilterUnit()))endfunctionfunction bh takes nothing returns booleanreturn(IsUnitAlly(GetFilterUnit(),GetOwningPlayer(ve[Zv[3]]))==false)endfunctionfunction Bh takes nothing returns booleanreturn GetBooleanAnd(Nh(),bh())endfunctionfunction ch takes nothing returns booleanreturn(IsUnitInGroup(GetFilterUnit(),Xe[Zv[3]])==false)endfunctionfunction Ch takes nothing returns booleanreturn GetBooleanAnd(Bh(),ch())endfunctionfunction dh takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_MAGIC_IMMUNE)==false)!=nullendfunctionfunction Dh takes nothing returns booleanreturn GetBooleanAnd(Ch(),dh())endfunctionfunction fh takes nothing returns nothingcall GroupAddUnit(Xe[Zv[3]],GetEnumUnit())call UnitDamageTargetBJ(ve[Zv[3]],GetEnumUnit(),ne[Zv[3]],ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL)endfunctionfunction Fh takes nothing returns booleanreturn(ie[Zv[3]]<re[Zv[3]])endfunctionfunction gh takes nothing returns booleanreturn(ae[Zv[3]])endfunctionfunction Gh takes nothing returns booleanreturn(Zv[1]==0)endfunctionfunction hh takes nothing returns nothingset Zv[3]=1loopexitwhen Zv[3]>Zv[2]if(gh())thenif(Fh())thenset ee[0]=GetUnitLoc(Ve[Zv[3]])set ee[1]=vf(ee[0],oe[Zv[3]],xe[Zv[3]])call AddSpecialEffectLocBJ(ee[1],"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")call DestroyEffect(bj_lastCreatedEffect)call AddSpecialEffectLocBJ(ee[1],"Abilities\\Spells\\Orc\\EarthQuake\\EarthQuakeTarget.mdl")call DestroyEffect(bj_lastCreatedEffect)call SetUnitPositionLocFacingBJ(Ve[Zv[3]],ee[1],xe[Zv[3]])set ie[Zv[3]]=(ie[Zv[3]]+oe[Zv[3]])set Ee=Ef(200.,ee[1],Condition(function Dh))call ForGroupBJ(Ee,function fh)call DestroyGroup(Ee)call RemoveLocation(ee[0])call RemoveLocation(ee[1])elsecall UnitApplyTimedLifeBJ(.01,1112820806,Ve[Zv[3]])call RemoveUnit(Ve[Zv[3]])set Zv[1]=(Zv[1]-1)set ae[Zv[3]]=falsecall DestroyGroup(Xe[Zv[3]])endifendifset Zv[3]=Zv[3]+1endloopif(Gh())thenset Zv[2]=0call DisableTrigger(GetTriggeringTrigger())endifendfunctionfunction jh takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848652083,Player($F),GetRectCenter(tV),bj_UNIT_FACING)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игру |cFFFF8000 прибыл |cFFFF0000Nik|c0FFFF000ol|cFF00FF00as")endfunctionfunction kh takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1852138344)endfunctionfunction Kh takes nothing returns nothingcall DisplayTextToForce(o,"Петры стырили щит |c00FF0000V|c000000FFol|c00FFFF00ka")call CreateItemLoc(1227895114,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1751282792,GetUnitLoc(GetDyingUnit()))call SetItemInvulnerable(bj_lastCreatedItem,true)endfunctionfunction Lh takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092363)endfunctionfunction mh takes nothing returns nothingcall CreateItemLoc(1886350702,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1986096496,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1227895877,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1227895877,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1227896113,GetUnitLoc(GetDyingUnit()))call SetItemInvulnerable(bj_lastCreatedItem,true)endfunctionfunction ph takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092354)endfunctionfunction Ph takes nothing returns nothingcall CreateItemLoc(1886350702,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1227895883,GetUnitLoc(GetDyingUnit()))call SetItemInvulnerable(bj_lastCreatedItem,true)endfunctionfunction Qh takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1848652083)endfunctionfunction sh takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092357,GetOwningPlayer(GetKillingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)call CreateItemLoc(1886350702,GetUnitLoc(GetDyingUnit()))call CreateItemLoc(1920168036,GetUnitLoc(GetDyingUnit()))call SetItemInvulnerable(bj_lastCreatedItem,true)call DisplayTextToForce(o,"TRIGSTR_960")endfunctionfunction th takes nothing returns booleanreturn(GetSpellAbilityId()==1093678405)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=275)and(GetHeroStatBJ(2,GetTriggerUnit(),false)>$5DBC)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DC0)endfunctionfunction Th takes nothing returns booleanreturn(GetSpellAbilityId()==1093678405)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=275)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DBC)endfunctionfunction uh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678406)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=550)and(GetHeroStatBJ(2,GetTriggerUnit(),false)>$5DB7)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DC0)endfunctionfunction Uh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678406)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=550)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DB7)endfunctionfunction wh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678407)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=5500)and(GetHeroStatBJ(2,GetTriggerUnit(),false)>$5D5D)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DC0)endfunctionfunction Wh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678407)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=5500)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5D5D)endfunctionfunction yh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678408)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$D6D8)and(GetHeroStatBJ(2,GetTriggerUnit(),false)>$59D9)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$5DC0)endfunctionfunction Yh takes nothing returns booleanreturn(GetSpellAbilityId()==1093678408)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$D6D8)and(GetHeroStatBJ(2,GetTriggerUnit(),false)<$59D9)endfunctionfunction zh takes nothing returns nothingif(Th())thencall AdjustPlayerStateBJ(-275,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),0,5)elseif(th())thencall AdjustPlayerStateBJ(-275,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),2,$5DC0)endifendifif(Uh())thencall AdjustPlayerStateBJ(-550,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),0,$A)elseif(uh())thencall AdjustPlayerStateBJ(-550,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),2,$5DC0)endifendifif(Wh())thencall AdjustPlayerStateBJ(-5500,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),0,100)elseif(wh())thencall AdjustPlayerStateBJ(-5500,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),2,$5DC0)endifendifif(Yh())thencall AdjustPlayerStateBJ(-$D6D8,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),0,$3E8)elseif(yh())thencall AdjustPlayerStateBJ(-$D6D8,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call ModifyHeroStat(2,GetTriggerUnit(),2,$5DC0)endifendifset H[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]=GetHeroStatBJ(2,h[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))],false)endfunctionfunction vH takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1211117639)endfunctionfunction eH takes nothing returns booleanreturn(IsUnitAliveBJ(GetFilterUnit()))endfunctionfunction xH takes nothing returns booleanreturn GetBooleanAnd(vH(),eH())endfunctionfunction oH takes nothing returns nothingcall AdjustPlayerStateBJ(GetHeroStatBJ(2,GetEnumUnit(),false),GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction rH takes nothing returns nothingcall ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function xH)),function oH)endfunctionfunction aH takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1211117639)endfunctionfunction nH takes nothing returns booleanreturn(Iv[(1+GetPlayerId(GetOwningPlayer(GetEnteringUnit())))]==0)endfunctionfunction VH takes nothing returns nothingif(nH())thenset h[(1+GetPlayerId(GetOwningPlayer(GetEnteringUnit())))]=GetEnteringUnit()set H[(1+GetPlayerId(GetOwningPlayer(GetEnteringUnit())))]=GetHeroStatBJ(2,h[(1+GetPlayerId(GetOwningPlayer(GetEnteringUnit())))],false)set Iv[(1+GetPlayerId(GetOwningPlayer(GetEnteringUnit())))]=1endifcall SuspendHeroXPBJ(false,GetEnteringUnit())endfunctionfunction XH takes nothing returns booleanreturn(GetSpellAbilityId()==1093677641)endfunctionfunction OH takes nothing returns nothingcall SetPlayerAbilityAvailableBJ(false,1093677641,GetOwningPlayer(GetSpellAbilityUnit()))call SetPlayerAbilityAvailableBJ(true,1093677648,GetOwningPlayer(GetSpellAbilityUnit()))call UnitAddAbility(GetSpellAbilityUnit(),1093677648)set Rv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]=0endfunctionfunction IH takes nothing returns booleanreturn(GetSpellAbilityId()==1093677648)endfunctionfunction AH takes nothing returns nothingset Rv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]=1call SetPlayerAbilityAvailableBJ(false,1093677648,GetOwningPlayer(GetSpellAbilityUnit()))call SetPlayerAbilityAvailableBJ(true,1093677641,GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction bH takes nothing returns booleanreturn(GetHeroStatBJ(2,h[bj_forLoopAIndex],false)>=$5DC0)and(dv[bj_forLoopAIndex]==0)endfunctionfunction BH takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(bH())thenset dv[bj_forLoopAIndex]=1set K[bj_forLoopAIndex]=(GetHeroStatBJ(2,h[bj_forLoopAIndex],false)-$5DC0)call AdjustPlayerStateBJ((K[bj_forLoopAIndex]*38),Player(-1+(bj_forLoopAIndex)),PLAYER_STATE_RESOURCE_GOLD)call SetPlayerAbilityAvailableBJ(false,1093677648,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093677641,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093678405,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093678406,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093678407,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093678408,Player(-1+(bj_forLoopAIndex)))call ModifyHeroStat(2,h[bj_forLoopAIndex],2,$5DC0)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction CH takes nothing returns booleanreturn(GetPlayerState(Player(-1+(bj_forLoopAIndex)),PLAYER_STATE_RESOURCE_GOLD)>=38)and(IsUnitAliveBJ(h[bj_forLoopAIndex]))and(Rv[bj_forLoopAIndex]==1)and(dv[bj_forLoopAIndex]==0)endfunctionfunction dH takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(CH())thencall ModifyHeroStat(2,h[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))],0,(GetPlayerState(Player(-1+(bj_forLoopAIndex)),PLAYER_STATE_RESOURCE_GOLD)/38))set J[bj_forLoopAIndex]=GetHeroStatBJ(2,h[bj_forLoopAIndex],false)set k[bj_forLoopAIndex]=(J[bj_forLoopAIndex]-H[bj_forLoopAIndex])call AdjustPlayerStateBJ((k[bj_forLoopAIndex]*-38),Player(-1+(bj_forLoopAIndex)),PLAYER_STATE_RESOURCE_GOLD)set H[bj_forLoopAIndex]=GetHeroStatBJ(2,h[bj_forLoopAIndex],false)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction fH takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction FH takes nothing returns booleanreturn(GetPlayerSlotState(E[bj_forLoopAIndex])==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction gH takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction GH takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction hH takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction HH takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction jH takes nothing returns booleanreturn(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction JH takes nothing returns booleanreturn(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction kH takes nothing returns nothingcall SetPlayerFlagBJ(PLAYER_STATE_GIVES_BOUNTY,true,GetEnumPlayer())endfunctionfunction KH takes nothing returns nothingcall CreateFogModifierRectBJ(true,GetEnumPlayer(),FOG_OF_WAR_FOGGED,bj_mapInitialPlayableArea)call SetPlayerAbilityAvailableBJ(false,1093677656,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1697656883,0,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678676,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678896,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678384,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677645,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678902,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678680,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093681712,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677656,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678904,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677112,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677911,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677636,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677130,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678385,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677146,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677377,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677881,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677904,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093678928,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093681486,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093681487,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093679430,GetEnumPlayer())endfunctionfunction lH takes nothing returns nothingcall SetPlayerAbilityAvailableBJ(false,1093677656,GetEnumPlayer())call AdjustPlayerStateBJ($A,GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction LH takes nothing returns nothingcall InitGameCacheBJ("pt.dat")set Sx=bj_lastCreatedGameCacheset yv=0set Nv="|cFF002CDDПетры Баланс |cFF0067487.02d"set he="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per"call FogMaskEnableOn()call CreateFogModifierRectBJ(true,Player($A),FOG_OF_WAR_FOGGED,bj_mapInitialPlayableArea)call CreateFogModifierRectBJ(true,Player($B),FOG_OF_WAR_FOGGED,bj_mapInitialPlayableArea)call CreateTextTagLocBJ("|CFF0000FFВниз лево",GetRectCenter(Ti),0,10.,.0,100,100,0)call CreateTextTagLocBJ("|CFF0000FFВниз право",GetRectCenter(ui),0,10.,.0,100,100,0)call CreateTextTagLocBJ("|CFF0000FFВверх лево",GetRectCenter(Si),0,10.,.0,100,100,0)call CreateTextTagLocBJ("|CFF0000FFВверх право",GetRectCenter(ti),0,10.,.0,100,100,0)call CreateTextTagLocBJ("                                     ТеЛеПоРтЫ
",GetRectCenter(qr),0,$A,100,50.,50.,0)call CreateTextTagLocBJ("TRIGSTR_8278",GetRectCenter(bi),0,$A,.0,100,100,0)call CreateTextTagLocBJ("TRIGSTR_8287",GetRectCenter(Ci),0,$A,100,.0,100,0)call CreateTextTagLocBJ("TRIGSTR_8288",GetRectCenter(fi),0,$A,100,100,.0,0)call CreateTextTagLocBJ("TRIGSTR_8289",GetRectCenter(Wi),0,$A,.0,.0,100.,0)call CreateTextTagLocBJ("TRIGSTR_8290",GetRectCenter(Hi),0,$A,.0,100,.0,0)call CreateTextTagLocBJ("TRIGSTR_8291",GetRectCenter(wi),0,$A,100.,.0,.0,0)call CreateTextTagLocBJ("TRIGSTR_335",GetRectCenter(ba),0,$A,100.,.0,.0,0)call CreateTextTagLocBJ("TRIGSTR_431",GetRectCenter(pV),0,$A,100.,.0,.0,0)call CreateTextTagLocBJ("TRIGSTR_487",GetRectCenter(PV),0,$A,100.,.0,.0,0)call CreateTextTagLocBJ("TRIGSTR_548",GetRectCenter(qV),0,$A,100.,.0,.0,0)call CreateTextTagLocBJ("Босс (|cffffcc00Ч|rак)
",GetRectCenter(bj_mapInitialPlayableArea),0,$A,100.,.0,.0,0)set A=0set E[1]=Player(0)set E[2]=Player(1)set E[3]=Player(2)set E[4]=Player(3)set E[5]=Player(4)set E[6]=Player(5)set E[7]=Player(6)set E[8]=Player(7)set E[9]=Player(8)set E[$A]=Player(9)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fH())thencall ForceAddPlayer(o,Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(FH())thenset A=(A+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopif(gH())thencall ForceAddPlayer(x,Player($A))elsecall RemoveUnit(OD)endifif(GH())thenset n=(n+1)endifif(hH())thencall DisplayTimedTextToForce(bj_FORCE_PLAYER[$A],53.,"TRIGSTR_8293")elsecall DisplayTimedTextToForce(bj_FORCE_PLAYER[$B],53.,"TRIGSTR_8294")endifif(HH())thenset Kv[(1+GetPlayerId(Player($A)))]=1elseset Kv[(1+GetPlayerId(Player($B)))]=1endifif(jH())thencall ForceAddPlayer(x,Player($B))elsecall RemoveUnit(RD)endifif(JH())thenset n=(n+1)endifcall CreateNUnitsAtLoc(1,1160785985,Player($F),GetRectCenter(bj_mapInitialPlayableArea),bj_UNIT_FACING)call ReplaceUnitBJ(bj_lastCreatedUnit,1160785969,1)call UnitAddItemByIdSwapped(1227895092,bj_lastCreatedUnit)call UnitAddItemByIdSwapped(1227894857,bj_lastCreatedUnit)call RemoveUnit(bj_lastReplacedUnit)call CreateNUnitsAtLoc(1,1160785970,Player($F),GetRectCenter(bj_mapInitialPlayableArea),bj_UNIT_FACING)call ReplaceUnitBJ(bj_lastCreatedUnit,1160785969,1)call RemoveUnit(bj_lastReplacedUnit)call CreateNUnitsAtLoc(1,1429221433,Player($F),GetRectCenter(bj_mapInitialPlayableArea),bj_UNIT_FACING)call ReplaceUnitBJ(bj_lastCreatedUnit,1160785976,1)call RemoveUnit(bj_lastReplacedUnit)call UnitAddItemByIdSwapped(1227895092,bj_lastCreatedUnit)call UnitAddItemByIdSwapped(1227894857,bj_lastCreatedUnit)call CreateNUnitsAtLoc(1,1747988531,Player($F),GetRectCenter(bj_mapInitialPlayableArea),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895608,bj_lastCreatedUnit)call RemoveUnit(bj_lastCreatedUnit)call ForForce(bj_FORCE_ALL_PLAYERS,function kH)call ForForce(o,function KH)call ForForce(x,function lH)call SetUnitColor(iD,PLAYER_COLOR_GREEN)call SetUnitColor(aD,PLAYER_COLOR_YELLOW)call SetUnitColor(rD,PLAYER_COLOR_RED)call SetUnitColor(xD,PLAYER_COLOR_GREEN)call SetUnitColor(nD,PLAYER_COLOR_YELLOW)call SetUnitColor(VD,PLAYER_COLOR_RED)set Lv=1call SetTimeOfDay(21.8)call ForceAddPlayer(Fe,Player($C))endfunctionfunction MH takes nothing returns nothingcall SelectUnitForPlayerSingle(cD,GetEnumPlayer())endfunctionfunction pH takes nothing returns nothingcall ForForce(o,function MH)endfunctionfunction qH takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)and(qv[bj_forLoopAIndex]!=1)endfunctionfunction QH takes nothing returns nothingcall PlaySoundBJ(EE)call RemoveUnit(BD)call RemoveUnit(cD)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Сайт петров: petri-balans.ucoz.net")set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(qH())thencall CreateNUnitsAtLoc(1,1747988531,Player(-1+(bj_forLoopAIndex)),GetRandomLocInRect(Pr),bj_UNIT_FACING)set sv[bj_forLoopAIndex]=bj_lastCreatedUnitcall UnitAddItemByIdSwapped(1227895608,bj_lastCreatedUnit)call SelectUnitForPlayerSingle(bj_lastCreatedUnit,Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall DisplayTextToForce(x,"|cFFFF0000ПЕТРЫ! ПОРА НАЧИНАТЬ НОВЫЙ КАСТИНГ В КРИВОЕ ЗЕРКАЛО!!!")call DisplayTextToForce(o,"|CFFFF0000ПРОВОДИТСЯ КАСТИНГ В КРИВОЕ ЗЕРКАЛО|r БЕГИТЕ|cffff0000 ИЛИ БУДЕТЕ ВЕЧНО РАБОТАТЬ В КРИВОМ ЗЕРКАЛЕ!!!!")call RemoveUnit(bD)endfunctionfunction SH takes nothing returns booleanreturn(Mv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]==0)and(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction tH takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction TH takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(SH())thencall SetPlayerAbilityAvailableBJ(true,1093678384,Player(-1+(bj_forLoopAIndex)))set Mv[bj_forLoopAIndex]=1call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[bj_forLoopAIndex]+1),"ReplaceableTextures\\CommandButtons\\BTNBoots.blp")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ForGroupBJ(Vf(Pr),function tH)endfunctionfunction UH takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1919448168)endfunctionfunction wH takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1429221433)endfunctionfunction WH takes nothing returns booleanreturn((GetItemTypeId(GetSoldItem())==1919448168)and(IsUnitType(GetBuyingUnit(),UNIT_TYPE_HERO))and(GetUnitTypeId(GetBuyingUnit())!=1160785969)and(GetUnitTypeId(GetBuyingUnit())!=1160785976))!=nullendfunctionfunction yH takes nothing returns nothingif(WH())thenif(wH())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+$449)elseset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+$44B)endifset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall SetPlayerAbilityAvailableBJ(false,1093677144,Player(-1+(bj_forLoopAIndex)))call SetPlayerAbilityAvailableBJ(false,1093681493,Player(-1+(bj_forLoopAIndex)))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ReplaceUnitBJ(GetBuyingUnit(),1160785969,3)set Av[(1+GetPlayerId(GetOwningPlayer(bj_lastReplacedUnit)))]=bj_lastReplacedUnitcall MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(bj_lastReplacedUnit)))]+1),"ReplaceableTextures\\CommandButtons\\BTNKiljaedin.blp")call SetPlayerAbilityAvailableBJ(false,1093677656,GetOwningPlayer(GetBuyingUnit()))call DisplayTimedTextToForce(o,7.,"TRIGSTR_8297")elsecall AdjustPlayerStateBJ($FA0,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction zH takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895117)endfunctionfunction ZH takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction vj takes nothing returns nothingif(ZH())thenset jv=GetHeroStatBJ(0,GetBuyingUnit(),false)call ReplaceUnitBJ(GetBuyingUnit(),1160785976,3)set kv=bj_lastReplacedUnitset Av[(1+GetPlayerId(GetOwningPlayer(bj_lastReplacedUnit)))]=bj_lastReplacedUnitcall ModifyHeroStat(0,kv,2,(jv+$5DC))call UnitAddItemByIdSwapped(1227895121,kv)call DisplayTimedTextToForce(o,10.,"TRIGSTR_8298")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(kv)))]+1),"ReplaceableTextures\\CommandButtons\\BTNArmag.blp")elsecall AdjustPlayerStateBJ($C350,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction xj takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)and(qv[bj_forLoopAIndex]!=1)endfunctionfunction oj takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)and(qv[bj_forLoopAIndex]!=1)endfunctionfunction rj takes nothing returns nothingcall PlaySoundBJ(nE)call DisableTrigger(lC)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cFFFF0000ПЕТРОСЯН В СТУДИИ!!!БУГАГАГГАГА!Я иду ааххахахах!!|r")call AddSpecialEffectLocBJ(GetRectCenter(tr),"Abilities\\Spells\\Demon\\DarkConversion\\ZombifyTarget.mdl")set G=bj_lastCreatedEffectset bj_forLoopAIndex=$Bset bj_forLoopAIndexEnd=$Bloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(xj())thencall EnableTrigger(BE)set Qx[bj_forLoopAIndex]=(Qx[bj_forLoopAIndex]+2)call CreateNUnitsAtLoc(1,1160785985,Player(-1+(bj_forLoopAIndex)),GetRectCenter(tr),bj_UNIT_FACING)set Av[bj_forLoopAIndex]=bj_lastCreatedUnitcall UnitAddItemByIdSwapped(1227895092,Av[bj_forLoopAIndex])call UnitAddItemByIdSwapped(1227894857,Av[bj_forLoopAIndex])endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=$Cset bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(oj())thencall EnableTrigger(BE)set Qx[bj_forLoopAIndex]=(Qx[bj_forLoopAIndex]+2)call CreateNUnitsAtLoc(1,1160785970,Player(-1+(bj_forLoopAIndex)),GetRectCenter(tr),bj_UNIT_FACING)set Av[bj_forLoopAIndex]=bj_lastCreatedUnitcall UnitAddItemByIdSwapped(1227895092,Av[bj_forLoopAIndex])call UnitAddItemByIdSwapped(1227894857,Av[bj_forLoopAIndex])endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall TriggerSleepAction(3.)call DestroyEffect(G)endfunctionfunction aj takes nothing returns nothingcall SetUnitInvulnerable(GetEnumUnit(),false)endfunctionfunction nj takes nothing returns nothingcall SetUnitInvulnerable(GetEnumUnit(),false)endfunctionfunction Vj takes nothing returns nothingcall ForGroupBJ(bf(Player($A),1160785985),function aj)call ForGroupBJ(bf(Player($B),1160785970),function nj)endfunctionfunction Xj takes nothing returns nothingset l=40call EnableTrigger(SE)call EnableTrigger(tE)endfunctionfunction Rj takes nothing returns booleanreturn(l>=1)endfunctionfunction Ij takes nothing returns nothingif(Rj())thenset l=(l-1)call MultiboardSetTitleText(bj_lastCreatedMultiboard,((Nv+"|cffffcc00 | ")+(" До Петросяна: "+(I2S(l)+" сек."))))elsecall DisableTrigger(GetTriggeringTrigger())endifendfunctionfunction Nj takes nothing returns booleanreturn(l<=0)endfunctionfunction bj takes nothing returns nothingcall MultiboardSetTitleText(bj_lastCreatedMultiboard,Nv)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction cj takes nothing returns booleanreturn(l<=0)endfunctionfunction Cj takes nothing returns nothingcall DisableTrigger(GetTriggeringTrigger())endfunctionfunction Dj takes nothing returns booleanreturn(L>=0)endfunctionfunction fj takes nothing returns nothingcall MultiboardSetTitleText(bj_lastCreatedMultiboard,((Nv+"|cffffcc00 | ")+(" До начала игры: "+(I2S(L)+" сек."))))call DisableTrigger(GetTriggeringTrigger())endfunctionfunction gj takes nothing returns booleanreturn(c<=0)endfunctionfunction Gj takes nothing returns booleanreturn(L>1)endfunctionfunction hj takes nothing returns nothingif(Gj())thenset L=(L-1)call MultiboardSetTitleText(bj_lastCreatedMultiboard,((Nv+"|cffffcc00 | ")+(" До начала игры: "+(I2S(L)+" сек."))))elsecall DisableTrigger(GetTriggeringTrigger())endifendfunctionfunction jj takes nothing returns booleanreturn(a==1)endfunctionfunction Jj takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре остался |cff00ff001 зрил|r и ему доступен |cffff0000Ремонтник")call SetPlayerTechResearchedSwap(1378889805,1,Player(0))call SetPlayerTechResearchedSwap(1378889805,1,Player(1))call SetPlayerTechResearchedSwap(1378889805,1,Player(2))call SetPlayerTechResearchedSwap(1378889805,1,Player(3))call SetPlayerTechResearchedSwap(1378889805,1,Player(4))call SetPlayerTechResearchedSwap(1378889805,1,Player(5))call SetPlayerTechResearchedSwap(1378889805,1,Player(6))call SetPlayerTechResearchedSwap(1378889805,1,Player(7))call SetPlayerTechResearchedSwap(1378889805,1,Player(8))call SetPlayerTechResearchedSwap(1378889805,1,Player(9))call DisableTrigger(GetTriggeringTrigger())endfunctionfunction Kj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895879))endfunctionfunction lj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895638))endfunctionfunction Lj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895625))endfunctionfunction mj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895634))endfunctionfunction Mj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895606))endfunctionfunction pj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895878))endfunctionfunction Pj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895639))endfunctionfunction qj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895883))endfunctionfunction Qj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896113))endfunctionfunction sj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895619))endfunctionfunction Sj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895877))endfunctionfunction tj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895601))endfunctionfunction Tj takes nothing returns nothingif(Kj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895879))call UnitAddItemByIdSwapped(1227895894,GetTriggerUnit())endifif(lj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895638))call UnitAddItemByIdSwapped(1227895897,GetTriggerUnit())endifif(Lj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895625))call UnitAddItemByIdSwapped(1227895861,GetTriggerUnit())endifif(mj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895634))call UnitAddItemByIdSwapped(1227895862,GetTriggerUnit())endifif(Mj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895606))call UnitAddItemByIdSwapped(1227896114,GetTriggerUnit())endifif(pj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895878))call UnitAddItemByIdSwapped(1227896115,GetTriggerUnit())endifif(Pj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895639))call UnitAddItemByIdSwapped(1227895860,GetTriggerUnit())endifif(qj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895883))call UnitAddItemByIdSwapped(1227896116,GetTriggerUnit())endifif(Qj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896113))call UnitAddItemByIdSwapped(1227896117,GetTriggerUnit())endifif(sj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895619))call UnitAddItemByIdSwapped(1227896118,GetTriggerUnit())endifif(Sj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895877))call UnitAddItemByIdSwapped(1227896119,GetTriggerUnit())endifif(tj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895601))call UnitAddItemByIdSwapped(1227896120,GetTriggerUnit())endifendfunctionfunction Uj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1868850534))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895896))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895130))endfunctionfunction wj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894865))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895349))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894857))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894858))endfunctionfunction Wj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895366))endfunctionfunction yj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894863))endfunctionfunction Yj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894838))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894835))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894862))endfunctionfunction zj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894867))endfunctionfunction Zj takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894841))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894854))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894866))endfunctionfunction vJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894864))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894861))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894833))endfunctionfunction eJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895605))endfunctionfunction xJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895624))endfunctionfunction oJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895621))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895372))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894853))endfunctionfunction rJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895362))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895096))endfunctionfunction iJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895095))endfunctionfunction aJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895626))endfunctionfunction nJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895622))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895621))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894856))endfunctionfunction VJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895627))endfunctionfunction EJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895620))endfunctionfunction XJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894841))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894838))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894849))endfunctionfunction OJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894855))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895385))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894834))endfunctionfunction RJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895386))endfunctionfunction IJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895602))endfunctionfunction AJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895382))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895350))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895090))endfunctionfunction NJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895364))endfunctionfunction bJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895114))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))endfunctionfunction BJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895383))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895376))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896114))endfunctionfunction cJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895115))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895876))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896118))endfunctionfunction CJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1751282792))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896120))endfunctionfunction dJ takes nothing returns nothingif(Uj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1868850534))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895896))call UnitAddItemByIdSwapped(1227895895,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifif(wj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894865))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895349))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894857))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894858))call UnitAddItemByIdSwapped(1227895351,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(Wj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895366))call UnitAddItemByIdSwapped(1227894858,GetTriggerUnit())endifif(yj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894863))call UnitAddItemByIdSwapped(1227894862,GetTriggerUnit())endifif(Yj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894838))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894835))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894862))call UnitAddItemByIdSwapped(1227894861,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(zj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894867))call UnitAddItemByIdSwapped(1227894866,GetTriggerUnit())endifif(Zj())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894841))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894854))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894866))call UnitAddItemByIdSwapped(1227894865,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(vJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894864))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894861))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894833))call UnitAddItemByIdSwapped(1227894855,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(eJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895605))call UnitAddItemByIdSwapped(1227894833,GetTriggerUnit())endifif(xJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895624))call UnitAddItemByIdSwapped(1227894852,GetTriggerUnit())endifif(oJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895621))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895372))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894853))call UnitAddItemByIdSwapped(1227895622,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(rJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895362))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895096))call UnitAddItemByIdSwapped(1227895372,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(iJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895095))call UnitAddItemByIdSwapped(1227895096,GetTriggerUnit())endifif(aJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895626))call UnitAddItemByIdSwapped(1227894853,GetTriggerUnit())endifif(nJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895622))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895621))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894856))call UnitAddItemByIdSwapped(1227895623,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(VJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895627))call UnitAddItemByIdSwapped(1227894856,GetTriggerUnit())endifif(EJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895620))call UnitAddItemByIdSwapped(1227894869,GetTriggerUnit())endifif(XJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894841))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894838))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894849))call UnitAddItemByIdSwapped(1227895385,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(OJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894855))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895385))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894834))call UnitAddItemByIdSwapped(1227895352,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")endifif(RJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895386))call UnitAddItemByIdSwapped(1227894849,GetTriggerUnit())endifif(IJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895602))call UnitAddItemByIdSwapped(1227894834,GetTriggerUnit())endifif(AJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895382))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895350))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895090))call UnitAddItemByIdSwapped(1227895603,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifif(NJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895364))call UnitAddItemByIdSwapped(1227895090,GetTriggerUnit())endifif(bJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895114))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call UnitAddItemByIdSwapped(1227895115,GetTriggerUnit())endifif(BJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895383))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895376))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896114))call UnitAddItemByIdSwapped(1227895604,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifif(cJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895115))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895876))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896118))call UnitAddItemByIdSwapped(1227895609,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifif(CJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895601))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896120))call UnitAddItemByIdSwapped(1227895600,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifendfunctionfunction fJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895887))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895880))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895111))endfunctionfunction FJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895635))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895860))endfunctionfunction gJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895351))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894869))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895897))endfunctionfunction GJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895641))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895642))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895856))endfunctionfunction hJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895857))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895864))endfunctionfunction HJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895637))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895894))endfunctionfunction jJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895603))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895623))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896119))endfunctionfunction JJ takes nothing returns nothingif(fJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895887))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895880))call UnitAddItemByIdSwapped(1227895890,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIsm\\AIsmTarget.mdl")endifif(FJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895635))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895860))call UnitAddItemByIdSwapped(1227895636,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(gJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895351))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894869))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895897))call UnitAddItemByIdSwapped(1227895637,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(GJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895641))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895642))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895856))call UnitAddItemByIdSwapped(1227895857,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(hJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895857))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895864))call UnitAddItemByIdSwapped(1227895863,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(HJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895637))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895894))call UnitAddItemByIdSwapped(1227895873,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifif(jJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895603))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896119))call UnitAddItemByIdSwapped(1227895876,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")endifendfunctionfunction KJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895372))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894852))endfunctionfunction lJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895372)endfunctionfunction LJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895372)endfunctionfunction mJ takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(LJ())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(lJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895372))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895372))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894852))call UnitAddItemByIdSwapped(1227895621,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction pJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895352))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895352))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895861))endfunctionfunction PJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895352)endfunctionfunction qJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895352)endfunctionfunction QJ takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(qJ())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(PJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895352))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895352))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895861))call UnitAddItemByIdSwapped(1227895628,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction SJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895604))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895604))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896115))endfunctionfunction tJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895604)endfunctionfunction TJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895604)endfunctionfunction uJ takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(TJ())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(tJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895604))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895604))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896115))call UnitAddItemByIdSwapped(1227895875,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction wJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895636))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895636))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896116))endfunctionfunction WJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895636)endfunctionfunction yJ takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895636)endfunctionfunction YJ takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(yJ())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(WJ())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895636))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895636))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896116))call UnitAddItemByIdSwapped(1227895882,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction ZJ takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895636))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895636))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227896117))endfunctionfunction vk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895636)endfunctionfunction ek takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895636)endfunctionfunction xk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(ek())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(vk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895636))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895636))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227896117))call UnitAddItemByIdSwapped(1227896112,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction ik takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895628))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895628))endfunctionfunction ak takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895628)endfunctionfunction nk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895628)endfunctionfunction Vk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(nk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(ak())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895628))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895628))call UnitAddItemByIdSwapped(1227895629,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Xk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895629))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895629))endfunctionfunction Ok takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895629)endfunctionfunction Rk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895629)endfunctionfunction Ik takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Rk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(Ok())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895629))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895629))call UnitAddItemByIdSwapped(1227895631,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Nk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895631))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895631))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895862))endfunctionfunction bk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895631)endfunctionfunction Bk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895631)endfunctionfunction ck takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Bk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(bk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895631))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895631))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895862))call UnitAddItemByIdSwapped(1227895633,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction dk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895633))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895633))endfunctionfunction Dk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895633)endfunctionfunction fk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895633)endfunctionfunction Fk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(Dk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895633))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895633))call UnitAddItemByIdSwapped(1227895635,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Gk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895350))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895350))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894841))endfunctionfunction hk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895350)endfunctionfunction Hk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895350)endfunctionfunction jk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Hk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(hk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895350))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895350))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894841))call UnitAddItemByIdSwapped(1227895362,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction kk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895350))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1751282792))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894841))endfunctionfunction Kk takes nothing returns booleanreturn trueendfunctionfunction lk takes nothing returns booleanreturn trueendfunctionfunction Lk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(lk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(Kk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895350))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1751282792))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894841))call UnitAddItemByIdSwapped(1227895362,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Mk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895368))endfunctionfunction pk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895623)endfunctionfunction Pk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895622)endfunctionfunction qk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895621)endfunctionfunction Qk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895372)endfunctionfunction sk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(pk())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895623),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше щитов
")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Pk())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895622),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше щитов
")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(qk())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895621),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше щитов
")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Qk())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895372),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше щитов
")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction tk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894861))endfunctionfunction Tk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227894861)endfunctionfunction uk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227894861)endfunctionfunction Uk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(uk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(Tk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894861))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894861))call UnitAddItemByIdSwapped(1227894864,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Wk takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895376))endfunctionfunction yk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895376)endfunctionfunction Yk takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895376)endfunctionfunction zk takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Yk())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(yk())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895376))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895376))call UnitAddItemByIdSwapped(1227895377,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction vK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895377))endfunctionfunction eK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895377)endfunctionfunction xK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895377)endfunctionfunction oK takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(xK())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(eK())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895377))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895377))call UnitAddItemByIdSwapped(1227895378,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction iK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895378))endfunctionfunction aK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895378)endfunctionfunction nK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895378)endfunctionfunction VK takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(nK())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(aK())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895378))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895378))call UnitAddItemByIdSwapped(1227895380,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction XK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895380))endfunctionfunction OK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895380)endfunctionfunction RK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895380)endfunctionfunction IK takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(RK())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(OK())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895380))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895380))call UnitAddItemByIdSwapped(1227895381,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction NK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895381))endfunctionfunction bK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895381)endfunctionfunction BK takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895381)endfunctionfunction cK takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(BK())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(bK())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895381))call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895381))call UnitAddItemByIdSwapped(1227895383,GetTriggerUnit())call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIem\\AIemTarget.mdl")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction dK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))and(GetItemType(GetManipulatedItem())==ITEM_TYPE_CHARGED)endfunctionfunction DK takes nothing returns booleanreturn(dK())endfunctionfunction fK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),O))endfunctionfunction FK takes nothing returns nothingset X=GetItemCharges(GetManipulatedItem())set O=GetItemTypeId(GetManipulatedItem())call RemoveItem(GetManipulatedItem())if(fK())thencall SetItemCharges(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),O),(GetItemCharges(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),O))+X))elsecall DisableTrigger(GetTriggeringTrigger())call UnitAddItemByIdSwapped(O,GetTriggerUnit())call SetItemCharges(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),O),X)call EnableTrigger(GetTriggeringTrigger())endifendfunctionfunction GK takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetAttacker(),1227895384))endfunctionfunction hK takes nothing returns booleanreturn(GetItemCharges(GetItemOfTypeFromUnitBJ(GetAttacker(),1227895384))==1)endfunctionfunction HK takes nothing returns nothingif(hK())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetAttacker(),1227895384))elsecall SetItemCharges(GetItemOfTypeFromUnitBJ(GetAttacker(),1227895384),(GetItemCharges(GetItemOfTypeFromUnitBJ(GetAttacker(),1227895384))-1))endifendfunctionfunction JK takes nothing returns booleanreturn((IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))or(GetUnitTypeId(GetTriggerUnit())==1966092336)or(GetUnitTypeId(GetTriggerUnit())==1966092362)or(GetUnitTypeId(GetTriggerUnit())==1966092353))!=nullendfunctionfunction kK takes nothing returns booleanreturn(JK())endfunctionfunction KK takes nothing returns booleanreturn(GetItemType(GetManipulatedItem())==ITEM_TYPE_CHARGED)endfunctionfunction lK takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())!=1227895130)endfunctionfunction LK takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())!=1227894860)endfunctionfunction mK takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())!=1227895384)endfunctionfunction MK takes nothing returns booleanreturn GetBooleanAnd(LK(),mK())endfunctionfunction pK takes nothing returns booleanreturn GetBooleanAnd(lK(),MK())endfunctionfunction PK takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895093)or(GetItemTypeId(GetManipulatedItem())==1227894840)or(GetItemTypeId(GetManipulatedItem())==1227894837)or(GetItemTypeId(GetManipulatedItem())==1937007980)or(GetItemTypeId(GetManipulatedItem())==1227895094)or(GetItemTypeId(GetManipulatedItem())==1227895106)or(GetItemTypeId(GetManipulatedItem())==1227895110)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetBooleanAnd(KK(),pK()))endfunctionfunction qK takes nothing returns booleanreturn(PK())endfunctionfunction QK takes nothing returns nothingif(qK())thencall RemoveItem(GetManipulatedItem())endifendfunctionfunction SK takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895092)endfunctionfunction tK takes nothing returns booleanreturn(IsUnitType(GetManipulatingUnit(),UNIT_TYPE_STRUCTURE)!=true)!=nullendfunctionfunction TK takes nothing returns booleanreturn(IsUnitType(GetManipulatingUnit(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction uK takes nothing returns nothingif(TK())thencall AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")elseif(tK())thencall SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(Mr))call AddSpecialEffectTargetUnitBJ("orign",GetTriggerUnit(),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")endifendifendfunctionfunction wK takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895105)endfunctionfunction WK takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988531)endfunctionfunction yK takes nothing returns nothinglocal unit YKset YK=GetEnumUnit()call SetUnitPositionLoc(YK,GetRectCenter(yi))call UnitRemoveAbility(YK,1115059564)call PauseUnit(YK,true)set YK=nullendfunctionfunction zK takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988531)endfunctionfunction ZK takes nothing returns nothinglocal unit vlset vl=GetEnumUnit()call PauseUnit(vl,false)set vl=nullendfunctionfunction el takes nothing returns nothingcall ForGroupBJ(af(GetWorldBounds(),Condition(function WK)),function yK)call TriggerSleepAction(5.)call ForGroupBJ(af(GetWorldBounds(),Condition(function zK)),function ZK)endfunctionfunction ol takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895097)endfunctionfunction rl takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Вы видите маленькую точечку в небесах...... ААА! ЭТО СПУТНИК ПЕТРОСЯНОВ!!!!!!!!!!")endfunctionfunction al takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988531)endfunctionfunction nl takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))and(GetItemType(GetManipulatedItem())!=ITEM_TYPE_CHARGED)and(GetItemTypeId(GetManipulatedItem())!=1227895093)and(GetItemTypeId(GetManipulatedItem())!=1227894840)and(GetItemTypeId(GetManipulatedItem())!=1227894837)and(GetItemTypeId(GetManipulatedItem())!=1937007980)and(GetItemTypeId(GetManipulatedItem())!=1227895094)and(GetItemTypeId(GetManipulatedItem())!=1227895608)and(GetItemTypeId(GetManipulatedItem())!=1227895106)and(GetItemTypeId(GetManipulatedItem())!=1227895114)and(GetItemTypeId(GetManipulatedItem())!=1227895115)and(GetItemTypeId(GetManipulatedItem())!=1868850534)and(GetItemTypeId(GetManipulatedItem())!=1702261868)and(GetItemTypeId(GetManipulatedItem())!=1227895886)and(GetItemTypeId(GetManipulatedItem())!=1886350702)and(GetItemTypeId(GetManipulatedItem())!=1227895601)and(GetItemTypeId(GetManipulatedItem())!=2003791219)and(GetItemTypeId(GetManipulatedItem())!=1227895887)and(GetItemTypeId(GetManipulatedItem())!=1227895865)and(GetItemTypeId(GetManipulatedItem())!=1227895888)and(GetItemTypeId(GetManipulatedItem())!=1227895890)and(GetItemTypeId(GetManipulatedItem())!=1227895892)and(GetItemTypeId(GetManipulatedItem())!=1227895898)and(GetItemTypeId(GetManipulatedItem())!=1227895896)and(GetItemTypeId(GetManipulatedItem())!=1227895895)and(GetItemTypeId(GetManipulatedItem())!=1751282792)and(GetItemTypeId(GetManipulatedItem())!=1227895893)and(GetItemTypeId(GetManipulatedItem())!=1227896129)and(GetItemTypeId(GetManipulatedItem())!=1227896121)and(GetItemTypeId(GetManipulatedItem())!=1227896130)endfunctionfunction Vl takes nothing returns nothingif(nl())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))endifendfunctionfunction Xl takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092338)endfunctionfunction Ol takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))and(GetItemType(GetManipulatedItem())!=ITEM_TYPE_CHARGED)and(GetItemTypeId(GetManipulatedItem())!=1227895883)and(GetItemTypeId(GetManipulatedItem())!=1227894840)and(GetItemTypeId(GetManipulatedItem())!=1227894837)and(GetItemTypeId(GetManipulatedItem())!=1937007980)and(GetItemTypeId(GetManipulatedItem())!=1227895094)and(GetItemTypeId(GetManipulatedItem())!=1227895608)and(GetItemTypeId(GetManipulatedItem())!=1227895106)and(GetItemTypeId(GetManipulatedItem())!=1227895114)and(GetItemTypeId(GetManipulatedItem())!=1227895115)and(GetItemTypeId(GetManipulatedItem())!=1227895629)and(GetItemTypeId(GetManipulatedItem())!=1227895633)and(GetItemTypeId(GetManipulatedItem())!=1227895604)and(GetItemTypeId(GetManipulatedItem())!=1227895635)and(GetItemTypeId(GetManipulatedItem())!=1227895637)and(GetItemTypeId(GetManipulatedItem())!=1227895609)and(GetItemTypeId(GetManipulatedItem())!=1227895383)and(GetItemTypeId(GetManipulatedItem())!=1227895623)and(GetItemTypeId(GetManipulatedItem())!=1227895636)and(GetItemTypeId(GetManipulatedItem())!=1227895622)and(GetItemTypeId(GetManipulatedItem())!=1227895381)and(GetItemTypeId(GetManipulatedItem())!=1227895378)and(GetItemTypeId(GetManipulatedItem())!=1227895890)and(GetItemTypeId(GetManipulatedItem())!=1227895372)and(GetItemTypeId(GetManipulatedItem())==1227895857)and(GetItemTypeId(GetManipulatedItem())!=1868850534)and(GetItemTypeId(GetManipulatedItem())!=1227895865)and(GetItemTypeId(GetManipulatedItem())!=1227895888)and(GetItemTypeId(GetManipulatedItem())!=1227895887)and(GetItemTypeId(GetManipulatedItem())!=1227895892)and(GetItemTypeId(GetManipulatedItem())!=1227895898)and(GetItemTypeId(GetManipulatedItem())!=1227895896)and(GetItemTypeId(GetManipulatedItem())!=1227895895)and(GetItemTypeId(GetManipulatedItem())!=1751282792)and(GetItemTypeId(GetManipulatedItem())!=1227896129)and(GetItemTypeId(GetManipulatedItem())!=1227896121)and(GetItemTypeId(GetManipulatedItem())!=1227896130)endfunctionfunction Rl takes nothing returns nothingif(Ol())thencall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))endifendfunctionfunction Al takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988531)endfunctionfunction Nl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895601)or(GetItemTypeId(GetManipulatedItem())==1227895883)or(GetItemTypeId(GetManipulatedItem())==1227895877)or(GetItemTypeId(GetManipulatedItem())==1751282792)or(GetItemTypeId(GetManipulatedItem())==1227895115)or(GetItemTypeId(GetManipulatedItem())==1227895114)endfunctionfunction bl takes nothing returns booleanreturn(Nl())endfunctionfunction Bl takes nothing returns nothingif(bl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction Cl takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092338)endfunctionfunction dl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895601)or(GetItemTypeId(GetManipulatedItem())==1227895883)or(GetItemTypeId(GetManipulatedItem())==1227896113)or(GetItemTypeId(GetManipulatedItem())==1227895877)or(GetItemTypeId(GetManipulatedItem())==1868850534)or(GetItemTypeId(GetManipulatedItem())==1227895114)or(GetItemTypeId(GetManipulatedItem())==1751282792)endfunctionfunction Dl takes nothing returns booleanreturn(dl())endfunctionfunction fl takes nothing returns nothingif(Dl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction gl takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1160785985)endfunctionfunction Gl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896121)or(GetItemTypeId(GetManipulatedItem())==1227896130)endfunctionfunction hl takes nothing returns booleanreturn(Gl())endfunctionfunction Hl takes nothing returns nothingif(hl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction Jl takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092353)endfunctionfunction kl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction Kl takes nothing returns booleanreturn(kl())endfunctionfunction ll takes nothing returns nothingif(Kl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction ml takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092336)endfunctionfunction Ml takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction pl takes nothing returns booleanreturn(Ml())endfunctionfunction Pl takes nothing returns nothingif(pl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction Ql takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092362)endfunctionfunction sl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction Sl takes nothing returns booleanreturn(sl())endfunctionfunction tl takes nothing returns nothingif(Sl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction ul takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1160785969)endfunctionfunction Ul takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction wl takes nothing returns booleanreturn(Ul())endfunctionfunction Wl takes nothing returns nothingif(wl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction Yl takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1160785970)endfunctionfunction zl takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction Zl takes nothing returns booleanreturn(zl())endfunctionfunction vL takes nothing returns nothingif(Zl())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction xL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1429221433)endfunctionfunction oL takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction rL takes nothing returns booleanreturn(oL())endfunctionfunction iL takes nothing returns nothingif(rL())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction nL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1160785976)endfunctionfunction VL takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895887)or(GetItemTypeId(GetManipulatedItem())==1227895865)or(GetItemTypeId(GetManipulatedItem())==1227895886)or(GetItemTypeId(GetManipulatedItem())==1227895888)or(GetItemTypeId(GetManipulatedItem())==1227895890)or(GetItemTypeId(GetManipulatedItem())==1227895892)or(GetItemTypeId(GetManipulatedItem())==1227895898)or(GetItemTypeId(GetManipulatedItem())==1227896129)or(GetItemTypeId(GetManipulatedItem())==1227896130)or(GetItemTypeId(GetManipulatedItem())==1227896121)endfunctionfunction EL takes nothing returns booleanreturn(VL())endfunctionfunction XL takes nothing returns nothingif(EL())thencall UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())endifendfunctionfunction RL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988531)endfunctionfunction IL takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895130)endfunctionfunction AL takes nothing returns booleanreturn(IL())endfunctionfunction NL takes nothing returns nothingif(AL())thencall RemoveItem(GetManipulatedItem())endifendfunctionfunction BL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988531)and(GetItemTypeId(GetManipulatedItem())==1227894840)endfunctionfunction cL takes nothing returns nothingcall RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),GetItemTypeId(GetManipulatedItem())))call UnitAddItemByIdSwapped(1227894837,GetTriggerUnit())endfunctionfunction dL takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227894869))endfunctionfunction DL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227894869)endfunctionfunction fL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227894869)endfunctionfunction FL takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fL())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(DL())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227894869),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше одной секретной штуки")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction GL takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895887))endfunctionfunction hL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895887)endfunctionfunction HL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895887)endfunctionfunction jL takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(HL())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(hL())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895887),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше одной Сферы Зрила")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction kL takes nothing returns booleanreturn(UnitHasItemOfTypeBJ(GetTriggerUnit(),1227895890))endfunctionfunction KL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopBIndex))==1227895890)endfunctionfunction lL takes nothing returns booleanreturn(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))==1227895890)endfunctionfunction LL takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(lL())thenset bj_forLoopBIndex=(bj_forLoopAIndex+1)set bj_forLoopBIndexEnd=6loopexitwhen bj_forLoopBIndex>bj_forLoopBIndexEndif(KL())thencall UnitRemoveItemSwapped(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),1227895890),GetTriggerUnit())call DisplayTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),"Вы не можете носить больше одной Сферы Задра")returnendifset bj_forLoopBIndex=bj_forLoopBIndex+1endloopendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction ML takes nothing returns booleanreturn(GetUnitTypeId(GetAttacker())==1747988531)and(GetOwningPlayer(GetAttacker())!=GetOwningPlayer(GetTriggerUnit()))endfunctionfunction pL takes nothing returns nothingcall IssueImmediateOrderById(GetAttacker(),$D0004)endfunctionfunction qL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1211117639)or(GetUnitTypeId(GetTriggerUnit())==1848651824)or(GetUnitTypeId(GetTriggerUnit())==1747988557)or(GetUnitTypeId(GetTriggerUnit())==1747988531)or(GetUnitTypeId(GetTriggerUnit())==1966092338)endfunctionfunction QL takes nothing returns booleanreturn((qL())and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)))!=nullendfunctionfunction sL takes nothing returns nothingcall IssueImmediateOrderById(GetAttacker(),$D0004)endfunctionfunction tL takes nothing returns booleanreturn(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction TL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092336)endfunctionfunction uL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429082)endfunctionfunction UL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092362)endfunctionfunction wL takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1966092353)endfunctionfunction WL takes nothing returns booleanreturn GetBooleanOr(UL(),wL())endfunctionfunction yL takes nothing returns booleanreturn GetBooleanOr(uL(),WL())endfunctionfunction YL takes nothing returns booleanreturn GetBooleanOr(TL(),yL())endfunctionfunction zL takes nothing returns booleanreturn(GetBooleanOr(tL(),YL()))and(IsPlayerAlly(GetOwningPlayer(GetAttacker()),GetOwningPlayer(GetTriggerUnit())))endfunctionfunction ZL takes nothing returns nothingcall IssueImmediateOrderById(GetAttacker(),$D0004)endfunctionfunction em takes nothing returns booleanreturn((GetUnitTypeId(GetTriggerUnit())==1852138344)and(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)))!=nullendfunctionfunction xm takes nothing returns nothingcall UnitRemoveAbility(GetAttacker(),1110454327)call UnitRemoveAbility(GetAttacker(),1115059564)endfunctionfunction rm takes nothing returns booleanreturn((GetUnitTypeId(GetTriggerUnit())==1848651845)and(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)))!=nullendfunctionfunction im takes nothing returns nothingcall UnitRemoveAbility(GetAttacker(),1110454327)call UnitRemoveAbility(GetAttacker(),1115059564)endfunctionfunction nm takes nothing returns booleanreturn((GetUnitTypeId(GetTriggerUnit())==1966092362)or(GetUnitTypeId(GetTriggerUnit())==1966092336)or(GetUnitTypeId(GetTriggerUnit())==1966092353)or(GetUnitTypeId(GetTriggerUnit())==1966092357)or(GetUnitTypeId(GetTriggerUnit())==1752196449)or(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)))!=nullendfunctionfunction Vm takes nothing returns booleanreturn((IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))and(nm()))!=nullendfunctionfunction Em takes nothing returns booleanreturn(Vm())endfunctionfunction Xm takes nothing returns booleanreturn(RectContainsUnit(Qi,GetTriggerUnit()))endfunctionfunction Om takes nothing returns booleanreturn(RectContainsUnit(lr,GetTriggerUnit()))endfunctionfunction Rm takes nothing returns booleanreturn(RectContainsUnit(Na,GetTriggerUnit()))endfunctionfunction Im takes nothing returns booleanreturn(RectContainsUnit(mi,GetTriggerUnit()))endfunctionfunction Am takes nothing returns booleanreturn(RectContainsUnit(Hr,GetTriggerUnit()))endfunctionfunction Nm takes nothing returns booleanreturn(RectContainsUnit(Ei,GetTriggerUnit()))endfunctionfunction bm takes nothing returns booleanreturn(RectContainsUnit(Mr,GetTriggerUnit()))endfunctionfunction Bm takes nothing returns booleanreturn(RectContainsUnit(Vi,GetTriggerUnit()))endfunctionfunction cm takes nothing returns booleanreturn(RectContainsUnit(jr,GetTriggerUnit()))endfunctionfunction Cm takes nothing returns booleanreturn(RectContainsUnit(si,GetTriggerUnit()))endfunctionfunction dm takes nothing returns booleanreturn(RectContainsUnit(qi,GetTriggerUnit()))endfunctionfunction Dm takes nothing returns booleanreturn(RectContainsUnit(Pi,GetTriggerUnit()))endfunctionfunction fm takes nothing returns booleanreturn(RectContainsUnit(pi,GetTriggerUnit()))endfunctionfunction Fm takes nothing returns booleanreturn(RectContainsUnit(Mi,GetTriggerUnit()))endfunctionfunction gm takes nothing returns nothingif(Fm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(fm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Dm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(dm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Xm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifif(Cm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Om())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifif(cm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Bm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(bm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Nm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Am())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Im())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Rm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendifendfunctionfunction hm takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction Hm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429300)endfunctionfunction jm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988547)endfunctionfunction Jm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429074)endfunctionfunction km takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429077)endfunctionfunction Km takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429322)endfunctionfunction lm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429335)endfunctionfunction Lm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429079)endfunctionfunction mm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429320)endfunctionfunction Mm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656898)endfunctionfunction pm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429313)endfunctionfunction Pm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429066)endfunctionfunction qm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429553)endfunctionfunction Qm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988558)endfunctionfunction sm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429060)endfunctionfunction Sm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429078)endfunctionfunction tm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988565)endfunctionfunction Tm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988566)endfunctionfunction um takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988564)endfunctionfunction Um takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988554)endfunctionfunction wm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429073)endfunctionfunction Wm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656886)endfunctionfunction ym takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656887)endfunctionfunction Ym takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656889)endfunctionfunction zm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988532)endfunctionfunction Zm takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988536)endfunctionfunction vM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429071)endfunctionfunction eM takes nothing returns booleanreturn(GetOwningPlayer(GetAttacker())==GetOwningPlayer(GetTriggerUnit()))endfunctionfunction xM takes nothing returns nothingif(eM())thenreturnelseif(vM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Zm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(zm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Ym())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(ym())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Wm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(wm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Um())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(um())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Tm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(tm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Sm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(sm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Qm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(qm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Pm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(pm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Mm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(mm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Lm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(lm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Km())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(km())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Jm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(jm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Hm())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendfunctionfunction rM takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction iM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429075)endfunctionfunction aM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429072)endfunctionfunction nM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651865)endfunctionfunction VM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651827)endfunctionfunction EM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651856)endfunctionfunction XM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429079)endfunctionfunction OM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651858)endfunctionfunction RM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988552)endfunctionfunction IM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429061)endfunctionfunction AM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988549)endfunctionfunction NM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651841)endfunctionfunction bM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429325)endfunctionfunction BM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429322)endfunctionfunction cM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429063)endfunctionfunction CM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988560)endfunctionfunction dM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988546)endfunctionfunction DM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988555)endfunctionfunction fM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429049)endfunctionfunction FM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429552)endfunctionfunction gM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429325)endfunctionfunction GM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429305)endfunctionfunction hM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656899)endfunctionfunction HM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651848)endfunctionfunction jM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651849)endfunctionfunction JM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988784)endfunctionfunction kM takes nothing returns booleanreturn(GetOwningPlayer(GetAttacker())==GetOwningPlayer(GetTriggerUnit()))endfunctionfunction KM takes nothing returns nothingif(kM())thenreturnelseif(JM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(jM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(HM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(hM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(GM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(gM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(FM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(fM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(DM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(dM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(CM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(cM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(BM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(bM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(NM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(AM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(IM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(RM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(OM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(XM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(EM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(VM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(nM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(aM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(iM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendfunctionfunction LM takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction mM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429075)endfunctionfunction MM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429072)endfunctionfunction pM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651865)endfunctionfunction PM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651827)endfunctionfunction qM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651856)endfunctionfunction QM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429079)endfunctionfunction sM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651858)endfunctionfunction SM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656903)endfunctionfunction tM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429061)endfunctionfunction TM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429328)endfunctionfunction uM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651841)endfunctionfunction UM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429325)endfunctionfunction wM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429322)endfunctionfunction WM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429063)endfunctionfunction yM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988560)endfunctionfunction YM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656902)endfunctionfunction zM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656901)endfunctionfunction ZM takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429303)endfunctionfunction vp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429314)endfunctionfunction ep takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429304)endfunctionfunction xp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429302)endfunctionfunction op takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429296)endfunctionfunction rp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429298)endfunctionfunction ip takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429328)endfunctionfunction ap takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429299)endfunctionfunction np takes nothing returns booleanreturn(GetOwningPlayer(GetAttacker())==GetOwningPlayer(GetTriggerUnit()))endfunctionfunction Vp takes nothing returns nothingif(np())thenreturnelseif(ap())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(ip())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(rp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(op())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(xp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(ep())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(vp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(ZM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(zM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(YM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(yM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(WM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(wM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(UM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(uM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(TM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(tM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(SM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(sM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(QM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(qM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(PM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(pM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(MM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(mM())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendfunctionfunction Xp takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction Op takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652098)endfunctionfunction Rp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429326)endfunctionfunction Ip takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429327)endfunctionfunction Ap takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429319)endfunctionfunction Np takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988788)endfunctionfunction bp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429318)endfunctionfunction Bp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988785)endfunctionfunction cp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652088)endfunctionfunction Cp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652087)endfunctionfunction dp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1852208178)endfunctionfunction Dp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652089)endfunctionfunction fp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1852142642)endfunctionfunction Fp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988570)endfunctionfunction gp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988792)endfunctionfunction Gp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652082)endfunctionfunction hp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652084)endfunctionfunction Hp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652081)endfunctionfunction jp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848652085)endfunctionfunction Jp takes nothing returns booleanreturn(GetOwningPlayer(GetAttacker())==GetOwningPlayer(GetTriggerUnit()))endfunctionfunction kp takes nothing returns nothingif(Jp())thenreturnelseif(jp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Hp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(hp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Gp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(gp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Fp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(fp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Dp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(dp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Cp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(cp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Bp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Op())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifif(bp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Np())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Ap())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Ip())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Rp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendifendfunctionfunction lp takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction Lp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429065)endfunctionfunction mp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988549)endfunctionfunction Mp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429328)endfunctionfunction pp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988550)endfunctionfunction Pp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656886)endfunctionfunction qp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656900)endfunctionfunction Qp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656885)endfunctionfunction sp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656884)endfunctionfunction Sp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656880)endfunctionfunction tp takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656883)endfunctionfunction Tp takes nothing returns booleanreturn(GetOwningPlayer(GetAttacker())==GetOwningPlayer(GetTriggerUnit()))endfunctionfunction up takes nothing returns nothingif(Tp())thenreturnelseif(tp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Sp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(sp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Qp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(qp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Pp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(pp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Mp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(mp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)elseif(Lp())thencall IssueImmediateOrderById(GetAttacker(),$D0004)endifendifendifendifendifendifendifendifendifendifendifendfunctionfunction wp takes nothing returns booleanreturn(GetTriggerUnit()==jD)endfunctionfunction Wp takes nothing returns nothingcall EnableTrigger(oN)call EnableTrigger(aN)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction Yp takes nothing returns booleanreturn(GetTriggerUnit()==eD)endfunctionfunction zp takes nothing returns nothingcall EnableTrigger(vN)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction vP takes nothing returns booleanreturn(GetTriggerUnit()==gD)and(GetPlayerName(GetTriggerPlayer())==he)endfunctionfunction eP takes nothing returns nothingcall EnableTrigger(UC)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction oP takes nothing returns booleanreturn(c>=1)endfunctionfunction rP takes nothing returns nothingcall EnableTrigger(ZX)call EnableTrigger(eN)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction aP takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas-super")endfunctionfunction nP takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ АВТОР КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")call SetPlayerName(GetTriggerPlayer(),he)set Je[(1+GetPlayerId(GetTriggerPlayer()))]=heset Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))call DisableTrigger(xA)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction EP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction XP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(EP()))!=nullendfunctionfunction OP takes nothing returns booleanreturn(XP())endfunctionfunction RP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Bi))endfunctionfunction AP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction NP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=$A)and(AP()))!=nullendfunctionfunction bP takes nothing returns booleanreturn(NP())endfunctionfunction BP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(di))endfunctionfunction CP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction dP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=20)and(CP()))!=nullendfunctionfunction DP takes nothing returns booleanreturn(dP())endfunctionfunction fP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Di))endfunctionfunction gP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction GP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=30)and(gP()))!=nullendfunctionfunction hP takes nothing returns booleanreturn(GP())endfunctionfunction HP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Gi))endfunctionfunction JP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction kP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=50)and(JP()))!=nullendfunctionfunction KP takes nothing returns booleanreturn(kP())endfunctionfunction lP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(ji))endfunctionfunction mP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction MP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=500)and(mP()))!=nullendfunctionfunction pP takes nothing returns booleanreturn(MP())endfunctionfunction PP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Ki))endfunctionfunction QP takes nothing returns booleanreturn(GetTimeOfDay()>=18.)or(GetTimeOfDay()<6.)endfunctionfunction sP takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=800)and(QP()))!=nullendfunctionfunction SP takes nothing returns booleanreturn(sP())endfunctionfunction tP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Ai))endfunctionfunction uP takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651825)endfunctionfunction UP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(Wr))endfunctionfunction WP takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651846)endfunctionfunction yP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(yr))endfunctionfunction zP takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651828)endfunctionfunction ZP takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(Yr))endfunctionfunction eq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651851)endfunctionfunction xq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(zr))endfunctionfunction rq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651857)endfunctionfunction iq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(vi))endfunctionfunction nq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848651850)endfunctionfunction Vq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(Zr))endfunctionfunction Xq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1848652102)endfunctionfunction Oq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRandomLocInRect(ni))endfunctionfunction Iq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction Aq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Nq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction bq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Bq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction cq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Cq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction dq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Dq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction fq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Fq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction gq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Gq takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction hq takes nothing returns nothingcall SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(Mr))endfunctionfunction Hq takes nothing returns nothingcall ForGroupBJ(af(Mi,Condition(function Iq)),function Aq)call ForGroupBJ(af(pi,Condition(function Nq)),function bq)call ForGroupBJ(af(Pi,Condition(function Bq)),function cq)call ForGroupBJ(af(qi,Condition(function Cq)),function dq)call ForGroupBJ(af(Qi,Condition(function Dq)),function fq)call ForGroupBJ(af(si,Condition(function Fq)),function gq)call ForGroupBJ(af(mi,Condition(function Gq)),function hq)endfunctionfunction Jq takes nothing returns booleanreturn(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction kq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1865429082)endfunctionfunction Kq takes nothing returns booleanreturn(GetTimeOfDay()>=6.)and(GetTimeOfDay()<=18.)and(GetBooleanOr(Jq(),kq()))endfunctionfunction lq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Mr))endfunctionfunction mq takes nothing returns booleanreturn(IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD)==false)!=nullendfunctionfunction Mq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Mr))endfunctionfunction Pq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1966092341)endfunctionfunction qq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Mr))endfunctionfunction sq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1966092338)endfunctionfunction Sq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Pr))endfunctionfunction Tq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1966092362)or(GetUnitTypeId(GetEnteringUnit())==1966092336)endfunctionfunction uq takes nothing returns booleanreturn(Tq())endfunctionfunction Uq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Pr))endfunctionfunction Wq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1747988793)and(GetUnitTypeId(GetEnteringUnit())==1211117639)endfunctionfunction yq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Pr))endfunctionfunction zq takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1747988531)endfunctionfunction Zq takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Pr))endfunctionfunction eQ takes nothing returns booleanreturn(GetSpellAbilityId()==1093677125)or(GetSpellAbilityId()==1093678133)or(GetSpellAbilityId()==1093677894)endfunctionfunction xQ takes nothing returns booleanreturn(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Mi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))endfunctionfunction oQ takes nothing returns booleanreturn(eQ())and(xQ())endfunctionfunction rQ takes nothing returns booleanreturn(oQ())endfunctionfunction iQ takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction nQ takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))or(GetUnitTypeId(GetEnteringUnit())==1966092336)or(GetUnitTypeId(GetEnteringUnit())==1966092362)or(GetUnitTypeId(GetEnteringUnit())==1966092338))!=nullendfunctionfunction VQ takes nothing returns booleanreturn(nQ())endfunctionfunction EQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Mr))endfunctionfunction OQ takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas_super")endfunctionfunction RQ takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ АВТОР КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")call SetPlayerName(GetTriggerPlayer(),he)set Je[(1+GetPlayerId(GetTriggerPlayer()))]=heset Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))call DisableTrigger(xA)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction AQ takes nothing returns booleanreturn((IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=true)and(GetOwningPlayer(GetTriggerUnit())!=Player($F))and(GetUnitLevel(GetTriggerUnit())<40))!=nullendfunctionfunction NQ takes nothing returns nothingcall RemoveUnit(GetTriggerUnit())endfunctionfunction BQ takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Передача ресурсов отключена")call SetMapFlag(MAP_LOCK_RESOURCE_TRADING,true)endfunctionfunction CQ takes nothing returns booleanreturn(RectContainsUnit(Yi,GetManipulatingUnit()))endfunctionfunction dQ takes nothing returns nothingcall SetItemPositionLoc(GetEnumItem(),GetRectCenter(Mr))endfunctionfunction DQ takes nothing returns nothingcall YD(.0001)call EnumItemsInRectBJ(Yi,function dQ)call YD(1.)call SetItemPositionLoc(RandomItemInRectSimpleBJ(Yi),GetRectCenter(Mr))endfunctionfunction FQ takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092336)or(GetUnitTypeId(GetDyingUnit())==1966092362)or(GetUnitTypeId(GetDyingUnit())==1966092353)or(GetUnitTypeId(GetDyingUnit())==1966092357)endfunctionfunction gQ takes nothing returns booleanreturn(FQ())endfunctionfunction GQ takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall CreateItemLoc(GetItemTypeId(UnitItemInSlotBJ(GetDyingUnit(),bj_forLoopAIndex)),GetRectCenter(Mr))call RemoveItem(UnitItemInSlotBJ(GetDyingUnit(),bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction HQ takes nothing returns booleanreturn(IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD)==false)!=nullendfunctionfunction jQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(pr))endfunctionfunction kQ takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())!=1966092362)endfunctionfunction KQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Ca))endfunctionfunction LQ takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1966092341)endfunctionfunction mQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Ca))endfunctionfunction pQ takes nothing returns booleanreturn(IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD)==false)!=nullendfunctionfunction PQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(tr))endfunctionfunction QQ takes nothing returns booleanreturn(GetUnitTypeId(GetEnteringUnit())==1865429081)endfunctionfunction sQ takes nothing returns nothingcall RemoveUnit(GetEnteringUnit())endfunctionfunction tQ takes nothing returns booleanreturn(IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD)==false)!=nullendfunctionfunction TQ takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Ui))endfunctionfunction UQ takes nothing returns booleanreturn(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE))!=nullendfunctionfunction wQ takes nothing returns nothingcall IssueImmediateOrderById(GetAttacker(),$D0004)endfunctionfunction yQ takes nothing returns booleanreturn(RectContainsLoc(lr,GetSpellTargetLoc()))or(RectContainsLoc(Hr,GetSpellTargetLoc()))or(RectContainsLoc(jr,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(Mi,GetSpellTargetLoc()))endfunctionfunction YQ takes nothing returns booleanreturn(GetSpellAbilityId()==1093677125)and(yQ())endfunctionfunction zQ takes nothing returns booleanreturn(YQ())endfunctionfunction ZQ takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction es takes nothing returns booleanreturn(GetSpellAbilityId()==1093677144)endfunctionfunction xs takes nothing returns booleanreturn(GetSpellAbilityId()==1093678385)endfunctionfunction os takes nothing returns booleanreturn(GetSpellAbilityId()==1093681496)endfunctionfunction rs takes nothing returns booleanreturn GetBooleanOr(xs(),os())endfunctionfunction is takes nothing returns booleanreturn(RectContainsLoc(jr,GetSpellTargetLoc()))or(RectContainsLoc(lr,GetSpellTargetLoc()))or(RectContainsLoc(Hr,GetSpellTargetLoc()))or(RectContainsLoc(ux,GetSpellTargetLoc()))or(RectContainsLoc(Ux,GetSpellTargetLoc()))or(RectContainsLoc(yx,GetSpellTargetLoc()))or(RectContainsLoc(wx,GetSpellTargetLoc()))or(RectContainsLoc(Wx,GetSpellTargetLoc()))or(RectContainsLoc(zx,GetSpellTargetLoc()))or(RectContainsLoc(zi,GetSpellTargetLoc()))or(RectContainsLoc(ri,GetSpellTargetLoc()))or(RectContainsLoc(Yx,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(Mi,GetSpellTargetLoc()))endfunctionfunction as takes nothing returns booleanreturn(GetBooleanOr(es(),rs()))and(is())endfunctionfunction ns takes nothing returns booleanreturn(as())endfunctionfunction Vs takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Xs takes nothing returns booleanreturn(GetSpellAbilityId()==1093677651)endfunctionfunction Os takes nothing returns booleanreturn(GetSpellAbilityId()==1093678904)endfunctionfunction Rs takes nothing returns booleanreturn(GetSpellAbilityId()==1093677402)endfunctionfunction Is takes nothing returns booleanreturn(GetSpellAbilityId()==1093677645)endfunctionfunction As takes nothing returns booleanreturn(GetSpellAbilityId()==1093678647)endfunctionfunction Ns takes nothing returns booleanreturn(GetSpellAbilityId()==1093682224)endfunctionfunction bs takes nothing returns booleanreturn(GetSpellAbilityId()==1093682010)endfunctionfunction Bs takes nothing returns booleanreturn GetBooleanOr(Ns(),bs())endfunctionfunction cs takes nothing returns booleanreturn GetBooleanOr(As(),Bs())endfunctionfunction Cs takes nothing returns booleanreturn GetBooleanOr(Is(),cs())endfunctionfunction ds takes nothing returns booleanreturn GetBooleanOr(Rs(),Cs())endfunctionfunction Ds takes nothing returns booleanreturn GetBooleanOr(Os(),ds())endfunctionfunction fs takes nothing returns booleanreturn(RectContainsLoc(Mi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(jr,GetSpellTargetLoc()))or(RectContainsLoc(lr,GetSpellTargetLoc()))or(RectContainsLoc(Hr,GetSpellTargetLoc()))or(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Ei,GetSpellTargetLoc()))or(RectContainsLoc(oa,GetSpellTargetLoc()))or(RectContainsLoc(ra,GetSpellTargetLoc()))or(RectContainsLoc(ia,GetSpellTargetLoc()))or(RectContainsLoc(aa,GetSpellTargetLoc()))or(RectContainsLoc(na,GetSpellTargetLoc()))or(RectContainsLoc(Va,GetSpellTargetLoc()))or(RectContainsLoc(Ea,GetSpellTargetLoc()))or(RectContainsLoc(Xa,GetSpellTargetLoc()))or(RectContainsLoc(Na,GetSpellTargetLoc()))or(RectContainsLoc(Ga,GetSpellTargetLoc()))endfunctionfunction Fs takes nothing returns booleanreturn(GetBooleanOr(Xs(),Ds()))and(fs())endfunctionfunction gs takes nothing returns booleanreturn(Fs())endfunctionfunction Gs takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Hs takes nothing returns booleanreturn(GetSpellAbilityId()==1093679153)endfunctionfunction js takes nothing returns booleanreturn(GetSpellAbilityId()==1093679160)endfunctionfunction Js takes nothing returns booleanreturn(GetSpellAbilityId()==1093681493)endfunctionfunction ks takes nothing returns booleanreturn(GetSpellAbilityId()==1093677112)endfunctionfunction Ks takes nothing returns booleanreturn(GetSpellAbilityId()==1093681482)endfunctionfunction Ls takes nothing returns booleanreturn(GetSpellAbilityId()==1093678647)endfunctionfunction ms takes nothing returns booleanreturn(GetSpellAbilityId()==1093679435)endfunctionfunction Ms takes nothing returns booleanreturn(GetSpellAbilityId()==1093681718)endfunctionfunction ps takes nothing returns booleanreturn(GetSpellAbilityId()==1093681741)endfunctionfunction Ps takes nothing returns booleanreturn(GetSpellAbilityId()==1093681748)endfunctionfunction qs takes nothing returns booleanreturn(GetSpellAbilityId()==1093681971)endfunctionfunction Qs takes nothing returns booleanreturn(GetSpellAbilityId()==1093681754)endfunctionfunction ss takes nothing returns booleanreturn(GetSpellAbilityId()==1093681712)endfunctionfunction Ss takes nothing returns booleanreturn GetBooleanOr(Qs(),ss())endfunctionfunction ts takes nothing returns booleanreturn GetBooleanOr(qs(),Ss())endfunctionfunction Ts takes nothing returns booleanreturn GetBooleanOr(Ps(),ts())endfunctionfunction us takes nothing returns booleanreturn GetBooleanOr(ps(),Ts())endfunctionfunction Us takes nothing returns booleanreturn GetBooleanOr(Ms(),us())endfunctionfunction ws takes nothing returns booleanreturn GetBooleanOr(ms(),Us())endfunctionfunction Ws takes nothing returns booleanreturn GetBooleanOr(Ls(),ws())endfunctionfunction ys takes nothing returns booleanreturn GetBooleanOr(Ks(),Ws())endfunctionfunction Ys takes nothing returns booleanreturn GetBooleanOr(ks(),ys())endfunctionfunction zs takes nothing returns booleanreturn GetBooleanOr(Js(),Ys())endfunctionfunction Zs takes nothing returns booleanreturn GetBooleanOr(js(),zs())endfunctionfunction vS takes nothing returns booleanreturn(RectContainsLoc(Mi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(jr,GetSpellTargetLoc()))or(RectContainsLoc(lr,GetSpellTargetLoc()))or(RectContainsLoc(Hr,GetSpellTargetLoc()))or(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Ei,GetSpellTargetLoc()))or(RectContainsLoc(oa,GetSpellTargetLoc()))or(RectContainsLoc(ra,GetSpellTargetLoc()))or(RectContainsLoc(ia,GetSpellTargetLoc()))or(RectContainsLoc(aa,GetSpellTargetLoc()))or(RectContainsLoc(na,GetSpellTargetLoc()))or(RectContainsLoc(Va,GetSpellTargetLoc()))or(RectContainsLoc(Ea,GetSpellTargetLoc()))or(RectContainsLoc(Xa,GetSpellTargetLoc()))or(RectContainsLoc(Na,GetSpellTargetLoc()))or(RectContainsLoc(Ga,GetSpellTargetLoc()))endfunctionfunction eS takes nothing returns booleanreturn(GetBooleanOr(Hs(),Zs()))and(vS())endfunctionfunction xS takes nothing returns booleanreturn(eS())endfunctionfunction oS takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction iS takes nothing returns booleanreturn(GetSpellAbilityId()==1093681491)endfunctionfunction aS takes nothing returns booleanreturn(GetSpellAbilityId()==1093679160)endfunctionfunction nS takes nothing returns booleanreturn(GetSpellAbilityId()==1093677402)endfunctionfunction VS takes nothing returns booleanreturn(GetSpellAbilityId()==1093677645)endfunctionfunction ES takes nothing returns booleanreturn(GetSpellAbilityId()==1093678647)endfunctionfunction XS takes nothing returns booleanreturn GetBooleanOr(VS(),ES())endfunctionfunction OS takes nothing returns booleanreturn GetBooleanOr(nS(),XS())endfunctionfunction RS takes nothing returns booleanreturn GetBooleanOr(aS(),OS())endfunctionfunction IS takes nothing returns booleanreturn(RectContainsLoc(Mi,GetSpellTargetLoc()))or(RectContainsLoc(pi,GetSpellTargetLoc()))or(RectContainsLoc(Pi,GetSpellTargetLoc()))or(RectContainsLoc(qi,GetSpellTargetLoc()))or(RectContainsLoc(Qi,GetSpellTargetLoc()))or(RectContainsLoc(si,GetSpellTargetLoc()))or(RectContainsLoc(mi,GetSpellTargetLoc()))or(RectContainsLoc(jr,GetSpellTargetLoc()))or(RectContainsLoc(lr,GetSpellTargetLoc()))or(RectContainsLoc(Hr,GetSpellTargetLoc()))or(RectContainsLoc(Vi,GetSpellTargetLoc()))or(RectContainsLoc(Ei,GetSpellTargetLoc()))or(RectContainsLoc(oa,GetSpellTargetLoc()))or(RectContainsLoc(ra,GetSpellTargetLoc()))or(RectContainsLoc(ia,GetSpellTargetLoc()))or(RectContainsLoc(aa,GetSpellTargetLoc()))or(RectContainsLoc(na,GetSpellTargetLoc()))or(RectContainsLoc(Va,GetSpellTargetLoc()))or(RectContainsLoc(Ea,GetSpellTargetLoc()))or(RectContainsLoc(Xa,GetSpellTargetLoc()))or(RectContainsLoc(Na,GetSpellTargetLoc()))or(RectContainsLoc(Ga,GetSpellTargetLoc()))endfunctionfunction AS takes nothing returns booleanreturn(GetBooleanOr(iS(),RS()))and(IS())endfunctionfunction NS takes nothing returns booleanreturn(AS())endfunctionfunction bS takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction cS takes nothing returns booleanreturn(GetSpellAbilityId()==1093678680)endfunctionfunction CS takes nothing returns booleanreturn(GetSpellAbilityId()==1093681712)endfunctionfunction dS takes nothing returns booleanreturn(GetSpellAbilityId()==1093678902)endfunctionfunction DS takes nothing returns booleanreturn(GetSpellAbilityId()==1093678392)endfunctionfunction fS takes nothing returns booleanreturn(GetSpellAbilityId()==1093677377)endfunctionfunction FS takes nothing returns booleanreturn GetBooleanOr(DS(),fS())endfunctionfunction gS takes nothing returns booleanreturn GetBooleanOr(dS(),FS())endfunctionfunction GS takes nothing returns booleanreturn GetBooleanOr(CS(),gS())endfunctionfunction hS takes nothing returns booleanreturn(RectContainsLoc(jr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(lr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Hr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(si,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Vi,GetUnitLoc(GetSpellTargetUnit())))endfunctionfunction HS takes nothing returns booleanreturn(GetBooleanOr(cS(),GS()))and(hS())endfunctionfunction jS takes nothing returns booleanreturn(HS())endfunctionfunction JS takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction KS takes nothing returns booleanreturn(GetSpellAbilityId()==1093677112)endfunctionfunction lS takes nothing returns booleanreturn(GetSpellAbilityId()==1093678385)endfunctionfunction LS takes nothing returns booleanreturn(GetSpellAbilityId()==1094935404)endfunctionfunction mS takes nothing returns booleanreturn(GetSpellAbilityId()==1094936172)endfunctionfunction MS takes nothing returns booleanreturn(GetSpellAbilityId()==1093682004)endfunctionfunction pS takes nothing returns booleanreturn(GetSpellAbilityId()==1093682224)endfunctionfunction PS takes nothing returns booleanreturn(GetSpellAbilityId()==1093682010)endfunctionfunction qS takes nothing returns booleanreturn GetBooleanOr(pS(),PS())endfunctionfunction QS takes nothing returns booleanreturn GetBooleanOr(MS(),qS())endfunctionfunction sS takes nothing returns booleanreturn GetBooleanOr(mS(),QS())endfunctionfunction SS takes nothing returns booleanreturn GetBooleanOr(LS(),sS())endfunctionfunction tS takes nothing returns booleanreturn GetBooleanOr(lS(),SS())endfunctionfunction TS takes nothing returns booleanreturn(RectContainsLoc(jr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(lr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Hr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(si,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Vi,GetUnitLoc(GetSpellTargetUnit())))endfunctionfunction uS takes nothing returns booleanreturn(GetBooleanOr(KS(),tS()))and(TS())endfunctionfunction US takes nothing returns booleanreturn(uS())endfunctionfunction wS takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction yS takes nothing returns booleanreturn(GetSpellAbilityId()==1097166455)endfunctionfunction YS takes nothing returns booleanreturn(GetSpellAbilityId()==1093678928)endfunctionfunction zS takes nothing returns booleanreturn(GetSpellAbilityId()==1093681496)endfunctionfunction ZS takes nothing returns booleanreturn(GetSpellAbilityId()==1093681712)endfunctionfunction vt takes nothing returns booleanreturn(GetSpellAbilityId()==1093679161)endfunctionfunction et takes nothing returns booleanreturn(GetSpellAbilityId()==1093681482)endfunctionfunction xt takes nothing returns booleanreturn(GetSpellAbilityId()==1093679435)endfunctionfunction ot takes nothing returns booleanreturn(GetSpellAbilityId()==1093679192)endfunctionfunction rt takes nothing returns booleanreturn(GetSpellAbilityId()==1093679191)endfunctionfunction it takes nothing returns booleanreturn(GetSpellAbilityId()==1093678932)endfunctionfunction at takes nothing returns booleanreturn(GetSpellAbilityId()==1093679190)endfunctionfunction nt takes nothing returns booleanreturn(GetSpellAbilityId()==1093681458)endfunctionfunction Vt takes nothing returns booleanreturn(GetSpellAbilityId()==1093681720)endfunctionfunction Et takes nothing returns booleanreturn(GetSpellAbilityId()==1093681721)endfunctionfunction Xt takes nothing returns booleanreturn(GetSpellAbilityId()==1093681739)endfunctionfunction Ot takes nothing returns booleanreturn(GetSpellAbilityId()==1093681718)endfunctionfunction Rt takes nothing returns booleanreturn(GetSpellAbilityId()==1093681741)endfunctionfunction It takes nothing returns booleanreturn(GetSpellAbilityId()==1093681748)endfunctionfunction At takes nothing returns booleanreturn(GetSpellAbilityId()==1093682000)endfunctionfunction Nt takes nothing returns booleanreturn GetBooleanOr(It(),At())endfunctionfunction bt takes nothing returns booleanreturn GetBooleanOr(Rt(),Nt())endfunctionfunction Bt takes nothing returns booleanreturn GetBooleanOr(Ot(),bt())endfunctionfunction ct takes nothing returns booleanreturn GetBooleanOr(Xt(),Bt())endfunctionfunction Ct takes nothing returns booleanreturn GetBooleanOr(Et(),ct())endfunctionfunction dt takes nothing returns booleanreturn GetBooleanOr(Vt(),Ct())endfunctionfunction Dt takes nothing returns booleanreturn GetBooleanOr(nt(),dt())endfunctionfunction ft takes nothing returns booleanreturn GetBooleanOr(at(),Dt())endfunctionfunction Ft takes nothing returns booleanreturn GetBooleanOr(it(),ft())endfunctionfunction gt takes nothing returns booleanreturn GetBooleanOr(rt(),Ft())endfunctionfunction Gt takes nothing returns booleanreturn GetBooleanOr(ot(),gt())endfunctionfunction ht takes nothing returns booleanreturn GetBooleanOr(xt(),Gt())endfunctionfunction Ht takes nothing returns booleanreturn GetBooleanOr(et(),ht())endfunctionfunction jt takes nothing returns booleanreturn GetBooleanOr(vt(),Ht())endfunctionfunction Jt takes nothing returns booleanreturn GetBooleanOr(ZS(),jt())endfunctionfunction kt takes nothing returns booleanreturn GetBooleanOr(zS(),Jt())endfunctionfunction Kt takes nothing returns booleanreturn GetBooleanOr(YS(),kt())endfunctionfunction lt takes nothing returns booleanreturn(RectContainsLoc(jr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(lr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Hr,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Pi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Qi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(si,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(mi,GetUnitLoc(GetSpellTargetUnit())))or(RectContainsLoc(Vi,GetUnitLoc(GetSpellTargetUnit())))endfunctionfunction Lt takes nothing returns booleanreturn(GetBooleanOr(yS(),Kt()))and(lt())endfunctionfunction mt takes nothing returns booleanreturn(Lt())endfunctionfunction Mt takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Pt takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988531)and(IsPlayerInForce(GetOwningPlayer(GetDyingUnit()),o))endfunctionfunction qt takes nothing returns nothingcall SetUnitInvulnerable(GetEnumUnit(),false)endfunctionfunction Qt takes nothing returns nothingcall UnitDamageTargetBJ(GetKillingUnit(),GetEnumUnit(),1000000000.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction St takes nothing returns booleanreturn(a>=1)endfunctionfunction tt takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==GetOwningPlayer(GetKillingUnit()))endfunctionfunction Tt takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction ut takes nothing returns booleanreturn GetBooleanAnd(tt(),Tt())endfunctionfunction Ut takes nothing returns nothingcall SetHeroLevelBJ(GetEnumUnit(),(GetUnitLevel(GetEnumUnit())+3),true)call SetHeroLevelBJ(bj_lastCreatedUnit,GetUnitLevel(GetEnumUnit()),false)call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_GOLD,(GetPlayerState(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_GOLD)/20))call AdjustPlayerStateBJ(($F*GetUnitLevel(GetEnumUnit())),GetOwningPlayer(bj_lastCreatedUnit),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction wt takes nothing returns nothingcall SetPlayerAllianceStateBJ(GetOwningPlayer(GetDyingUnit()),GetEnumPlayer(),3)call SetPlayerAllianceStateBJ(GetEnumPlayer(),GetOwningPlayer(GetDyingUnit()),3)endfunctionfunction Wt takes nothing returns nothingcall SetPlayerAllianceStateBJ(GetOwningPlayer(GetDyingUnit()),GetEnumPlayer(),0)call SetPlayerAllianceStateBJ(GetEnumPlayer(),GetOwningPlayer(GetDyingUnit()),0)call SetPlayerHandicapBJ(GetEnumPlayer(),(100.+I2R(Jv)))endfunctionfunction yt takes nothing returns nothingcall SetForceAllianceStateBJ(bj_FORCE_PLAYER[$C],x,0)call CreateFogModifierRectBJ(true,GetEnumPlayer(),FOG_OF_WAR_VISIBLE,Vi)endfunctionfunction Yt takes nothing returns nothingset Qx[(1+GetPlayerId(GetTriggerPlayer()))]=(Qx[(1+GetPlayerId(GetTriggerPlayer()))]+4)set tx[(1+GetPlayerId(GetTriggerPlayer()))]=trueset a=(a-1)set Jv=(Jv+1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+1),"|cFFFF0000Петросяны")call ConditionalTriggerExecute(eR)set n=(n+1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNStormBrewmaster.blp")call ForceRemovePlayer(o,GetOwningPlayer(GetDyingUnit()))call ForceAddPlayer(x,GetOwningPlayer(GetDyingUnit()))call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_LUMBER,0)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall RemoveItem(UnitItemInSlotBJ(GetDyingUnit(),bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ForGroupBJ(Nf(GetOwningPlayer(GetDyingUnit())),function qt)call ForGroupBJ(Nf(GetOwningPlayer(GetDyingUnit())),function Qt)if(St())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("КВНщик под ником: "+GetPlayerName(GetOwningPlayer(GetDyingUnit())))+"|r Был Рассмешен И принят в Кривое зеркало"))elsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Последний КВНщик под ником: "+GetPlayerName(GetOwningPlayer(GetDyingUnit())))+"|r Был Рассмешен и принят в Кривое зеркало. Петросяны победили!"))endifcall CreateNUnitsAtLocFacingLocBJ(1,1429221433,GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),GetUnitLoc(GetKillingUnit()))set Av[(1+GetPlayerId(GetOwningPlayer(bj_lastCreatedUnit)))]=bj_lastCreatedUnitcall UnitAddItemByIdSwapped(1227894857,bj_lastCreatedUnit)call SetUnitPositionLoc(bj_lastCreatedUnit,GetRectCenter(Mr))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function ut)),function Ut)call ForForce(x,function wt)call ForForce(o,function Wt)call FogEnableOn()call FogMaskEnableOn()call ForForce(x,function yt)call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_LUMBER,1)call TriggerExecute(zO)endfunctionfunction Zt takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988531)and(IsPlayerInForce(GetOwningPlayer(GetDyingUnit()),o))endfunctionfunction vT takes nothing returns nothingcall SetPlayerHandicapBJ(GetEnumPlayer(),(100.+I2R(Jv)))endfunctionfunction eT takes nothing returns nothingcall SetUnitInvulnerable(GetEnumUnit(),false)endfunctionfunction xT takes nothing returns nothingcall UnitDamageTargetBJ(GetKillingUnit(),GetEnumUnit(),1000000000.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction oT takes nothing returns booleanreturn(a>=1)endfunctionfunction rT takes nothing returns nothingset tx[(1+GetPlayerId(GetTriggerPlayer()))]=trueset a=(a-1)set Jv=(Jv+2)call SetHeroLevelBJ(GetKillingUnit(),(GetUnitLevel(GetKillingUnit())+3),true)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+1),"|cFFFF0000     Убит")call ConditionalTriggerExecute(eR)call ForceRemovePlayer(o,GetOwningPlayer(GetDyingUnit()))call ForceAddPlayer(Ov,GetOwningPlayer(GetDyingUnit()))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_LUMBER,0)call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_GOLD,0)call ForForce(o,function vT)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall RemoveItem(UnitItemInSlotBJ(GetDyingUnit(),bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ForGroupBJ(Nf(GetOwningPlayer(GetDyingUnit())),function eT)call ForGroupBJ(Nf(GetOwningPlayer(GetDyingUnit())),function xT)if(oT())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("КВНщик под ником: "+GetPlayerName(GetOwningPlayer(GetDyingUnit())))+"|r Был Рассмешен."))elsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Последний КВНщик с ником: "+GetPlayerName(GetOwningPlayer(GetDyingUnit())))+"|r Рассмешен! Петросяны победили"))endifcall SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_LUMBER,0)call SetPlayerStateBJ(GetOwningPlayer(GetDyingUnit()),PLAYER_STATE_RESOURCE_GOLD,0)call TriggerExecute(zO)endfunctionfunction aT takes nothing returns booleanreturn(tx[(1+GetPlayerId(GetTriggerPlayer()))]==false)endfunctionfunction nT takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())endfunctionfunction VT takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction ET takes nothing returns booleanreturn(GetFilterUnit()!=bD)endfunctionfunction XT takes nothing returns booleanreturn(GetFilterUnit()!=cD)endfunctionfunction OT takes nothing returns booleanreturn(GetFilterUnit()!=BD)endfunctionfunction RT takes nothing returns booleanreturn GetBooleanAnd(XT(),OT())endfunctionfunction IT takes nothing returns booleanreturn GetBooleanAnd(ET(),RT())endfunctionfunction AT takes nothing returns booleanreturn GetBooleanAnd(VT(),IT())endfunctionfunction NT takes nothing returns booleanreturn GetBooleanAnd(nT(),AT())endfunctionfunction bT takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction BT takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())endfunctionfunction cT takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction CT takes nothing returns booleanreturn GetBooleanAnd(BT(),cT())endfunctionfunction dT takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction DT takes nothing returns booleanreturn(IsPlayerInForce(GetTriggerPlayer(),o))endfunctionfunction fT takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())endfunctionfunction FT takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction gT takes nothing returns booleanreturn(IsPlayerInForce(GetTriggerPlayer(),x))endfunctionfunction GT takes nothing returns booleanreturn(IsPlayerInForce(GetTriggerPlayer(),Ov))endfunctionfunction hT takes nothing returns nothingif(aT())thencall StoreIntegerBJ(((1+GetPlayerId(GetTriggerPlayer()))-1),"player_leave","User",Sx)call SyncStoredInteger(Sx,"User","player_leave")endifif(DT())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(GetTriggerPlayer()))]+1),"   |cFF002CDDВышел")set a=(a-1)set Jv=(Jv+1)call ForceRemovePlayer(o,GetTriggerPlayer())call PlaySoundBJ(VE)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function NT)),function bT)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function CT)),function dT)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((("Этот игрок за КВНщиков вышел из игры: "+GetPlayerName(GetTriggerPlayer()))+" |r Теперь КВНщиков осталось: ")+I2S(a)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call TriggerExecute(zO)set cv[(1+GetPlayerId(GetTriggerPlayer()))]=0set nv[(1+GetPlayerId(GetTriggerPlayer()))]=""call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(GetTriggerPlayer()))]+1)," ")set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifif(gT())thencall ForceRemovePlayer(x,GetTriggerPlayer())set n=(n-1)call RemoveUnit(Av[(1+GetPlayerId(GetTriggerPlayer()))])call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(GetTriggerPlayer()))]+1),"   |cFF002CDDВышел")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((("Этот игрок за Петросянов вышел из игры: "+GetPlayerName(GetTriggerPlayer()))+" |r Теперь Петросянов осталось: ")+I2S(n)))set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall CreateItemLoc(GetItemTypeId(UnitItemInSlotBJ(Av[(1+GetPlayerId(GetTriggerPlayer()))],bj_forLoopAIndex)),GetRectCenter(Mr))call RemoveItem(UnitItemInSlotBJ(Av[(1+GetPlayerId(GetTriggerPlayer()))],bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function fT)),function FT)endifif(GT())thencall ForceRemovePlayer(Ov,GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(GetTriggerPlayer()))]+1),"   |cFF002CDDВышел")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetTriggerPlayer())+" |rВышел из игры!"))endifset Nx[(1+GetPlayerId(GetTriggerPlayer()))]=0set Qx[(1+GetPlayerId(GetTriggerPlayer()))]=0call ConditionalTriggerExecute(vR)call ConditionalTriggerExecute(eR)call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetTriggerPlayer()))]+1),"ReplaceableTextures\\CommandButtons\\BTNUnload.blp")call TimerDialogDisplay(b[(1+GetPlayerId(GetTriggerPlayer()))],false)call DestroyTimerDialog(b[(1+GetPlayerId(GetTriggerPlayer()))])endfunctionfunction jT takes nothing returns booleanreturn(IsPlayerInForce(Player(-1+(bj_forLoopAIndex)),o))endfunctionfunction JT takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(jT())thencall SetPlayerHandicapBJ(Player(-1+(bj_forLoopAIndex)),(100.+I2R(Jv)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction KT takes nothing returns booleanreturn(GetUnitTypeId(GetConstructedStructure())==1747988550)endfunctionfunction lT takes nothing returns nothingcall SmartCameraPanBJ(GetEnumPlayer(),GetUnitLoc(GetConstructedStructure()),15.)endfunctionfunction LT takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset tx[bj_forLoopAIndex]=trueset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall SetTerrainFogExBJ(0,675.,5000.,750.,.0,.0,100.)call CinematicModeBJ(true,bj_FORCE_ALL_PLAYERS)call ForForce(bj_FORCE_ALL_PLAYERS,function lT)call PauseAllUnitsBJ(true)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_8309")set Lv=1call TriggerSleepAction(12.)call CustomVictoryBJ(Player(0),true,true)call CustomVictoryBJ(Player(1),true,true)call CustomVictoryBJ(Player(2),true,true)call CustomVictoryBJ(Player(3),true,true)call CustomVictoryBJ(Player(4),true,true)call CustomVictoryBJ(Player(5),true,true)call CustomVictoryBJ(Player(6),true,true)call CustomVictoryBJ(Player(7),true,true)call CustomVictoryBJ(Player(8),true,true)call CustomVictoryBJ(Player(9),true,true)call CustomDefeatBJ(Player($A),"Defeat!")call CustomDefeatBJ(Player($B),"Defeat!")endfunctionfunction MT takes nothing returns booleanreturn(n==0)and(Lv==0)endfunctionfunction pT takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset tx[bj_forLoopAIndex]=trueset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall PauseAllUnitsBJ(true)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_8312")call SetTerrainFogExBJ(0,650.,4500.,725.,.0,.0,100.)set Lv=1call DisableTrigger(GetTriggeringTrigger())call YD(12.)call CustomVictoryBJ(Player(0),true,true)call CustomVictoryBJ(Player(1),true,true)call CustomVictoryBJ(Player(2),true,true)call CustomVictoryBJ(Player(3),true,true)call CustomVictoryBJ(Player(4),true,true)call CustomVictoryBJ(Player(5),true,true)call CustomVictoryBJ(Player(6),true,true)call CustomVictoryBJ(Player(7),true,true)call CustomVictoryBJ(Player(8),true,true)call CustomVictoryBJ(Player(9),true,true)call CustomDefeatBJ(Player($A),"Defeat!")call CustomDefeatBJ(Player($B),"Defeat!")endfunctionfunction qT takes nothing returns booleanreturn(a==0)and(Lv==0)endfunctionfunction QT takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset tx[bj_forLoopAIndex]=trueset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall CinematicFadeBJ(1,16.5,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)set Lv=1call DisableTrigger(tA)call YD(1.)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_8315")call SetTerrainFogExBJ(0,650.,5000.,.0,100.,.0,.0)call DisableTrigger(GetTriggeringTrigger())call YD(15.)call CustomDefeatBJ(Player(0),"Defeat!")call CustomDefeatBJ(Player(1),"Defeat!")call CustomDefeatBJ(Player(2),"Defeat!")call CustomDefeatBJ(Player(3),"Defeat!")call CustomDefeatBJ(Player(4),"Defeat!")call CustomDefeatBJ(Player(5),"Defeat!")call CustomDefeatBJ(Player(6),"Defeat!")call CustomDefeatBJ(Player(7),"Defeat!")call CustomDefeatBJ(Player(8),"Defeat!")call CustomDefeatBJ(Player(9),"Defeat!")call CustomVictoryBJ(Player($A),true,true)call CustomVictoryBJ(Player($B),true,true)endfunctionfunction ST takes nothing returns nothingcall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))endfunctionfunction TT takes nothing returns nothingset Lv=0call ConditionalTriggerExecute(eR)endfunctionfunction UT takes nothing returns booleanreturn(GetSpellAbilityId()==1093678680)endfunctionfunction wT takes nothing returns booleanreturn(GetUnitTypeId(GetSpellTargetUnit())==1160785969)endfunctionfunction WT takes nothing returns booleanreturn(GetUnitTypeId(GetSpellTargetUnit())==1160785976)endfunctionfunction yT takes nothing returns booleanreturn(IsUnitType(GetSpellTargetUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction YT takes nothing returns nothingif(wT())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,350.)call YD(7.)call SetUnitMoveSpeed(Fv,700.)set Fv=nullendifif(WT())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,425.)call YD(7.)call SetUnitMoveSpeed(Fv,825.)set Fv=nullendifif(yT())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,215.)call YD(7.)call SetUnitMoveSpeed(Fv,430.)set Fv=nullendifendfunctionfunction ZT takes nothing returns booleanreturn(GetSpellAbilityId()==1093678648)endfunctionfunction vu takes nothing returns nothinglocal unit zset z=GetSpellAbilityUnit()call SetUnitInvulnerable(z,true)call YD(13.)call SetUnitInvulnerable(z,false)set z=nullendfunctionfunction xu takes nothing returns booleanreturn(GetSpellAbilityId()==1093677618)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$7A120)endfunctionfunction ou takes nothing returns booleanreturn(GetSpellAbilityId()==1093677650)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)>=1)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)!=$F4240)endfunctionfunction ru takes nothing returns nothingif(xu())thencall AdjustPlayerStateBJ(-$7A120,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ(1,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)endifif(ou())thencall AdjustPlayerStateBJ(-1,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)call AdjustPlayerStateBJ($7A120,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction au takes nothing returns booleanreturn(GetSpellAbilityId()==1093677876)endfunctionfunction nu takes nothing returns nothinglocal unit jset j=GetSpellTargetUnit()call UnitAddAbility(j,1093677879)call YD(7.)call UnitRemoveAbility(j,1093677879)set j=nullendfunctionfunction Eu takes nothing returns booleanreturn(GetItemTypeId(GetManipulatedItem())==1227895106)endfunctionfunction Xu takes nothing returns nothinglocal unit rk=GetManipulatingUnit()call YD(.5)call SelectUnitForPlayerSingle(GetManipulatingUnit(),GetTriggerPlayer())call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetUnitLoc(GetManipulatingUnit()),.15)call SetUnitInvulnerable(rk,true)call YD(11.)call SetUnitInvulnerable(rk,false)set rk=nullendfunctionfunction Ru takes nothing returns booleanreturn(GetSpellAbilityId()==1093678385)endfunctionfunction Iu takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction Au takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellAbilityUnit()),bj_UNIT_FACING)call UnitApplyTimedLifeBJ(1.,1112820806,bj_lastCreatedUnit)call IssueTargetOrderById(bj_lastCreatedUnit,$D0269,GetEnumUnit())endfunctionfunction Nu takes nothing returns nothingcall ForGroupBJ(Ef(285.,GetSpellTargetLoc(),Condition(function Iu)),function Au)endfunctionfunction Bu takes nothing returns booleanreturn(GetSpellAbilityId()==1093677636)endfunctionfunction cu takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction Cu takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1211117639)endfunctionfunction du takes nothing returns booleanreturn(IsUnitAliveBJ(GetFilterUnit()))endfunctionfunction Du takes nothing returns booleanreturn GetBooleanAnd(Cu(),du())endfunctionfunction fu takes nothing returns booleanreturn GetBooleanAnd(cu(),Du())endfunctionfunction Fu takes nothing returns nothingcall PingMinimapLocForForceEx(cf(GetOwningPlayer(fv)),GetUnitLoc(GetEnumUnit()),.2,0,100,.0,.0)endfunctionfunction gu takes nothing returns nothingset fv=GetSpellAbilityUnit()call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function fu)),function Fu)call EnableTrigger(OR)call EnableTrigger(RR)endfunctionfunction hu takes nothing returns booleanreturn(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction Hu takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1211117639)endfunctionfunction ju takes nothing returns booleanreturn(IsUnitAliveBJ(GetFilterUnit()))endfunctionfunction Ju takes nothing returns booleanreturn GetBooleanAnd(Hu(),ju())endfunctionfunction ku takes nothing returns booleanreturn GetBooleanAnd(hu(),Ju())endfunctionfunction Ku takes nothing returns nothingcall PingMinimapLocForForceEx(cf(GetOwningPlayer(fv)),GetUnitLoc(GetEnumUnit()),.2,0,100,.0,.0)endfunctionfunction lu takes nothing returns nothingcall ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function ku)),function Ku)endfunctionfunction mu takes nothing returns nothingcall YD(17.6)call DisableTrigger(GetTriggeringTrigger())call DisableTrigger(OR)set fv=nullendfunctionfunction pu takes nothing returns booleanreturn((UnitHasItemOfTypeBJ(GetAttacker(),1227894869))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE))and(GetRandomInt(1,25)==1))!=nullendfunctionfunction Pu takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("head",GetAttacker(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")call SetWidgetLife(GetAttacker(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetAttacker())*.04)+GetUnitStateSwap(UNIT_STATE_LIFE,GetAttacker())))endfunctionfunction Qu takes nothing returns booleanreturn((UnitHasItemOfTypeBJ(GetAttacker(),1227895874))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE))and(GetRandomInt(1,25)==1))!=nullendfunctionfunction su takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("head",GetAttacker(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")call SetWidgetLife(GetAttacker(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetAttacker())*.04)+GetUnitStateSwap(UNIT_STATE_LIFE,GetAttacker())))endfunctionfunction tu takes nothing returns booleanreturn((UnitHasItemOfTypeBJ(GetAttacker(),1227895873))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE))and(GetRandomInt(1,25)==1))!=nullendfunctionfunction Tu takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("head",GetAttacker(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")call SetWidgetLife(GetAttacker(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetAttacker())*.04)+GetUnitStateSwap(UNIT_STATE_LIFE,GetAttacker())))endfunctionfunction Uu takes nothing returns booleanreturn((UnitHasItemOfTypeBJ(GetAttacker(),1227895637))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE))and(GetRandomInt(1,25)==1))!=nullendfunctionfunction wu takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("head",GetAttacker(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")call SetWidgetLife(GetAttacker(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetAttacker())*.04)+GetUnitStateSwap(UNIT_STATE_LIFE,GetAttacker())))endfunctionfunction yu takes nothing returns booleanreturn(GetSpellAbilityId()==1093678914)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$FA0)endfunctionfunction Yu takes nothing returns booleanreturn(GetSpellAbilityId()==1093678915)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$4E20)endfunctionfunction zu takes nothing returns booleanreturn(GetSpellAbilityId()==1093678916)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$9C40)endfunctionfunction Zu takes nothing returns booleanreturn(GetSpellAbilityId()==1093677620)and(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$30D40)endfunctionfunction vU takes nothing returns nothingif(yu())thencall AdjustPlayerStateBJ(-$FA0,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call UnitAddItemByIdSwapped(1227895122,GetTriggerUnit())call UnitRemoveAbility(GetSpellAbilityUnit(),1110454329)endifif(Yu())thencall AdjustPlayerStateBJ(-$4E20,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call UnitAddItemByIdSwapped(1227894836,GetTriggerUnit())call UnitRemoveAbility(GetSpellAbilityUnit(),1110454329)endifif(zu())thencall AdjustPlayerStateBJ(-$9C40,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call UnitAddItemByIdSwapped(1227895124,GetTriggerUnit())call UnitRemoveAbility(GetSpellAbilityUnit(),1110454329)endifif(Zu())thencall AdjustPlayerStateBJ(-$30D40,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call UnitAddItemByIdSwapped(1227894870,GetTriggerUnit())call UnitRemoveAbility(GetSpellAbilityUnit(),1110454329)endifendfunctionfunction xU takes nothing returns booleanreturn(GetSpellAbilityId()==1093678896)endfunctionfunction oU takes nothing returns nothingcall UnitAddItemByIdSwapped(1920168051,GetSpellAbilityUnit())endfunctionfunction iU takes nothing returns booleanreturn(GetSpellAbilityId()==1093681473)endfunctionfunction aU takes nothing returns nothingcall UnitAddItemByIdSwapped(1920168051,GetSpellAbilityUnit())endfunctionfunction VU takes nothing returns booleanreturn(GetSpellAbilityId()==1093681474)endfunctionfunction EU takes nothing returns nothingcall UnitAddItemByIdSwapped(1920168051,GetSpellAbilityUnit())endfunctionfunction OU takes nothing returns booleanreturn(GetSpellAbilityId()==1093677385)endfunctionfunction RU takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellAbilityUnit()),bj_UNIT_FACING)call UnitApplyTimedLifeBJ(2.,1112820806,bj_lastCreatedUnit)call UnitAddAbility(bj_lastCreatedUnit,1093677387)call IssuePointOrderByIdLoc(bj_lastCreatedUnit,$D009A,GetUnitLoc(GetSpellAbilityUnit()))endfunctionfunction AU takes nothing returns booleanreturn(GetSpellAbilityId()==1093677395)endfunctionfunction NU takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellAbilityUnit()),bj_UNIT_FACING)call UnitApplyTimedLifeBJ(2.,1112820806,bj_lastCreatedUnit)call UnitAddAbility(bj_lastCreatedUnit,1093677401)call IssuePointOrderByIdLoc(bj_lastCreatedUnit,$D009A,GetUnitLoc(GetSpellAbilityUnit()))endfunctionfunction BU takes nothing returns booleanreturn(GetSpellAbilityId()==1093678675)endfunctionfunction cU takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")call AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectCaster.mdl")call SetWidgetLife(GetSpellAbilityUnit(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetSpellAbilityUnit())*.5)+GetUnitStateSwap(UNIT_STATE_LIFE,GetSpellAbilityUnit())))endfunctionfunction dU takes nothing returns booleanreturn(GetSpellAbilityId()==1093679439)endfunctionfunction DU takes nothing returns nothingcall AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")call AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectCaster.mdl")call SetWidgetLife(GetSpellAbilityUnit(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetSpellAbilityUnit())*.5)+GetUnitStateSwap(UNIT_STATE_LIFE,GetSpellAbilityUnit())))endfunctionfunction FU takes nothing returns booleanreturn(GetSpellAbilityId()==1093677875)endfunctionfunction gU takes nothing returns nothingcall SetWidgetLife(GetSpellTargetUnit(),((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetSpellTargetUnit())*.07)+GetUnitStateSwap(UNIT_STATE_LIFE,GetSpellTargetUnit())))call TriggerSleepAction((.01/1000000000.))call IssueTargetOrderById(GetSpellAbilityUnit(),$D0038,GetSpellTargetUnit())endfunctionfunction hU takes nothing returns booleanreturn(GetSpellAbilityId()==1093678648)endfunctionfunction HU takes nothing returns nothingcall UnitRemoveAbility(GetSpellAbilityUnit(),1093678647)call UnitAddAbility(GetSpellAbilityUnit(),1093678647)endfunctionfunction JU takes nothing returns booleanreturn(IsPlayerEnemy(GetOwningPlayer(GetAttacker()),GetOwningPlayer(GetTriggerUnit())))and(GetUnitAbilityLevelSwapped(1093677390,GetAttacker())>=1)and(GetRandomInt(1,$D)==1)endfunctionfunction kU takes nothing returns nothingset B=GetUnitLoc(GetAttacker())call CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetAttacker()),B,bj_UNIT_FACING)call RemoveLocation(B)call UnitApplyTimedLifeBJ(3.,1112820806,bj_lastCreatedUnit)call UnitAddAbility(bj_lastCreatedUnit,1093678155)set B=vf(GetUnitLoc(GetAttacker()),300.,GetUnitFacing(GetAttacker()))call IssuePointOrderByIdLoc(bj_lastCreatedUnit,$D00FA,B)call RemoveLocation(B)endfunctionfunction lU takes nothing returns booleanreturn(IsPlayerEnemy(GetOwningPlayer(GetAttacker()),GetOwningPlayer(GetTriggerUnit())))and(GetUnitTypeId(GetTriggerUnit())!=1852138344)and(GetUnitTypeId(GetTriggerUnit())!=1865429066)and(GetUnitTypeId(GetTriggerUnit())!=1865429075)and(GetUnitAbilityLevelSwapped(1093678640,GetAttacker())>=1)and(GetRandomInt(1,$A)==1)endfunctionfunction LU takes nothing returns nothingset B=GetUnitLoc(GetAttacker())call CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetAttacker()),B,bj_UNIT_FACING)call RemoveLocation(B)call UnitApplyTimedLifeBJ(3.,1112820806,bj_lastCreatedUnit)call UnitAddAbility(bj_lastCreatedUnit,1093678167)set B=vf(GetUnitLoc(GetAttacker()),300.,GetUnitFacing(GetAttacker()))call IssuePointOrderByIdLoc(bj_lastCreatedUnit,$D00FA,B)call RemoveLocation(B)endfunctionfunction MU takes nothing returns booleanreturn(IsPlayerEnemy(GetOwningPlayer(GetAttacker()),GetOwningPlayer(GetTriggerUnit())))and(GetUnitTypeId(GetTriggerUnit())!=1852138344)and(GetUnitTypeId(GetTriggerUnit())!=1865429066)and(GetUnitTypeId(GetTriggerUnit())!=1865429075)and(GetUnitAbilityLevelSwapped(1093678147,GetAttacker())>=1)and(GetRandomInt(1,9)==1)endfunctionfunction pU takes nothing returns nothingset B=GetUnitLoc(GetAttacker())call CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetAttacker()),B,bj_UNIT_FACING)call RemoveLocation(B)call UnitApplyTimedLifeBJ(3.,1112820806,bj_lastCreatedUnit)call UnitAddAbility(bj_lastCreatedUnit,1093678148)set B=vf(GetUnitLoc(GetAttacker()),300.,GetUnitFacing(GetAttacker()))call IssuePointOrderByIdLoc(bj_lastCreatedUnit,$D00FA,B)call RemoveLocation(B)endfunctionfunction qU takes nothing returns booleanreturn(GetSpellAbilityId()==1093677384)endfunctionfunction QU takes nothing returns nothingcall SetUnitManaBJ(GetSpellAbilityUnit(),0)call SetPlayerAbilityAvailableBJ(false,1093677384,GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction SU takes nothing returns booleanreturn(GetSpellAbilityId()==1093677391)endfunctionfunction tU takes nothing returns nothingcall KillUnit(GetSpellAbilityUnit())endfunctionfunction uU takes nothing returns booleanreturn(GetSpellAbilityId()==1093681999)endfunctionfunction UU takes nothing returns nothingcall KillUnit(GetSpellAbilityUnit())endfunctionfunction WU takes nothing returns booleanreturn(GetSpellAbilityId()==1093678387)and(GetUnitTypeId(GetSpellTargetUnit())==1848651824)endfunctionfunction yU takes nothing returns nothingcall UnitDamageTargetBJ(GetSpellAbilityUnit(),GetSpellTargetUnit(),100000.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)endfunctionfunction zU takes nothing returns booleanreturn(GetSpellAbilityId()==1093681713)and(GetUnitTypeId(GetSpellTargetUnit())==1848651824)endfunctionfunction ZU takes nothing returns nothingcall UnitDamageTargetBJ(GetSpellAbilityUnit(),GetSpellTargetUnit(),100000.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)endfunctionfunction ew takes nothing returns booleanreturn(GetSpellAbilityId()==1093681716)and(GetUnitTypeId(GetSpellTargetUnit())==1747988531)endfunctionfunction xw takes nothing returns nothingcall KillUnit(GetSpellTargetUnit())endfunctionfunction rw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677104)or(GetSpellAbilityId()==1093678393)endfunctionfunction iw takes nothing returns booleanreturn(rw())endfunctionfunction aw takes nothing returns nothingcall SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(Mr))endfunctionfunction Vw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677645)endfunctionfunction Ew takes nothing returns nothinglocal unit Xw=GetSpellAbilityUnit()call YD(.01)call SetUnitPositionLoc(Xw,Dv)call PanCameraToTimedLocForPlayer(GetOwningPlayer(Xw),GetUnitLoc(Xw),0)set Xw=nullset Dv=nullendfunctionfunction Rw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677645)endfunctionfunction Iw takes nothing returns nothingset Dv=GetSpellTargetLoc()endfunctionfunction Nw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677643)endfunctionfunction bw takes nothing returns nothinglocal unit Bwcall CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetSpellAbilityUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)set Bw=bj_lastCreatedUnitcall SetUnitAbilityLevelSwapped(1093677634,Bw,GetUnitAbilityLevelSwapped(1093677643,GetSpellAbilityUnit()))call IssueTargetOrderById(Bw,$D0103,GetEnumUnit())call UnitApplyTimedLifeBJ(2.,1112820806,Bw)set Bw=nullendfunctionfunction cw takes nothing returns nothingcall ForGroupBJ(Rf(455.,GetSpellTargetLoc()),function bw)endfunctionfunction dw takes nothing returns booleanreturn(GetSpellAbilityId()==1093681971)endfunctionfunction Dw takes nothing returns nothinglocal unit Bwcall CreateNUnitsAtLoc(1,1966092337,GetOwningPlayer(GetSpellAbilityUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)set Bw=bj_lastCreatedUnitcall SetUnitAbilityLevelSwapped(1093682229,Bw,GetUnitAbilityLevelSwapped(1093681971,GetSpellAbilityUnit()))call IssueTargetOrderById(Bw,$D0103,GetEnumUnit())call UnitApplyTimedLifeBJ(2.,1112820806,Bw)set Bw=nullendfunctionfunction fw takes nothing returns nothingcall ForGroupBJ(Rf(500.,GetSpellTargetLoc()),function Dw)endfunctionfunction gw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677911)endfunctionfunction Gw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[1])!=true)endfunctionfunction hw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[2])!=true)endfunctionfunction Hw takes nothing returns booleanreturn(GetBooleanOr(Gw(),hw()))endfunctionfunction jw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[1])!=true)endfunctionfunction Jw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[2])!=true)endfunctionfunction kw takes nothing returns booleanreturn(GetBooleanOr(jw(),Jw()))endfunctionfunction Kw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[1])!=true)endfunctionfunction lw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[2])!=true)endfunctionfunction Lw takes nothing returns booleanreturn(GetBooleanOr(Kw(),lw()))endfunctionfunction mw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[1])!=true)endfunctionfunction Mw takes nothing returns booleanreturn(IsUnitAliveBJ(Cv[2])!=true)endfunctionfunction pw takes nothing returns booleanreturn(GetBooleanOr(mw(),Mw()))endfunctionfunction Pw takes nothing returns nothinglocal effect qwlocal effect Qwset Cv[1]=GetSpellAbilityUnit()set Cv[2]=GetSpellTargetUnit()call AddSpecialEffectTargetUnitBJ("chest",Cv[1],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl")set qw=bj_lastCreatedEffectcall AddSpecialEffectLocBJ(GetUnitLoc(Cv[2]),"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl")set Qw=bj_lastCreatedEffectif(Hw())thencall DestroyEffect(qw)call DestroyEffect(Qw)set qw=nullset Qw=nullset Qw=nullset qw=nullreturnendifcall YD(1.)if(kw())thencall DestroyEffect(qw)call DestroyEffect(Qw)set qw=nullset Qw=nullset Qw=nullset qw=nullreturnendifcall YD(1.)if(Lw())thencall DestroyEffect(qw)call DestroyEffect(Qw)set qw=nullset Qw=nullset Qw=nullset qw=nullreturnendifcall YD(1.)if(pw())thencall DestroyEffect(qw)call DestroyEffect(Qw)set qw=nullset Qw=nullset Qw=nullset qw=nullreturnendifcall YD(1.)call DestroyEffect(qw)call DestroyEffect(Qw)call AddSpecialEffectLocBJ(GetUnitLoc(Cv[2]),"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdl")call AddSpecialEffectLocBJ(GetUnitLoc(Cv[1]),"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportCaster.mdl")call SetUnitPositionLoc(Cv[1],GetUnitLoc(Cv[2]))set qw=nullset Qw=nullendfunctionfunction Sw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677132)endfunctionfunction tw takes nothing returns nothingcall UnitResetCooldown(GetSpellTargetUnit())call SetPlayerAbilityAvailableBJ(true,1093677384,GetOwningPlayer(GetSpellTargetUnit()))call SetUnitManaBJ(GetSpellTargetUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetSpellTargetUnit())+30.))endfunctionfunction uw takes nothing returns booleanreturn(GetSpellAbilityId()==1093677132)and(GetUnitTypeId(GetSpellTargetUnit())!=1697656889)and(GetUnitTypeId(GetSpellTargetUnit())!=1697656903)endfunctionfunction Uw takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)call DisplayTextToForce(cf(GetOwningPlayer(GetBuyingUnit())),"TRIGSTR_8326")endfunctionfunction Ww takes nothing returns booleanreturn(GetSpellAbilityId()==1093677377)endfunctionfunction yw takes nothing returns nothingset mv[1]=GetSpellTargetUnit()set mv[2]=GetSpellAbilityUnit()call EnableTrigger(UR)endfunctionfunction zw takes nothing returns booleanreturn(UnitHasBuffBJ(mv[1],1110454328))endfunctionfunction Zw takes nothing returns nothingcall UnitDamageTargetBJ(mv[2],mv[1],(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,mv[1])*.15),ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction eW takes nothing returns booleanreturn(GetSpellAbilityId()==1093677881)endfunctionfunction xW takes nothing returns nothingset Pv=GetSpellTargetUnit()call EnableTrigger(yR)call YD(10.)set Pv=nullcall DisableTrigger(yR)endfunctionfunction rW takes nothing returns booleanreturn(GetDyingUnit()==Pv)endfunctionfunction iW takes nothing returns nothingset Pv=nullcall DisableTrigger(yR)endfunctionfunction nW takes nothing returns booleanreturn((IsUnitType(GetAttacker(),UNIT_TYPE_HERO))or(GetUnitTypeId(GetAttacker())==1160785969)or(GetUnitTypeId(GetAttacker())==1160785976))!=nullendfunctionfunction VW takes nothing returns booleanreturn(GetTriggerUnit()==Pv)and(nW())endfunctionfunction EW takes nothing returns booleanreturn(VW())endfunctionfunction XW takes nothing returns booleanreturn((IsUnitType(GetAttacker(),UNIT_TYPE_HERO))and(GetUnitTypeId(GetAttacker())!=1160785969)and(GetUnitTypeId(GetAttacker())!=1160785976))!=nullendfunctionfunction OW takes nothing returns booleanreturn(GetUnitTypeId(GetAttacker())==1160785969)endfunctionfunction RW takes nothing returns booleanreturn(GetUnitTypeId(GetAttacker())==1160785976)endfunctionfunction IW takes nothing returns nothingif(XW())thencall SetUnitManaBJ(GetAttacker(),(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker())-(GetUnitStateSwap(UNIT_STATE_MAX_MANA,GetAttacker())*(.25/10.))))endifif(OW())thencall SetUnitManaBJ(GetAttacker(),(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker())-(GetUnitStateSwap(UNIT_STATE_MAX_MANA,GetAttacker())*(.08/10.))))endifif(RW())thencall SetUnitManaBJ(GetAttacker(),(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker())-(GetUnitStateSwap(UNIT_STATE_MAX_MANA,GetAttacker())*(.06/10.))))endifendfunctionfunction NW takes nothing returns booleanreturn(GetSpellAbilityId()==1093677904)endfunctionfunction bW takes nothing returns nothinglocal unit BWlocal unit pdwset BW=GetSpellTargetUnit()call UnitAddAbility(BW,1093677908)call YD(5.)call UnitRemoveAbility(BW,1093677908)set BW=nullendfunctionfunction CW takes nothing returns booleanreturn(GetSpellAbilityId()==1093681739)endfunctionfunction dW takes nothing returns booleanreturn(GetUnitTypeId(GetSpellTargetUnit())==1160785969)endfunctionfunction DW takes nothing returns booleanreturn(GetUnitTypeId(GetSpellTargetUnit())==1160785976)endfunctionfunction fW takes nothing returns booleanreturn(IsUnitType(GetSpellTargetUnit(),UNIT_TYPE_HERO))!=nullendfunctionfunction FW takes nothing returns nothingif(dW())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,350.)call YD(7.)call SetUnitMoveSpeed(Fv,700.)set Fv=nullendifif(DW())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,425.)call YD(7.)call SetUnitMoveSpeed(Fv,825.)set Fv=nullendifif(fW())thenset Fv=GetSpellTargetUnit()call SetUnitMoveSpeed(Fv,200.)call YD(7.)call SetUnitMoveSpeed(Fv,430.)set Fv=nullendifendfunctionfunction GW takes nothing returns booleanreturn(GetSpellAbilityId()==1093681739)endfunctionfunction hW takes nothing returns nothingset mv[1]=GetSpellTargetUnit()set mv[2]=GetSpellAbilityUnit()call EnableTrigger(vI)endfunctionfunction jW takes nothing returns booleanreturn(UnitHasBuffBJ(mv[1],1110454328))endfunctionfunction JW takes nothing returns nothingcall UnitDamageTargetBJ(mv[2],mv[1],(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,mv[1])*.1),ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction KW takes nothing returns booleanreturn(GetSpellAbilityId()==1093681741)endfunctionfunction lW takes nothing returns nothingset mv[1]=GetSpellTargetUnit()set mv[2]=GetSpellAbilityUnit()call EnableTrigger(xI)endfunctionfunction mW takes nothing returns nothingcall UnitDamageTargetBJ(mv[2],mv[1],(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,mv[1])*.08),ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction pW takes nothing returns booleanreturn(GetSpellAbilityId()==1093681748)endfunctionfunction PW takes nothing returns nothingset mv[1]=GetSpellTargetUnit()set mv[2]=GetSpellAbilityUnit()call EnableTrigger(rI)endfunctionfunction QW takes nothing returns booleanreturn(UnitHasBuffBJ(mv[1],1111847784))endfunctionfunction sW takes nothing returns nothingcall UnitDamageTargetBJ(mv[2],mv[1],(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,mv[1])*.05),ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction tW takes nothing returns nothingcall EnableTrigger(aI)endfunctionfunction uW takes nothing returns booleanreturn(GetSpellAbilityId()==1093681712)endfunctionfunction UW takes nothing returns nothingset mv[1]=GetSpellTargetUnit()set mv[2]=GetSpellAbilityUnit()call EnableTrigger(nI)endfunctionfunction WW takes nothing returns booleanreturn(UnitHasBuffBJ(mv[1],1112437615))endfunctionfunction yW takes nothing returns nothingcall UnitDamageTargetBJ(mv[2],mv[1],(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,mv[1])*.06),ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction zW takes nothing returns booleanreturn(GetUnitAbilityLevelSwapped(1093677642,GetDyingUnit())==1)or(GetUnitAbilityLevelSwapped(1093678672,GetDyingUnit())==1)or(GetUnitAbilityLevelSwapped(1093678901,GetDyingUnit())==1)endfunctionfunction ZW takes nothing returns booleanreturn(zW())endfunctionfunction vy takes nothing returns booleanreturn(GetUnitAbilityLevelSwapped(1093678901,V)==1)endfunctionfunction ey takes nothing returns nothinglocal unit xyset V=GetDyingUnit()call StartTimerBJ(N[(1+GetPlayerId(GetOwningPlayer(V)))],false,30.)call CreateTimerDialogBJ(N[(1+GetPlayerId(GetOwningPlayer(V)))],GetHeroProperName(V))call TimerDialogDisplay(b[(1+GetPlayerId(GetOwningPlayer(V)))],true)set b[(1+GetPlayerId(GetOwningPlayer(V)))]=bj_lastCreatedTimerDialogset xy=Vcall YD(30.)set V=xycall ReviveHeroLoc(V,GetRectCenter(Mr),true)if(vy())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Актриса кривого зеркала |c00FF0000"+(GetHeroProperName(V)+"|r вновь готова выступать!")))elsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Актер кривого зеркала |c00FF0000"+(GetHeroProperName(V)+"|r вновь готов выступать!")))endifcall TimerDialogDisplay(b[(1+GetPlayerId(GetOwningPlayer(V)))],false)call DestroyTimerDialog(b[(1+GetPlayerId(GetOwningPlayer(V)))])set V=nullset xy=nullendfunctionfunction ry takes nothing returns booleanreturn(GetUnitAbilityLevelSwapped(1093677106,GetDyingUnit())==1)endfunctionfunction iy takes nothing returns nothinglocal unit xyset V=GetDyingUnit()call StartTimerBJ(N[(1+GetPlayerId(GetOwningPlayer(V)))],false,15.)call CreateTimerDialogBJ(N[(1+GetPlayerId(GetOwningPlayer(V)))],GetHeroProperName(V))call TimerDialogDisplay(b[(1+GetPlayerId(GetOwningPlayer(V)))],true)set b[(1+GetPlayerId(GetOwningPlayer(V)))]=bj_lastCreatedTimerDialogset xy=Vcall YD(15.)set V=xycall ReviveHeroLoc(V,GetRectCenter(Mr),true)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Великий актер кривого зеркала |c00FF0000"+(GetHeroProperName(V)+"|r вновь готов выступать!")))call TimerDialogDisplay(b[(1+GetPlayerId(GetOwningPlayer(V)))],false)call DestroyTimerDialog(b[(1+GetPlayerId(GetOwningPlayer(V)))])set V=nullset xy=nullendfunctionfunction ny takes nothing returns booleanreturn((IsUnitType(GetDyingUnit(),UNIT_TYPE_HERO))and(GetUnitTypeId(GetDyingUnit())!=1211117639)and(GetOwningPlayer(GetKillingUnit())!=Player($C)))!=nullendfunctionfunction Vy takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1429221433)endfunctionfunction Ey takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1160785969)endfunctionfunction Xy takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1160785976)endfunctionfunction Oy takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1160785985)endfunctionfunction Ry takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1160785970)endfunctionfunction Iy takes nothing returns booleanreturn(GetBooleanOr(Oy(),Ry()))endfunctionfunction Ay takes nothing returns nothingif(Vy())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((((Bv[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+GetPlayerName(GetOwningPlayer(GetKillingUnit())))+" |rУбил ")+(Bv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+GetPlayerName(GetOwningPlayer(GetDyingUnit()))))+("|r и получил в награду |cffffcc00+"+(I2S((GetUnitLevel(GetDyingUnit())*5))+" |rЗолота"))))call CreateTextTagUnitBJ((("|cffffcc00+"+I2S((GetUnitLevel(GetDyingUnit())*5)))+" |r"),GetDyingUnit(),0,11.,100,100,100,0)set f[1]=bj_lastCreatedTextTagcall SetTextTagVelocityBJ(f[1],64,90)call SetTextTagPermanentBJ(f[1],false)call ShowTextTagForceBJ(false,f[1],bj_FORCE_ALL_PLAYERS)call ShowTextTagForceBJ(true,f[1],cf(GetOwningPlayer(GetKillingUnit())))call SetTextTagLifespanBJ(f[1],3.)call SetTextTagFadepointBJ(f[1],2.)call AdjustPlayerStateBJ((GetUnitLevel(GetDyingUnit())*5),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(Ey())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((((Bv[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+GetPlayerName(GetOwningPlayer(GetKillingUnit())))+" |rУбил ")+(Bv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+GetPlayerName(GetOwningPlayer(GetDyingUnit()))))+("|r и получил в награду |cffffcc00+"+(I2S((GetUnitLevel(GetDyingUnit())*25))+" |rЗолота"))))call CreateTextTagUnitBJ((("|cffffcc00+"+I2S((GetUnitLevel(GetDyingUnit())*25)))+" |r"),GetDyingUnit(),0,11.,100,100,100,0)set f[3]=bj_lastCreatedTextTagcall SetTextTagVelocityBJ(f[3],64,90)call SetTextTagPermanentBJ(f[3],false)call ShowTextTagForceBJ(false,f[3],bj_FORCE_ALL_PLAYERS)call ShowTextTagForceBJ(true,f[3],cf(GetOwningPlayer(GetKillingUnit())))call SetTextTagLifespanBJ(f[3],3.)call SetTextTagFadepointBJ(f[3],2.)call AdjustPlayerStateBJ((GetUnitLevel(GetDyingUnit())*25),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(Xy())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((((Bv[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+GetPlayerName(GetOwningPlayer(GetKillingUnit())))+" |rУбил ")+(Bv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+GetPlayerName(GetOwningPlayer(GetDyingUnit()))))+("|r и получил в награду |cffffcc00+"+(I2S((GetUnitLevel(GetDyingUnit())*50))+" |rЗолота"))))call CreateTextTagUnitBJ((("|cffffcc00+"+I2S((GetUnitLevel(GetDyingUnit())*50)))+" |r"),GetDyingUnit(),0,11.,100,100,100,0)set f[4]=bj_lastCreatedTextTagcall SetTextTagVelocityBJ(f[4],64,90)call SetTextTagPermanentBJ(f[4],false)call ShowTextTagForceBJ(false,f[4],bj_FORCE_ALL_PLAYERS)call ShowTextTagForceBJ(true,f[4],cf(GetOwningPlayer(GetKillingUnit())))call SetTextTagLifespanBJ(f[4],3.)call SetTextTagFadepointBJ(f[4],2.)call AdjustPlayerStateBJ((GetUnitLevel(GetDyingUnit())*50),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(Iy())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((((Bv[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+GetPlayerName(GetOwningPlayer(GetKillingUnit())))+" |rУбил ")+(Bv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+GetPlayerName(GetOwningPlayer(GetDyingUnit()))))+("|r и получил в награду |cffffcc00+"+(I2S((GetUnitLevel(GetDyingUnit())*17))+" |rЗолота"))))call CreateTextTagUnitBJ((("|cffffcc00+"+I2S((GetUnitLevel(GetDyingUnit())*17)))+" |r"),GetDyingUnit(),0,11.,100,100,100,0)set f[2]=bj_lastCreatedTextTagcall SetTextTagVelocityBJ(f[2],64,90)call SetTextTagPermanentBJ(f[2],false)call ShowTextTagForceBJ(false,f[2],bj_FORCE_ALL_PLAYERS)call ShowTextTagForceBJ(true,f[2],cf(GetOwningPlayer(GetKillingUnit())))call SetTextTagLifespanBJ(f[2],3.)call SetTextTagFadepointBJ(f[2],2.)call AdjustPlayerStateBJ((GetUnitLevel(GetDyingUnit())*17),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction by takes nothing returns booleanreturn((IsUnitType(GetDyingUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetKillingUnit())==Player($C)))!=nullendfunctionfunction By takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((Bv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+GetPlayerName(GetOwningPlayer(GetDyingUnit())))+("|r Убил монстр:  "+GetUnitName(GetKillingUnit()))))endfunctionfunction Cy takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())==1747988550)endfunctionfunction Dy takes nothing returns nothinglocal unit fycall CreateNUnitsAtLoc(1,1747988553,GetOwningPlayer(GetConstructingStructure()),GetUnitLoc(GetConstructingStructure()),bj_UNIT_FACING)set fy=bj_lastCreatedUnitcall YD(.01)call IssueTargetOrderById(fy,$D0038,GetConstructingStructure())set fy=nullendfunctionfunction gy takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988550)endfunctionfunction Gy takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==GetOwningPlayer(GetDyingUnit()))endfunctionfunction hy takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988553)endfunctionfunction Hy takes nothing returns booleanreturn GetBooleanAnd(Gy(),hy())endfunctionfunction jy takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction Jy takes nothing returns nothingcall ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Hy)),function jy)call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,15.,(GetPlayerName(GetOwningPlayer(GetDyingUnit()))+" |r Не смог отстроить выход!!!"))endfunctionfunction Ky takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())==1747988550)endfunctionfunction ly takes nothing returns nothingcall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,15.,("Ахтунг!!! "+(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))+" |rначал отстраивать выход! Через 14 минут зрители смогут убежать!!!")))call PingMinimapLocForForceEx(bj_FORCE_ALL_PLAYERS,GetUnitLoc(GetConstructingStructure()),10.,2,100,50.,50.)call CreateFogModifierRadiusLocBJ(true,Player($A),FOG_OF_WAR_VISIBLE,GetUnitLoc(GetConstructingStructure()),300.)call CreateFogModifierRadiusLocBJ(true,Player($B),FOG_OF_WAR_VISIBLE,GetUnitLoc(GetConstructingStructure()),300.)endfunctionfunction my takes nothing returns booleanreturn(GetUnitTypeId(GetCancelledStructure())==1747988550)endfunctionfunction My takes nothing returns nothingcall CreateFogModifierRadiusLocBJ(false,Player($A),FOG_OF_WAR_VISIBLE,GetUnitLoc(GetConstructedStructure()),300.)call CreateFogModifierRadiusLocBJ(false,Player($B),FOG_OF_WAR_VISIBLE,GetUnitLoc(GetConstructedStructure()),300.)endfunctionfunction Py takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1848651827)endfunctionfunction qy takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429072)endfunctionfunction Qy takes nothing returns booleanreturn(GetBooleanOr(Py(),qy()))endfunctionfunction sy takes nothing returns nothingcall SetPlayerTechResearchedSwap(1378889781,1,GetOwningPlayer(GetTriggerUnit()))endfunctionfunction ty takes nothing returns booleanreturn(GetUnitTypeId(GetConstructedStructure())==1747988564)endfunctionfunction Ty takes nothing returns nothingcall SetPlayerTechResearchedSwap(1378889781,1,GetOwningPlayer(GetTriggerUnit()))endfunctionfunction Uy takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429079)endfunctionfunction wy takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1865429074)endfunctionfunction Wy takes nothing returns booleanreturn(GetBooleanOr(Uy(),wy()))endfunctionfunction yy takes nothing returns nothingcall SetPlayerTechResearchedSwap(1378889783,1,GetOwningPlayer(GetTriggerUnit()))endfunctionfunction zy takes nothing returns booleanreturn(GetUnitTypeId(GetConstructedStructure())==1865429079)endfunctionfunction Zy takes nothing returns booleanreturn(GetUnitTypeId(GetConstructedStructure())==1865429074)endfunctionfunction vY takes nothing returns booleanreturn(GetBooleanOr(zy(),Zy()))endfunctionfunction eY takes nothing returns nothingcall SetPlayerTechResearchedSwap(1378889783,1,GetOwningPlayer(GetTriggerUnit()))call SetPlayerTechResearchedSwap(1378889781,1,GetOwningPlayer(GetTriggerUnit()))endfunctionfunction oY takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988566)endfunctionfunction rY takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1747988567)endfunctionfunction iY takes nothing returns booleanreturn(GetBooleanOr(oY(),rY()))endfunctionfunction aY takes nothing returns nothingcall SetPlayerTechResearchedSwap(1378889784,1,GetOwningPlayer(GetTriggerUnit()))endfunctionfunction VY takes nothing returns nothingcall AdjustPlayerStateBJ($7D0,GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction EY takes nothing returns nothingcall AdjustPlayerStateBJ($5DC,GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction XY takes nothing returns nothingcall ForForce(o,function VY)call ForForce(x,function EY)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_8327")endfunctionfunction RY takes nothing returns nothingcall AdjustPlayerStateBJ(111,GetEnumPlayer(),PLAYER_STATE_RESOURCE_LUMBER)endfunctionfunction IY takes nothing returns nothingcall ForForce(x,function RY)endfunctionfunction NY takes nothing returns booleanreturn(GetResearched()==1378889780)endfunctionfunction bY takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988531)endfunctionfunction BY takes nothing returns nothingcall UnitAddAbility(GetEnumUnit(),1094937906)endfunctionfunction cY takes nothing returns nothingcall ForGroupBJ(If(GetOwningPlayer(GetResearchingUnit()),Condition(function bY)),function BY)endfunctionfunction dY takes nothing returns booleanreturn(c==5)endfunctionfunction DY takes nothing returns nothingcall SetPlayerTechMaxAllowedSwap(1747988549,0,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988550,1,GetEnumPlayer())endfunctionfunction fY takes nothing returns nothingcall DisplayTextToForce(o,"Выход доступен для строительства")call ForForce(bj_FORCE_ALL_PLAYERS,function DY)endfunctionfunction gY takes nothing returns nothingendfunctionfunction GY takes nothing returns nothingcall ForForce(bj_FORCE_ALL_PLAYERS,function gY)call SetPlayerTechResearchedSwap(1378889798,1,Player(0))call SetPlayerTechResearchedSwap(1378889798,1,Player(1))call SetPlayerTechResearchedSwap(1378889798,1,Player(2))call SetPlayerTechResearchedSwap(1378889798,1,Player(3))call SetPlayerTechResearchedSwap(1378889798,1,Player(4))call SetPlayerTechResearchedSwap(1378889798,1,Player(5))call SetPlayerTechResearchedSwap(1378889798,1,Player(6))call SetPlayerTechResearchedSwap(1378889798,1,Player(7))call SetPlayerTechResearchedSwap(1378889798,1,Player(8))call SetPlayerTechResearchedSwap(1378889798,1,Player(9))endfunctionfunction HY takes nothing returns nothingendfunctionfunction jY takes nothing returns nothingcall ForForce(bj_FORCE_ALL_PLAYERS,function HY)call SetPlayerTechResearchedSwap(1378889800,1,Player($A))call SetPlayerTechResearchedSwap(1378889800,1,Player($B))endfunctionfunction kY takes string KY returns integerlocal integer lY=pf()set qD[lY]=KYset QD[lY]=KYset sD[lY]=StringLength(KY)return lYendfunctionfunction LY takes integer Pf,string s returns booleanlocal integer i=0local integer e=sD[Pf]local integer ls=StringLength(s)loopexitwhen i==eif(SubString(qD[Pf],i,i+ls)==s)thenreturn trueendifset i=i+1endloopreturn falseendfunctionfunction mY takes nothing returns nothinglocal integer slocal integer MY=0set s=kY(GetEventPlayerChatString())if(LY(s,"wc3.games"))thenloopexitwhen MY==$Ccall CustomDefeatBJ(Player(MY),"|cFFFF0000Данный бот|n не удовлетворяет требованиям|n международного союза электросвязи!!|r")set MY=MY+1endloopelsecall qf(s)endifendfunctionfunction PY takes nothing returns booleanreturn(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction qY takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),Ae,Ae)=="[")endfunctionfunction QY takes nothing returns booleanreturn falseendfunctionfunction sY takes nothing returns booleanreturn(QY())endfunctionfunction SY takes nothing returns nothingif(sY())thenset Oe=S2I(SubStringBJ(GetEventPlayerChatString(),$D,$E))set Ie=SubStringBJ(GetEventPlayerChatString(),16,(16+Oe))set Ae=((Oe+16)+2)set Ae=(Ae-1)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=Oeloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(qY())thenset be=(be+1)set Be[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1)))set Re[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3)))set Ae=(Ae+6)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset Ae=1set ce[1]=SubStringBJ(Ie,Ae,Re[1])set de=(Bv[Be[1]]+ce[1])set Ce=(Ce+de)set Ae=1set bj_forLoopAIndex=2set bj_forLoopAIndexEnd=beloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset ce[bj_forLoopAIndex]=SubStringBJ(Ie,(Re[(bj_forLoopAIndex-1)]+1),(Re[(bj_forLoopAIndex-1)]+((Re[bj_forLoopAIndex]-Re[(bj_forLoopAIndex-1)])-0)))set ce[bj_forLoopAIndex]=(SubStringBJ(Ie,(Re[(bj_forLoopAIndex-1)]+1),(Re[(bj_forLoopAIndex-1)]+((Re[bj_forLoopAIndex]-1)-Re[((bj_forLoopAIndex-1)+0)])))+(Bv[Be[bj_forLoopAIndex]]+SubStringBJ(Ie,(Re[(bj_forLoopAIndex-1)]+(Re[bj_forLoopAIndex]-Re[(bj_forLoopAIndex-1)])),(Re[(bj_forLoopAIndex-1)]+(Re[bj_forLoopAIndex]-Re[(bj_forLoopAIndex-1)])))))set de=(SubStringBJ(Ie,(Re[(bj_forLoopAIndex-1)]+1),(Re[(bj_forLoopAIndex-1)]+((Re[bj_forLoopAIndex]-1)-Re[((bj_forLoopAIndex-1)+0)])))+(Bv[Be[bj_forLoopAIndex]]+SubStringBJ(Ie,(Re[(bj_forLoopAIndex-1)]+(Re[bj_forLoopAIndex]-Re[(bj_forLoopAIndex-1)])),(Re[(bj_forLoopAIndex-1)]+(Re[bj_forLoopAIndex]-Re[(bj_forLoopAIndex-1)])))))set Ce=(Ce+de)set Ae=(Ae+Re[bj_forLoopAIndex])set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset Ce=(Ce+SubStringBJ(Ie,(Re[be]+1),Oe))call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03провозгласил|r "+GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))))))+(" |cFF00FF03на:|r "+Ce))))call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))),Ce)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))]+I2S((1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))))))))+(". "+Ce)))set Ce=""set Ae=0set Oe=0set Ie=""set be=0endifendfunctionfunction TY takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895363)or(GetItemTypeId(GetSoldItem())==1227895367)endfunctionfunction uY takes nothing returns booleanreturn(TY())endfunctionfunction UY takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895367)endfunctionfunction wY takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895363)endfunctionfunction WY takes nothing returns nothingif(UY())thencall SelectUnitForPlayerSingle(cD,GetOwningPlayer(GetBuyingUnit()))endifif(wY())thencall SelectUnitForPlayerSingle(BD,GetOwningPlayer(GetBuyingUnit()))endifendfunctionfunction YY takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895891)or(GetItemTypeId(GetSoldItem())==1227895858)or(GetItemTypeId(GetSoldItem())==1227895126)or(GetItemTypeId(GetSoldItem())==1227895125)or(GetItemTypeId(GetSoldItem())==1227895128)or(GetItemTypeId(GetSoldItem())==1227895127)or(GetItemTypeId(GetSoldItem())==1227895129)or(GetItemTypeId(GetSoldItem())==1227895344)or(GetItemTypeId(GetSoldItem())==1227895345)or(GetItemTypeId(GetSoldItem())==1227895347)or(GetItemTypeId(GetSoldItem())==1227895113)or(GetItemTypeId(GetSoldItem())==1227895088)or(GetItemTypeId(GetSoldItem())==1227895123)or(GetItemTypeId(GetSoldItem())==1227895353)or(GetItemTypeId(GetSoldItem())==1227895361)or(GetItemTypeId(GetSoldItem())==1227895369)or(GetItemTypeId(GetSoldItem())==1227894850)or(GetItemTypeId(GetSoldItem())==1227895607)or(GetItemTypeId(GetSoldItem())==1227895884)or(GetItemTypeId(GetSoldItem())==1227895885)endfunctionfunction zY takes nothing returns booleanreturn(YY())endfunctionfunction ZY takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895891)endfunctionfunction vz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895858)endfunctionfunction ez takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895885)endfunctionfunction xz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895884)endfunctionfunction oz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895126)endfunctionfunction rz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895125)endfunctionfunction iz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895128)endfunctionfunction az takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895127)endfunctionfunction nz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895129)endfunctionfunction Vz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895344)endfunctionfunction Ez takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895345)endfunctionfunction Xz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895347)endfunctionfunction Oz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895113)endfunctionfunction Rz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895088)endfunctionfunction Iz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895123)endfunctionfunction Az takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895353)endfunctionfunction Nz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895361)endfunctionfunction bz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895369)endfunctionfunction Bz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227894850)endfunctionfunction cz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895607)endfunctionfunction Cz takes nothing returns nothingcall RemoveUnit(GetBuyingUnit())set Mv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=1call ClearSelectionForPlayer(GetOwningPlayer(GetBuyingUnit()))call SetPlayerAllianceStateBJ(GetOwningPlayer(BD),GetOwningPlayer(GetBuyingUnit()),0)if(ZY())thencall SetPlayerTechResearchedSwap(1378889809,1,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNimprovedMining.blp")endifif(vz())thencall SetPlayerAbilityAvailableBJ(true,1093679430,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNGreaterInvulneralbility.blp")endifif(ez())thencall SetPlayerAbilityAvailableBJ(true,1093681487,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNBattleRoar.blp")endifif(xz())thencall SetPlayerAbilityAvailableBJ(true,1093681486,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNMilitia.blp")endifif(oz())thencall SetPlayerAbilityAvailableBJ(true,1093678896,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNSpellShieldAmulet.blp")endifif(rz())thencall SetPlayerAbilityAvailableBJ(true,1093678384,GetOwningPlayer(GetBuyingUnit()))call SetPlayerAbilityAvailableBJ(true,1093678904,GetOwningPlayer(GetBuyingUnit()))call SetPlayerAbilityAvailableBJ(false,1093677651,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNBoots.blp")endifif(iz())thencall SetPlayerAbilityAvailableBJ(true,1093678676,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNFlare.blp")endifif(az())thencall SetPlayerAbilityAvailableBJ(true,1093677645,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNPortal.blp")endifif(nz())thencall SetPlayerAbilityAvailableBJ(true,1093681712,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNSoulBurn.blp")endifif(Vz())thencall SetPlayerAbilityAvailableBJ(true,1093678902,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNFarSight.blp")endifif(Ez())thencall SetPlayerAbilityAvailableBJ(true,1093678680,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNFeedBack.blp")endifif(Xz())thencall SetPlayerAbilityAvailableBJ(true,1093677112,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNEnsnare.blp")endifif(Oz())thencall SetPlayerAbilityAvailableBJ(true,1093677911,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNCharm.blp")endifif(Rz())thencall SetPlayerAbilityAvailableBJ(true,1093677636,GetOwningPlayer(GetBuyingUnit()))call SetPlayerAbilityAvailableBJ(true,1093677130,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNTelescope.blp")endifif(Iz())thencall SetPlayerAbilityAvailableBJ(true,1093678385,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNStrongDrink.blp")endifif(Az())thencall SetPlayerAbilityAvailableBJ(true,1093677146,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNPeasant.blp")endifif(Nz())thencall SetPlayerAbilityAvailableBJ(true,1093677377,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNFrostBolt.blp")endifif(bz())thencall SetPlayerAbilityAvailableBJ(true,1093677881,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNNeutralManaShieldOff.blp")endifif(Bz())thencall SetPlayerAbilityAvailableBJ(true,1093677904,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNOrbOfFire.blp")endifif(cz())thencall SetPlayerAbilityAvailableBJ(true,1093678928,GetOwningPlayer(GetBuyingUnit()))call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1),"ReplaceableTextures\\CommandButtons\\BTNBanish.blp")endifendfunctionfunction Dz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895091)or(GetItemTypeId(GetSoldItem())==1227895365)or(GetItemTypeId(GetSoldItem())==1227894873)or(GetItemTypeId(GetSoldItem())==1227894851)endfunctionfunction fz takes nothing returns booleanreturn(Dz())endfunctionfunction Fz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895091)and(GetPlayerState(Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)>=$A)endfunctionfunction gz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895365)and(GetPlayerState(Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)>=100)endfunctionfunction Gz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227894873)and(GetPlayerState(Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)>=500)endfunctionfunction hz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227894851)and(GetPlayerState(Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)>=5000)endfunctionfunction Hz takes nothing returns nothingif(Fz())thencall AdjustPlayerStateBJ(-$A,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ($3E8,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)endifif(gz())thencall AdjustPlayerStateBJ(-100,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ($2710,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)endifif(Gz())thencall AdjustPlayerStateBJ(-500,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)call AdjustPlayerStateBJ(5,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)endifif(hz())thencall AdjustPlayerStateBJ(-5000,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_LUMBER)call AdjustPlayerStateBJ(50,Player(-1+((1+GetPlayerId(GetOwningPlayer(GetBuyingUnit()))))),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction Jz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895375)endfunctionfunction kz takes nothing returns nothingcall ModifyHeroStat(0,GetBuyingUnit(),0,100)endfunctionfunction lz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895118)endfunctionfunction Lz takes nothing returns nothingcall ModifyHeroStat(0,GetBuyingUnit(),0,$C8)endfunctionfunction Mz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895119)endfunctionfunction pz takes nothing returns nothingcall ModifyHeroStat(0,GetBuyingUnit(),0,500)endfunctionfunction qz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895120)endfunctionfunction Qz takes nothing returns nothingcall ModifyHeroStat(0,GetBuyingUnit(),0,$3E8)endfunctionfunction Sz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895379)endfunctionfunction tz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895379)and(GetUnitLevel(GetBuyingUnit())<$3E8)endfunctionfunction Tz takes nothing returns nothingif(tz())thencall SetHeroLevelBJ(GetBuyingUnit(),(GetUnitLevel(GetBuyingUnit())+1),true)elsecall AdjustPlayerStateBJ(7,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)call DisplayTextToForce(cf(GetOwningPlayer(GetBuyingUnit())),"TRIGSTR_8329")endifendfunctionfunction Uz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895107)endfunctionfunction wz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895107)and(GetUnitLevel(GetBuyingUnit())<$3E8)endfunctionfunction Wz takes nothing returns nothingif(wz())thencall SetHeroLevelBJ(GetBuyingUnit(),(GetUnitLevel(GetBuyingUnit())+5),true)elsecall AdjustPlayerStateBJ(33,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)call DisplayTextToForce(cf(GetOwningPlayer(GetBuyingUnit())),"TRIGSTR_8330")endifendfunctionfunction Yz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895618)endfunctionfunction zz takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895618)and(GetUnitLevel(GetBuyingUnit())<$3E8)endfunctionfunction Zz takes nothing returns nothingif(zz())thencall SetHeroLevelBJ(GetBuyingUnit(),(GetUnitLevel(GetBuyingUnit())+100),true)elsecall AdjustPlayerStateBJ(650,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)call DisplayTextToForce(cf(GetOwningPlayer(GetBuyingUnit())),"TRIGSTR_8331")endifendfunctionfunction eZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction xZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895116)and(eZ())endfunctionfunction oZ takes nothing returns booleanreturn(xZ())endfunctionfunction rZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction iZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895116)and(rZ())endfunctionfunction aZ takes nothing returns booleanreturn(iZ())endfunctionfunction nZ takes nothing returns nothingif(aZ())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+500)set gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1)call SetPlayerTechResearchedSwap(1378889785,gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))],GetOwningPlayer(GetBuyingUnit()))elsecall AdjustPlayerStateBJ($9C4,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction EZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction XZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895617)and(EZ())endfunctionfunction OZ takes nothing returns booleanreturn(XZ())and(GetItemTypeId(GetSoldItem())==1227895617)endfunctionfunction RZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction IZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895617)and(RZ())endfunctionfunction AZ takes nothing returns booleanreturn(IZ())endfunctionfunction NZ takes nothing returns nothingif(AZ())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+$3E8)set Gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1)call SetPlayerTechResearchedSwap(1378889795,Gv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))],GetOwningPlayer(GetBuyingUnit()))elsecall AdjustPlayerStateBJ(5000,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction BZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction cZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227894859)and(BZ())endfunctionfunction CZ takes nothing returns booleanreturn(cZ())endfunctionfunction dZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction DZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227894859)and(dZ())endfunctionfunction fZ takes nothing returns booleanreturn(DZ())endfunctionfunction FZ takes nothing returns nothingif(fZ())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+$7D0)set hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1)call SetPlayerTechResearchedSwap(1378889796,hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))],GetOwningPlayer(GetBuyingUnit()))elsecall AdjustPlayerStateBJ($2710,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction GZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction hZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895112)and(GZ())endfunctionfunction HZ takes nothing returns booleanreturn(hZ())endfunctionfunction jZ takes nothing returns booleanreturn(GetUnitTypeId(GetBuyingUnit())==1160785976)or(GetUnitTypeId(GetBuyingUnit())==1160785969)endfunctionfunction JZ takes nothing returns booleanreturn(GetItemTypeId(GetSoldItem())==1227895112)and(jZ())endfunctionfunction kZ takes nothing returns booleanreturn(JZ())endfunctionfunction KZ takes nothing returns nothingif(kZ())thenset Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Qx[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+5000)set Hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]=(Hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))]+1)call SetPlayerTechResearchedSwap(1378889797,Hv[(1+GetPlayerId(GetOwningPlayer(GetBuyingUnit())))],GetOwningPlayer(GetBuyingUnit()))elsecall AdjustPlayerStateBJ($61A8,GetOwningPlayer(GetBuyingUnit()),PLAYER_STATE_RESOURCE_GOLD)endifendfunctionfunction LZ takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092361)or(GetUnitTypeId(GetDyingUnit())==1966092360)or(GetUnitTypeId(GetDyingUnit())==1966092340)endfunctionfunction mZ takes nothing returns booleanreturn(LZ())endfunctionfunction MZ takes nothing returns nothingcall SetUnitPositionLoc(GetKillingUnit(),GetRectCenter(Mr))endfunctionfunction PZ takes nothing returns nothingcall ModifyGateBJ(1,LD)call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,13.25,"Вход к Первому боссу открыт!")call CreateLeaderboardBJ(x,("До закрытия входа: "+I2S(q)))call LeaderboardSetStyle(bj_lastCreatedLeaderboard,true,true,true,false)call EnableTrigger(nA)call YD(15.)call ModifyGateBJ(0,LD)call ModifyGateBJ(0,KD)call ModifyGateBJ(0,lD)call DisableTrigger(nA)call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,3.,"Вход Закрыт!")call DestroyLeaderboard(bj_lastCreatedLeaderboard)set q=$Fendfunctionfunction QZ takes nothing returns nothingcall ModifyGateBJ(1,KD)call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,13.25,"Вход к Второму боссу открыт!")endfunctionfunction SZ takes nothing returns nothingcall YD((.01/1000000000.))call ModifyGateBJ(1,lD)call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,13.25,"Вход к Третьему боссу открыт!")endfunctionfunction TZ takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092361)endfunctionfunction uZ takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092361,Player($C),GetRectCenter(ur),bj_UNIT_FACING)endfunctionfunction wZ takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092360)endfunctionfunction WZ takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092360,Player($C),GetRectCenter(Ur),bj_UNIT_FACING)endfunctionfunction YZ takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092340)endfunctionfunction zZ takes nothing returns nothingcall CreateNUnitsAtLoc(1,1966092340,Player($C),GetRectCenter(wr),bj_UNIT_FACING)endfunctionfunction v0 takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=500))!=nullendfunctionfunction e0 takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(mr))endfunctionfunction o0 takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=800))!=nullendfunctionfunction r0 takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Tr))endfunctionfunction a0 takes nothing returns booleanreturn((IsUnitType(GetEnteringUnit(),UNIT_TYPE_UNDEAD))and(GetUnitLevel(GetEnteringUnit())>=300))!=nullendfunctionfunction n0 takes nothing returns nothingcall SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(Kr))endfunctionfunction E0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="iCCup.Kagami")endfunctionfunction X0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="volk104579xz")endfunctionfunction O0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="IaiceTrias")endfunctionfunction R0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="beast.1991")endfunctionfunction I0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="iCCup.MedBrat")endfunctionfunction A0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="gglcldnrРак")endfunctionfunction N0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="[xyz]")endfunctionfunction b0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="IncredibleTiger")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="FabulousTiger")endfunctionfunction B0 takes nothing returns booleanreturn(b0())endfunctionfunction c0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Ksnu")endfunctionfunction C0 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(E0())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Насяйника айкапа |cFFFF0000iCCup.|C00ffbd00Kag|CFF8000FFami")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFFFF0000iCCup.|C00ffbd00Kag|CFF8000FFami")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(X0())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Насяйника айкапа |cFFFF0000iCCup.|cFF00FF00Med|c0FFFF000Brat")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFFFF0000iCCup.|cFF00FF00Med|c0FFFF000Brat")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(O0())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c000000FFIaice|c00FFFF00Trias")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(R0())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00FF0303be|c000042FFast|c001CE6B9.1991")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000 Тестер |c00FF0303be|c000042FFast|c001CE6B9.1991")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(I0())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Насяйника айкапа |cFFFF0000iCCup.|cFF00FF00Med|c0FFFF000Brat")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFFFF0000iCCup.|cFF00FF00Med|c0FFFF000Brat")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(A0())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00540081g|c007d7d7dGl|c00fEBA0Ecl")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В Игре за вами наблюдает |cFFFF8000Смотрила |c00540081g|c007d7d7dGl|c00fEBA0Ecl")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Хочите получить |c00FF0000Бан |cFFFF8000Обращайтесь |c00540081g|c007d7d7dGl|c00fEBA0Ecl, заедет бабаном и скажет так и было XD")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(N0())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"[|cFFFF0000x|cFF00FF00y|cFF0000FFz|r]")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(B0())thenset He=bj_forLoopAIndexset Je[bj_forLoopAIndex]="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger"set Fx[bj_forLoopAIndex]="IncredibleTiger"endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(c0())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00540081Ks|c00E55BB0nu")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction D0 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Nikolas_super")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Nikolas-super")endfunctionfunction f0 takes nothing returns booleanreturn(D0())endfunctionfunction F0 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(f0())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"ПОДЛАЯ ФАЛЬШИВКА ПОД НИКОМ АВТОРА! ОМГ!")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Подлая фальшивка")set Yv=GetPlayerName(Player(-1+(bj_forLoopAIndex)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1),((Bv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+I2S((1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))))+(". "+Yv)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction G0 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas_super")endfunctionfunction h0 takes nothing returns nothingcall DisableTrigger(xA)endfunctionfunction j0 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas-super")endfunctionfunction J0 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ АВТОР КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")call SetPlayerName(GetTriggerPlayer(),he)set Je[(1+GetPlayerId(GetTriggerPlayer()))]=heset Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))call DisableTrigger(xA)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction K0 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas-super")endfunctionfunction l0 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ АВТОР КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")call SetPlayerName(GetTriggerPlayer(),he)set Je[(1+GetPlayerId(GetTriggerPlayer()))]=heset Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))call DisableTrigger(xA)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction m0 takes nothing returns nothingcall CreateQuestBJ(0,"v. 7.02 b","TRIGSTR_739","ReplaceableTextures\\CommandButtons\\BTNSnazzyScrollGreen.blp")call CreateQuestBJ(0,"v. 7.02 с.zim","TRIGSTR_744","ReplaceableTextures\\CommandButtons\\BTNSnazzyScrollGreen.blp")call CreateQuestBJ(0,"v. 7.02 a, b","TRIGSTR_227","ReplaceableTextures\\CommandButtons\\BTNSnazzyScrollGreen.blp")call CreateQuestBJ(0,"v. 7.02 с","TRIGSTR_729","ReplaceableTextures\\CommandButtons\\BTNSnazzyScrollGreen.blp")call CreateQuestBJ(0,"v6.00 zim, vesnа и leto","TRIGSTR_472","ReplaceableTextures\\CommandButtons\\BTNSnazzyScrollGreen.blp")call CreateQuestBJ(2,"Кик-Система","Чтобы кикнуть, надо прописать -кик # ( где # - номер игрока, номер игрока можете посмотреть в таблице )\"Зрителям можно кикать только зрителей (кроме красного). Главным петрам можно кикать только миниактеров\". ","ReplaceableTextures\\CommandButtons\\BTNBattleStations.blp")call CreateQuestBJ(2,"Moды","TRIGSTR_8358","ReplaceableTextures\\CommandButtons\\BTNBansheeMaster.blp")call CreateQuestBJ(2,"Авторы и помощники","TRIGSTR_8360","ReplaceableTextures\\CommandButtons\\BTNRacoon.blp")endfunctionfunction p0 takes nothing returns nothingset q=(q-1)call LeaderboardSetLabelBJ(bj_lastCreatedLeaderboard,("До закрытия входа: "+I2S(q)))endfunctionfunction q0 takes nothing returns booleanreturn(GetTriggerUnit()==XD)and(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")endfunctionfunction Q0 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),he)call DoNotSaveReplay()endfunctionfunction S0 takes nothing returns booleanreturn(GetTriggerUnit()==ID)and(GetPlayerName(GetTriggerPlayer())==he)endfunctionfunction t0 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848651860,Player($F),GetRectCenter(SV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895888,bj_lastCreatedUnit)call EnableTrigger(VA)call EnableTrigger(OA)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction u0 takes nothing returns booleanreturn(GetTriggerUnit()==AD)endfunctionfunction U0 takes nothing returns nothingcall DisableTrigger(GetTriggeringTrigger())endfunctionfunction W0 takes nothing returns booleanreturn(GetTriggerUnit()==AD)and(GetPlayerName(GetTriggerPlayer())==he)endfunctionfunction y0 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"[Noob_of_Pizduk]")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction z0 takes nothing returns booleanreturn(GetTriggerUnit()==jD)or(GetTriggerUnit()==ND)or(GetTriggerUnit()==dD)or(GetTriggerUnit()==DD)or(GetTriggerUnit()==FD)or(GetTriggerUnit()==fD)or(GetTriggerUnit()==GD)or(GetTriggerUnit()==hD)or(GetTriggerUnit()==HD)or(GetTriggerUnit()==eD)endfunctionfunction Z0 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())==he)and(z0())endfunctionfunction v1 takes nothing returns nothingcall DisableTrigger(BC)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction x1 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())==he)or(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFFFFFFFox")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="|cFF00FF00Mas|CFF400080ter_|cFF0000C0Bat|CFF8000FFtle")endfunctionfunction o1 takes nothing returns booleanreturn(GetTriggerUnit()==gD)and(x1())endfunctionfunction r1 takes nothing returns nothingcall EnableTrigger(sd)call EnableTrigger(Sd)call EnableTrigger(td)call EnableTrigger(Td)call EnableTrigger(ud)call EnableTrigger(Ud)call EnableTrigger(wd)call EnableTrigger(Wd)call EnableTrigger(yd)call EnableTrigger(Yd)call EnableTrigger(zd)call EnableTrigger(Zd)call EnableTrigger(vD)endfunctionfunction a1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="pronax112")endfunctionfunction n1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="KonstantinTort45464")endfunctionfunction V1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Night.In.Gale")endfunctionfunction E1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Xemfest")endfunctionfunction X1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="GunslingerNight5353")endfunctionfunction O1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Boo_Ar")endfunctionfunction R1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Dima556800")endfunctionfunction I1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="ekstaz")endfunctionfunction A1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="sF_ImBa_GaMeR3353")endfunctionfunction N1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="MoonDeg")endfunctionfunction b1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="AnneT_ss")endfunctionfunction B1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Tanya_Nya")endfunctionfunction c1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="drextap")endfunctionfunction C1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="riot123rus")endfunctionfunction d1 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(a1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|C00ffff00pr|cFF00FF00on|cFFFF8000ax")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(n1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00FFFF00Konst|CFFC0C0C0antin|cFFFF0000Tort")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(V1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00FFFF00Night.|CFFC0C0C0In.|cffffffffGale")endifif(E1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"X|C00ffff00em|cFF00FF00fe|cFF0000C0st")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(X1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF800080Guns|cFF0000C0ling|cFF404040er|cFF0000C0Nig|cFFFF0000ht")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(O1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF800080Б|cFF00C000у")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(R1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF004000D|cFF004040i|cFF400000m|cFF404040a")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(I1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF0000FF4|cFFFF00FFit|cFFFFFFFFaK")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Тестер |cFFFF0000ekstaz")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"4|cFF0000FFi|cFFFF00FFt|cFFFF00FFa|cFFFFFFFFK |cFFFF8000ты кто такой, давай досвидания =)")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(A1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"sF|cFFFF0000_ImBa_|C00ffff00Ga|CFF000080MeR")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(N1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cffff0000M|cFFFFFF24oo|cFF0038FFnD|cFFD40129eg")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(b1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFFFF8080An|cFFFFFF00net|cFF00FF00_|cFFFF8000ss")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(B1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c0FFFF000ignor|CFF8000FFina|cFFFD5EF9Tanya")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(c1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|C00ffbd00dr|CFF8000FFext|cFF00FF00ap")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifif(C1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF00D497Vzlomshik|cFFFF00FFDylin")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|c0FFFF000В игру прыбыл|r |c00E55BB0повелитель |c001CE6B9страпонов|r")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует Гей звезда |cFF00D497Vzlomshik|cFFFF00FFDylin")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction f1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Nightm00n")endfunctionfunction F1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="SupeR_Mene")endfunctionfunction g1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Immortal_HorroR666")endfunctionfunction G1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Gt.Dark")endfunctionfunction h1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Prredattorr")endfunctionfunction H1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="NOCFeRnA1757")endfunctionfunction j1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="3_N_o_n_a_m_e_3")endfunctionfunction J1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="RusyaNxD")endfunctionfunction k1 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(f1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00FF00FFNig|c00FF0000ht|c00FF8000mo|c00FFFF00on")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(F1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|CFF000080Sup|CFF400080eR_|CFF8000FFMene")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(g1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"IMMo|cFF00FF00RTaL_|cFFFF0000HorRoR")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(G1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF004000D|cFF004040a|cFF400000r|cFF404040k")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(h1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF000040Dart |cFF404040Veider")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует Владыка тёмных петров: |c00230000DA|c00140000RT|c00080000H |c0005000AVA|c0000000FDE|c00000019R|r")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(H1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cffffdeadКраб")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(j1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF000040™_No|cFF004040na|cFF404040me_™")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(J1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00FFFFFFRus|c000042FFya|c00FF0303Fachist")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction l1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="SorryYouMustDie")endfunctionfunction L1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="[E-Smile^Pwnz]")endfunctionfunction m1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="N.1.G.E.R")endfunctionfunction M1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="SoryYouMustDie")endfunctionfunction p1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="G.Aktobe.FuckeR7575")endfunctionfunction P1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="bruisichek563")endfunctionfunction q1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="SmOkkespbRak")endfunctionfunction Q1 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(l1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000 Тестер |c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(L1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFFFF8000Sa|cFFFD5EF9sha.|c0FFFF000Nya|cFF00FFFFsha|cFFFF00FF^^")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Тестер |cFFFF8000Sa|cFFFD5EF9sha.|c0FFFF000Nya|cFF00FFFFsha|cFFFF00FF^^")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(m1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|cFF000000™_N.|cFF000080†.|cFFC00000G.|cFF008000E.|cFF404040R_™")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(M1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000 Тестер |c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")call PlaySoundBJ(uv)set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(p1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"А|cFFFF8080д|CFF8000FFо|c00FFFF00д")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(P1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Флу|cFFFF8080де|CFF8000FFра|c00FFFF00ст")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(q1())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00540081SmOk|c007d7d7dkes|c00fEBA0Epb")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В Игре за вами наблюдает |cFFFF8000Смотрила |c00540081smok|c007d7d7dkeS|c00fEBA0Epb")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Хочите получить |c00FF0000Бан |cFFFF8000Обращайтесь |c00540081smok|c007d7d7dkeS|c00fEBA0Epb, заедет бабаном и скажет так и было XD")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction S1 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())==he)endfunctionfunction t1 takes nothing returns nothingset Ge=(Ge+1)call DoNotSaveReplay()endfunctionfunction u1 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Infin1ty_Life")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Inf1nity_Life")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Capuchino_O")endfunctionfunction U1 takes nothing returns booleanreturn(u1())endfunctionfunction w1 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(U1())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"ФЕЙК ТЕСТЕРА! ОМГ!")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Фейк тестера")set Yv=GetPlayerName(Player(-1+(bj_forLoopAIndex)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1),((Bv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+I2S((1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))))+(". "+Yv)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction y1 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Shulgazavr")endfunctionfunction Y1 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFFFF8000Shu|cFFFD5EF9lga|c0FFFF000zavr")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF8000Владыка Банов |cFFFF8000Shu|cFFFD5EF9lga|c0FFFF000zavr")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cFFFF8000Властелин Банов начинает набор в общественную баню")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction Z1 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Gold_akk")endfunctionfunction v2 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"G|c0FFFF000old|r_|cFFFF0000akk")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction x2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Capuchino_O")endfunctionfunction o2 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует Батя |cFFFF0000Баланса |cFF404040Cap|cFF800080uchin|cFF808080o|cFFFF0000_|cFF808080O")call SetPlayerName(GetTriggerPlayer(),"|cFF404040Cap|cFF800080uchin|cFF808080o|cFFFF0000_|cFF808080O")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction a2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFF00D497Vzlomshik|cFFFF00FFDylin")endfunctionfunction n2 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Ч|cFFFF0000ит|c0FFFF000ак|r ты кто такой, давай досвидания =)")call SetPlayerName(GetTriggerPlayer(),"Ч|cFFFF0000ит|c0FFFF000ак")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction E2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction X2 takes nothing returns booleanreturn(E2())endfunctionfunction O2 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFFFFFFFFFox")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction I2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Infin1ty_Life")endfunctionfunction A2 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFF0080FFInf|cFF00FF00in|cFFC000C0ity|cFF00FFFF_|cFF00FF00Li|cFFC0C0FFfe")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction b2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Inf1nity_Life")endfunctionfunction B2 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFF0080FFInf|cFF00FF00in|cFFC000C0ity|cFF00FFFF_|cFF00FF00Li|cFFC0C0FFfe")set Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction C2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="~DraGoN~kenT~")endfunctionfunction d2 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF0000Автор Баланса|r старых версий ~Dr|cFF0000FFa|cff00ff00G|cFFFF8000o|cFF0000C0N~|cFF00C000ke|cFFFFFF00nT~")call SetPlayerName(GetTriggerPlayer(),"~Dr|cFF0000FFa|cff00ff00G|cFFFF8000o|cFF0000C0N~|cFF00C000ke|cFFFFFF00nT~")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction f2 takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Mr.DraGoN-kenT")endfunctionfunction F2 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре присутствует |cFFFF0000Автор Баланса|r старых версий Mr.|cFF0000FFDra|cFFFF8000GoN|cFF00C000-Ke|cFFFFFF00nT")call SetPlayerName(GetTriggerPlayer(),"Mr.|cFF0000FFDra|cFFFF8000GoN|cFF00C000-Ke|cFFFFFF00nT")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction G2 takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="~DraGoN~kenT~")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Mr.DraGoN-kenT")or(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="volk104579")endfunctionfunction h2 takes nothing returns booleanreturn(G2())endfunctionfunction H2 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(h2())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"ПОДЛАЯ ФАЛЬШИВКА ПОД НИКОМ АВТОРА! ОМГ!")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Фейк")set Yv=GetPlayerName(Player(-1+(bj_forLoopAIndex)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1),((Bv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+I2S((1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))))+(". "+Yv)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction J2 takes nothing returns booleanreturn(GetTriggerUnit()==oD)and(GetPlayerName(GetTriggerPlayer())=="Подлая фальшивка")endfunctionfunction k2 takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"Nikolas_super")endfunctionfunction l2 takes nothing returns nothingcall SetPlayerAbilityAvailableBJ(false,1093681987,GetEnumPlayer())endfunctionfunction L2 takes nothing returns nothingcall ForForce(Fe,function l2)endfunctionfunction M2 takes nothing returns nothingcall SetPlayerAbilityAvailableBJ(true,1093677364,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(true,1093677143,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(true,1093677619,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(true,1093677622,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(true,1093677624,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(true,1093677635,GetEnumPlayer())endfunctionfunction p2 takes nothing returns nothingset c=(c+1)call MultiboardSetTitleText(bj_lastCreatedMultiboard,((Nv+"|cffffcc00 | День ")+I2S(c)))call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("День "+I2S(c)))call ForForce(o,function M2)endfunctionfunction q2 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Ночь "+I2S(c)))call MultiboardSetTitleText(bj_lastCreatedMultiboard,((Nv+"|cffffcc00 | Ночь ")+I2S(c)))endfunctionfunction s2 takes nothing returns booleanreturn(c<=5)endfunctionfunction S2 takes nothing returns nothingcall SetPlayerAbilityAvailableBJ(false,1093677364,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677143,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677619,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677622,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677624,GetEnumPlayer())call SetPlayerAbilityAvailableBJ(false,1093677635,GetEnumPlayer())endfunctionfunction t2 takes nothing returns nothingcall ForForce(o,function S2)endfunctionfunction u2 takes nothing returns nothingset Vv[(1+GetPlayerId(GetEnumPlayer()))]=GetPlayerName(GetEnumPlayer())call SetPlayerName(GetEnumPlayer(),(I2S((1+GetPlayerId(GetEnumPlayer())))+(". "+GetPlayerName(GetEnumPlayer()))))endfunctionfunction U2 takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction w2 takes nothing returns booleanreturn(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction W2 takes nothing returns nothingcall SetPlayerName(GetEnumPlayer(),Vv[S2I(GetPlayerName(GetEnumPlayer()))])endfunctionfunction y2 takes nothing returns nothingcall CreateMultiboardBJ(3,(4+rv[ov]),Nv)call MultiboardSetTitleText(bj_lastCreatedMultiboard,"|cFF002CDDПетры Баланс |cFF0067487.02d")set Nv="|cFF002CDDПетры Баланс |cFF0067487.02d"call MultiboardSetItemStyleBJ(bj_lastCreatedMultiboard,0,0,true,false)call MultiboardSetItemWidthBJ(bj_lastCreatedMultiboard,0,0,14.)call MultiboardSetItemWidthBJ(bj_lastCreatedMultiboard,2,0,9.5)call MultiboardSetItemWidthBJ(bj_lastCreatedMultiboard,3,0,9.5)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,1,"Имя Игрока")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,1,"Статус")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,1,"До Выхода")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,1,"  Группа")call ForForce(bj_FORCE_ALL_PLAYERS,function u2)set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=ovloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(bj_forLoopAIndex+1),(Bv[rv[bj_forLoopAIndex]]+GetPlayerName(Player(-1+(rv[bj_forLoopAIndex])))))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(bj_forLoopAIndex+1),"  Зритель")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(bj_forLoopAIndex+1),"ReplaceableTextures\\CommandButtons\\BTNSelectHeroOn.blp")set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=(ov-lv)set bj_forLoopAIndexEnd=(ov-lv)loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(U2())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(bj_forLoopAIndex+1),"TRIGSTR_8367")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(bj_forLoopAIndex+1),"ReplaceableTextures\\CommandButtons\\BTNPandarenBrewmaster.blp")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=ovset bj_forLoopAIndexEnd=ovloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(w2())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(bj_forLoopAIndex+1),"|cffff0000Петросяны")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(bj_forLoopAIndex+1),"ReplaceableTextures\\CommandButtons\\BTNFireBrewmaster.blp")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall ForForce(bj_FORCE_ALL_PLAYERS,function W2)call MultiboardSetItemColorBJ(bj_lastCreatedMultiboard,1,0,100,100.,40.,0)call MultiboardSetItemColorBJ(bj_lastCreatedMultiboard,2,0,.0,100.,.0,0)call MultiboardSetItemColorBJ(bj_lastCreatedMultiboard,1,1,100.,80.,10.,0)call MultiboardSetItemColorBJ(bj_lastCreatedMultiboard,2,1,100,80,10.,0)call MultiboardSetItemColorBJ(bj_lastCreatedMultiboard,3,1,100,80,10.,0)call MultiboardSetRowCount(bj_lastCreatedMultiboard,(ov+4))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(ov+2),"     Кол-во зрилов")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(ov+3),"     Кол-во Петров")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(ov+4),"     |cffffcc00Время игры")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset iv[bj_forLoopAIndex]=$Dset av[bj_forLoopAIndex]=60set nv[bj_forLoopAIndex]=""set bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=(ov+1)loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall MultiboardSetItemStyleBJ(bj_lastCreatedMultiboard,1,bj_forLoopAIndex,true,true)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall MultiboardSetItemStyleBJ(bj_lastCreatedMultiboard,1,1,true,false)call MultiboardMinimize(bj_lastCreatedMultiboard,false)endfunctionfunction z2 takes nothing returns booleanreturn(C<9)endfunctionfunction Z2 takes nothing returns booleanreturn(I==6)endfunctionfunction v3 takes nothing returns booleanreturn(R==$A)endfunctionfunction e3 takes nothing returns booleanreturn(Ev==6)endfunctionfunction x3 takes nothing returns nothingif(z2())thenset C=(C+1)elseset C=0set I=(I+1)endifif(Z2())thenset I=0set R=(R+1)endifif(v3())thenset R=0set Ev=(Ev+1)endifif(e3())thenset Ev=0set D=(D+1)endifcall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+4),(("|cffffcc00  "+I2S(D))+(":"+(I2S(Ev)+(I2S(R)+(":"+(I2S(I)+I2S(C))))))))endfunctionfunction r3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction i3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction a3 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(r3())thenset ov=(ov+1)set zv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=ovset rv[ov]=(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(i3())thenset a=(a+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction V3 takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction E3 takes nothing returns nothingset lv=1endfunctionfunction O3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction R3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction I3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction A3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction N3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction b3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction B3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction c3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction C3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(8))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction d3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(9))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction D3 takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction f3 takes nothing returns booleanreturn(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction F3 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(O3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=2set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(R3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=3set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(I3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=4set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(A3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=5set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(N3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=6set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(b3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=7set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(B3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=8set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(c3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=9set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(C3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=$Aset bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(d3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=$Bset bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(D3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=$Cset bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(f3())thenset xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]=(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1)endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction G3 takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_LEFT)and(qv[bj_forLoopAIndex]!=1)endfunctionfunction h3 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(G3())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[bj_forLoopAIndex]+1),"   |cFF002CDDВышел")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction j3 takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())==1747988550)endfunctionfunction J3 takes nothing returns nothingset cv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]=1call EnableTrigger(tA)endfunctionfunction K3 takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988550)endfunctionfunction l3 takes nothing returns nothinglocal integer i=0local integer i2=0loopexitwhen i>$Aset i=i+1if(iv[i]==0 and av[i]<=30)thenset i2=i2+1endifendloopif(i2==1)thenset i=0loopexitwhen i>$Cset i=i+1set tx[i]=falseendloopendifset i=0set i2=0set cv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=0set iv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=$Dset av[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=60set nv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=""call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]+1)," ")endfunctionfunction m3 takes nothing returns booleanreturn(av[bj_forLoopAIndex]==0)endfunctionfunction M3 takes nothing returns booleanreturn(av[bj_forLoopAIndex]<=9)endfunctionfunction p3 takes nothing returns booleanreturn(av[bj_forLoopAIndex]==0)and(iv[bj_forLoopAIndex]==0)and(S2I(nv[bj_forLoopAIndex])==0)endfunctionfunction P3 takes nothing returns booleanreturn(iv[bj_forLoopAIndex]==0)and(av[bj_forLoopAIndex]<=30)endfunctionfunction q3 takes nothing returns booleanreturn(cv[bj_forLoopAIndex]==1)endfunctionfunction Q3 takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Aloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(q3())thenif(m3())thenset av[bj_forLoopAIndex]=59set iv[bj_forLoopAIndex]=(iv[bj_forLoopAIndex]-1)elseset av[bj_forLoopAIndex]=(av[bj_forLoopAIndex]-1)endifif(M3())thenset nv[bj_forLoopAIndex]="0"elseset nv[bj_forLoopAIndex]=""endifif(p3())thencall DisableTrigger(GetTriggeringTrigger())endifif(P3())thenset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset tx[bj_forLoopAIndex]=trueset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendifcall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1),(("      |r"+I2S(iv[bj_forLoopAIndex]))+(":"+(nv[bj_forLoopAIndex]+I2S(av[bj_forLoopAIndex])))))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction S3 takes nothing returns nothingcall SetPlayerAllianceStateBJ(GetOwningPlayer(BD),GetEnumPlayer(),3)call SetPlayerTechMaxAllowedSwap(1747988566,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988565,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988564,5,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429066,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429553,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429063,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429552,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429049,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988558,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988550,0,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1697656889,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651848,4,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429064,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651849,4,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429322,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429335,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429077,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429078,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429079,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651858,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651824,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988536,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651856,4,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429075,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429074,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429073,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429072,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651853,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651863,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651862,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988552,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429313,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429305,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988554,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429047,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429048,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429076,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429296,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988787,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429298,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429299,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429301,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429304,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429314,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429302,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429080,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988532,5,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988547,3,GetEnumPlayer())endfunctionfunction t3 takes nothing returns nothingcall ForForce(o,function S3)endfunctionfunction u3 takes nothing returns booleanreturn(GetUnitTypeId(GetSoldUnit())==1966092338)and(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]>=5)and(IsPlayerInForce(GetOwningPlayer(GetSoldUnit()),o))endfunctionfunction U3 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]-1)call AdjustPlayerStateBJ(50,GetOwningPlayer(GetSoldUnit()),PLAYER_STATE_RESOURCE_GOLD)call RemoveUnit(GetSoldUnit())endfunctionfunction W3 takes nothing returns booleanreturn(GetUnitTypeId(GetSoldUnit())==1752196449)and(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]>=1)and(IsPlayerInForce(GetOwningPlayer(GetSoldUnit()),x))endfunctionfunction y3 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]-1)call AdjustPlayerStateBJ(900,GetOwningPlayer(GetSoldUnit()),PLAYER_STATE_RESOURCE_GOLD)call RemoveUnit(GetSoldUnit())endfunctionfunction z3 takes nothing returns booleanreturn(GetUnitTypeId(GetSoldUnit())==1752196449)and(IsPlayerInForce(GetOwningPlayer(GetSoldUnit()),x))endfunctionfunction Z3 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]+1)endfunctionfunction e4 takes nothing returns nothingcall SetPlayerAllianceStateBJ(GetOwningPlayer(BD),GetEnumPlayer(),3)call SetPlayerTechMaxAllowedSwap(1865429299,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429298,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429296,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429076,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429048,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429065,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1697656903,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988784,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652085,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652081,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652084,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652082,4,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988570,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1852142642,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1852142641,8,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1852208178,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652089,4,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988785,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988786,8,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848652098,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429318,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988788,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1869902434,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1752196449,1,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429327,2,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429061,20,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1966092341,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988555,50,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988792,100,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429328,3,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1848651841,$A,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1865429060,100,GetEnumPlayer())call SetPlayerTechMaxAllowedSwap(1747988530,6,GetEnumPlayer())endfunctionfunction x4 takes nothing returns nothingcall ForForce(o,function e4)endfunctionfunction r4 takes nothing returns booleanreturn(GetUnitTypeId(GetSoldUnit())==1966092338)and(IsPlayerInForce(GetOwningPlayer(GetSoldUnit()),o))endfunctionfunction i4 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetSoldUnit())))]+1)endfunctionfunction n4 takes nothing returns booleanreturn(GetUnitTypeId(GetSoldUnit())==1966092338)and(IsPlayerInForce(GetOwningPlayer(GetSoldUnit()),x))endfunctionfunction V4 takes nothing returns nothingcall RemoveUnit(GetSoldUnit())endfunctionfunction X4 takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1966092338)endfunctionfunction O4 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)endfunctionfunction I4 takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1752196449)endfunctionfunction A4 takes nothing returns nothingset F[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(F[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)endfunctionfunction b4 takes nothing returns booleanreturn(GetTriggerUnit()==ED)endfunctionfunction B4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848651860,Player($F),GetRectCenter(SV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895892,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction C4 takes nothing returns booleanreturn(c==2)endfunctionfunction d4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848651860,Player($F),GetRectCenter(TV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895865,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction f4 takes nothing returns booleanreturn(c>=3)endfunctionfunction F4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848652100,Player($F),GetRectCenter(uV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895893,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction G4 takes nothing returns booleanreturn(c>=2)endfunctionfunction h4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848651860,Player($F),GetRectCenter(UV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895898,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction j4 takes nothing returns booleanreturn(GetSpellAbilityId()==1093681750)and(GetUnitTypeId(GetSpellAbilityUnit())==1747988531)and(GetPlayerName(GetTriggerPlayer())!="|cFF000040Dart |cFF404040Veider")and(GetPlayerName(GetTriggerPlayer())!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction J4 takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction k4 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((("|cFFFF0000Crit error!|r Вы не достойный силы |cFF000040Dart |cFF404040Veidera|r, умри рак"+Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))])+GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit())))+"|r |cFFFF0000!!!|r"))call UnitDamageTargetBJ(GetSpellAbilityUnit(),GetSpellAbilityUnit(),1000000000.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)call ForGroupBJ(Nf(GetTriggerPlayer()),function J4)endfunctionfunction l4 takes nothing returns booleanreturn(GetSpellAbilityId()==1093681750)and(IsPlayerInForce(GetOwningPlayer(GetSpellAbilityUnit()),x))and(GetPlayerName(GetTriggerPlayer())!="|cFF000040Dart |cFF404040Veider")and(GetPlayerName(GetTriggerPlayer())!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction L4 takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((("|cFFFF0000Crit error!|r Вы не достойный силы |cFF000040Dart |cFF404040Veidera|r, умри рак"+Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))])+GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit())))+"|r |cFFFF0000!!!|r"))call KillUnit(GetSpellAbilityUnit())endfunctionfunction M4 takes nothing returns booleanreturn(c==2)endfunctionfunction p4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848652100,Player($F),GetRectCenter(uV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227895896,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction q4 takes nothing returns booleanreturn(c>=3)endfunctionfunction Q4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848652103,Player($F),GetRectCenter(iE),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227896129,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction S4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848652103,Player($F),GetRectCenter(aE),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227896121,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction T4 takes nothing returns booleanreturn(c==3)endfunctionfunction u4 takes nothing returns nothingcall CreateNUnitsAtLoc(1,1848651860,Player($F),GetRectCenter(hV),bj_UNIT_FACING)call UnitAddItemByIdSwapped(1227896130,bj_lastCreatedUnit)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction w4 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677890)endfunctionfunction W4 takes nothing returns nothingcall DisplayTimedTextToForce(cf(GetOwningPlayer(GetSpellTargetUnit())),10.,(((Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]+GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit())))+("|r разрешил строится вам |r"+Bv[(1+GetPlayerId(GetOwningPlayer(GetEventTargetUnit())))]))+GetPlayerName(GetOwningPlayer(GetSpellTargetUnit()))))endfunctionfunction Y4 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)endfunctionfunction z4 takes nothing returns nothingcall DisplayTimedTextToForce(cf(GetOwningPlayer(GetSpellTargetUnit())),10.,(((Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]+GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit())))+("|r запетил строится вам |r"+Bv[(1+GetPlayerId(GetOwningPlayer(GetEventTargetUnit())))]))+GetPlayerName(GetOwningPlayer(GetSpellTargetUnit()))))endfunctionfunction v5 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction e5 takes nothing returns booleanreturn(v5())endfunctionfunction x5 takes nothing returns booleanreturn(RectContainsUnit(Zx,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction o5 takes nothing returns booleanreturn(RectContainsUnit(Zx,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction r5 takes nothing returns nothingcall ForceAddPlayer(P[1],GetEnumPlayer())call ForceRemovePlayer(P[1],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction i5 takes nothing returns booleanreturn(RectContainsUnit(Zx,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction a5 takes nothing returns nothingcall ForceRemovePlayer(P[1],GetEnumPlayer())endfunctionfunction n5 takes nothing returns booleanreturn(RectContainsUnit(Zx,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction V5 takes nothing returns booleanreturn(RectContainsUnit(Zx,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction E5 takes nothing returns booleanreturn(RectContainsUnit(Ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction X5 takes nothing returns booleanreturn(RectContainsUnit(Ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction O5 takes nothing returns nothingcall ForceAddPlayer(P[2],GetEnumPlayer())call ForceRemovePlayer(P[2],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction R5 takes nothing returns booleanreturn(RectContainsUnit(Ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction I5 takes nothing returns nothingcall ForceRemovePlayer(P[2],GetEnumPlayer())endfunctionfunction A5 takes nothing returns booleanreturn(RectContainsUnit(Ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction N5 takes nothing returns booleanreturn(RectContainsUnit(Ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction b5 takes nothing returns booleanreturn(RectContainsUnit(So,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction B5 takes nothing returns booleanreturn(RectContainsUnit(So,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction c5 takes nothing returns nothingcall ForceAddPlayer(P[4],GetEnumPlayer())call ForceRemovePlayer(P[4],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction C5 takes nothing returns booleanreturn(RectContainsUnit(So,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction d5 takes nothing returns nothingcall ForceRemovePlayer(P[4],GetEnumPlayer())endfunctionfunction D5 takes nothing returns booleanreturn(RectContainsUnit(So,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction f5 takes nothing returns booleanreturn(RectContainsUnit(So,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction F5 takes nothing returns booleanreturn(RectContainsUnit(er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction g5 takes nothing returns booleanreturn(RectContainsUnit(er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction G5 takes nothing returns nothingcall ForceAddPlayer(P[5],GetEnumPlayer())call ForceRemovePlayer(P[5],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction h5 takes nothing returns booleanreturn(RectContainsUnit(er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction H5 takes nothing returns nothingcall ForceRemovePlayer(P[5],GetEnumPlayer())endfunctionfunction j5 takes nothing returns booleanreturn(RectContainsUnit(er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction J5 takes nothing returns booleanreturn(RectContainsUnit(er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction k5 takes nothing returns booleanreturn(RectContainsUnit(Dr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction K5 takes nothing returns nothingcall ForceAddPlayer(P[7],GetEnumPlayer())call ForceRemovePlayer(P[7],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction l5 takes nothing returns booleanreturn(RectContainsUnit(Dr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction L5 takes nothing returns nothingcall ForceRemovePlayer(P[7],GetEnumPlayer())endfunctionfunction m5 takes nothing returns booleanreturn(RectContainsUnit(Dr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction M5 takes nothing returns booleanreturn(RectContainsUnit(Dr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction p5 takes nothing returns booleanreturn(RectContainsUnit(fr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction P5 takes nothing returns booleanreturn(RectContainsUnit(fr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction q5 takes nothing returns nothingcall ForceAddPlayer(P[8],GetEnumPlayer())call ForceRemovePlayer(P[8],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Q5 takes nothing returns booleanreturn(RectContainsUnit(fr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction s5 takes nothing returns nothingcall ForceRemovePlayer(P[8],GetEnumPlayer())endfunctionfunction S5 takes nothing returns booleanreturn(RectContainsUnit(fr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction t5 takes nothing returns booleanreturn(RectContainsUnit(fr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction T5 takes nothing returns booleanreturn(RectContainsUnit(Gr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction u5 takes nothing returns booleanreturn(RectContainsUnit(Gr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction U5 takes nothing returns nothingcall ForceAddPlayer(P[9],GetEnumPlayer())call ForceRemovePlayer(P[9],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction w5 takes nothing returns booleanreturn(RectContainsUnit(Gr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction W5 takes nothing returns nothingcall ForceRemovePlayer(P[9],GetEnumPlayer())endfunctionfunction y5 takes nothing returns booleanreturn(RectContainsUnit(Gr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Y5 takes nothing returns booleanreturn(RectContainsUnit(Gr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction z5 takes nothing returns booleanreturn(RectContainsUnit(eo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Z5 takes nothing returns booleanreturn(RectContainsUnit(eo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction v6 takes nothing returns nothingcall ForceAddPlayer(P[$A],GetEnumPlayer())call ForceRemovePlayer(P[$A],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction e6 takes nothing returns booleanreturn(RectContainsUnit(eo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction x6 takes nothing returns nothingcall ForceRemovePlayer(P[$A],GetEnumPlayer())endfunctionfunction o6 takes nothing returns booleanreturn(RectContainsUnit(eo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction r6 takes nothing returns booleanreturn(RectContainsUnit(eo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction i6 takes nothing returns booleanreturn(RectContainsUnit(xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction a6 takes nothing returns booleanreturn(RectContainsUnit(xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction n6 takes nothing returns nothingcall ForceAddPlayer(P[$C],GetEnumPlayer())call ForceRemovePlayer(P[$C],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction V6 takes nothing returns booleanreturn(RectContainsUnit(xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction E6 takes nothing returns nothingcall ForceRemovePlayer(P[$C],GetEnumPlayer())endfunctionfunction X6 takes nothing returns booleanreturn(RectContainsUnit(xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction O6 takes nothing returns booleanreturn(RectContainsUnit(xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction R6 takes nothing returns booleanreturn(RectContainsUnit(ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction I6 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)and(RectContainsUnit(ro,GetSpellAbilityUnit()))endfunctionfunction A6 takes nothing returns nothingcall ForceAddPlayer(P[$E],GetEnumPlayer())call ForceRemovePlayer(P[$E],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction N6 takes nothing returns booleanreturn(RectContainsUnit(ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction b6 takes nothing returns nothingcall ForceRemovePlayer(P[$E],GetEnumPlayer())endfunctionfunction B6 takes nothing returns booleanreturn(RectContainsUnit(ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction c6 takes nothing returns booleanreturn(RectContainsUnit(ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction C6 takes nothing returns booleanreturn(RectContainsUnit(ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction d6 takes nothing returns booleanreturn(RectContainsUnit(ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction D6 takes nothing returns nothingcall ForceAddPlayer(P[$F],GetEnumPlayer())call ForceRemovePlayer(P[$F],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction f6 takes nothing returns booleanreturn(RectContainsUnit(ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction F6 takes nothing returns nothingcall ForceRemovePlayer(P[$F],GetEnumPlayer())endfunctionfunction g6 takes nothing returns booleanreturn(RectContainsUnit(ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction G6 takes nothing returns booleanreturn(RectContainsUnit(ao,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction h6 takes nothing returns booleanreturn(RectContainsUnit(Vo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction H6 takes nothing returns booleanreturn(RectContainsUnit(Vo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction j6 takes nothing returns nothingcall ForceAddPlayer(P[16],GetEnumPlayer())call ForceRemovePlayer(P[16],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction J6 takes nothing returns booleanreturn(RectContainsUnit(Vo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction k6 takes nothing returns nothingcall ForceRemovePlayer(P[16],GetEnumPlayer())endfunctionfunction K6 takes nothing returns booleanreturn(RectContainsUnit(Vo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction l6 takes nothing returns booleanreturn(RectContainsUnit(Vo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction L6 takes nothing returns booleanreturn(RectContainsUnit(Xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction m6 takes nothing returns booleanreturn(RectContainsUnit(Xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction M6 takes nothing returns nothingcall ForceAddPlayer(P[17],GetEnumPlayer())call ForceRemovePlayer(P[17],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction p6 takes nothing returns booleanreturn(RectContainsUnit(Xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction P6 takes nothing returns nothingcall ForceRemovePlayer(P[17],GetEnumPlayer())endfunctionfunction q6 takes nothing returns booleanreturn(RectContainsUnit(Xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Q6 takes nothing returns booleanreturn(RectContainsUnit(Xo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction s6 takes nothing returns booleanreturn(RectContainsUnit(Oo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction S6 takes nothing returns booleanreturn(RectContainsUnit(Oo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction t6 takes nothing returns nothingcall ForceAddPlayer(P[18],GetEnumPlayer())call ForceRemovePlayer(P[18],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction T6 takes nothing returns booleanreturn(RectContainsUnit(Oo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction u6 takes nothing returns nothingcall ForceRemovePlayer(P[18],GetEnumPlayer())endfunctionfunction U6 takes nothing returns booleanreturn(RectContainsUnit(Oo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction w6 takes nothing returns booleanreturn(RectContainsUnit(Oo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction W6 takes nothing returns booleanreturn(RectContainsUnit(Ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction y6 takes nothing returns booleanreturn(RectContainsUnit(Ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Y6 takes nothing returns nothingcall ForceAddPlayer(P[19],GetEnumPlayer())call ForceRemovePlayer(P[19],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction z6 takes nothing returns booleanreturn(RectContainsUnit(Ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Z6 takes nothing returns nothingcall ForceRemovePlayer(P[19],GetEnumPlayer())endfunctionfunction v7 takes nothing returns booleanreturn(RectContainsUnit(Ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction e7 takes nothing returns booleanreturn(RectContainsUnit(Ro,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction x7 takes nothing returns booleanreturn(RectContainsUnit(No,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction o7 takes nothing returns booleanreturn(RectContainsUnit(No,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction r7 takes nothing returns nothingcall ForceAddPlayer(P[20],GetEnumPlayer())call ForceRemovePlayer(P[20],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction i7 takes nothing returns booleanreturn(RectContainsUnit(No,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction a7 takes nothing returns nothingcall ForceRemovePlayer(P[20],GetEnumPlayer())endfunctionfunction n7 takes nothing returns booleanreturn(RectContainsUnit(No,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction V7 takes nothing returns booleanreturn(RectContainsUnit(No,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction E7 takes nothing returns nothingif(x5())thencall ForceRemovePlayer(P[1],GetOwningPlayer(GetSpellTargetUnit()))endifif(o5())thencall ForceAddPlayer(P[1],GetOwningPlayer(GetSpellTargetUnit()))endifif(i5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function r5)endifif(n5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function a5)endifif(V5())thenset M[1]=0call KillUnit(GetSpellAbilityUnit())endifif(E5())thencall ForceRemovePlayer(P[2],GetOwningPlayer(GetSpellTargetUnit()))endifif(X5())thencall ForceAddPlayer(P[2],GetOwningPlayer(GetSpellTargetUnit()))endifif(R5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function O5)endifif(A5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function I5)endifif(N5())thenset M[2]=0call KillUnit(GetSpellAbilityUnit())endifif(b5())thencall ForceRemovePlayer(P[4],GetOwningPlayer(GetSpellTargetUnit()))endifif(B5())thencall ForceAddPlayer(P[4],GetOwningPlayer(GetSpellTargetUnit()))endifif(C5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function c5)endifif(D5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function d5)endifif(f5())thenset M[4]=0call KillUnit(GetSpellAbilityUnit())endifif(F5())thencall ForceRemovePlayer(P[5],GetOwningPlayer(GetSpellTargetUnit()))endifif(g5())thencall ForceAddPlayer(P[5],GetOwningPlayer(GetSpellTargetUnit()))endifif(h5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function G5)endifif(j5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function H5)endifif(J5())thenset M[5]=0call KillUnit(GetSpellAbilityUnit())endifif(k5())thencall ForceRemovePlayer(P[7],GetOwningPlayer(GetSpellTargetUnit()))endifif(l5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function K5)endifif(m5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function L5)endifif(M5())thenset M[7]=0call KillUnit(GetSpellAbilityUnit())endifif(p5())thencall ForceRemovePlayer(P[8],GetOwningPlayer(GetSpellTargetUnit()))endifif(P5())thencall ForceAddPlayer(P[8],GetOwningPlayer(GetSpellTargetUnit()))endifif(Q5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function q5)endifif(S5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function s5)endifif(t5())thenset M[8]=0call KillUnit(GetSpellAbilityUnit())endifif(T5())thencall ForceRemovePlayer(P[9],GetOwningPlayer(GetSpellTargetUnit()))endifif(u5())thencall ForceAddPlayer(P[9],GetOwningPlayer(GetSpellTargetUnit()))endifif(w5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function U5)endifif(y5())thencall ForForce(bj_FORCE_ALL_PLAYERS,function W5)endifif(Y5())thenset M[9]=0call KillUnit(GetSpellAbilityUnit())endifif(z5())thencall ForceRemovePlayer(P[$A],GetOwningPlayer(GetSpellTargetUnit()))endifif(Z5())thencall ForceAddPlayer(P[$A],GetOwningPlayer(GetSpellTargetUnit()))endifif(e6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function v6)endifif(o6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function x6)endifif(r6())thenset M[$A]=0call KillUnit(GetSpellAbilityUnit())endifif(i6())thencall ForceRemovePlayer(P[$C],GetOwningPlayer(GetSpellTargetUnit()))endifif(a6())thencall ForceAddPlayer(P[$C],GetOwningPlayer(GetSpellTargetUnit()))endifif(V6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function n6)endifif(X6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function E6)endifif(O6())thenset M[$C]=0call KillUnit(GetSpellAbilityUnit())endifif(R6())thencall ForceRemovePlayer(P[$E],GetOwningPlayer(GetSpellTargetUnit()))endifif(I6())thencall ForceAddPlayer(P[$E],GetOwningPlayer(GetSpellTargetUnit()))endifif(N6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function A6)endifif(B6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function b6)endifif(c6())thenset M[$E]=0call KillUnit(GetSpellAbilityUnit())endifif(C6())thencall ForceRemovePlayer(P[$F],GetOwningPlayer(GetSpellTargetUnit()))endifif(d6())thencall ForceAddPlayer(P[$F],GetOwningPlayer(GetSpellTargetUnit()))endifif(f6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function D6)endifif(g6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function F6)endifif(G6())thenset M[$F]=0call KillUnit(GetSpellAbilityUnit())endifif(h6())thencall ForceRemovePlayer(P[16],GetOwningPlayer(GetSpellTargetUnit()))endifif(H6())thencall ForceAddPlayer(P[16],GetOwningPlayer(GetSpellTargetUnit()))endifif(J6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function j6)endifif(K6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function k6)endifif(l6())thenset M[16]=0call KillUnit(GetSpellAbilityUnit())endifif(L6())thencall ForceRemovePlayer(P[17],GetOwningPlayer(GetSpellTargetUnit()))endifif(m6())thencall ForceAddPlayer(P[17],GetOwningPlayer(GetSpellTargetUnit()))endifif(p6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function M6)endifif(q6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function P6)endifif(Q6())thenset M[17]=0call KillUnit(GetSpellAbilityUnit())endifif(s6())thencall ForceRemovePlayer(P[18],GetOwningPlayer(GetSpellTargetUnit()))endifif(S6())thencall ForceAddPlayer(P[18],GetOwningPlayer(GetSpellTargetUnit()))endifif(T6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function t6)endifif(U6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function u6)endifif(w6())thenset M[18]=0call KillUnit(GetSpellAbilityUnit())endifif(W6())thencall ForceRemovePlayer(P[19],GetOwningPlayer(GetSpellTargetUnit()))endifif(y6())thencall ForceAddPlayer(P[19],GetOwningPlayer(GetSpellTargetUnit()))endifif(z6())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Y6)endifif(v7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Z6)endifif(e7())thenset M[19]=0call KillUnit(GetSpellAbilityUnit())endifif(x7())thencall ForceRemovePlayer(P[20],GetOwningPlayer(GetSpellTargetUnit()))endifif(o7())thencall ForceAddPlayer(P[20],GetOwningPlayer(GetSpellTargetUnit()))endifif(i7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function r7)endifif(n7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function a7)endifif(V7())thenset M[20]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction O7 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction R7 takes nothing returns booleanreturn(O7())endfunctionfunction I7 takes nothing returns booleanreturn(RectContainsUnit(Bo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction A7 takes nothing returns booleanreturn(RectContainsUnit(Bo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction N7 takes nothing returns nothingcall ForceAddPlayer(P[22],GetEnumPlayer())call ForceRemovePlayer(P[22],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction b7 takes nothing returns booleanreturn(RectContainsUnit(Bo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction B7 takes nothing returns nothingcall ForceRemovePlayer(P[22],GetEnumPlayer())endfunctionfunction c7 takes nothing returns booleanreturn(RectContainsUnit(Bo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction C7 takes nothing returns booleanreturn(RectContainsUnit(Bo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction d7 takes nothing returns booleanreturn(GetSpellAbilityId()==1093677890)endfunctionfunction D7 takes nothing returns booleanreturn(RectContainsUnit(co,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction f7 takes nothing returns nothingcall ForceAddPlayer(P[24],GetEnumPlayer())call ForceRemovePlayer(P[24],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction F7 takes nothing returns booleanreturn(RectContainsUnit(co,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction g7 takes nothing returns nothingcall ForceRemovePlayer(P[24],GetEnumPlayer())endfunctionfunction G7 takes nothing returns booleanreturn(RectContainsUnit(co,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction h7 takes nothing returns booleanreturn(RectContainsUnit(co,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction H7 takes nothing returns booleanreturn(RectContainsUnit(Do,GetSpellAbilityUnit()))endfunctionfunction j7 takes nothing returns booleanreturn(RectContainsUnit(Do,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction J7 takes nothing returns nothingcall ForceAddPlayer(P[25],GetEnumPlayer())call ForceRemovePlayer(P[25],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction k7 takes nothing returns booleanreturn(RectContainsUnit(Do,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction K7 takes nothing returns nothingcall ForceRemovePlayer(P[25],GetEnumPlayer())endfunctionfunction l7 takes nothing returns booleanreturn(RectContainsUnit(Do,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction L7 takes nothing returns booleanreturn(RectContainsUnit(Do,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction m7 takes nothing returns booleanreturn(RectContainsUnit(fo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction M7 takes nothing returns booleanreturn(RectContainsUnit(fo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction p7 takes nothing returns nothingcall ForceAddPlayer(P[26],GetEnumPlayer())call ForceRemovePlayer(P[26],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction P7 takes nothing returns booleanreturn(RectContainsUnit(fo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction q7 takes nothing returns nothingcall ForceRemovePlayer(P[26],GetEnumPlayer())endfunctionfunction Q7 takes nothing returns booleanreturn(RectContainsUnit(fo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction s7 takes nothing returns booleanreturn(RectContainsUnit(fo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction S7 takes nothing returns booleanreturn(RectContainsUnit(ea,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction t7 takes nothing returns booleanreturn(RectContainsUnit(ea,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction T7 takes nothing returns nothingcall ForceAddPlayer(P[28],GetEnumPlayer())call ForceRemovePlayer(P[28],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction u7 takes nothing returns booleanreturn(RectContainsUnit(ea,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction U7 takes nothing returns nothingcall ForceRemovePlayer(P[28],GetEnumPlayer())endfunctionfunction w7 takes nothing returns booleanreturn(RectContainsUnit(ea,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction W7 takes nothing returns booleanreturn(RectContainsUnit(ea,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction y7 takes nothing returns booleanreturn(RectContainsUnit(go,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Y7 takes nothing returns booleanreturn(RectContainsUnit(go,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction z7 takes nothing returns nothingcall ForceAddPlayer(P[29],GetEnumPlayer())call ForceRemovePlayer(P[29],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Z7 takes nothing returns booleanreturn(RectContainsUnit(go,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction v8 takes nothing returns nothingcall ForceRemovePlayer(P[29],GetEnumPlayer())endfunctionfunction e8 takes nothing returns booleanreturn(RectContainsUnit(go,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction x8 takes nothing returns booleanreturn(RectContainsUnit(go,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction o8 takes nothing returns booleanreturn(RectContainsUnit(ho,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction r8 takes nothing returns booleanreturn(RectContainsUnit(ho,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction i8 takes nothing returns nothingcall ForceAddPlayer(P[30],GetEnumPlayer())call ForceRemovePlayer(P[30],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction a8 takes nothing returns booleanreturn(RectContainsUnit(ho,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction n8 takes nothing returns nothingcall ForceRemovePlayer(P[30],GetEnumPlayer())endfunctionfunction V8 takes nothing returns booleanreturn(RectContainsUnit(ho,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction E8 takes nothing returns booleanreturn(RectContainsUnit(ho,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction X8 takes nothing returns booleanreturn(RectContainsUnit(jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction O8 takes nothing returns booleanreturn(RectContainsUnit(jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction R8 takes nothing returns nothingcall ForceAddPlayer(P[31],GetEnumPlayer())call ForceRemovePlayer(P[31],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction I8 takes nothing returns booleanreturn(RectContainsUnit(jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction A8 takes nothing returns nothingcall ForceRemovePlayer(P[31],GetEnumPlayer())endfunctionfunction N8 takes nothing returns booleanreturn(RectContainsUnit(jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction b8 takes nothing returns booleanreturn(RectContainsUnit(jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction B8 takes nothing returns booleanreturn(RectContainsUnit(Jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction c8 takes nothing returns booleanreturn(RectContainsUnit(Jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction C8 takes nothing returns nothingcall ForceAddPlayer(P[33],GetEnumPlayer())call ForceRemovePlayer(P[33],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction d8 takes nothing returns booleanreturn(RectContainsUnit(Jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction D8 takes nothing returns nothingcall ForceRemovePlayer(P[33],GetEnumPlayer())endfunctionfunction f8 takes nothing returns booleanreturn(RectContainsUnit(Jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction F8 takes nothing returns booleanreturn(RectContainsUnit(Jo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction g8 takes nothing returns booleanreturn(RectContainsUnit(Ko,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction G8 takes nothing returns booleanreturn(RectContainsUnit(Ko,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction h8 takes nothing returns nothingcall ForceAddPlayer(P[35],GetEnumPlayer())call ForceRemovePlayer(P[35],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction H8 takes nothing returns booleanreturn(RectContainsUnit(Ko,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction j8 takes nothing returns nothingcall ForceRemovePlayer(P[35],GetEnumPlayer())endfunctionfunction J8 takes nothing returns booleanreturn(RectContainsUnit(Ko,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction k8 takes nothing returns booleanreturn(RectContainsUnit(Ko,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction K8 takes nothing returns booleanreturn(RectContainsUnit(Mo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction l8 takes nothing returns booleanreturn(RectContainsUnit(Mo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction L8 takes nothing returns nothingcall ForceAddPlayer(P[37],GetEnumPlayer())call ForceRemovePlayer(P[37],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction m8 takes nothing returns booleanreturn(RectContainsUnit(Mo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction M8 takes nothing returns nothingcall ForceRemovePlayer(P[37],GetEnumPlayer())endfunctionfunction p8 takes nothing returns booleanreturn(RectContainsUnit(Mo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction P8 takes nothing returns booleanreturn(RectContainsUnit(Mo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction q8 takes nothing returns booleanreturn(RectContainsUnit(Lo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Q8 takes nothing returns booleanreturn(RectContainsUnit(Lo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction s8 takes nothing returns nothingcall ForceAddPlayer(P[36],GetEnumPlayer())call ForceRemovePlayer(P[36],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction S8 takes nothing returns booleanreturn(RectContainsUnit(Lo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction t8 takes nothing returns nothingcall ForceRemovePlayer(P[36],GetEnumPlayer())endfunctionfunction T8 takes nothing returns booleanreturn(RectContainsUnit(Lo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction u8 takes nothing returns booleanreturn(RectContainsUnit(Lo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction U8 takes nothing returns booleanreturn(RectContainsUnit(Po,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction w8 takes nothing returns booleanreturn(RectContainsUnit(Po,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction W8 takes nothing returns nothingcall ForceAddPlayer(P[38],GetEnumPlayer())call ForceRemovePlayer(P[38],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction y8 takes nothing returns booleanreturn(RectContainsUnit(Po,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Y8 takes nothing returns nothingcall ForceRemovePlayer(P[38],GetEnumPlayer())endfunctionfunction z8 takes nothing returns booleanreturn(RectContainsUnit(Po,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Z8 takes nothing returns booleanreturn(RectContainsUnit(Po,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vvv takes nothing returns booleanreturn(RectContainsUnit(Qo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vev takes nothing returns booleanreturn(RectContainsUnit(Qo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vxv takes nothing returns nothingcall ForceAddPlayer(P[39],GetEnumPlayer())call ForceRemovePlayer(P[39],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vov takes nothing returns booleanreturn(RectContainsUnit(Qo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vrv takes nothing returns nothingcall ForceRemovePlayer(P[39],GetEnumPlayer())endfunctionfunction viv takes nothing returns booleanreturn(RectContainsUnit(Qo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vav takes nothing returns booleanreturn(RectContainsUnit(Qo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vnv takes nothing returns booleanreturn(RectContainsUnit(to,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vVv takes nothing returns booleanreturn(RectContainsUnit(to,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vEv takes nothing returns nothingcall ForceAddPlayer(P[40],GetEnumPlayer())call ForceRemovePlayer(P[40],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vXv takes nothing returns booleanreturn(RectContainsUnit(to,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vOv takes nothing returns nothingcall ForceRemovePlayer(P[40],GetEnumPlayer())endfunctionfunction vRv takes nothing returns booleanreturn(RectContainsUnit(to,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vIv takes nothing returns booleanreturn(RectContainsUnit(to,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vAv takes nothing returns nothingif(I7())thencall ForceRemovePlayer(P[22],GetOwningPlayer(GetSpellTargetUnit()))endifif(A7())thencall ForceAddPlayer(P[22],GetOwningPlayer(GetSpellTargetUnit()))endifif(b7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function N7)endifif(c7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function B7)endifif(C7())thenset M[22]=0call KillUnit(GetSpellAbilityUnit())endifif(d7())thencall ForceRemovePlayer(P[23],GetOwningPlayer(GetSpellTargetUnit()))endifif(D7())thencall ForceAddPlayer(P[24],GetOwningPlayer(GetSpellTargetUnit()))endifif(F7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function f7)endifif(G7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function g7)endifif(h7())thenset M[24]=0call KillUnit(GetSpellAbilityUnit())endifif(H7())thencall ForceRemovePlayer(P[25],GetOwningPlayer(GetSpellTargetUnit()))endifif(j7())thencall ForceAddPlayer(P[25],GetOwningPlayer(GetSpellTargetUnit()))endifif(k7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function J7)endifif(l7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function K7)endifif(L7())thenset M[25]=0call KillUnit(GetSpellAbilityUnit())endifif(m7())thencall ForceRemovePlayer(P[26],GetOwningPlayer(GetSpellTargetUnit()))endifif(M7())thencall ForceAddPlayer(P[26],GetOwningPlayer(GetSpellTargetUnit()))endifif(P7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function p7)endifif(Q7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function q7)endifif(s7())thenset M[26]=0call KillUnit(GetSpellAbilityUnit())endifif(S7())thencall ForceRemovePlayer(P[28],GetOwningPlayer(GetSpellTargetUnit()))endifif(t7())thencall ForceAddPlayer(P[28],GetOwningPlayer(GetSpellTargetUnit()))endifif(u7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function T7)endifif(w7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function U7)endifif(W7())thenset M[28]=0call KillUnit(GetSpellAbilityUnit())endifif(y7())thencall ForceRemovePlayer(P[29],GetOwningPlayer(GetSpellTargetUnit()))endifif(Y7())thencall ForceAddPlayer(P[29],GetOwningPlayer(GetSpellTargetUnit()))endifif(Z7())thencall ForForce(bj_FORCE_ALL_PLAYERS,function z7)endifif(e8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function v8)endifif(x8())thenset M[29]=0call KillUnit(GetSpellAbilityUnit())endifif(o8())thencall ForceRemovePlayer(P[30],GetOwningPlayer(GetSpellTargetUnit()))endifif(r8())thencall ForceAddPlayer(P[30],GetOwningPlayer(GetSpellTargetUnit()))endifif(a8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function i8)endifif(V8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function n8)endifif(E8())thenset M[30]=0call KillUnit(GetSpellAbilityUnit())endifif(X8())thencall ForceRemovePlayer(P[31],GetOwningPlayer(GetSpellTargetUnit()))endifif(O8())thencall ForceAddPlayer(P[31],GetOwningPlayer(GetSpellTargetUnit()))endifif(I8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function R8)endifif(N8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function A8)endifif(b8())thenset M[31]=0call KillUnit(GetSpellAbilityUnit())endifif(B8())thencall ForceRemovePlayer(P[33],GetOwningPlayer(GetSpellTargetUnit()))endifif(c8())thencall ForceAddPlayer(P[33],GetOwningPlayer(GetSpellTargetUnit()))endifif(d8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function C8)endifif(f8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function D8)endifif(F8())thenset M[33]=0call KillUnit(GetSpellAbilityUnit())endifif(g8())thencall ForceRemovePlayer(P[35],GetOwningPlayer(GetSpellTargetUnit()))endifif(G8())thencall ForceAddPlayer(P[35],GetOwningPlayer(GetSpellTargetUnit()))endifif(H8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function h8)endifif(J8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function j8)endifif(k8())thenset M[35]=0call KillUnit(GetSpellAbilityUnit())endifif(K8())thencall ForceRemovePlayer(P[37],GetOwningPlayer(GetSpellTargetUnit()))endifif(l8())thencall ForceAddPlayer(P[37],GetOwningPlayer(GetSpellTargetUnit()))endifif(m8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function L8)endifif(p8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function M8)endifif(P8())thenset M[37]=0call KillUnit(GetSpellAbilityUnit())endifif(q8())thencall ForceRemovePlayer(P[36],GetOwningPlayer(GetSpellTargetUnit()))endifif(Q8())thencall ForceAddPlayer(P[36],GetOwningPlayer(GetSpellTargetUnit()))endifif(S8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function s8)endifif(T8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function t8)endifif(u8())thenset M[36]=0call KillUnit(GetSpellAbilityUnit())endifif(U8())thencall ForceRemovePlayer(P[38],GetOwningPlayer(GetSpellTargetUnit()))endifif(w8())thencall ForceAddPlayer(P[38],GetOwningPlayer(GetSpellTargetUnit()))endifif(y8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function W8)endifif(z8())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Y8)endifif(Z8())thenset M[38]=0call KillUnit(GetSpellAbilityUnit())endifif(vvv())thencall ForceRemovePlayer(P[39],GetOwningPlayer(GetSpellTargetUnit()))endifif(vev())thencall ForceAddPlayer(P[39],GetOwningPlayer(GetSpellTargetUnit()))endifif(vov())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vxv)endifif(viv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vrv)endifif(vav())thenset M[39]=0call KillUnit(GetSpellAbilityUnit())endifif(vnv())thencall ForceRemovePlayer(P[40],GetOwningPlayer(GetSpellTargetUnit()))endifif(vVv())thencall ForceAddPlayer(P[40],GetOwningPlayer(GetSpellTargetUnit()))endifif(vXv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vEv)endifif(vRv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vOv)endifif(vIv())thenset M[40]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction vbv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction vBv takes nothing returns booleanreturn(vbv())endfunctionfunction vcv takes nothing returns booleanreturn(RectContainsUnit(uo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vCv takes nothing returns booleanreturn(RectContainsUnit(uo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vdv takes nothing returns nothingcall ForceAddPlayer(P[41],GetEnumPlayer())call ForceRemovePlayer(P[41],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vDv takes nothing returns booleanreturn(RectContainsUnit(uo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vfv takes nothing returns nothingcall ForceRemovePlayer(P[41],GetEnumPlayer())endfunctionfunction vFv takes nothing returns booleanreturn(RectContainsUnit(uo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vgv takes nothing returns booleanreturn(RectContainsUnit(uo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vGv takes nothing returns booleanreturn(RectContainsUnit(wo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vhv takes nothing returns booleanreturn(RectContainsUnit(wo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vHv takes nothing returns nothingcall ForceAddPlayer(P[42],GetEnumPlayer())call ForceRemovePlayer(P[42],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vjv takes nothing returns booleanreturn(RectContainsUnit(wo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vJv takes nothing returns nothingcall ForceRemovePlayer(P[42],GetEnumPlayer())endfunctionfunction vkv takes nothing returns booleanreturn(RectContainsUnit(wo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vKv takes nothing returns booleanreturn(RectContainsUnit(wo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vlv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vLv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vmv takes nothing returns nothingcall ForceAddPlayer(P[52],GetEnumPlayer())call ForceRemovePlayer(P[52],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vMv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vpv takes nothing returns nothingcall ForceRemovePlayer(P[52],GetEnumPlayer())endfunctionfunction vPv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vqv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vQv takes nothing returns booleanreturn(RectContainsUnit(ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vsv takes nothing returns booleanreturn(RectContainsUnit(ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vSv takes nothing returns nothingcall ForceAddPlayer(P[51],GetEnumPlayer())call ForceRemovePlayer(P[51],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vtv takes nothing returns booleanreturn(RectContainsUnit(ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vTv takes nothing returns nothingcall ForceRemovePlayer(P[51],GetEnumPlayer())endfunctionfunction vuv takes nothing returns booleanreturn(RectContainsUnit(ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction vUv takes nothing returns booleanreturn(RectContainsUnit(ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction vwv takes nothing returns booleanreturn(RectContainsUnit(Er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction vWv takes nothing returns nothingcall ForceAddPlayer(P[54],GetEnumPlayer())call ForceRemovePlayer(P[54],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction vyv takes nothing returns booleanreturn(RectContainsUnit(Er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction vYv takes nothing returns booleanreturn(RectContainsUnit(Er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction vzv takes nothing returns nothingcall ForceRemovePlayer(P[54],GetEnumPlayer())endfunctionfunction vZv takes nothing returns booleanreturn(RectContainsUnit(Er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction v_v takes nothing returns booleanreturn(RectContainsUnit(Er,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction v0v takes nothing returns booleanreturn(RectContainsUnit(Ir,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction v1v takes nothing returns booleanreturn(RectContainsUnit(Ir,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction v2v takes nothing returns nothingcall ForceAddPlayer(P[56],GetEnumPlayer())call ForceRemovePlayer(P[56],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction v3v takes nothing returns booleanreturn(RectContainsUnit(Ir,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction v4v takes nothing returns nothingcall ForceRemovePlayer(P[56],GetEnumPlayer())endfunctionfunction v5v takes nothing returns booleanreturn(RectContainsUnit(Ir,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction v6v takes nothing returns booleanreturn(RectContainsUnit(Ir,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction v7v takes nothing returns booleanreturn(RectContainsUnit(Ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction v8v takes nothing returns booleanreturn(RectContainsUnit(Ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction v9v takes nothing returns nothingcall ForceAddPlayer(P[57],GetEnumPlayer())call ForceRemovePlayer(P[57],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction evv takes nothing returns booleanreturn(RectContainsUnit(Ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction eev takes nothing returns nothingcall ForceRemovePlayer(P[57],GetEnumPlayer())endfunctionfunction exv takes nothing returns booleanreturn(RectContainsUnit(Ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction eov takes nothing returns booleanreturn(RectContainsUnit(Ar,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction erv takes nothing returns booleanreturn(RectContainsUnit(Nr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction eiv takes nothing returns booleanreturn(RectContainsUnit(Nr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction eav takes nothing returns nothingcall ForceAddPlayer(P[58],GetEnumPlayer())call ForceRemovePlayer(P[58],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction env takes nothing returns booleanreturn(RectContainsUnit(Nr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction eVv takes nothing returns nothingcall ForceRemovePlayer(P[58],GetEnumPlayer())endfunctionfunction eEv takes nothing returns booleanreturn(RectContainsUnit(Nr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction eXv takes nothing returns booleanreturn(RectContainsUnit(Nr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction eOv takes nothing returns booleanreturn(RectContainsUnit(Br,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction eRv takes nothing returns booleanreturn(RectContainsUnit(Br,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction eIv takes nothing returns nothingcall ForceAddPlayer(P[59],GetEnumPlayer())call ForceRemovePlayer(P[59],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction eAv takes nothing returns booleanreturn(RectContainsUnit(Br,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction eNv takes nothing returns nothingcall ForceRemovePlayer(P[59],GetEnumPlayer())endfunctionfunction ebv takes nothing returns booleanreturn(RectContainsUnit(Br,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction eBv takes nothing returns booleanreturn(RectContainsUnit(Br,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction ecv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction eCv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction edv takes nothing returns nothingcall ForceAddPlayer(P[60],GetEnumPlayer())call ForceRemovePlayer(P[60],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction eDv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction efv takes nothing returns nothingcall ForceRemovePlayer(P[60],GetEnumPlayer())endfunctionfunction eFv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction egv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction eGv takes nothing returns nothingif(vcv())thencall ForceRemovePlayer(P[41],GetOwningPlayer(GetSpellTargetUnit()))endifif(vCv())thencall ForceAddPlayer(P[41],GetOwningPlayer(GetSpellTargetUnit()))endifif(vDv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vdv)endifif(vFv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vfv)endifif(vgv())thenset M[41]=0call KillUnit(GetSpellAbilityUnit())endifif(vGv())thencall ForceRemovePlayer(P[42],GetOwningPlayer(GetSpellTargetUnit()))endifif(vhv())thencall ForceAddPlayer(P[42],GetOwningPlayer(GetSpellTargetUnit()))endifif(vjv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vHv)endifif(vkv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vJv)endifif(vKv())thenset M[42]=0call KillUnit(GetSpellAbilityUnit())endifif(vlv())thencall ForceRemovePlayer(P[52],GetOwningPlayer(GetSpellTargetUnit()))endifif(vLv())thencall ForceAddPlayer(P[52],GetOwningPlayer(GetSpellTargetUnit()))endifif(vMv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vmv)endifif(vPv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vpv)endifif(vqv())thenset M[52]=0call KillUnit(GetSpellAbilityUnit())endifif(vQv())thencall ForceRemovePlayer(P[51],GetOwningPlayer(GetSpellTargetUnit()))endifif(vsv())thencall ForceAddPlayer(P[51],GetOwningPlayer(GetSpellTargetUnit()))endifif(vtv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vSv)endifif(vuv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vTv)endifif(vUv())thenset M[51]=0call KillUnit(GetSpellAbilityUnit())endifif(vwv())thencall ForceRemovePlayer(P[54],GetOwningPlayer(GetSpellTargetUnit()))endifif(vyv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vWv)endifif(vYv())thencall ForceAddPlayer(P[54],GetOwningPlayer(GetSpellTargetUnit()))endifif(vZv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function vzv)endifif(v_v())thenset M[54]=0call KillUnit(GetSpellAbilityUnit())endifif(v0v())thencall ForceRemovePlayer(P[56],GetOwningPlayer(GetSpellTargetUnit()))endifif(v1v())thencall ForceAddPlayer(P[56],GetOwningPlayer(GetSpellTargetUnit()))endifif(v3v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function v2v)endifif(v5v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function v4v)endifif(v6v())thenset M[56]=0call KillUnit(GetSpellAbilityUnit())endifif(v7v())thencall ForceRemovePlayer(P[57],GetOwningPlayer(GetSpellTargetUnit()))endifif(v8v())thencall ForceAddPlayer(P[57],GetOwningPlayer(GetSpellTargetUnit()))endifif(evv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function v9v)endifif(exv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eev)endifif(eov())thenset M[57]=0call KillUnit(GetSpellAbilityUnit())endifif(erv())thencall ForceRemovePlayer(P[58],GetOwningPlayer(GetSpellTargetUnit()))endifif(eiv())thencall ForceAddPlayer(P[58],GetOwningPlayer(GetSpellTargetUnit()))endifif(env())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eav)endifif(eEv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eVv)endifif(eXv())thenset M[58]=0call KillUnit(GetSpellAbilityUnit())endifif(eOv())thencall ForceRemovePlayer(P[59],GetOwningPlayer(GetSpellTargetUnit()))endifif(eRv())thencall ForceAddPlayer(P[59],GetOwningPlayer(GetSpellTargetUnit()))endifif(eAv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eIv)endifif(ebv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eNv)endifif(eBv())thenset M[59]=0call KillUnit(GetSpellAbilityUnit())endifif(ecv())thencall ForceRemovePlayer(P[60],GetOwningPlayer(GetSpellTargetUnit()))endifif(eCv())thencall ForceAddPlayer(P[60],GetOwningPlayer(GetSpellTargetUnit()))endifif(eDv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function edv)endifif(eFv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function efv)endifif(egv())thenset M[60]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction eHv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction ejv takes nothing returns booleanreturn(eHv())endfunctionfunction eJv takes nothing returns booleanreturn(RectContainsUnit(yo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ekv takes nothing returns booleanreturn(RectContainsUnit(yo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction eKv takes nothing returns nothingcall ForceAddPlayer(P[44],GetEnumPlayer())call ForceRemovePlayer(P[44],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction elv takes nothing returns booleanreturn(RectContainsUnit(yo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction eLv takes nothing returns nothingcall ForceRemovePlayer(P[44],GetEnumPlayer())endfunctionfunction emv takes nothing returns booleanreturn(RectContainsUnit(yo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction eMv takes nothing returns booleanreturn(RectContainsUnit(yo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction epv takes nothing returns booleanreturn(RectContainsUnit(zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ePv takes nothing returns booleanreturn(RectContainsUnit(zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction eqv takes nothing returns nothingcall ForceAddPlayer(P[46],GetEnumPlayer())call ForceRemovePlayer(P[46],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction eQv takes nothing returns booleanreturn(RectContainsUnit(zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction esv takes nothing returns nothingcall ForceRemovePlayer(P[46],GetEnumPlayer())endfunctionfunction eSv takes nothing returns booleanreturn(RectContainsUnit(zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction etv takes nothing returns booleanreturn(RectContainsUnit(zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction eTv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction euv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction eUv takes nothing returns nothingcall ForceAddPlayer(P[48],GetEnumPlayer())call ForceRemovePlayer(P[48],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction ewv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction eWv takes nothing returns nothingcall ForceRemovePlayer(P[48],GetEnumPlayer())endfunctionfunction eyv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction eYv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction ezv takes nothing returns booleanreturn(RectContainsUnit(rr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction eZv takes nothing returns booleanreturn(RectContainsUnit(rr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction e_v takes nothing returns nothingcall ForceAddPlayer(P[50],GetEnumPlayer())call ForceRemovePlayer(P[50],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction e0v takes nothing returns booleanreturn(RectContainsUnit(rr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction e1v takes nothing returns nothingcall ForceRemovePlayer(P[50],GetEnumPlayer())endfunctionfunction e2v takes nothing returns booleanreturn(RectContainsUnit(rr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction e3v takes nothing returns booleanreturn(RectContainsUnit(rr,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction e4v takes nothing returns booleanreturn(RectContainsUnit(xa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction e5v takes nothing returns booleanreturn(RectContainsUnit(xa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction e6v takes nothing returns nothingcall ForceAddPlayer(P[61],GetEnumPlayer())call ForceRemovePlayer(P[61],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction e7v takes nothing returns booleanreturn(RectContainsUnit(xa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction e8v takes nothing returns nothingcall ForceRemovePlayer(P[61],GetEnumPlayer())endfunctionfunction e9v takes nothing returns booleanreturn(RectContainsUnit(xa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction xvv takes nothing returns booleanreturn(RectContainsUnit(xa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction xev takes nothing returns booleanreturn(RectContainsUnit(Oa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction xxv takes nothing returns booleanreturn(RectContainsUnit(Oa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction xov takes nothing returns nothingcall ForceAddPlayer(P[62],GetEnumPlayer())call ForceRemovePlayer(P[62],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction xrv takes nothing returns booleanreturn(RectContainsUnit(Oa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction xiv takes nothing returns nothingcall ForceRemovePlayer(P[62],GetEnumPlayer())endfunctionfunction xav takes nothing returns booleanreturn(RectContainsUnit(Oa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction xnv takes nothing returns booleanreturn(RectContainsUnit(Oa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction xVv takes nothing returns booleanreturn(RectContainsUnit(Ia,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction xEv takes nothing returns booleanreturn(RectContainsUnit(Ia,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction xXv takes nothing returns nothingcall ForceAddPlayer(P[63],GetEnumPlayer())call ForceRemovePlayer(P[63],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction xOv takes nothing returns booleanreturn(RectContainsUnit(Ia,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction xRv takes nothing returns nothingcall ForceRemovePlayer(P[63],GetEnumPlayer())endfunctionfunction xIv takes nothing returns booleanreturn(RectContainsUnit(Ia,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction xAv takes nothing returns booleanreturn(RectContainsUnit(Ia,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction xNv takes nothing returns nothingif(eJv())thencall ForceRemovePlayer(P[44],GetOwningPlayer(GetSpellTargetUnit()))endifif(ekv())thencall ForceAddPlayer(P[44],GetOwningPlayer(GetSpellTargetUnit()))endifif(elv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eKv)endifif(emv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eLv)endifif(eMv())thenset M[44]=0call KillUnit(GetSpellAbilityUnit())endifif(epv())thencall ForceRemovePlayer(P[46],GetOwningPlayer(GetSpellTargetUnit()))endifif(ePv())thencall ForceAddPlayer(P[46],GetOwningPlayer(GetSpellTargetUnit()))endifif(eQv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eqv)endifif(eSv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function esv)endifif(etv())thenset M[46]=0call KillUnit(GetSpellAbilityUnit())endifif(eTv())thencall ForceRemovePlayer(P[48],GetOwningPlayer(GetSpellTargetUnit()))endifif(euv())thencall ForceAddPlayer(P[48],GetOwningPlayer(GetSpellTargetUnit()))endifif(ewv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eUv)endifif(eyv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function eWv)endifif(eYv())thenset M[48]=0call KillUnit(GetSpellAbilityUnit())endifif(ezv())thencall ForceRemovePlayer(P[50],GetOwningPlayer(GetSpellTargetUnit()))endifif(eZv())thencall ForceAddPlayer(P[50],GetOwningPlayer(GetSpellTargetUnit()))endifif(e0v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function e_v)endifif(e2v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function e1v)endifif(e3v())thenset M[50]=0call KillUnit(GetSpellAbilityUnit())endifif(e4v())thencall ForceRemovePlayer(P[61],GetOwningPlayer(GetSpellTargetUnit()))endifif(e5v())thencall ForceAddPlayer(P[61],GetOwningPlayer(GetSpellTargetUnit()))endifif(e7v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function e6v)endifif(e9v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function e8v)endifif(xvv())thenset M[61]=0call KillUnit(GetSpellAbilityUnit())endifif(xev())thencall ForceRemovePlayer(P[62],GetOwningPlayer(GetSpellTargetUnit()))endifif(xxv())thencall ForceAddPlayer(P[62],GetOwningPlayer(GetSpellTargetUnit()))endifif(xrv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function xov)endifif(xav())thencall ForForce(bj_FORCE_ALL_PLAYERS,function xiv)endifif(xnv())thenset M[62]=0call KillUnit(GetSpellAbilityUnit())endifif(xVv())thencall ForceRemovePlayer(P[63],GetOwningPlayer(GetSpellTargetUnit()))endifif(xEv())thencall ForceAddPlayer(P[63],GetOwningPlayer(GetSpellTargetUnit()))endifif(xOv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function xXv)endifif(xIv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function xRv)endifif(xAv())thenset M[63]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction xBv takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=108loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall ForceAddPlayer(P[bj_forLoopAIndex],GetEnumPlayer())set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction xcv takes nothing returns nothingcall ForForce(bj_FORCE_ALL_PLAYERS,function xBv)endfunctionfunction xdv takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988557)endfunctionfunction xDv takes nothing returns nothingcall ForceAddPlayer(P[1],GetEnumPlayer())endfunctionfunction xfv takes nothing returns booleanreturn(RectContainsUnit(Zx,GetDyingUnit()))endfunctionfunction xFv takes nothing returns nothingcall ForceAddPlayer(P[2],GetEnumPlayer())endfunctionfunction xgv takes nothing returns booleanreturn(RectContainsUnit(Ao,GetDyingUnit()))endfunctionfunction xGv takes nothing returns nothingcall ForceAddPlayer(P[4],GetEnumPlayer())endfunctionfunction xhv takes nothing returns booleanreturn(RectContainsUnit(So,GetDyingUnit()))endfunctionfunction xHv takes nothing returns nothingcall ForceAddPlayer(P[5],GetEnumPlayer())endfunctionfunction xjv takes nothing returns booleanreturn(RectContainsUnit(er,GetDyingUnit()))endfunctionfunction xJv takes nothing returns nothingcall ForceAddPlayer(P[7],GetEnumPlayer())endfunctionfunction xkv takes nothing returns booleanreturn(RectContainsUnit(Dr,GetDyingUnit()))endfunctionfunction xKv takes nothing returns nothingcall ForceAddPlayer(P[8],GetEnumPlayer())endfunctionfunction xlv takes nothing returns booleanreturn(RectContainsUnit(fr,GetDyingUnit()))endfunctionfunction xLv takes nothing returns nothingcall ForceAddPlayer(P[9],GetEnumPlayer())endfunctionfunction xmv takes nothing returns booleanreturn(RectContainsUnit(Gr,GetDyingUnit()))endfunctionfunction xMv takes nothing returns nothingcall ForceAddPlayer(P[$A],GetEnumPlayer())endfunctionfunction xpv takes nothing returns booleanreturn(RectContainsUnit(eo,GetDyingUnit()))endfunctionfunction xPv takes nothing returns nothingcall ForceAddPlayer(P[$C],GetEnumPlayer())endfunctionfunction xqv takes nothing returns booleanreturn(RectContainsUnit(xo,GetDyingUnit()))endfunctionfunction xQv takes nothing returns nothingcall ForceAddPlayer(P[$E],GetEnumPlayer())endfunctionfunction xsv takes nothing returns booleanreturn(RectContainsUnit(ro,GetDyingUnit()))endfunctionfunction xSv takes nothing returns nothingcall ForceAddPlayer(P[$F],GetEnumPlayer())endfunctionfunction xtv takes nothing returns booleanreturn(RectContainsUnit(ao,GetDyingUnit()))endfunctionfunction xTv takes nothing returns nothingcall ForceAddPlayer(P[16],GetEnumPlayer())endfunctionfunction xuv takes nothing returns booleanreturn(RectContainsUnit(Vo,GetDyingUnit()))endfunctionfunction xUv takes nothing returns nothingcall ForceAddPlayer(P[17],GetEnumPlayer())endfunctionfunction xwv takes nothing returns booleanreturn(RectContainsUnit(Xo,GetDyingUnit()))endfunctionfunction xWv takes nothing returns nothingcall ForceAddPlayer(P[18],GetEnumPlayer())endfunctionfunction xyv takes nothing returns booleanreturn(RectContainsUnit(Oo,GetDyingUnit()))endfunctionfunction xYv takes nothing returns nothingcall ForceAddPlayer(P[19],GetEnumPlayer())endfunctionfunction xzv takes nothing returns booleanreturn(RectContainsUnit(Ro,GetDyingUnit()))endfunctionfunction xZv takes nothing returns nothingcall ForceAddPlayer(P[20],GetEnumPlayer())endfunctionfunction x_v takes nothing returns booleanreturn(RectContainsUnit(No,GetDyingUnit()))endfunctionfunction x0v takes nothing returns nothingcall ForceAddPlayer(P[22],GetEnumPlayer())endfunctionfunction x1v takes nothing returns booleanreturn(RectContainsUnit(Bo,GetDyingUnit()))endfunctionfunction x2v takes nothing returns nothingcall ForceAddPlayer(P[24],GetEnumPlayer())endfunctionfunction x3v takes nothing returns booleanreturn(RectContainsUnit(co,GetDyingUnit()))endfunctionfunction x4v takes nothing returns nothingcall ForceAddPlayer(P[25],GetEnumPlayer())endfunctionfunction x5v takes nothing returns booleanreturn(RectContainsUnit(Do,GetDyingUnit()))endfunctionfunction x6v takes nothing returns nothingcall ForceAddPlayer(P[26],GetEnumPlayer())endfunctionfunction x7v takes nothing returns booleanreturn(RectContainsUnit(fo,GetDyingUnit()))endfunctionfunction x8v takes nothing returns nothingcall ForceAddPlayer(P[28],GetEnumPlayer())endfunctionfunction x9v takes nothing returns booleanreturn(RectContainsUnit(ea,GetDyingUnit()))endfunctionfunction ovv takes nothing returns nothingcall ForceAddPlayer(P[29],GetEnumPlayer())endfunctionfunction oev takes nothing returns booleanreturn(RectContainsUnit(go,GetDyingUnit()))endfunctionfunction oxv takes nothing returns nothingcall ForceAddPlayer(P[30],GetEnumPlayer())endfunctionfunction oov takes nothing returns booleanreturn(RectContainsUnit(ho,GetDyingUnit()))endfunctionfunction orv takes nothing returns nothingcall ForceAddPlayer(P[31],GetEnumPlayer())endfunctionfunction oiv takes nothing returns booleanreturn(RectContainsUnit(jo,GetDyingUnit()))endfunctionfunction oav takes nothing returns nothingcall ForceAddPlayer(P[33],GetEnumPlayer())endfunctionfunction onv takes nothing returns booleanreturn(RectContainsUnit(Jo,GetDyingUnit()))endfunctionfunction oVv takes nothing returns nothingcall ForceAddPlayer(P[35],GetEnumPlayer())endfunctionfunction oEv takes nothing returns booleanreturn(RectContainsUnit(Ko,GetDyingUnit()))endfunctionfunction oXv takes nothing returns nothingcall ForceAddPlayer(P[36],GetEnumPlayer())endfunctionfunction oOv takes nothing returns booleanreturn(RectContainsUnit(Lo,GetDyingUnit()))endfunctionfunction oRv takes nothing returns nothingcall ForceAddPlayer(P[37],GetEnumPlayer())endfunctionfunction oIv takes nothing returns booleanreturn(RectContainsUnit(Mo,GetDyingUnit()))endfunctionfunction oAv takes nothing returns nothingcall ForceAddPlayer(P[38],GetEnumPlayer())endfunctionfunction oNv takes nothing returns booleanreturn(RectContainsUnit(Po,GetDyingUnit()))endfunctionfunction obv takes nothing returns nothingcall ForceAddPlayer(P[39],GetEnumPlayer())endfunctionfunction oBv takes nothing returns booleanreturn(RectContainsUnit(Qo,GetDyingUnit()))endfunctionfunction ocv takes nothing returns nothingcall ForceAddPlayer(P[40],GetEnumPlayer())endfunctionfunction oCv takes nothing returns booleanreturn(RectContainsUnit(to,GetDyingUnit()))endfunctionfunction odv takes nothing returns nothingcall ForceAddPlayer(P[41],GetEnumPlayer())endfunctionfunction oDv takes nothing returns booleanreturn(RectContainsUnit(uo,GetDyingUnit()))endfunctionfunction ofv takes nothing returns nothingcall ForceAddPlayer(P[42],GetEnumPlayer())endfunctionfunction oFv takes nothing returns booleanreturn(RectContainsUnit(wo,GetDyingUnit()))endfunctionfunction ogv takes nothing returns nothingcall ForceAddPlayer(P[44],GetEnumPlayer())endfunctionfunction oGv takes nothing returns booleanreturn(RectContainsUnit(yo,GetDyingUnit()))endfunctionfunction ohv takes nothing returns nothingcall ForceAddPlayer(P[46],GetEnumPlayer())endfunctionfunction oHv takes nothing returns booleanreturn(RectContainsUnit(zo,GetDyingUnit()))endfunctionfunction ojv takes nothing returns nothingcall ForceAddPlayer(P[48],GetEnumPlayer())endfunctionfunction oJv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetDyingUnit()))endfunctionfunction okv takes nothing returns nothingcall ForceAddPlayer(P[50],GetEnumPlayer())endfunctionfunction oKv takes nothing returns booleanreturn(RectContainsUnit(rr,GetDyingUnit()))endfunctionfunction olv takes nothing returns nothingcall ForceAddPlayer(P[51],GetEnumPlayer())endfunctionfunction oLv takes nothing returns booleanreturn(RectContainsUnit(ar,GetDyingUnit()))endfunctionfunction omv takes nothing returns nothingcall ForceAddPlayer(P[52],GetEnumPlayer())endfunctionfunction oMv takes nothing returns booleanreturn(RectContainsUnit(Vr,GetDyingUnit()))endfunctionfunction opv takes nothing returns nothingcall ForceAddPlayer(P[54],GetEnumPlayer())endfunctionfunction oPv takes nothing returns booleanreturn(RectContainsUnit(Er,GetDyingUnit()))endfunctionfunction oqv takes nothing returns nothingcall ForceAddPlayer(P[56],GetEnumPlayer())endfunctionfunction oQv takes nothing returns booleanreturn(RectContainsUnit(Ir,GetDyingUnit()))endfunctionfunction osv takes nothing returns nothingcall ForceAddPlayer(P[57],GetEnumPlayer())endfunctionfunction oSv takes nothing returns booleanreturn(RectContainsUnit(Ar,GetDyingUnit()))endfunctionfunction otv takes nothing returns nothingcall ForceAddPlayer(P[58],GetEnumPlayer())endfunctionfunction oTv takes nothing returns booleanreturn(RectContainsUnit(Nr,GetDyingUnit()))endfunctionfunction ouv takes nothing returns nothingcall ForceAddPlayer(P[59],GetEnumPlayer())endfunctionfunction oUv takes nothing returns booleanreturn(RectContainsUnit(Br,GetDyingUnit()))endfunctionfunction owv takes nothing returns nothingcall ForceAddPlayer(P[60],GetEnumPlayer())endfunctionfunction oWv takes nothing returns booleanreturn(RectContainsUnit(Cr,GetDyingUnit()))endfunctionfunction oyv takes nothing returns nothingcall ForceAddPlayer(P[61],GetEnumPlayer())endfunctionfunction oYv takes nothing returns booleanreturn(RectContainsUnit(xa,GetDyingUnit()))endfunctionfunction ozv takes nothing returns nothingcall ForceAddPlayer(P[62],GetEnumPlayer())endfunctionfunction oZv takes nothing returns booleanreturn(RectContainsUnit(Oa,GetDyingUnit()))endfunctionfunction o_v takes nothing returns nothingcall ForceAddPlayer(P[63],GetEnumPlayer())endfunctionfunction o0v takes nothing returns booleanreturn(RectContainsUnit(Ia,GetDyingUnit()))endfunctionfunction o1v takes nothing returns nothingif(xfv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[1]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xDv)endifif(xgv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[2]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xFv)endifif(xhv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[4]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xGv)endifif(xjv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[5]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xHv)endifif(xkv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[7]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xJv)endifif(xlv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[8]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xKv)endifif(xmv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[9]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xLv)endifif(xpv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[$A]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xMv)endifif(xqv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[$C]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xPv)endifif(xsv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[$E]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xQv)endifif(xtv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[$F]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xSv)endifif(xuv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[16]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xTv)endifif(xwv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[17]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xUv)endifif(xyv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[18]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xWv)endifif(xzv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[19]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xYv)endifif(x_v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[20]=0call ForForce(bj_FORCE_ALL_PLAYERS,function xZv)endifif(x1v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[22]=0call ForForce(bj_FORCE_ALL_PLAYERS,function x0v)endifif(x3v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[24]=0call ForForce(bj_FORCE_ALL_PLAYERS,function x2v)endifif(x5v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[25]=0call ForForce(bj_FORCE_ALL_PLAYERS,function x4v)endifif(x7v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[26]=0call ForForce(bj_FORCE_ALL_PLAYERS,function x6v)endifif(x9v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[28]=0call ForForce(bj_FORCE_ALL_PLAYERS,function x8v)endifif(oev())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[29]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ovv)endifif(oov())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[30]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oxv)endifif(oiv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[31]=0call ForForce(bj_FORCE_ALL_PLAYERS,function orv)endifif(onv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[33]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oav)endifif(oEv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[35]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oVv)endifif(oOv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[36]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oXv)endifif(oIv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[37]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oRv)endifif(oNv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[38]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oAv)endifif(oBv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[39]=0call ForForce(bj_FORCE_ALL_PLAYERS,function obv)endifif(oCv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[40]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ocv)endifif(oDv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[41]=0call ForForce(bj_FORCE_ALL_PLAYERS,function odv)endifif(oFv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[42]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ofv)endifif(oGv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[44]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ogv)endifif(oHv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[46]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ohv)endifif(oJv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[48]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ojv)endifif(oKv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[50]=0call ForForce(bj_FORCE_ALL_PLAYERS,function okv)endifif(oLv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[51]=0call ForForce(bj_FORCE_ALL_PLAYERS,function olv)endifif(oMv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[52]=0call ForForce(bj_FORCE_ALL_PLAYERS,function omv)endifif(oPv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[54]=0call ForForce(bj_FORCE_ALL_PLAYERS,function opv)endifif(oQv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[56]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oqv)endifif(oSv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[57]=0call ForForce(bj_FORCE_ALL_PLAYERS,function osv)endifif(oTv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[58]=0call ForForce(bj_FORCE_ALL_PLAYERS,function otv)endifif(oUv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[59]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ouv)endifif(oWv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[60]=0call ForForce(bj_FORCE_ALL_PLAYERS,function owv)endifif(oYv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[61]=0call ForForce(bj_FORCE_ALL_PLAYERS,function oyv)endifif(oZv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[62]=0call ForForce(bj_FORCE_ALL_PLAYERS,function ozv)endifif(o0v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[63]=0call ForForce(bj_FORCE_ALL_PLAYERS,function o_v)endifendfunctionfunction o3v takes nothing returns booleanreturn(RectContainsUnit(Zx,GetConstructingStructure()))endfunctionfunction o4v takes nothing returns booleanreturn(RectContainsUnit(vo,GetConstructingStructure()))endfunctionfunction o5v takes nothing returns booleanreturn(GetBooleanOr(o3v(),o4v()))and(M[1]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)endfunctionfunction o6v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Zx),bj_UNIT_FACING)call ForceRemovePlayer(P[1],GetTriggerPlayer())set M[1]=(M[1]+1)endfunctionfunction o8v takes nothing returns booleanreturn(RectContainsUnit(Zx,GetConstructingStructure()))endfunctionfunction o9v takes nothing returns booleanreturn(RectContainsUnit(vo,GetConstructingStructure()))endfunctionfunction rvv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[1]))and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(GetBooleanOr(o8v(),o9v()))and(M[1]>=1)endfunctionfunction rev takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rov takes nothing returns booleanreturn(M[2]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Ao,GetConstructingStructure()))endfunctionfunction rrv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ao),bj_UNIT_FACING)call ForceRemovePlayer(P[2],GetTriggerPlayer())set M[2]=(M[2]+1)endfunctionfunction rav takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[2]))and(RectContainsUnit(Ao,GetConstructingStructure()))and(M[2]>=1)endfunctionfunction rnv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rEv takes nothing returns booleanreturn(RectContainsUnit(so,GetConstructingStructure()))or(RectContainsUnit(So,GetConstructingStructure()))endfunctionfunction rXv takes nothing returns booleanreturn(M[4]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(rEv())endfunctionfunction rOv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(So),bj_UNIT_FACING)call ForceRemovePlayer(P[4],GetTriggerPlayer())set M[4]=(M[4]+1)endfunctionfunction rIv takes nothing returns booleanreturn(RectContainsUnit(so,GetConstructingStructure()))or(RectContainsUnit(So,GetConstructingStructure()))endfunctionfunction rAv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[4]))and(M[4]>=1)and(rIv())endfunctionfunction rNv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rBv takes nothing returns booleanreturn(RectContainsUnit(er,GetConstructingStructure()))or(RectContainsUnit(xr,GetConstructingStructure()))endfunctionfunction rcv takes nothing returns booleanreturn(M[5]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(rBv())endfunctionfunction rCv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(er),bj_UNIT_FACING)call ForceRemovePlayer(P[5],GetTriggerPlayer())set M[5]=(M[5]+1)endfunctionfunction rDv takes nothing returns booleanreturn(RectContainsUnit(er,GetConstructingStructure()))or(RectContainsUnit(xr,GetConstructingStructure()))endfunctionfunction rfv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[5]))and(M[5]>=1)and(rDv())endfunctionfunction rFv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rGv takes nothing returns booleanreturn(M[7]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Dr,GetConstructingStructure()))endfunctionfunction rhv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Dr),bj_UNIT_FACING)call ForceRemovePlayer(P[7],GetTriggerPlayer())set M[7]=(M[7]+1)endfunctionfunction rjv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[7]))and(M[7]>=1)and(RectContainsUnit(Dr,GetConstructingStructure()))endfunctionfunction rJv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rKv takes nothing returns booleanreturn(RectContainsUnit(Fr,GetConstructingStructure()))or(RectContainsUnit(gr,GetConstructingStructure()))endfunctionfunction rlv takes nothing returns booleanreturn(M[8]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(rKv())endfunctionfunction rLv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(fr),bj_UNIT_FACING)call ForceRemovePlayer(P[8],GetTriggerPlayer())set M[8]=(M[8]+1)endfunctionfunction rMv takes nothing returns booleanreturn(RectContainsUnit(Fr,GetConstructingStructure()))or(RectContainsUnit(gr,GetConstructingStructure()))endfunctionfunction rpv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[8]))and(M[8]>=1)and(rMv())endfunctionfunction rPv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rQv takes nothing returns booleanreturn(RectContainsUnit(Gr,GetConstructingStructure()))or(RectContainsUnit(hr,GetConstructingStructure()))endfunctionfunction rsv takes nothing returns booleanreturn(M[9]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(rQv())endfunctionfunction rSv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Gr),bj_UNIT_FACING)call ForceRemovePlayer(P[9],GetTriggerPlayer())set M[9]=(M[9]+1)endfunctionfunction rTv takes nothing returns booleanreturn(RectContainsUnit(Gr,GetConstructingStructure()))or(RectContainsUnit(hr,GetConstructingStructure()))endfunctionfunction ruv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[9]))and(M[9]>=1)and(rTv())endfunctionfunction rUv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction rWv takes nothing returns booleanreturn(M[$A]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(eo,GetConstructingStructure()))endfunctionfunction ryv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(eo),bj_UNIT_FACING)call ForceRemovePlayer(P[$A],GetTriggerPlayer())set M[$A]=(M[$A]+1)endfunctionfunction rzv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[$A]))and(M[$A]>=1)and(RectContainsUnit(eo,GetConstructingStructure()))endfunctionfunction rZv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction r0v takes nothing returns booleanreturn(RectContainsUnit(xo,GetConstructingStructure()))or(RectContainsUnit(oo,GetConstructingStructure()))endfunctionfunction r1v takes nothing returns booleanreturn(M[$C]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(r0v())endfunctionfunction r2v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(xo),bj_UNIT_FACING)call ForceRemovePlayer(P[$C],GetTriggerPlayer())set M[$C]=(M[$C]+1)endfunctionfunction r4v takes nothing returns booleanreturn(RectContainsUnit(xo,GetConstructingStructure()))or(RectContainsUnit(oo,GetConstructingStructure()))endfunctionfunction r5v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[$C]))and(M[$C]>=1)and(r4v())endfunctionfunction r6v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction r8v takes nothing returns booleanreturn(RectContainsUnit(ro,GetConstructingStructure()))or(RectContainsUnit(io,GetConstructingStructure()))endfunctionfunction r9v takes nothing returns booleanreturn(M[$E]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(r8v())endfunctionfunction ivv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ro),bj_UNIT_FACING)call ForceRemovePlayer(P[$E],GetTriggerPlayer())set M[$E]=(M[$E]+1)endfunctionfunction ixv takes nothing returns booleanreturn(RectContainsUnit(ro,GetConstructingStructure()))or(RectContainsUnit(io,GetConstructingStructure()))endfunctionfunction iov takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[$E]))and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(M[$E]>=1)and(ixv())endfunctionfunction irv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction iav takes nothing returns booleanreturn(RectContainsUnit(ao,GetConstructingStructure()))or(RectContainsUnit(no,GetConstructingStructure()))endfunctionfunction inv takes nothing returns booleanreturn(M[$F]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(iav())endfunctionfunction iVv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ao),bj_UNIT_FACING)call ForceRemovePlayer(P[$F],GetTriggerPlayer())set M[$F]=(M[$F]+1)endfunctionfunction iXv takes nothing returns booleanreturn(RectContainsUnit(ao,GetConstructingStructure()))or(RectContainsUnit(no,GetConstructingStructure()))endfunctionfunction iOv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[$F]))and(M[$F]>=1)and(iXv())endfunctionfunction iRv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction iAv takes nothing returns booleanreturn(RectContainsUnit(Vo,GetConstructingStructure()))or(RectContainsUnit(Eo,GetConstructingStructure()))or(RectContainsUnit(ga,GetConstructingStructure()))endfunctionfunction iNv takes nothing returns booleanreturn(M[16]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(iAv())endfunctionfunction ibv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Vo),bj_UNIT_FACING)call ForceRemovePlayer(P[16],GetTriggerPlayer())set M[16]=(M[16]+1)endfunctionfunction icv takes nothing returns booleanreturn(RectContainsUnit(Vo,GetConstructingStructure()))or(RectContainsUnit(Eo,GetConstructingStructure()))endfunctionfunction iCv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[16]))and(M[16]>=1)and(icv())endfunctionfunction idv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction ifv takes nothing returns booleanreturn(RectContainsUnit(Xo,GetConstructingStructure()))or(RectContainsUnit(Da,GetConstructingStructure()))endfunctionfunction iFv takes nothing returns booleanreturn(M[17]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(ifv())endfunctionfunction igv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Xo),bj_UNIT_FACING)call ForceRemovePlayer(P[17],GetTriggerPlayer())set M[17]=(M[17]+1)endfunctionfunction ihv takes nothing returns booleanreturn(RectContainsUnit(Xo,GetConstructingStructure()))or(RectContainsUnit(Da,GetConstructingStructure()))endfunctionfunction iHv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[17]))and(M[17]>=1)and(ihv())endfunctionfunction ijv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction ikv takes nothing returns booleanreturn(M[18]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Oo,GetConstructingStructure()))endfunctionfunction iKv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Oo),bj_UNIT_FACING)call ForceRemovePlayer(P[18],GetTriggerPlayer())set M[18]=(M[18]+1)endfunctionfunction iLv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[18]))and(M[18]>=1)and(RectContainsUnit(Oo,GetConstructingStructure()))endfunctionfunction imv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction ipv takes nothing returns booleanreturn(RectContainsUnit(Ro,GetConstructingStructure()))or(RectContainsUnit(Io,GetConstructingStructure()))endfunctionfunction iPv takes nothing returns booleanreturn(M[19]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(ipv())endfunctionfunction iqv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ro),bj_UNIT_FACING)call ForceRemovePlayer(P[19],GetTriggerPlayer())set M[19]=(M[19]+1)endfunctionfunction isv takes nothing returns booleanreturn(RectContainsUnit(Ro,GetConstructingStructure()))or(RectContainsUnit(Io,GetConstructingStructure()))endfunctionfunction iSv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[19]))and(M[19]>=1)and(isv())endfunctionfunction itv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction iuv takes nothing returns booleanreturn(RectContainsUnit(No,GetConstructingStructure()))or(RectContainsUnit(bo,GetConstructingStructure()))endfunctionfunction iUv takes nothing returns booleanreturn(M[20]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(iuv())endfunctionfunction iwv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(No),bj_UNIT_FACING)call ForceRemovePlayer(P[20],GetTriggerPlayer())set M[20]=(M[20]+1)endfunctionfunction iyv takes nothing returns booleanreturn(RectContainsUnit(No,GetConstructingStructure()))or(RectContainsUnit(bo,GetConstructingStructure()))endfunctionfunction iYv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[20]))and(M[20]>=1)and(iyv())endfunctionfunction izv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction i_v takes nothing returns booleanreturn(M[22]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Bo,GetConstructingStructure()))endfunctionfunction i0v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Bo),bj_UNIT_FACING)call ForceRemovePlayer(P[22],GetTriggerPlayer())set M[22]=(M[22]+1)endfunctionfunction i2v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[22]))and(M[22]>=1)and(RectContainsUnit(Bo,GetConstructingStructure()))endfunctionfunction i3v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction i5v takes nothing returns booleanreturn(RectContainsUnit(Co,GetConstructingStructure()))or(RectContainsUnit(do,GetConstructingStructure()))endfunctionfunction i6v takes nothing returns booleanreturn(M[24]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(i5v())endfunctionfunction i7v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(co),bj_UNIT_FACING)call ForceRemovePlayer(P[24],GetTriggerPlayer())set M[24]=(M[24]+1)endfunctionfunction i9v takes nothing returns booleanreturn(RectContainsUnit(Co,GetConstructingStructure()))or(RectContainsUnit(do,GetConstructingStructure()))endfunctionfunction avv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[24]))and(M[24]>=1)and(i9v())endfunctionfunction aev takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aov takes nothing returns booleanreturn(M[25]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Do,GetConstructingStructure()))endfunctionfunction arv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Do),bj_UNIT_FACING)call ForceRemovePlayer(P[25],GetTriggerPlayer())set M[25]=(M[25]+1)endfunctionfunction aav takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[25]))and(M[25]>=1)and(RectContainsUnit(Do,GetConstructingStructure()))endfunctionfunction anv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aEv takes nothing returns booleanreturn(RectContainsUnit(fo,GetConstructingStructure()))or(RectContainsUnit(Fo,GetConstructingStructure()))endfunctionfunction aXv takes nothing returns booleanreturn(M[26]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(aEv())endfunctionfunction aOv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(fo),bj_UNIT_FACING)call ForceRemovePlayer(P[26],GetTriggerPlayer())set M[26]=(M[26]+1)endfunctionfunction aIv takes nothing returns booleanreturn(RectContainsUnit(fo,GetConstructingStructure()))or(RectContainsUnit(Fo,GetConstructingStructure()))endfunctionfunction aAv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[26]))and(M[26]>=1)and(aIv())endfunctionfunction aNv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aBv takes nothing returns booleanreturn(RectContainsUnit(ea,GetConstructingStructure()))or(RectContainsUnit(va,GetConstructingStructure()))endfunctionfunction acv takes nothing returns booleanreturn(M[28]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(aBv())endfunctionfunction aCv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ea),bj_UNIT_FACING)call ForceRemovePlayer(P[28],GetTriggerPlayer())set M[28]=(M[28]+1)endfunctionfunction aDv takes nothing returns booleanreturn(RectContainsUnit(ea,GetConstructingStructure()))or(RectContainsUnit(va,GetConstructingStructure()))endfunctionfunction afv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[28]))and(M[28]>=1)and(aDv())endfunctionfunction aFv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aGv takes nothing returns booleanreturn(RectContainsUnit(go,GetConstructingStructure()))or(RectContainsUnit(Go,GetConstructingStructure()))endfunctionfunction ahv takes nothing returns booleanreturn(M[29]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(aGv())endfunctionfunction aHv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(go),bj_UNIT_FACING)call ForceRemovePlayer(P[29],GetTriggerPlayer())set M[29]=(M[29]+1)endfunctionfunction aJv takes nothing returns booleanreturn(RectContainsUnit(go,GetConstructingStructure()))or(RectContainsUnit(Go,GetConstructingStructure()))endfunctionfunction akv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[29]))and(M[29]>=1)and(aJv())endfunctionfunction aKv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aLv takes nothing returns booleanreturn(RectContainsUnit(ho,GetConstructingStructure()))or(RectContainsUnit(Ho,GetConstructingStructure()))endfunctionfunction amv takes nothing returns booleanreturn(M[30]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(aLv())endfunctionfunction aMv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ho),bj_UNIT_FACING)call ForceRemovePlayer(P[30],GetTriggerPlayer())set M[30]=(M[30]+1)endfunctionfunction aPv takes nothing returns booleanreturn(RectContainsUnit(ho,GetConstructingStructure()))or(RectContainsUnit(Ho,GetConstructingStructure()))endfunctionfunction aqv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[30]))and(M[30]>=1)and(aPv())endfunctionfunction aQv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aSv takes nothing returns booleanreturn(M[31]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(jo,GetConstructingStructure()))endfunctionfunction atv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(jo),bj_UNIT_FACING)call ForceRemovePlayer(P[31],GetTriggerPlayer())set M[31]=(M[31]+1)endfunctionfunction auv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[31]))and(M[31]>=1)and(RectContainsUnit(jo,GetConstructingStructure()))endfunctionfunction aUv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction aWv takes nothing returns booleanreturn(RectContainsUnit(Jo,GetConstructingStructure()))or(RectContainsUnit(ko,GetConstructingStructure()))endfunctionfunction ayv takes nothing returns booleanreturn(M[33]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(aWv())endfunctionfunction aYv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Jo),bj_UNIT_FACING)call ForceRemovePlayer(P[33],GetTriggerPlayer())set M[33]=(M[33]+1)endfunctionfunction aZv takes nothing returns booleanreturn(RectContainsUnit(Jo,GetConstructingStructure()))or(RectContainsUnit(ko,GetConstructingStructure()))endfunctionfunction a_v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[33]))and(M[33]>=1)and(aZv())endfunctionfunction a0v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction a2v takes nothing returns booleanreturn(RectContainsUnit(Ko,GetConstructingStructure()))or(RectContainsUnit(lo,GetConstructingStructure()))endfunctionfunction a3v takes nothing returns booleanreturn(M[35]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(a2v())endfunctionfunction a4v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ko),bj_UNIT_FACING)call ForceRemovePlayer(P[35],GetTriggerPlayer())set M[35]=(M[35]+1)endfunctionfunction a6v takes nothing returns booleanreturn(RectContainsUnit(Ko,GetConstructingStructure()))or(RectContainsUnit(lo,GetConstructingStructure()))endfunctionfunction a7v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[35]))and(M[35]>=1)and(a6v())endfunctionfunction a8v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nvv takes nothing returns booleanreturn(RectContainsUnit(mo,GetConstructingStructure()))endfunctionfunction nev takes nothing returns booleanreturn(M[36]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nvv())endfunctionfunction nxv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Lo),bj_UNIT_FACING)call ForceRemovePlayer(P[36],GetTriggerPlayer())set M[36]=(M[36]+1)endfunctionfunction nrv takes nothing returns booleanreturn(RectContainsUnit(mo,GetConstructingStructure()))endfunctionfunction niv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[36]))and(M[36]>=1)and(nrv())endfunctionfunction nav takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nVv takes nothing returns booleanreturn(RectContainsUnit(Mo,GetConstructingStructure()))or(RectContainsUnit(po,GetConstructingStructure()))endfunctionfunction nEv takes nothing returns booleanreturn(M[37]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nVv())endfunctionfunction nXv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Mo),bj_UNIT_FACING)call ForceRemovePlayer(P[37],GetTriggerPlayer())set M[37]=(M[37]+1)endfunctionfunction nRv takes nothing returns booleanreturn(RectContainsUnit(Mo,GetConstructingStructure()))or(RectContainsUnit(po,GetConstructingStructure()))endfunctionfunction nIv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[37]))and(M[37]>=1)and(nRv())endfunctionfunction nAv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nbv takes nothing returns booleanreturn(RectContainsUnit(Po,GetConstructingStructure()))or(RectContainsUnit(qo,GetConstructingStructure()))endfunctionfunction nBv takes nothing returns booleanreturn(M[38]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nbv())endfunctionfunction ncv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Po),bj_UNIT_FACING)call ForceRemovePlayer(P[38],GetTriggerPlayer())set M[38]=(M[38]+1)endfunctionfunction ndv takes nothing returns booleanreturn(RectContainsUnit(Po,GetConstructingStructure()))or(RectContainsUnit(qo,GetConstructingStructure()))endfunctionfunction nDv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[38]))and(M[38]>=1)and(ndv())endfunctionfunction nfv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction ngv takes nothing returns booleanreturn(M[39]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Qo,GetConstructingStructure()))endfunctionfunction nGv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Qo),bj_UNIT_FACING)call ForceRemovePlayer(P[39],GetTriggerPlayer())set M[39]=(M[39]+1)endfunctionfunction nHv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[39]))and(M[39]>=1)and(RectContainsUnit(Qo,GetConstructingStructure()))endfunctionfunction njv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nkv takes nothing returns booleanreturn(RectContainsUnit(to,GetConstructingStructure()))or(RectContainsUnit(To,GetConstructingStructure()))or(RectContainsUnit(fa,GetConstructingStructure()))or(RectContainsUnit(Fa,GetConstructingStructure()))endfunctionfunction nKv takes nothing returns booleanreturn(M[40]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nkv())endfunctionfunction nlv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(to),bj_UNIT_FACING)call ForceRemovePlayer(P[40],GetTriggerPlayer())set M[40]=(M[40]+1)endfunctionfunction nmv takes nothing returns booleanreturn(RectContainsUnit(to,GetConstructingStructure()))or(RectContainsUnit(To,GetConstructingStructure()))or(RectContainsUnit(fa,GetConstructingStructure()))or(RectContainsUnit(Fa,GetConstructingStructure()))endfunctionfunction nMv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[40]))and(M[40]>=1)and(nmv())endfunctionfunction npv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nqv takes nothing returns booleanreturn(RectContainsUnit(Uo,GetConstructingStructure()))endfunctionfunction nQv takes nothing returns booleanreturn(M[41]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nqv())endfunctionfunction nsv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(uo),bj_UNIT_FACING)call ForceRemovePlayer(P[41],GetTriggerPlayer())set M[41]=(M[41]+1)endfunctionfunction ntv takes nothing returns booleanreturn(RectContainsUnit(Uo,GetConstructingStructure()))endfunctionfunction nTv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[41]))and(M[41]>=1)and(ntv())endfunctionfunction nuv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction nwv takes nothing returns booleanreturn(RectContainsUnit(wo,GetConstructingStructure()))or(RectContainsUnit(Wo,GetConstructingStructure()))endfunctionfunction nWv takes nothing returns booleanreturn(M[42]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(nwv())endfunctionfunction nyv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(wo),bj_UNIT_FACING)call ForceRemovePlayer(P[42],GetTriggerPlayer())set M[42]=(M[42]+1)endfunctionfunction nzv takes nothing returns booleanreturn(RectContainsUnit(wo,GetConstructingStructure()))or(RectContainsUnit(Wo,GetConstructingStructure()))endfunctionfunction nZv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[42]))and(M[42]>=1)and(nzv())endfunctionfunction n_v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction n1v takes nothing returns booleanreturn(RectContainsUnit(Yo,GetConstructingStructure()))endfunctionfunction n2v takes nothing returns booleanreturn(M[44]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(n1v())endfunctionfunction n3v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(yo),bj_UNIT_FACING)call ForceRemovePlayer(P[44],GetTriggerPlayer())set M[44]=(M[44]+1)endfunctionfunction n5v takes nothing returns booleanreturn(RectContainsUnit(Yo,GetConstructingStructure()))endfunctionfunction n6v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[44]))and(M[44]>=1)and(n5v())endfunctionfunction n7v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction n9v takes nothing returns booleanreturn(M[46]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(zo,GetConstructingStructure()))endfunctionfunction Vvv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(zo),bj_UNIT_FACING)call ForceRemovePlayer(P[46],GetTriggerPlayer())set M[46]=(M[46]+1)endfunctionfunction Vxv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[46]))and(M[46]>=1)and(RectContainsUnit(zo,GetConstructingStructure()))endfunctionfunction Vov takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Viv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetConstructingStructure()))or(RectContainsUnit(vr,GetConstructingStructure()))endfunctionfunction Vav takes nothing returns booleanreturn(M[48]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Viv())endfunctionfunction Vnv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Zo),bj_UNIT_FACING)call ForceRemovePlayer(P[48],GetTriggerPlayer())set M[48]=(M[48]+1)endfunctionfunction VEv takes nothing returns booleanreturn(RectContainsUnit(Zo,GetConstructingStructure()))or(RectContainsUnit(vr,GetConstructingStructure()))endfunctionfunction VXv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[48]))and(M[48]>=1)and(VEv())endfunctionfunction VOv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VIv takes nothing returns booleanreturn(RectContainsUnit(rr,GetConstructingStructure()))or(RectContainsUnit(ir,GetConstructingStructure()))endfunctionfunction VAv takes nothing returns booleanreturn(M[50]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(VIv())endfunctionfunction VNv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(rr),bj_UNIT_FACING)call ForceRemovePlayer(P[50],GetTriggerPlayer())set M[50]=(M[50]+1)endfunctionfunction VBv takes nothing returns booleanreturn(RectContainsUnit(rr,GetConstructingStructure()))or(RectContainsUnit(ir,GetConstructingStructure()))endfunctionfunction Vcv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[50]))and(M[50]>=1)and(VBv())endfunctionfunction VCv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VDv takes nothing returns booleanreturn(RectContainsUnit(ar,GetConstructingStructure()))or(RectContainsUnit(nr,GetConstructingStructure()))endfunctionfunction Vfv takes nothing returns booleanreturn(M[51]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(VDv())endfunctionfunction VFv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ar),bj_UNIT_FACING)call ForceRemovePlayer(P[51],GetTriggerPlayer())set M[51]=(M[51]+1)endfunctionfunction VGv takes nothing returns booleanreturn(RectContainsUnit(ar,GetConstructingStructure()))or(RectContainsUnit(nr,GetConstructingStructure()))endfunctionfunction Vhv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[51]))and(M[51]>=1)and(VGv())endfunctionfunction VHv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VJv takes nothing returns booleanreturn(M[52]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Vr,GetConstructingStructure()))endfunctionfunction Vkv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Vr),bj_UNIT_FACING)call ForceRemovePlayer(P[52],GetTriggerPlayer())set M[52]=(M[52]+1)endfunctionfunction Vlv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[52]))and(M[52]>=1)and(RectContainsUnit(Vr,GetConstructingStructure()))endfunctionfunction VLv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VMv takes nothing returns booleanreturn(RectContainsUnit(Xr,GetConstructingStructure()))or(RectContainsUnit(Rr,GetConstructingStructure()))endfunctionfunction Vpv takes nothing returns booleanreturn(M[54]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(VMv())endfunctionfunction VPv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Er),bj_UNIT_FACING)call ForceRemovePlayer(P[54],GetTriggerPlayer())set M[54]=(M[54]+1)endfunctionfunction VQv takes nothing returns booleanreturn(RectContainsUnit(Xr,GetConstructingStructure()))or(RectContainsUnit(Rr,GetConstructingStructure()))endfunctionfunction Vsv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[54]))and(M[54]>=1)and(VQv())endfunctionfunction VSv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VTv takes nothing returns booleanreturn(M[56]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Ir,GetConstructingStructure()))endfunctionfunction Vuv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ir),bj_UNIT_FACING)call ForceRemovePlayer(P[56],GetTriggerPlayer())set M[56]=(M[56]+1)endfunctionfunction Vwv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[56]))and(M[56]>=1)and(RectContainsUnit(Ir,GetConstructingStructure()))endfunctionfunction VWv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction VYv takes nothing returns booleanreturn(M[57]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Ar,GetConstructingStructure()))endfunctionfunction Vzv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ar),bj_UNIT_FACING)call ForceRemovePlayer(P[57],GetTriggerPlayer())set M[57]=(M[57]+1)endfunctionfunction V_v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[57]))and(M[57]>=1)and(RectContainsUnit(Ar,GetConstructingStructure()))endfunctionfunction V0v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction V2v takes nothing returns booleanreturn(RectContainsUnit(Nr,GetConstructingStructure()))or(RectContainsUnit(br,GetConstructingStructure()))endfunctionfunction V3v takes nothing returns booleanreturn(M[58]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(V2v())endfunctionfunction V4v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Nr),bj_UNIT_FACING)call ForceRemovePlayer(P[58],GetTriggerPlayer())set M[58]=(M[58]+1)endfunctionfunction V6v takes nothing returns booleanreturn(RectContainsUnit(Nr,GetConstructingStructure()))or(RectContainsUnit(br,GetConstructingStructure()))endfunctionfunction V7v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[58]))and(M[58]>=1)and(V6v())endfunctionfunction V8v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Evv takes nothing returns booleanreturn(RectContainsUnit(Br,GetConstructingStructure()))or(RectContainsUnit(cr,GetConstructingStructure()))endfunctionfunction Eev takes nothing returns booleanreturn(M[59]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Evv())endfunctionfunction Exv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Br),bj_UNIT_FACING)call ForceRemovePlayer(P[59],GetTriggerPlayer())set M[59]=(M[59]+1)endfunctionfunction Erv takes nothing returns booleanreturn(RectContainsUnit(Br,GetConstructingStructure()))or(RectContainsUnit(cr,GetConstructingStructure()))endfunctionfunction Eiv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[59]))and(M[59]>=1)and(Erv())endfunctionfunction Eav takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction EVv takes nothing returns booleanreturn(M[60]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(dr,GetConstructingStructure()))endfunctionfunction EEv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Cr),bj_UNIT_FACING)call ForceRemovePlayer(P[60],GetTriggerPlayer())set M[60]=(M[60]+1)endfunctionfunction EOv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[60]))and(M[60]>=1)and(RectContainsUnit(dr,GetConstructingStructure()))endfunctionfunction ERv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction EAv takes nothing returns booleanreturn(M[61]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(xa,GetConstructingStructure()))endfunctionfunction ENv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(xa),bj_UNIT_FACING)call ForceRemovePlayer(P[61],GetTriggerPlayer())set M[61]=(M[61]+1)endfunctionfunction EBv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[61]))and(M[61]>=1)and(RectContainsUnit(xa,GetConstructingStructure()))endfunctionfunction Ecv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Edv takes nothing returns booleanreturn(M[62]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Oa,GetConstructingStructure()))endfunctionfunction EDv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Oa),bj_UNIT_FACING)call ForceRemovePlayer(P[62],GetTriggerPlayer())set M[62]=(M[62]+1)endfunctionfunction EFv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[62]))and(M[62]>=1)and(RectContainsUnit(Oa,GetConstructingStructure()))endfunctionfunction Egv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Ehv takes nothing returns booleanreturn(M[63]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Ra,GetConstructingStructure()))endfunctionfunction EHv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ia),bj_UNIT_FACING)call ForceRemovePlayer(P[63],GetTriggerPlayer())set M[63]=(M[63]+1)endfunctionfunction EJv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[63]))and(M[63]>=1)and(RectContainsUnit(Ra,GetConstructingStructure()))endfunctionfunction Ekv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Elv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction ELv takes nothing returns booleanreturn(Elv())endfunctionfunction Emv takes nothing returns booleanreturn(RectContainsUnit(La,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction EMv takes nothing returns booleanreturn(RectContainsUnit(ka,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Epv takes nothing returns booleanreturn(RectContainsUnit(ka,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction EPv takes nothing returns nothingcall ForceAddPlayer(P[65],GetEnumPlayer())call ForceRemovePlayer(P[65],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Eqv takes nothing returns booleanreturn(RectContainsUnit(ka,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction EQv takes nothing returns nothingcall ForceRemovePlayer(P[65],GetEnumPlayer())endfunctionfunction Esv takes nothing returns booleanreturn(RectContainsUnit(ka,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction ESv takes nothing returns booleanreturn(RectContainsUnit(ka,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Etv takes nothing returns booleanreturn(RectContainsUnit(la,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ETv takes nothing returns booleanreturn(RectContainsUnit(la,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Euv takes nothing returns nothingcall ForceAddPlayer(P[66],GetEnumPlayer())call ForceRemovePlayer(P[66],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction EUv takes nothing returns booleanreturn(RectContainsUnit(la,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Ewv takes nothing returns nothingcall ForceRemovePlayer(P[66],GetEnumPlayer())endfunctionfunction EWv takes nothing returns booleanreturn(RectContainsUnit(la,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Eyv takes nothing returns booleanreturn(RectContainsUnit(la,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction EYv takes nothing returns booleanreturn(RectContainsUnit(Ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Ezv takes nothing returns booleanreturn(RectContainsUnit(Ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction EZv takes nothing returns nothingcall ForceAddPlayer(P[67],GetEnumPlayer())call ForceRemovePlayer(P[67],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction E_v takes nothing returns booleanreturn(RectContainsUnit(Ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction E0v takes nothing returns nothingcall ForceRemovePlayer(P[67],GetEnumPlayer())endfunctionfunction E1v takes nothing returns booleanreturn(RectContainsUnit(Ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction E2v takes nothing returns booleanreturn(RectContainsUnit(Ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction E3v takes nothing returns booleanreturn(RectContainsUnit(La,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction E4v takes nothing returns booleanreturn(RectContainsUnit(La,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction E5v takes nothing returns nothingcall ForceAddPlayer(P[68],GetEnumPlayer())call ForceRemovePlayer(P[68],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction E6v takes nothing returns booleanreturn(RectContainsUnit(La,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction E7v takes nothing returns nothingcall ForceRemovePlayer(P[69],GetEnumPlayer())endfunctionfunction E8v takes nothing returns booleanreturn(RectContainsUnit(Pa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction E9v takes nothing returns booleanreturn(RectContainsUnit(Pa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Xvv takes nothing returns booleanreturn(RectContainsUnit(Pa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Xev takes nothing returns nothingcall ForceAddPlayer(P[69],GetEnumPlayer())call ForceRemovePlayer(P[69],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Xxv takes nothing returns booleanreturn(RectContainsUnit(Pa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Xov takes nothing returns nothingcall ForceRemovePlayer(P[70],GetEnumPlayer())endfunctionfunction Xrv takes nothing returns booleanreturn(RectContainsUnit(ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Xiv takes nothing returns booleanreturn(RectContainsUnit(ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Xav takes nothing returns booleanreturn(RectContainsUnit(ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Xnv takes nothing returns booleanreturn(RectContainsUnit(ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction XVv takes nothing returns nothingcall ForceAddPlayer(P[70],GetEnumPlayer())call ForceRemovePlayer(P[70],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction XEv takes nothing returns booleanreturn(RectContainsUnit(ma,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction XXv takes nothing returns booleanreturn(RectContainsUnit(Ha,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction XOv takes nothing returns booleanreturn(RectContainsUnit(Ha,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction XRv takes nothing returns nothingcall ForceAddPlayer(P[64],GetEnumPlayer())call ForceRemovePlayer(P[64],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction XIv takes nothing returns booleanreturn(RectContainsUnit(Ha,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction XAv takes nothing returns nothingcall ForceRemovePlayer(P[64],GetEnumPlayer())endfunctionfunction XNv takes nothing returns booleanreturn(RectContainsUnit(Ha,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Xbv takes nothing returns booleanreturn(RectContainsUnit(Ha,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction XBv takes nothing returns nothingif(Emv())thenset M[68]=0call KillUnit(GetSpellAbilityUnit())endifif(EMv())thencall ForceRemovePlayer(P[65],GetOwningPlayer(GetSpellTargetUnit()))endifif(Epv())thencall ForceAddPlayer(P[65],GetOwningPlayer(GetSpellTargetUnit()))endifif(Eqv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function EPv)endifif(Esv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function EQv)endifif(ESv())thenset M[65]=0call KillUnit(GetSpellAbilityUnit())endifif(Etv())thencall ForceRemovePlayer(P[66],GetOwningPlayer(GetSpellTargetUnit()))endifif(ETv())thencall ForceAddPlayer(P[66],GetOwningPlayer(GetSpellTargetUnit()))endifif(EUv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Euv)endifif(EWv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Ewv)endifif(Eyv())thenset M[66]=0call KillUnit(GetSpellAbilityUnit())endifif(EYv())thencall ForceRemovePlayer(P[67],GetOwningPlayer(GetSpellTargetUnit()))endifif(Ezv())thencall ForceAddPlayer(P[67],GetOwningPlayer(GetSpellTargetUnit()))endifif(E_v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function EZv)endifif(E1v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function E0v)endifif(E2v())thenset M[67]=0call KillUnit(GetSpellAbilityUnit())endifif(E3v())thencall ForceRemovePlayer(P[68],GetOwningPlayer(GetSpellTargetUnit()))endifif(E4v())thencall ForceAddPlayer(P[68],GetOwningPlayer(GetSpellTargetUnit()))endifif(E6v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function E5v)endifif(E8v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function E7v)endifif(E9v())thenset M[69]=0call KillUnit(GetSpellAbilityUnit())endifif(Xvv())thencall ForceRemovePlayer(P[69],GetOwningPlayer(GetSpellTargetUnit()))endifif(Xxv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Xev)endifif(Xrv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Xov)endifif(Xiv())thenset M[70]=0call KillUnit(GetSpellAbilityUnit())endifif(Xav())thencall ForceRemovePlayer(P[70],GetOwningPlayer(GetSpellTargetUnit()))endifif(Xnv())thencall ForceAddPlayer(P[70],GetOwningPlayer(GetSpellTargetUnit()))endifif(XEv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function XVv)endifif(XXv())thencall ForceRemovePlayer(P[64],GetOwningPlayer(GetSpellTargetUnit()))endifif(XOv())thencall ForceAddPlayer(P[64],GetOwningPlayer(GetSpellTargetUnit()))endifif(XIv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function XRv)endifif(XNv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function XAv)endifif(Xbv())thenset M[64]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction XCv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction Xdv takes nothing returns booleanreturn(XCv())endfunctionfunction XDv takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Xfv takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction XFv takes nothing returns nothingcall ForceAddPlayer(P[71],GetEnumPlayer())call ForceRemovePlayer(P[71],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Xgv takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction XGv takes nothing returns nothingcall ForceRemovePlayer(P[71],GetEnumPlayer())endfunctionfunction Xhv takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction XHv takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Xjv takes nothing returns nothingif(XDv())thencall ForceRemovePlayer(P[71],GetOwningPlayer(GetSpellTargetUnit()))endifif(Xfv())thencall ForceAddPlayer(P[71],GetOwningPlayer(GetSpellTargetUnit()))endifif(Xgv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function XFv)endifif(Xhv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function XGv)endifif(XHv())thenset M[71]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction Xkv takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988557)endfunctionfunction XKv takes nothing returns nothingcall ForceAddPlayer(P[64],GetEnumPlayer())endfunctionfunction Xlv takes nothing returns booleanreturn(RectContainsUnit(Ja,GetDyingUnit()))endfunctionfunction XLv takes nothing returns nothingcall ForceAddPlayer(P[65],GetEnumPlayer())endfunctionfunction Xmv takes nothing returns booleanreturn(RectContainsUnit(qa,GetDyingUnit()))endfunctionfunction XMv takes nothing returns nothingcall ForceAddPlayer(P[66],GetEnumPlayer())endfunctionfunction Xpv takes nothing returns booleanreturn(RectContainsUnit(Qa,GetDyingUnit()))endfunctionfunction XPv takes nothing returns nothingcall ForceAddPlayer(P[67],GetEnumPlayer())endfunctionfunction Xqv takes nothing returns booleanreturn(RectContainsUnit(sa,GetDyingUnit()))endfunctionfunction XQv takes nothing returns nothingcall ForceAddPlayer(P[68],GetEnumPlayer())endfunctionfunction Xsv takes nothing returns booleanreturn(RectContainsUnit(Sa,GetDyingUnit()))endfunctionfunction XSv takes nothing returns nothingcall ForceAddPlayer(P[69],GetEnumPlayer())endfunctionfunction Xtv takes nothing returns booleanreturn(RectContainsUnit(ta,GetDyingUnit()))endfunctionfunction XTv takes nothing returns nothingcall ForceAddPlayer(P[70],GetEnumPlayer())endfunctionfunction Xuv takes nothing returns booleanreturn(RectContainsUnit(Ta,GetDyingUnit()))endfunctionfunction XUv takes nothing returns booleanreturn trueendfunctionfunction Xwv takes nothing returns nothingif(Xlv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[64]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XKv)endifif(Xmv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[65]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XLv)endifif(Xpv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[66]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XMv)endifif(Xqv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[67]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XPv)endifif(Xsv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[68]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XQv)endifif(Xtv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[69]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XSv)endifif(Xuv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[70]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XTv)endifif(XUv())thenendifendfunctionfunction Xyv takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988557)endfunctionfunction XYv takes nothing returns nothingcall ForceAddPlayer(P[71],GetEnumPlayer())endfunctionfunction Xzv takes nothing returns booleanreturn(RectContainsUnit(wa,GetDyingUnit()))endfunctionfunction XZv takes nothing returns nothingif(Xzv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[71]=0call ForForce(bj_FORCE_ALL_PLAYERS,function XYv)endifendfunctionfunction X0v takes nothing returns booleanreturn(RectContainsUnit(Ha,GetConstructingStructure()))or(RectContainsUnit(ja,GetConstructingStructure()))endfunctionfunction X1v takes nothing returns booleanreturn(M[64]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(X0v())endfunctionfunction X2v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ja),bj_UNIT_FACING)call ForceRemovePlayer(P[64],GetTriggerPlayer())set M[64]=(M[64]+1)endfunctionfunction X4v takes nothing returns booleanreturn(RectContainsUnit(Ha,GetConstructingStructure()))or(RectContainsUnit(ja,GetConstructingStructure()))endfunctionfunction X5v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[64]))and(M[64]>=1)and(X4v())endfunctionfunction X6v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction X8v takes nothing returns booleanreturn(RectContainsUnit(ka,GetConstructingStructure()))or(RectContainsUnit(Ka,GetConstructingStructure()))endfunctionfunction X9v takes nothing returns booleanreturn(M[65]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(X8v())endfunctionfunction Ovv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(qa),bj_UNIT_FACING)call ForceRemovePlayer(P[65],GetTriggerPlayer())set M[65]=(M[65]+1)endfunctionfunction Oxv takes nothing returns booleanreturn(RectContainsUnit(ka,GetConstructingStructure()))or(RectContainsUnit(Ka,GetConstructingStructure()))endfunctionfunction Oov takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[65]))and(M[65]>=1)and(Oxv())endfunctionfunction Orv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Oav takes nothing returns booleanreturn(RectContainsUnit(la,GetConstructingStructure()))endfunctionfunction Onv takes nothing returns booleanreturn(M[66]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Oav())endfunctionfunction OVv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Qa),bj_UNIT_FACING)call ForceRemovePlayer(P[66],GetTriggerPlayer())set M[66]=(M[66]+1)endfunctionfunction OXv takes nothing returns booleanreturn(RectContainsUnit(la,GetConstructingStructure()))endfunctionfunction OOv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[66]))and(M[66]>=1)and(OXv())endfunctionfunction ORv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction OAv takes nothing returns booleanreturn(RectContainsUnit(Ma,GetConstructingStructure()))or(RectContainsUnit(pa,GetConstructingStructure()))endfunctionfunction ONv takes nothing returns booleanreturn(M[67]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(OAv())endfunctionfunction Obv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ma),bj_UNIT_FACING)call ForceRemovePlayer(P[67],GetTriggerPlayer())set M[67]=(M[67]+1)endfunctionfunction Ocv takes nothing returns booleanreturn(RectContainsUnit(Ma,GetConstructingStructure()))or(RectContainsUnit(pa,GetConstructingStructure()))endfunctionfunction OCv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[67]))and(M[67]>=1)and(Ocv())endfunctionfunction Odv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Ofv takes nothing returns booleanreturn(RectContainsUnit(La,GetConstructingStructure()))endfunctionfunction OFv takes nothing returns booleanreturn(M[68]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Ofv())endfunctionfunction Ogv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Sa),bj_UNIT_FACING)call ForceRemovePlayer(P[68],GetTriggerPlayer())set M[68]=(M[68]+1)endfunctionfunction Ohv takes nothing returns booleanreturn(RectContainsUnit(La,GetConstructingStructure()))endfunctionfunction OHv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[68]))and(M[68]>=1)and(Ohv())endfunctionfunction Ojv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Okv takes nothing returns booleanreturn(M[69]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Pa,GetConstructingStructure()))endfunctionfunction OKv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ta),bj_UNIT_FACING)call ForceRemovePlayer(P[69],GetTriggerPlayer())set M[69]=(M[69]+1)endfunctionfunction OLv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[69]))and(M[69]>=1)and(RectContainsUnit(Pa,GetConstructingStructure()))endfunctionfunction Omv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Opv takes nothing returns booleanreturn(M[70]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(ma,GetConstructingStructure()))endfunctionfunction OPv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ta),bj_UNIT_FACING)call ForceRemovePlayer(P[70],GetTriggerPlayer())set M[70]=(M[70]+1)endfunctionfunction OQv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[70]))and(M[70]>=1)and(RectContainsUnit(ma,GetConstructingStructure()))endfunctionfunction Osv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Otv takes nothing returns booleanreturn(RectContainsUnit(ua,GetConstructingStructure()))or(RectContainsUnit(Ua,GetConstructingStructure()))endfunctionfunction OTv takes nothing returns booleanreturn(M[71]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Otv())endfunctionfunction Ouv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(wa),bj_UNIT_FACING)call ForceRemovePlayer(P[71],GetTriggerPlayer())set M[71]=(M[71]+1)endfunctionfunction Owv takes nothing returns booleanreturn(RectContainsUnit(ua,GetConstructingStructure()))or(RectContainsUnit(Ua,GetConstructingStructure()))endfunctionfunction OWv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[71]))and(M[71]>=1)and(Owv())endfunctionfunction Oyv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Ozv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction OZv takes nothing returns booleanreturn(Ozv())endfunctionfunction O_v takes nothing returns booleanreturn(RectContainsUnit(on,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction O0v takes nothing returns booleanreturn(RectContainsUnit(Wa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction O1v takes nothing returns booleanreturn(RectContainsUnit(ua,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction O2v takes nothing returns nothingcall ForceAddPlayer(P[72],GetEnumPlayer())call ForceRemovePlayer(P[72],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction O3v takes nothing returns booleanreturn(RectContainsUnit(Wa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction O4v takes nothing returns nothingcall ForceRemovePlayer(P[72],GetEnumPlayer())endfunctionfunction O5v takes nothing returns booleanreturn(RectContainsUnit(Wa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction O6v takes nothing returns booleanreturn(RectContainsUnit(Wa,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction O7v takes nothing returns booleanreturn(RectContainsUnit(Ya,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction O8v takes nothing returns booleanreturn(RectContainsUnit(Ya,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction O9v takes nothing returns nothingcall ForceAddPlayer(P[73],GetEnumPlayer())call ForceRemovePlayer(P[73],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Rvv takes nothing returns booleanreturn(RectContainsUnit(Ya,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Rev takes nothing returns nothingcall ForceRemovePlayer(P[73],GetEnumPlayer())endfunctionfunction Rxv takes nothing returns booleanreturn(RectContainsUnit(Ya,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Rov takes nothing returns booleanreturn(RectContainsUnit(Ya,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Rrv takes nothing returns booleanreturn(RectContainsUnit(Za,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Riv takes nothing returns booleanreturn(RectContainsUnit(Za,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Rav takes nothing returns nothingcall ForceAddPlayer(P[74],GetEnumPlayer())call ForceRemovePlayer(P[74],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Rnv takes nothing returns booleanreturn(RectContainsUnit(Za,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction RVv takes nothing returns nothingcall ForceRemovePlayer(P[74],GetEnumPlayer())endfunctionfunction REv takes nothing returns booleanreturn(RectContainsUnit(Za,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction RXv takes nothing returns booleanreturn(RectContainsUnit(Za,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction ROv takes nothing returns booleanreturn(RectContainsUnit(en,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction RRv takes nothing returns booleanreturn(RectContainsUnit(en,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction RIv takes nothing returns nothingcall ForceAddPlayer(P[75],GetEnumPlayer())call ForceRemovePlayer(P[75],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction RAv takes nothing returns booleanreturn(RectContainsUnit(en,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction RNv takes nothing returns nothingcall ForceRemovePlayer(P[75],GetEnumPlayer())endfunctionfunction Rbv takes nothing returns booleanreturn(RectContainsUnit(en,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction RBv takes nothing returns booleanreturn(RectContainsUnit(en,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Rcv takes nothing returns booleanreturn(RectContainsUnit(on,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction RCv takes nothing returns nothingcall ForceAddPlayer(P[76],GetEnumPlayer())call ForceRemovePlayer(P[76],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Rdv takes nothing returns booleanreturn(RectContainsUnit(on,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction RDv takes nothing returns nothingcall ForceRemovePlayer(P[76],GetEnumPlayer())endfunctionfunction Rfv takes nothing returns booleanreturn(RectContainsUnit(on,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction RFv takes nothing returns booleanreturn(RectContainsUnit(on,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Rgv takes nothing returns booleanreturn(RectContainsUnit(in,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction RGv takes nothing returns booleanreturn(RectContainsUnit(in,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Rhv takes nothing returns nothingcall ForceAddPlayer(P[77],GetEnumPlayer())call ForceRemovePlayer(P[77],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction RHv takes nothing returns booleanreturn(RectContainsUnit(in,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Rjv takes nothing returns nothingcall ForceRemovePlayer(P[77],GetEnumPlayer())endfunctionfunction RJv takes nothing returns booleanreturn(RectContainsUnit(in,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Rkv takes nothing returns booleanreturn(RectContainsUnit(in,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction RKv takes nothing returns booleanreturn(RectContainsUnit(nn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Rlv takes nothing returns booleanreturn(RectContainsUnit(nn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction RLv takes nothing returns nothingcall ForceAddPlayer(P[78],GetEnumPlayer())call ForceRemovePlayer(P[78],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Rmv takes nothing returns booleanreturn(RectContainsUnit(nn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction RMv takes nothing returns nothingcall ForceRemovePlayer(P[78],GetEnumPlayer())endfunctionfunction Rpv takes nothing returns booleanreturn(RectContainsUnit(nn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction RPv takes nothing returns booleanreturn(RectContainsUnit(nn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Rqv takes nothing returns booleanreturn(RectContainsUnit(Vn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction RQv takes nothing returns booleanreturn(RectContainsUnit(Vn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Rsv takes nothing returns nothingcall ForceAddPlayer(P[79],GetEnumPlayer())call ForceRemovePlayer(P[79],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction RSv takes nothing returns booleanreturn(RectContainsUnit(Vn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Rtv takes nothing returns nothingcall ForceRemovePlayer(P[79],GetEnumPlayer())endfunctionfunction RTv takes nothing returns booleanreturn(RectContainsUnit(Vn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ruv takes nothing returns booleanreturn(RectContainsUnit(En,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction RUv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Rwv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction RWv takes nothing returns nothingcall ForceAddPlayer(P[80],GetEnumPlayer())call ForceRemovePlayer(P[80],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Ryv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction RYv takes nothing returns nothingcall ForceRemovePlayer(P[80],GetEnumPlayer())endfunctionfunction Rzv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction RZv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction R_v takes nothing returns booleanreturn(RectContainsUnit(Rn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction R0v takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)and(RectContainsUnit(Rn,GetSpellAbilityUnit()))endfunctionfunction R1v takes nothing returns nothingcall ForceAddPlayer(P[81],GetEnumPlayer())call ForceRemovePlayer(P[81],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction R2v takes nothing returns booleanreturn(RectContainsUnit(Rn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction R3v takes nothing returns nothingcall ForceRemovePlayer(P[81],GetEnumPlayer())endfunctionfunction R4v takes nothing returns booleanreturn(RectContainsUnit(Rn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction R5v takes nothing returns booleanreturn(RectContainsUnit(Rn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction R6v takes nothing returns booleanreturn(RectContainsUnit(In,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction R7v takes nothing returns booleanreturn(RectContainsUnit(In,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction R8v takes nothing returns nothingcall ForceAddPlayer(P[82],GetEnumPlayer())call ForceRemovePlayer(P[82],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction R9v takes nothing returns booleanreturn(RectContainsUnit(In,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Ivv takes nothing returns nothingcall ForceRemovePlayer(P[82],GetEnumPlayer())endfunctionfunction Iev takes nothing returns booleanreturn(RectContainsUnit(In,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ixv takes nothing returns booleanreturn(RectContainsUnit(In,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Iov takes nothing returns booleanreturn(RectContainsUnit(bn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Irv takes nothing returns booleanreturn(RectContainsUnit(bn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Iiv takes nothing returns nothingcall ForceAddPlayer(P[83],GetEnumPlayer())call ForceRemovePlayer(P[83],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Iav takes nothing returns booleanreturn(RectContainsUnit(bn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Inv takes nothing returns nothingcall ForceRemovePlayer(P[83],GetEnumPlayer())endfunctionfunction IVv takes nothing returns booleanreturn(RectContainsUnit(bn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction IEv takes nothing returns booleanreturn(RectContainsUnit(bn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction IXv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction IOv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction IRv takes nothing returns nothingcall ForceAddPlayer(P[84],GetEnumPlayer())call ForceRemovePlayer(P[84],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction IIv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction IAv takes nothing returns nothingcall ForceRemovePlayer(P[84],GetEnumPlayer())endfunctionfunction INv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ibv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction IBv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Icv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction ICv takes nothing returns nothingcall ForceAddPlayer(P[84],GetEnumPlayer())call ForceRemovePlayer(P[84],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Idv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction IDv takes nothing returns nothingcall ForceRemovePlayer(P[84],GetEnumPlayer())endfunctionfunction Ifv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction IFv takes nothing returns booleanreturn(RectContainsUnit(cn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Igv takes nothing returns booleanreturn(RectContainsUnit(dn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction IGv takes nothing returns booleanreturn(RectContainsUnit(dn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Ihv takes nothing returns nothingcall ForceAddPlayer(P[85],GetEnumPlayer())call ForceRemovePlayer(P[85],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction IHv takes nothing returns booleanreturn(RectContainsUnit(dn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Ijv takes nothing returns nothingcall ForceRemovePlayer(P[85],GetEnumPlayer())endfunctionfunction IJv takes nothing returns booleanreturn(RectContainsUnit(dn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ikv takes nothing returns booleanreturn(RectContainsUnit(dn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction IKv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Ilv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction ILv takes nothing returns nothingcall ForceAddPlayer(P[86],GetEnumPlayer())call ForceRemovePlayer(P[86],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Imv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction IMv takes nothing returns nothingcall ForceRemovePlayer(P[86],GetEnumPlayer())endfunctionfunction Ipv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction IPv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Iqv takes nothing returns nothingif(O_v())thencall ForceAddPlayer(P[76],GetOwningPlayer(GetSpellTargetUnit()))endifif(O0v())thencall ForceRemovePlayer(P[72],GetOwningPlayer(GetSpellTargetUnit()))endifif(O1v())thencall ForceAddPlayer(P[72],GetOwningPlayer(GetSpellTargetUnit()))endifif(O3v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function O2v)endifif(O5v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function O4v)endifif(O6v())thenset M[72]=0call KillUnit(GetSpellAbilityUnit())endifif(O7v())thencall ForceRemovePlayer(P[73],GetOwningPlayer(GetSpellTargetUnit()))endifif(O8v())thencall ForceAddPlayer(P[73],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rvv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function O9v)endifif(Rxv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rev)endifif(Rov())thenset M[73]=0call KillUnit(GetSpellAbilityUnit())endifif(Rrv())thencall ForceRemovePlayer(P[74],GetOwningPlayer(GetSpellTargetUnit()))endifif(Riv())thencall ForceAddPlayer(P[74],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rnv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rav)endifif(REv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RVv)endifif(RXv())thenset M[74]=0call KillUnit(GetSpellAbilityUnit())endifif(ROv())thencall ForceRemovePlayer(P[75],GetOwningPlayer(GetSpellTargetUnit()))endifif(RRv())thencall ForceAddPlayer(P[75],GetOwningPlayer(GetSpellTargetUnit()))endifif(RAv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RIv)endifif(Rbv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RNv)endifif(RBv())thenset M[75]=0call KillUnit(GetSpellAbilityUnit())endifif(Rcv())thencall ForceRemovePlayer(P[76],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rdv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RCv)endifif(Rfv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RDv)endifif(RFv())thenset M[76]=0call KillUnit(GetSpellAbilityUnit())endifif(Rgv())thencall ForceRemovePlayer(P[77],GetOwningPlayer(GetSpellTargetUnit()))endifif(RGv())thencall ForceAddPlayer(P[77],GetOwningPlayer(GetSpellTargetUnit()))endifif(RHv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rhv)endifif(RJv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rjv)endifif(Rkv())thenset M[77]=0call KillUnit(GetSpellAbilityUnit())endifif(RKv())thencall ForceRemovePlayer(P[78],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rlv())thencall ForceAddPlayer(P[78],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rmv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RLv)endifif(Rpv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RMv)endifif(RPv())thenset M[78]=0call KillUnit(GetSpellAbilityUnit())endifif(Rqv())thencall ForceRemovePlayer(P[79],GetOwningPlayer(GetSpellTargetUnit()))endifif(RQv())thencall ForceAddPlayer(P[79],GetOwningPlayer(GetSpellTargetUnit()))endifif(RSv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rsv)endifif(RTv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Rtv)endifif(Ruv())thenset M[79]=0call KillUnit(GetSpellAbilityUnit())endifif(RUv())thencall ForceRemovePlayer(P[80],GetOwningPlayer(GetSpellTargetUnit()))endifif(Rwv())thencall ForceAddPlayer(P[80],GetOwningPlayer(GetSpellTargetUnit()))endifif(Ryv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RWv)endifif(Rzv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function RYv)endifif(RZv())thenset M[80]=0call KillUnit(GetSpellAbilityUnit())endifif(R_v())thencall ForceRemovePlayer(P[81],GetOwningPlayer(GetSpellTargetUnit()))endifif(R0v())thencall ForceAddPlayer(P[81],GetOwningPlayer(GetSpellTargetUnit()))endifif(R2v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function R1v)endifif(R4v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function R3v)endifif(R5v())thenset M[81]=0call KillUnit(GetSpellAbilityUnit())endifif(R6v())thencall ForceRemovePlayer(P[82],GetOwningPlayer(GetSpellTargetUnit()))endifif(R7v())thencall ForceAddPlayer(P[82],GetOwningPlayer(GetSpellTargetUnit()))endifif(R9v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function R8v)endifif(Iev())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Ivv)endifif(Ixv())thenset M[82]=0call KillUnit(GetSpellAbilityUnit())endifif(Iov())thencall ForceRemovePlayer(P[83],GetOwningPlayer(GetSpellTargetUnit()))endifif(Irv())thencall ForceAddPlayer(P[83],GetOwningPlayer(GetSpellTargetUnit()))endifif(Iav())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Iiv)endifif(IVv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Inv)endifif(IEv())thenset M[83]=0call KillUnit(GetSpellAbilityUnit())endifif(IXv())thencall ForceRemovePlayer(P[84],GetOwningPlayer(GetSpellTargetUnit()))endifif(IOv())thencall ForceAddPlayer(P[84],GetOwningPlayer(GetSpellTargetUnit()))endifif(IIv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function IRv)endifif(INv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function IAv)endifif(Ibv())thenset M[84]=0call KillUnit(GetSpellAbilityUnit())endifif(IBv())thencall ForceRemovePlayer(P[84],GetOwningPlayer(GetSpellTargetUnit()))endifif(Icv())thencall ForceAddPlayer(P[84],GetOwningPlayer(GetSpellTargetUnit()))endifif(Idv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function ICv)endifif(Ifv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function IDv)endifif(IFv())thenset M[84]=0call KillUnit(GetSpellAbilityUnit())endifif(Igv())thencall ForceRemovePlayer(P[85],GetOwningPlayer(GetSpellTargetUnit()))endifif(IGv())thencall ForceAddPlayer(P[85],GetOwningPlayer(GetSpellTargetUnit()))endifif(IHv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Ihv)endifif(IJv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Ijv)endifif(Ikv())thenset M[85]=0call KillUnit(GetSpellAbilityUnit())endifif(IKv())thencall ForceRemovePlayer(P[86],GetOwningPlayer(GetSpellTargetUnit()))endifif(Ilv())thencall ForceAddPlayer(P[86],GetOwningPlayer(GetSpellTargetUnit()))endifif(Imv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function ILv)endifif(Ipv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function IMv)endifif(IPv())thenset M[86]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction Isv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction ISv takes nothing returns booleanreturn(Isv())endfunctionfunction Itv takes nothing returns booleanreturn(RectContainsUnit(gn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ITv takes nothing returns booleanreturn(RectContainsUnit(gn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Iuv takes nothing returns nothingcall ForceAddPlayer(P[87],GetEnumPlayer())call ForceRemovePlayer(P[87],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction IUv takes nothing returns booleanreturn(RectContainsUnit(gn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Iwv takes nothing returns nothingcall ForceRemovePlayer(P[87],GetEnumPlayer())endfunctionfunction IWv takes nothing returns booleanreturn(RectContainsUnit(gn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Iyv takes nothing returns booleanreturn(RectContainsUnit(gn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction IYv takes nothing returns booleanreturn(RectContainsUnit(hn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Izv takes nothing returns booleanreturn(RectContainsUnit(hn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction IZv takes nothing returns nothingcall ForceAddPlayer(P[88],GetEnumPlayer())call ForceRemovePlayer(P[88],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction I_v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction I0v takes nothing returns nothingcall ForceRemovePlayer(P[88],GetEnumPlayer())endfunctionfunction I1v takes nothing returns booleanreturn(RectContainsUnit(hn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction I2v takes nothing returns booleanreturn(RectContainsUnit(Hn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction I3v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction I4v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction I5v takes nothing returns nothingcall ForceAddPlayer(P[89],GetEnumPlayer())call ForceRemovePlayer(P[89],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction I6v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction I7v takes nothing returns nothingcall ForceRemovePlayer(P[89],GetEnumPlayer())endfunctionfunction I8v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction I9v takes nothing returns booleanreturn(RectContainsUnit(jn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Avv takes nothing returns booleanreturn(RectContainsUnit(kn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Aev takes nothing returns booleanreturn(RectContainsUnit(kn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Axv takes nothing returns nothingcall ForceAddPlayer(P[90],GetEnumPlayer())call ForceRemovePlayer(P[90],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Aov takes nothing returns booleanreturn(RectContainsUnit(kn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Arv takes nothing returns nothingcall ForceRemovePlayer(P[90],GetEnumPlayer())endfunctionfunction Aiv takes nothing returns booleanreturn(RectContainsUnit(kn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Aav takes nothing returns booleanreturn(RectContainsUnit(kn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Anv takes nothing returns booleanreturn(RectContainsUnit(ln,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction AVv takes nothing returns booleanreturn(RectContainsUnit(ln,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction AEv takes nothing returns nothingcall ForceAddPlayer(P[91],GetEnumPlayer())call ForceRemovePlayer(P[91],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction AXv takes nothing returns booleanreturn(RectContainsUnit(ln,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction AOv takes nothing returns nothingcall ForceRemovePlayer(P[91],GetEnumPlayer())endfunctionfunction ARv takes nothing returns booleanreturn(RectContainsUnit(ln,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction AIv takes nothing returns booleanreturn(RectContainsUnit(ln,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction AAv takes nothing returns booleanreturn(RectContainsUnit(mn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ANv takes nothing returns booleanreturn(RectContainsUnit(mn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Abv takes nothing returns nothingcall ForceAddPlayer(P[92],GetEnumPlayer())call ForceRemovePlayer(P[92],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction ABv takes nothing returns booleanreturn(RectContainsUnit(mn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Acv takes nothing returns nothingcall ForceRemovePlayer(P[92],GetEnumPlayer())endfunctionfunction ACv takes nothing returns booleanreturn(RectContainsUnit(mn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Adv takes nothing returns booleanreturn(RectContainsUnit(mn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction ADv takes nothing returns booleanreturn(RectContainsUnit(pn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Afv takes nothing returns booleanreturn(RectContainsUnit(pn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction AFv takes nothing returns nothingcall ForceAddPlayer(P[93],GetEnumPlayer())call ForceRemovePlayer(P[93],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Agv takes nothing returns booleanreturn(RectContainsUnit(pn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction AGv takes nothing returns nothingcall ForceRemovePlayer(P[93],GetEnumPlayer())endfunctionfunction Ahv takes nothing returns booleanreturn(RectContainsUnit(pn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction AHv takes nothing returns booleanreturn(RectContainsUnit(pn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Ajv takes nothing returns booleanreturn(RectContainsUnit(qn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction AJv takes nothing returns booleanreturn(RectContainsUnit(qn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Akv takes nothing returns nothingcall ForceAddPlayer(P[94],GetEnumPlayer())call ForceRemovePlayer(P[94],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction AKv takes nothing returns booleanreturn(RectContainsUnit(qn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Alv takes nothing returns nothingcall ForceRemovePlayer(P[94],GetEnumPlayer())endfunctionfunction ALv takes nothing returns booleanreturn(RectContainsUnit(qn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Amv takes nothing returns booleanreturn(RectContainsUnit(qn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction AMv takes nothing returns booleanreturn(RectContainsUnit(sn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Apv takes nothing returns booleanreturn(RectContainsUnit(sn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction APv takes nothing returns nothingcall ForceAddPlayer(P[95],GetEnumPlayer())call ForceRemovePlayer(P[95],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Aqv takes nothing returns booleanreturn(RectContainsUnit(sn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction AQv takes nothing returns nothingcall ForceRemovePlayer(P[95],GetEnumPlayer())endfunctionfunction Asv takes nothing returns booleanreturn(RectContainsUnit(sn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction ASv takes nothing returns booleanreturn(RectContainsUnit(sn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Atv takes nothing returns booleanreturn(RectContainsUnit(tn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction ATv takes nothing returns booleanreturn(RectContainsUnit(tn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Auv takes nothing returns nothingcall ForceAddPlayer(P[96],GetEnumPlayer())call ForceRemovePlayer(P[96],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction AUv takes nothing returns booleanreturn(RectContainsUnit(fn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Awv takes nothing returns nothingcall ForceRemovePlayer(P[96],GetEnumPlayer())endfunctionfunction AWv takes nothing returns booleanreturn(RectContainsUnit(tn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ayv takes nothing returns booleanreturn(RectContainsUnit(tn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction AYv takes nothing returns booleanreturn(RectContainsUnit(un,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Azv takes nothing returns booleanreturn(RectContainsUnit(Un,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction AZv takes nothing returns nothingcall ForceAddPlayer(P[97],GetEnumPlayer())call ForceRemovePlayer(P[97],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction A_v takes nothing returns booleanreturn(RectContainsUnit(un,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction A0v takes nothing returns nothingcall ForceRemovePlayer(P[97],GetEnumPlayer())endfunctionfunction A1v takes nothing returns booleanreturn(RectContainsUnit(un,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction A2v takes nothing returns booleanreturn(RectContainsUnit(un,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction A3v takes nothing returns booleanreturn(RectContainsUnit(IV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction A4v takes nothing returns booleanreturn(RectContainsUnit(IV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction A5v takes nothing returns nothingcall ForceAddPlayer(P[98],GetEnumPlayer())call ForceRemovePlayer(P[98],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction A6v takes nothing returns booleanreturn(RectContainsUnit(IV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction A7v takes nothing returns nothingcall ForceRemovePlayer(P[98],GetEnumPlayer())endfunctionfunction A8v takes nothing returns booleanreturn(RectContainsUnit(IV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction A9v takes nothing returns booleanreturn(RectContainsUnit(IV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Nvv takes nothing returns booleanreturn(RectContainsUnit(wn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Nev takes nothing returns booleanreturn(RectContainsUnit(wn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Nxv takes nothing returns nothingcall ForceAddPlayer(P[99],GetEnumPlayer())call ForceRemovePlayer(P[99],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Nov takes nothing returns booleanreturn(RectContainsUnit(wn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Nrv takes nothing returns nothingcall ForceRemovePlayer(P[99],GetEnumPlayer())endfunctionfunction Niv takes nothing returns booleanreturn(RectContainsUnit(wn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Nav takes nothing returns booleanreturn(RectContainsUnit(wn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Nnv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction NVv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction NEv takes nothing returns nothingcall ForceAddPlayer(P[100],GetEnumPlayer())call ForceRemovePlayer(P[100],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction NXv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction NOv takes nothing returns nothingcall ForceRemovePlayer(P[100],GetEnumPlayer())endfunctionfunction NRv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction NIv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction NAv takes nothing returns booleanreturn(RectContainsUnit(zn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction NNv takes nothing returns booleanreturn(RectContainsUnit(zn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Nbv takes nothing returns nothingcall ForceAddPlayer(P[101],GetEnumPlayer())call ForceRemovePlayer(P[101],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction NBv takes nothing returns booleanreturn(RectContainsUnit(yn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Ncv takes nothing returns nothingcall ForceRemovePlayer(P[101],GetEnumPlayer())endfunctionfunction NCv takes nothing returns booleanreturn(RectContainsUnit(zn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Ndv takes nothing returns booleanreturn(RectContainsUnit(zn,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction NDv takes nothing returns nothingif(Itv())thencall ForceRemovePlayer(P[87],GetOwningPlayer(GetSpellTargetUnit()))endifif(ITv())thencall ForceAddPlayer(P[87],GetOwningPlayer(GetSpellTargetUnit()))endifif(IUv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Iuv)endifif(IWv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Iwv)endifif(Iyv())thenset M[87]=0call KillUnit(GetSpellAbilityUnit())endifif(IYv())thencall ForceRemovePlayer(P[88],GetOwningPlayer(GetSpellTargetUnit()))endifif(Izv())thencall ForceAddPlayer(P[88],GetOwningPlayer(GetSpellTargetUnit()))endifif(I_v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function IZv)endifif(I1v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function I0v)endifif(I2v())thenset M[88]=0call KillUnit(GetSpellAbilityUnit())endifif(I3v())thencall ForceRemovePlayer(P[89],GetOwningPlayer(GetSpellTargetUnit()))endifif(I4v())thencall ForceAddPlayer(P[89],GetOwningPlayer(GetSpellTargetUnit()))endifif(I6v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function I5v)endifif(I8v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function I7v)endifif(I9v())thenset M[89]=0call KillUnit(GetSpellAbilityUnit())endifif(Avv())thencall ForceRemovePlayer(P[90],GetOwningPlayer(GetSpellTargetUnit()))endifif(Aev())thencall ForceAddPlayer(P[90],GetOwningPlayer(GetSpellTargetUnit()))endifif(Aov())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Axv)endifif(Aiv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Arv)endifif(Aav())thenset M[90]=0call KillUnit(GetSpellAbilityUnit())endifif(Anv())thencall ForceRemovePlayer(P[91],GetOwningPlayer(GetSpellTargetUnit()))endifif(AVv())thencall ForceAddPlayer(P[91],GetOwningPlayer(GetSpellTargetUnit()))endifif(AXv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AEv)endifif(ARv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AOv)endifif(AIv())thenset M[91]=0call KillUnit(GetSpellAbilityUnit())endifif(AAv())thencall ForceRemovePlayer(P[92],GetOwningPlayer(GetSpellTargetUnit()))endifif(ANv())thencall ForceAddPlayer(P[92],GetOwningPlayer(GetSpellTargetUnit()))endifif(ABv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Abv)endifif(ACv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Acv)endifif(Adv())thenset M[92]=0call KillUnit(GetSpellAbilityUnit())endifif(ADv())thencall ForceRemovePlayer(P[93],GetOwningPlayer(GetSpellTargetUnit()))endifif(Afv())thencall ForceAddPlayer(P[93],GetOwningPlayer(GetSpellTargetUnit()))endifif(Agv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AFv)endifif(Ahv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AGv)endifif(AHv())thenset M[93]=0call KillUnit(GetSpellAbilityUnit())endifif(Ajv())thencall ForceRemovePlayer(P[94],GetOwningPlayer(GetSpellTargetUnit()))endifif(AJv())thencall ForceAddPlayer(P[94],GetOwningPlayer(GetSpellTargetUnit()))endifif(AKv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Akv)endifif(ALv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Alv)endifif(Amv())thenset M[94]=0call KillUnit(GetSpellAbilityUnit())endifif(AMv())thencall ForceRemovePlayer(P[95],GetOwningPlayer(GetSpellTargetUnit()))endifif(Apv())thencall ForceAddPlayer(P[95],GetOwningPlayer(GetSpellTargetUnit()))endifif(Aqv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function APv)endifif(Asv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AQv)endifif(ASv())thenset M[95]=0call KillUnit(GetSpellAbilityUnit())endifif(Atv())thencall ForceRemovePlayer(P[96],GetOwningPlayer(GetSpellTargetUnit()))endifif(ATv())thencall ForceAddPlayer(P[96],GetOwningPlayer(GetSpellTargetUnit()))endifif(AUv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Auv)endifif(AWv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Awv)endifif(Ayv())thenset M[96]=0call KillUnit(GetSpellAbilityUnit())endifif(AYv())thencall ForceRemovePlayer(P[97],GetOwningPlayer(GetSpellTargetUnit()))endifif(Azv())thencall ForceAddPlayer(P[97],GetOwningPlayer(GetSpellTargetUnit()))endifif(A_v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function AZv)endifif(A1v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function A0v)endifif(A2v())thenset M[97]=0call KillUnit(GetSpellAbilityUnit())endifif(A3v())thencall ForceRemovePlayer(P[98],GetOwningPlayer(GetSpellTargetUnit()))endifif(A4v())thencall ForceAddPlayer(P[98],GetOwningPlayer(GetSpellTargetUnit()))endifif(A6v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function A5v)endifif(A8v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function A7v)endifif(A9v())thenset M[98]=0call KillUnit(GetSpellAbilityUnit())endifif(Nvv())thencall ForceRemovePlayer(P[99],GetOwningPlayer(GetSpellTargetUnit()))endifif(Nev())thencall ForceAddPlayer(P[99],GetOwningPlayer(GetSpellTargetUnit()))endifif(Nov())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nxv)endifif(Niv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nrv)endifif(Nav())thenset M[99]=0call KillUnit(GetSpellAbilityUnit())endifif(Nnv())thencall ForceRemovePlayer(P[100],GetOwningPlayer(GetSpellTargetUnit()))endifif(NVv())thencall ForceAddPlayer(P[100],GetOwningPlayer(GetSpellTargetUnit()))endifif(NXv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NEv)endifif(NRv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NOv)endifif(NIv())thenset M[100]=0call KillUnit(GetSpellAbilityUnit())endifif(NAv())thencall ForceRemovePlayer(P[101],GetOwningPlayer(GetSpellTargetUnit()))endifif(NNv())thencall ForceAddPlayer(P[101],GetOwningPlayer(GetSpellTargetUnit()))endifif(NBv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nbv)endifif(NCv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Ncv)endifif(Ndv())thenset M[101]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction NFv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677647)or(GetSpellAbilityId()==1093677890)or(GetSpellAbilityId()==1093677653)or(GetSpellAbilityId()==1093677654)or(GetSpellAbilityId()==1093677655)endfunctionfunction Ngv takes nothing returns booleanreturn(NFv())endfunctionfunction NGv takes nothing returns booleanreturn(RectContainsUnit(vV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Nhv takes nothing returns booleanreturn(RectContainsUnit(vV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction NHv takes nothing returns nothingcall ForceAddPlayer(P[102],GetEnumPlayer())call ForceRemovePlayer(P[102],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Njv takes nothing returns booleanreturn(RectContainsUnit(vV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction NJv takes nothing returns nothingcall ForceRemovePlayer(P[102],GetEnumPlayer())endfunctionfunction Nkv takes nothing returns booleanreturn(RectContainsUnit(vV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction NKv takes nothing returns booleanreturn(RectContainsUnit(vV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Nlv takes nothing returns booleanreturn(RectContainsUnit(xV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction NLv takes nothing returns booleanreturn(RectContainsUnit(xV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Nmv takes nothing returns nothingcall ForceAddPlayer(P[103],GetEnumPlayer())call ForceRemovePlayer(P[103],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction NMv takes nothing returns booleanreturn(RectContainsUnit(xV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Npv takes nothing returns nothingcall ForceRemovePlayer(P[103],GetEnumPlayer())endfunctionfunction NPv takes nothing returns booleanreturn(RectContainsUnit(xV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction Nqv takes nothing returns booleanreturn(RectContainsUnit(xV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction NQv takes nothing returns booleanreturn(RectContainsUnit(iV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction Nsv takes nothing returns booleanreturn(RectContainsUnit(iV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction NSv takes nothing returns nothingcall ForceAddPlayer(P[104],GetEnumPlayer())call ForceRemovePlayer(P[104],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction Ntv takes nothing returns booleanreturn(RectContainsUnit(iV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction NTv takes nothing returns nothingcall ForceRemovePlayer(P[104],GetEnumPlayer())endfunctionfunction Nuv takes nothing returns booleanreturn(RectContainsUnit(iV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction NUv takes nothing returns booleanreturn(RectContainsUnit(iV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction Nwv takes nothing returns booleanreturn(RectContainsUnit(nV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction NWv takes nothing returns booleanreturn(RectContainsUnit(nV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction Nyv takes nothing returns nothingcall ForceAddPlayer(P[105],GetEnumPlayer())call ForceRemovePlayer(P[105],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction NYv takes nothing returns booleanreturn(RectContainsUnit(nV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction Nzv takes nothing returns nothingcall ForceRemovePlayer(P[105],GetEnumPlayer())endfunctionfunction NZv takes nothing returns booleanreturn(RectContainsUnit(VV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction N_v takes nothing returns booleanreturn(RectContainsUnit(nV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction N0v takes nothing returns booleanreturn(RectContainsUnit(EV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction N1v takes nothing returns nothingcall ForceAddPlayer(P[106],GetEnumPlayer())call ForceRemovePlayer(P[106],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction N2v takes nothing returns booleanreturn(RectContainsUnit(EV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction N3v takes nothing returns booleanreturn(RectContainsUnit(EV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction N4v takes nothing returns nothingcall ForceRemovePlayer(P[106],GetEnumPlayer())endfunctionfunction N5v takes nothing returns booleanreturn(RectContainsUnit(EV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction N6v takes nothing returns booleanreturn(RectContainsUnit(EV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction N7v takes nothing returns booleanreturn(RectContainsUnit(OV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction N8v takes nothing returns booleanreturn(RectContainsUnit(OV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction N9v takes nothing returns nothingcall ForceAddPlayer(P[107],GetEnumPlayer())call ForceRemovePlayer(P[107],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction bvv takes nothing returns booleanreturn(RectContainsUnit(OV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction bev takes nothing returns nothingcall ForceRemovePlayer(P[107],GetEnumPlayer())endfunctionfunction bxv takes nothing returns booleanreturn(RectContainsUnit(OV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction bov takes nothing returns booleanreturn(RectContainsUnit(OV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction brv takes nothing returns booleanreturn(RectContainsUnit(zV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677890)endfunctionfunction biv takes nothing returns booleanreturn(RectContainsUnit(zV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677647)endfunctionfunction bav takes nothing returns nothingcall ForceAddPlayer(P[108],GetEnumPlayer())call ForceRemovePlayer(P[108],GetOwningPlayer(GetSpellAbilityUnit()))endfunctionfunction bnv takes nothing returns booleanreturn(RectContainsUnit(zV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677654)endfunctionfunction bVv takes nothing returns nothingcall ForceRemovePlayer(P[108],GetEnumPlayer())endfunctionfunction bEv takes nothing returns booleanreturn(RectContainsUnit(zV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677653)endfunctionfunction bXv takes nothing returns booleanreturn(RectContainsUnit(zV,GetSpellAbilityUnit()))and(GetSpellAbilityId()==1093677655)endfunctionfunction bOv takes nothing returns nothingif(NGv())thencall ForceRemovePlayer(P[102],GetOwningPlayer(GetSpellTargetUnit()))endifif(Nhv())thencall ForceAddPlayer(P[102],GetOwningPlayer(GetSpellTargetUnit()))endifif(Njv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NHv)endifif(Nkv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NJv)endifif(NKv())thenset M[102]=0call KillUnit(GetSpellAbilityUnit())endifif(Nlv())thencall ForceRemovePlayer(P[103],GetOwningPlayer(GetSpellTargetUnit()))endifif(NLv())thencall ForceAddPlayer(P[103],GetOwningPlayer(GetSpellTargetUnit()))endifif(NMv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nmv)endifif(NPv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Npv)endifif(Nqv())thenset M[103]=0call KillUnit(GetSpellAbilityUnit())endifif(NQv())thencall ForceRemovePlayer(P[104],GetOwningPlayer(GetSpellTargetUnit()))endifif(Nsv())thencall ForceAddPlayer(P[104],GetOwningPlayer(GetSpellTargetUnit()))endifif(Ntv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NSv)endifif(Nuv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function NTv)endifif(NUv())thenset M[104]=0call KillUnit(GetSpellAbilityUnit())endifif(Nwv())thencall ForceRemovePlayer(P[105],GetOwningPlayer(GetSpellTargetUnit()))endifif(NWv())thencall ForceAddPlayer(P[105],GetOwningPlayer(GetSpellTargetUnit()))endifif(NYv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nyv)endifif(NZv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function Nzv)endifif(N_v())thenset M[105]=0call KillUnit(GetSpellAbilityUnit())endifif(N0v())thencall ForceRemovePlayer(P[106],GetOwningPlayer(GetSpellTargetUnit()))endifif(N2v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function N1v)endifif(N3v())thencall ForceAddPlayer(P[106],GetOwningPlayer(GetSpellTargetUnit()))endifif(N5v())thencall ForForce(bj_FORCE_ALL_PLAYERS,function N4v)endifif(N6v())thenset M[106]=0call KillUnit(GetSpellAbilityUnit())endifif(N7v())thencall ForceRemovePlayer(P[107],GetOwningPlayer(GetSpellTargetUnit()))endifif(N8v())thencall ForceAddPlayer(P[107],GetOwningPlayer(GetSpellTargetUnit()))endifif(bvv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function N9v)endifif(bxv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function bev)endifif(bov())thenset M[107]=0call KillUnit(GetSpellAbilityUnit())endifif(brv())thencall ForceRemovePlayer(P[108],GetOwningPlayer(GetSpellTargetUnit()))endifif(biv())thencall ForceAddPlayer(P[108],GetOwningPlayer(GetSpellTargetUnit()))endifif(bnv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function bav)endifif(bEv())thencall ForForce(bj_FORCE_ALL_PLAYERS,function bVv)endifif(bXv())thenset M[108]=0call KillUnit(GetSpellAbilityUnit())endifendfunctionfunction bIv takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1747988557)endfunctionfunction bAv takes nothing returns nothingcall ForceAddPlayer(P[72],GetEnumPlayer())endfunctionfunction bNv takes nothing returns booleanreturn(RectContainsUnit(Wa,GetDyingUnit()))endfunctionfunction bbv takes nothing returns nothingcall ForceAddPlayer(P[73],GetEnumPlayer())endfunctionfunction bBv takes nothing returns booleanreturn(RectContainsUnit(Ya,GetDyingUnit()))endfunctionfunction bcv takes nothing returns nothingcall ForceAddPlayer(P[74],GetEnumPlayer())endfunctionfunction bCv takes nothing returns booleanreturn(RectContainsUnit(Za,GetDyingUnit()))endfunctionfunction bdv takes nothing returns nothingcall ForceAddPlayer(P[75],GetEnumPlayer())endfunctionfunction bDv takes nothing returns booleanreturn(RectContainsUnit(en,GetDyingUnit()))endfunctionfunction bfv takes nothing returns nothingcall ForceAddPlayer(P[76],GetEnumPlayer())endfunctionfunction bFv takes nothing returns booleanreturn(RectContainsUnit(on,GetDyingUnit()))endfunctionfunction bgv takes nothing returns nothingcall ForceAddPlayer(P[77],GetEnumPlayer())endfunctionfunction bGv takes nothing returns booleanreturn(RectContainsUnit(in,GetDyingUnit()))endfunctionfunction bhv takes nothing returns nothingcall ForceAddPlayer(P[78],GetEnumPlayer())endfunctionfunction bHv takes nothing returns booleanreturn(RectContainsUnit(nn,GetDyingUnit()))endfunctionfunction bjv takes nothing returns nothingcall ForceAddPlayer(P[79],GetEnumPlayer())endfunctionfunction bJv takes nothing returns booleanreturn(RectContainsUnit(Vn,GetDyingUnit()))endfunctionfunction bkv takes nothing returns nothingcall ForceAddPlayer(P[80],GetEnumPlayer())endfunctionfunction bKv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetDyingUnit()))endfunctionfunction blv takes nothing returns nothingcall ForceAddPlayer(P[81],GetEnumPlayer())endfunctionfunction bLv takes nothing returns booleanreturn(RectContainsUnit(Rn,GetDyingUnit()))endfunctionfunction bmv takes nothing returns nothingcall ForceAddPlayer(P[82],GetEnumPlayer())endfunctionfunction bMv takes nothing returns booleanreturn(RectContainsUnit(In,GetDyingUnit()))endfunctionfunction bpv takes nothing returns nothingcall ForceAddPlayer(P[83],GetEnumPlayer())endfunctionfunction bPv takes nothing returns booleanreturn(RectContainsUnit(bn,GetDyingUnit()))endfunctionfunction bqv takes nothing returns nothingcall ForceAddPlayer(P[84],GetEnumPlayer())endfunctionfunction bQv takes nothing returns booleanreturn(RectContainsUnit(cn,GetDyingUnit()))endfunctionfunction bsv takes nothing returns nothingcall ForceAddPlayer(P[85],GetEnumPlayer())endfunctionfunction bSv takes nothing returns booleanreturn(RectContainsUnit(dn,GetDyingUnit()))endfunctionfunction btv takes nothing returns nothingcall ForceAddPlayer(P[86],GetEnumPlayer())endfunctionfunction bTv takes nothing returns booleanreturn(RectContainsUnit(fn,GetDyingUnit()))endfunctionfunction buv takes nothing returns nothingcall ForceAddPlayer(P[87],GetEnumPlayer())endfunctionfunction bUv takes nothing returns booleanreturn(RectContainsUnit(gn,GetDyingUnit()))endfunctionfunction bwv takes nothing returns nothingcall ForceAddPlayer(P[88],GetEnumPlayer())endfunctionfunction bWv takes nothing returns booleanreturn(RectContainsUnit(hn,GetDyingUnit()))endfunctionfunction byv takes nothing returns nothingcall ForceAddPlayer(P[89],GetEnumPlayer())endfunctionfunction bYv takes nothing returns booleanreturn(RectContainsUnit(jn,GetDyingUnit()))endfunctionfunction bzv takes nothing returns nothingcall ForceAddPlayer(P[90],GetEnumPlayer())endfunctionfunction bZv takes nothing returns booleanreturn(RectContainsUnit(kn,GetDyingUnit()))endfunctionfunction b_v takes nothing returns nothingcall ForceAddPlayer(P[91],GetEnumPlayer())endfunctionfunction b0v takes nothing returns booleanreturn(RectContainsUnit(ln,GetDyingUnit()))endfunctionfunction b1v takes nothing returns nothingcall ForceAddPlayer(P[92],GetEnumPlayer())endfunctionfunction b2v takes nothing returns booleanreturn(RectContainsUnit(mn,GetDyingUnit()))endfunctionfunction b3v takes nothing returns nothingcall ForceAddPlayer(P[93],GetEnumPlayer())endfunctionfunction b4v takes nothing returns booleanreturn(RectContainsUnit(pn,GetDyingUnit()))endfunctionfunction b5v takes nothing returns nothingcall ForceAddPlayer(P[94],GetEnumPlayer())endfunctionfunction b6v takes nothing returns booleanreturn(RectContainsUnit(qn,GetDyingUnit()))endfunctionfunction b7v takes nothing returns nothingcall ForceAddPlayer(P[95],GetEnumPlayer())endfunctionfunction b8v takes nothing returns booleanreturn(RectContainsUnit(sn,GetDyingUnit()))endfunctionfunction b9v takes nothing returns nothingcall ForceAddPlayer(P[96],GetEnumPlayer())endfunctionfunction Bvv takes nothing returns booleanreturn(RectContainsUnit(Tn,GetDyingUnit()))endfunctionfunction Bev takes nothing returns nothingcall ForceAddPlayer(P[97],GetEnumPlayer())endfunctionfunction Bxv takes nothing returns booleanreturn(RectContainsUnit(un,GetDyingUnit()))endfunctionfunction Bov takes nothing returns nothingcall ForceAddPlayer(P[98],GetEnumPlayer())endfunctionfunction Brv takes nothing returns booleanreturn(RectContainsUnit(AV,GetDyingUnit()))endfunctionfunction Biv takes nothing returns nothingcall ForceAddPlayer(P[99],GetEnumPlayer())endfunctionfunction Bav takes nothing returns booleanreturn(RectContainsUnit(Wn,GetDyingUnit()))endfunctionfunction Bnv takes nothing returns nothingcall ForceAddPlayer(P[100],GetEnumPlayer())endfunctionfunction BVv takes nothing returns booleanreturn(RectContainsUnit(yn,GetDyingUnit()))endfunctionfunction BEv takes nothing returns nothingcall ForceAddPlayer(P[101],GetEnumPlayer())endfunctionfunction BXv takes nothing returns booleanreturn(RectContainsUnit(zn,GetDyingUnit()))endfunctionfunction BOv takes nothing returns nothingcall ForceAddPlayer(P[101],GetEnumPlayer())endfunctionfunction BRv takes nothing returns booleanreturn(RectContainsUnit(zn,GetDyingUnit()))endfunctionfunction BIv takes nothing returns nothingcall ForceAddPlayer(P[102],GetEnumPlayer())endfunctionfunction BAv takes nothing returns booleanreturn(RectContainsUnit(vV,GetDyingUnit()))endfunctionfunction BNv takes nothing returns nothingcall ForceAddPlayer(P[103],GetEnumPlayer())endfunctionfunction Bbv takes nothing returns booleanreturn(RectContainsUnit(xV,GetDyingUnit()))endfunctionfunction BBv takes nothing returns nothingcall ForceAddPlayer(P[104],GetEnumPlayer())endfunctionfunction Bcv takes nothing returns booleanreturn(RectContainsUnit(iV,GetDyingUnit()))endfunctionfunction BCv takes nothing returns nothingcall ForceAddPlayer(P[105],GetEnumPlayer())endfunctionfunction Bdv takes nothing returns booleanreturn(RectContainsUnit(nV,GetDyingUnit()))endfunctionfunction BDv takes nothing returns nothingcall ForceAddPlayer(P[106],GetEnumPlayer())endfunctionfunction Bfv takes nothing returns booleanreturn(RectContainsUnit(EV,GetDyingUnit()))endfunctionfunction BFv takes nothing returns nothingcall ForceAddPlayer(P[107],GetEnumPlayer())endfunctionfunction Bgv takes nothing returns booleanreturn(RectContainsUnit(OV,GetDyingUnit()))endfunctionfunction BGv takes nothing returns nothingcall ForceAddPlayer(P[108],GetEnumPlayer())endfunctionfunction Bhv takes nothing returns booleanreturn(RectContainsUnit(zV,GetDyingUnit()))endfunctionfunction BHv takes nothing returns nothingif(bNv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[72]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bAv)endifif(bBv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[73]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bbv)endifif(bCv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[74]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bcv)endifif(bDv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[75]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bdv)endifif(bFv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[76]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bfv)endifif(bGv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[77]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bgv)endifif(bHv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[78]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bhv)endifif(bJv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[79]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bjv)endifif(bKv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[80]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bkv)endifif(bLv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[81]=0call ForForce(bj_FORCE_ALL_PLAYERS,function blv)endifif(bMv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[82]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bmv)endifif(bPv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[83]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bpv)endifif(bQv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[84]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bqv)endifif(bSv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[85]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bsv)endifif(bTv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[86]=0call ForForce(bj_FORCE_ALL_PLAYERS,function btv)endifif(bUv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[87]=0call ForForce(bj_FORCE_ALL_PLAYERS,function buv)endifif(bWv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[88]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bwv)endifif(bYv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[89]=0call ForForce(bj_FORCE_ALL_PLAYERS,function byv)endifif(bZv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[90]=0call ForForce(bj_FORCE_ALL_PLAYERS,function bzv)endifif(b0v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[91]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b_v)endifif(b2v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[92]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b1v)endifif(b4v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[93]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b3v)endifif(b6v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[94]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b5v)endifif(b8v())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[95]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b7v)endifif(Bvv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[96]=0call ForForce(bj_FORCE_ALL_PLAYERS,function b9v)endifif(Bxv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[97]=0call ForForce(bj_FORCE_ALL_PLAYERS,function Bev)endifif(Brv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[98]=0call ForForce(bj_FORCE_ALL_PLAYERS,function Bov)endifif(Bav())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[99]=0call ForForce(bj_FORCE_ALL_PLAYERS,function Biv)endifif(BVv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[100]=0call ForForce(bj_FORCE_ALL_PLAYERS,function Bnv)endifif(BXv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[101]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BEv)endifif(BRv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[101]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BOv)endifif(BAv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[102]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BIv)endifif(Bbv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[103]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BNv)endifif(Bcv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[104]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BBv)endifif(Bdv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[105]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BCv)endifif(Bfv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[106]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BDv)endifif(Bgv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[107]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BFv)endifif(Bhv())thenset Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Q[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)set M[108]=0call ForForce(bj_FORCE_ALL_PLAYERS,function BGv)endifendfunctionfunction BJv takes nothing returns nothingset bj_forLoopAIndex=108set bj_forLoopAIndexEnd=108loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall ForceAddPlayer(P[bj_forLoopAIndex],GetEnumPlayer())set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Bkv takes nothing returns nothingcall ForForce(bj_FORCE_ALL_PLAYERS,function BJv)endfunctionfunction Blv takes nothing returns booleanreturn(RectContainsUnit(Wa,GetConstructingStructure()))endfunctionfunction BLv takes nothing returns booleanreturn(RectContainsUnit(bV,GetConstructingStructure()))endfunctionfunction Bmv takes nothing returns booleanreturn(GetBooleanOr(Blv(),BLv()))and(M[72]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)endfunctionfunction BMv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(ya),bj_UNIT_FACING)call ForceRemovePlayer(P[72],GetTriggerPlayer())set M[72]=(M[72]+1)endfunctionfunction BPv takes nothing returns booleanreturn(RectContainsUnit(Wa,GetConstructingStructure()))endfunctionfunction Bqv takes nothing returns booleanreturn(RectContainsUnit(bV,GetConstructingStructure()))endfunctionfunction BQv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[72]))and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(GetBooleanOr(BPv(),Bqv()))and(M[72]>=1)endfunctionfunction Bsv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Btv takes nothing returns booleanreturn(M[73]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Ya,GetConstructingStructure()))endfunctionfunction BTv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(za),bj_UNIT_FACING)call ForceRemovePlayer(P[73],GetTriggerPlayer())set M[73]=(M[73]+1)endfunctionfunction BUv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[73]))and(RectContainsUnit(Ya,GetConstructingStructure()))and(M[73]>=1)endfunctionfunction Bwv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Byv takes nothing returns booleanreturn(RectContainsUnit(Za,GetConstructingStructure()))endfunctionfunction BYv takes nothing returns booleanreturn(M[74]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Byv())endfunctionfunction Bzv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(vn),bj_UNIT_FACING)call ForceRemovePlayer(P[74],GetTriggerPlayer())set M[74]=(M[74]+1)endfunctionfunction B_v takes nothing returns booleanreturn(RectContainsUnit(Za,GetConstructingStructure()))endfunctionfunction B0v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[74]))and(M[74]>=1)and(B_v())endfunctionfunction B1v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction B3v takes nothing returns booleanreturn(RectContainsUnit(en,GetConstructingStructure()))endfunctionfunction B4v takes nothing returns booleanreturn(M[75]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(B3v())endfunctionfunction B5v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(xn),bj_UNIT_FACING)call ForceRemovePlayer(P[75],GetTriggerPlayer())set M[75]=(M[75]+1)endfunctionfunction B7v takes nothing returns booleanreturn(RectContainsUnit(en,GetConstructingStructure()))endfunctionfunction B8v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[75]))and(M[75]>=1)and(B7v())endfunctionfunction B9v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cev takes nothing returns booleanreturn(M[76]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(on,GetConstructingStructure()))endfunctionfunction cxv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(rn),bj_UNIT_FACING)call ForceRemovePlayer(P[76],GetTriggerPlayer())set M[76]=(M[76]+1)endfunctionfunction crv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[76]))and(M[76]>=1)and(RectContainsUnit(on,GetConstructingStructure()))endfunctionfunction civ takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cnv takes nothing returns booleanreturn(RectContainsUnit(in,GetConstructingStructure()))endfunctionfunction cVv takes nothing returns booleanreturn(M[77]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(cnv())endfunctionfunction cEv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(an),bj_UNIT_FACING)call ForceRemovePlayer(P[77],GetTriggerPlayer())set M[77]=(M[77]+1)endfunctionfunction cOv takes nothing returns booleanreturn(RectContainsUnit(in,GetConstructingStructure()))endfunctionfunction cRv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[77]))and(M[77]>=1)and(cOv())endfunctionfunction cIv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cNv takes nothing returns booleanreturn(RectContainsUnit(nn,GetConstructingStructure()))endfunctionfunction cbv takes nothing returns booleanreturn(M[78]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(cNv())endfunctionfunction cBv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(NV),bj_UNIT_FACING)call ForceRemovePlayer(P[78],GetTriggerPlayer())set M[78]=(M[78]+1)endfunctionfunction cCv takes nothing returns booleanreturn(RectContainsUnit(nn,GetConstructingStructure()))endfunctionfunction cdv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[78]))and(M[78]>=1)and(cCv())endfunctionfunction cDv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cFv takes nothing returns booleanreturn(M[79]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(Vn,GetConstructingStructure()))endfunctionfunction cgv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(En),bj_UNIT_FACING)call ForceRemovePlayer(P[79],GetTriggerPlayer())set M[79]=(M[79]+1)endfunctionfunction chv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[79]))and(M[79]>=1)and(RectContainsUnit(Vn,GetConstructingStructure()))endfunctionfunction cHv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cJv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetConstructingStructure()))endfunctionfunction ckv takes nothing returns booleanreturn(M[80]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(cJv())endfunctionfunction cKv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(On),bj_UNIT_FACING)call ForceRemovePlayer(P[80],GetTriggerPlayer())set M[80]=(M[80]+1)endfunctionfunction cLv takes nothing returns booleanreturn(RectContainsUnit(Xn,GetConstructingStructure()))endfunctionfunction cmv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[80]))and(M[80]>=1)and(cLv())endfunctionfunction cMv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cPv takes nothing returns booleanreturn(RectContainsUnit(Rn,GetConstructingStructure()))endfunctionfunction cqv takes nothing returns booleanreturn(M[81]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(cPv())endfunctionfunction cQv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Nn),bj_UNIT_FACING)call ForceRemovePlayer(P[81],GetTriggerPlayer())set M[81]=(M[81]+1)endfunctionfunction cSv takes nothing returns booleanreturn(RectContainsUnit(Rn,GetConstructingStructure()))endfunctionfunction ctv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[81]))and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(M[81]>=1)and(cSv())endfunctionfunction cTv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction cUv takes nothing returns booleanreturn(RectContainsUnit(In,GetConstructingStructure()))endfunctionfunction cwv takes nothing returns booleanreturn(M[82]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(cUv())endfunctionfunction cWv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(An),bj_UNIT_FACING)call ForceRemovePlayer(P[82],GetTriggerPlayer())set M[82]=(M[82]+1)endfunctionfunction cYv takes nothing returns booleanreturn(RectContainsUnit(In,GetConstructingStructure()))endfunctionfunction czv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[82]))and(M[82]>=1)and(cYv())endfunctionfunction cZv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction c0v takes nothing returns booleanreturn(RectContainsUnit(bn,GetConstructingStructure()))endfunctionfunction c1v takes nothing returns booleanreturn(M[83]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(c0v())endfunctionfunction c2v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Bn),bj_UNIT_FACING)call ForceRemovePlayer(P[83],GetTriggerPlayer())set M[83]=(M[83]+1)endfunctionfunction c4v takes nothing returns booleanreturn(RectContainsUnit(bn,GetConstructingStructure()))endfunctionfunction c5v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[83]))and(M[83]>=1)and(c4v())endfunctionfunction c6v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction c8v takes nothing returns booleanreturn(RectContainsUnit(cn,GetConstructingStructure()))endfunctionfunction c9v takes nothing returns booleanreturn(M[84]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(c8v())endfunctionfunction Cvv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Cn),bj_UNIT_FACING)call ForceRemovePlayer(P[84],GetTriggerPlayer())set M[84]=(M[84]+1)endfunctionfunction Cxv takes nothing returns booleanreturn(RectContainsUnit(cn,GetConstructingStructure()))endfunctionfunction Cov takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[84]))and(M[84]>=1)and(Cxv())endfunctionfunction Crv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Cav takes nothing returns booleanreturn(M[85]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(dn,GetConstructingStructure()))endfunctionfunction Cnv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(dn),bj_UNIT_FACING)call ForceRemovePlayer(P[85],GetTriggerPlayer())set M[85]=(M[85]+1)endfunctionfunction CEv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[85]))and(M[85]>=1)and(RectContainsUnit(dn,GetConstructingStructure()))endfunctionfunction CXv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction CRv takes nothing returns booleanreturn(RectContainsUnit(fn,GetConstructingStructure()))endfunctionfunction CIv takes nothing returns booleanreturn(M[86]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(CRv())endfunctionfunction CAv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(fn),bj_UNIT_FACING)call ForceRemovePlayer(P[86],GetTriggerPlayer())set M[86]=(M[86]+1)endfunctionfunction Cbv takes nothing returns booleanreturn(RectContainsUnit(fn,GetConstructingStructure()))endfunctionfunction CBv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[86]))and(M[86]>=1)and(Cbv())endfunctionfunction Ccv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Cdv takes nothing returns booleanreturn(RectContainsUnit(gn,GetConstructingStructure()))endfunctionfunction CDv takes nothing returns booleanreturn(M[87]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Cdv())endfunctionfunction Cfv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Gn),bj_UNIT_FACING)call ForceRemovePlayer(P[87],GetTriggerPlayer())set M[87]=(M[87]+1)endfunctionfunction Cgv takes nothing returns booleanreturn(RectContainsUnit(gn,GetConstructingStructure()))endfunctionfunction CGv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[87]))and(M[87]>=1)and(Cgv())endfunctionfunction Chv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Cjv takes nothing returns booleanreturn(M[88]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(hn,GetConstructingStructure()))endfunctionfunction CJv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Hn),bj_UNIT_FACING)call ForceRemovePlayer(P[88],GetTriggerPlayer())set M[88]=(M[88]+1)endfunctionfunction CKv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[88]))and(M[88]>=1)and(RectContainsUnit(hn,GetConstructingStructure()))endfunctionfunction Clv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Cmv takes nothing returns booleanreturn(RectContainsUnit(jn,GetConstructingStructure()))endfunctionfunction CMv takes nothing returns booleanreturn(M[89]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Cmv())endfunctionfunction Cpv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Jn),bj_UNIT_FACING)call ForceRemovePlayer(P[89],GetTriggerPlayer())set M[89]=(M[89]+1)endfunctionfunction Cqv takes nothing returns booleanreturn(RectContainsUnit(jn,GetConstructingStructure()))endfunctionfunction CQv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[89]))and(M[89]>=1)and(Cqv())endfunctionfunction Csv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Ctv takes nothing returns booleanreturn(M[90]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(kn,GetConstructingStructure()))endfunctionfunction CTv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Kn),bj_UNIT_FACING)call ForceRemovePlayer(P[90],GetTriggerPlayer())set M[90]=(M[90]+1)endfunctionfunction CUv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[90]))and(M[90]>=1)and(RectContainsUnit(kn,GetConstructingStructure()))endfunctionfunction Cwv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Cyv takes nothing returns booleanreturn(RectContainsUnit(ln,GetConstructingStructure()))endfunctionfunction CYv takes nothing returns booleanreturn(M[91]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Cyv())endfunctionfunction Czv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Ln),bj_UNIT_FACING)call ForceRemovePlayer(P[91],GetTriggerPlayer())set M[91]=(M[91]+1)endfunctionfunction C_v takes nothing returns booleanreturn(RectContainsUnit(ln,GetConstructingStructure()))endfunctionfunction C0v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[91]))and(M[91]>=1)and(C_v())endfunctionfunction C1v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction C3v takes nothing returns booleanreturn(RectContainsUnit(mn,GetConstructingStructure()))endfunctionfunction C4v takes nothing returns booleanreturn(M[92]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(C3v())endfunctionfunction C5v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Mn),bj_UNIT_FACING)call ForceRemovePlayer(P[92],GetTriggerPlayer())set M[92]=(M[92]+1)endfunctionfunction C7v takes nothing returns booleanreturn(RectContainsUnit(mn,GetConstructingStructure()))endfunctionfunction C8v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[92]))and(M[92]>=1)and(C7v())endfunctionfunction C9v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dev takes nothing returns booleanreturn(RectContainsUnit(pn,GetConstructingStructure()))endfunctionfunction dxv takes nothing returns booleanreturn(M[93]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dev())endfunctionfunction dov takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Pn),bj_UNIT_FACING)call ForceRemovePlayer(P[93],GetTriggerPlayer())set M[93]=(M[93]+1)endfunctionfunction div takes nothing returns booleanreturn(RectContainsUnit(go,GetConstructingStructure()))or(RectContainsUnit(Go,GetConstructingStructure()))endfunctionfunction dav takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[93]))and(M[29]>=1)and(div())endfunctionfunction dnv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dEv takes nothing returns booleanreturn(RectContainsUnit(qn,GetConstructingStructure()))or(RectContainsUnit(BV,GetConstructingStructure()))endfunctionfunction dXv takes nothing returns booleanreturn(M[94]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dEv())endfunctionfunction dOv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Qn),bj_UNIT_FACING)call ForceRemovePlayer(P[94],GetTriggerPlayer())set M[94]=(M[94]+1)endfunctionfunction dIv takes nothing returns booleanreturn(RectContainsUnit(qn,GetConstructingStructure()))or(RectContainsUnit(BV,GetConstructingStructure()))endfunctionfunction dAv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[94]))and(M[94]>=1)and(dIv())endfunctionfunction dNv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dBv takes nothing returns booleanreturn(M[95]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(sn,GetConstructingStructure()))endfunctionfunction dcv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Sn),bj_UNIT_FACING)call ForceRemovePlayer(P[95],GetTriggerPlayer())set M[95]=(M[95]+1)endfunctionfunction ddv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[95]))and(M[95]>=1)and(RectContainsUnit(sn,GetConstructingStructure()))endfunctionfunction dDv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dFv takes nothing returns booleanreturn(RectContainsUnit(tn,GetConstructingStructure()))endfunctionfunction dgv takes nothing returns booleanreturn(M[96]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dFv())endfunctionfunction dGv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Tn),bj_UNIT_FACING)call ForceRemovePlayer(P[96],GetTriggerPlayer())set M[96]=(M[96]+1)endfunctionfunction dHv takes nothing returns booleanreturn(RectContainsUnit(tn,GetConstructingStructure()))endfunctionfunction djv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[96]))and(M[96]>=1)and(dHv())endfunctionfunction dJv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dKv takes nothing returns booleanreturn(RectContainsUnit(un,GetConstructingStructure()))endfunctionfunction dlv takes nothing returns booleanreturn(M[97]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dKv())endfunctionfunction dLv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Un),bj_UNIT_FACING)call ForceRemovePlayer(P[97],GetTriggerPlayer())set M[97]=(M[97]+1)endfunctionfunction dMv takes nothing returns booleanreturn(RectContainsUnit(un,GetConstructingStructure()))endfunctionfunction dpv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[97]))and(M[97]>=1)and(dMv())endfunctionfunction dPv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dQv takes nothing returns booleanreturn(RectContainsUnit(wn,GetConstructingStructure()))endfunctionfunction dsv takes nothing returns booleanreturn(M[99]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dQv())endfunctionfunction dSv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Wn),bj_UNIT_FACING)call ForceRemovePlayer(P[99],GetTriggerPlayer())set M[99]=(M[99]+1)endfunctionfunction dTv takes nothing returns booleanreturn(RectContainsUnit(wn,GetConstructingStructure()))endfunctionfunction duv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[99]))and(M[99]>=1)and(dTv())endfunctionfunction dUv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction dWv takes nothing returns booleanreturn(RectContainsUnit(IV,GetConstructingStructure()))or(RectContainsUnit(cV,GetConstructingStructure()))endfunctionfunction dyv takes nothing returns booleanreturn(M[98]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(dWv())endfunctionfunction dYv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(AV),bj_UNIT_FACING)call ForceRemovePlayer(P[98],GetTriggerPlayer())set M[98]=(M[98]+1)endfunctionfunction dZv takes nothing returns booleanreturn(RectContainsUnit(IV,GetConstructingStructure()))or(RectContainsUnit(cV,GetConstructingStructure()))endfunctionfunction d_v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[98]))and(M[98]>=1)and(dZv())endfunctionfunction d0v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction d2v takes nothing returns booleanreturn(RectContainsUnit(yn,GetConstructingStructure()))or(RectContainsUnit(CV,GetConstructingStructure()))endfunctionfunction d3v takes nothing returns booleanreturn(M[100]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(d2v())endfunctionfunction d4v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Yn),bj_UNIT_FACING)call ForceRemovePlayer(P[100],GetTriggerPlayer())set M[100]=(M[100]+1)endfunctionfunction d6v takes nothing returns booleanreturn(RectContainsUnit(yn,GetConstructingStructure()))or(RectContainsUnit(CV,GetConstructingStructure()))endfunctionfunction d7v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[100]))and(M[100]>=1)and(d6v())endfunctionfunction d8v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Dvv takes nothing returns booleanreturn(M[101]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(zn,GetConstructingStructure()))endfunctionfunction Dev takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(Zn),bj_UNIT_FACING)call ForceRemovePlayer(P[101],GetTriggerPlayer())set M[101]=(M[101]+1)endfunctionfunction Dov takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[101]))and(M[101]>=1)and(RectContainsUnit(zn,GetConstructingStructure()))endfunctionfunction Drv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Dav takes nothing returns booleanreturn(RectContainsUnit(vV,GetConstructingStructure()))endfunctionfunction Dnv takes nothing returns booleanreturn(M[102]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Dav())endfunctionfunction DVv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(eV),bj_UNIT_FACING)call ForceRemovePlayer(P[102],GetTriggerPlayer())set M[102]=(M[102]+1)endfunctionfunction DXv takes nothing returns booleanreturn(RectContainsUnit(vV,GetConstructingStructure()))endfunctionfunction DOv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[102]))and(M[102]>=1)and(DXv())endfunctionfunction DRv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction DAv takes nothing returns booleanreturn(RectContainsUnit(iV,GetConstructingStructure()))endfunctionfunction DNv takes nothing returns booleanreturn(M[104]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(DAv())endfunctionfunction Dbv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(aV),bj_UNIT_FACING)call ForceRemovePlayer(P[104],GetTriggerPlayer())set M[104]=(M[104]+1)endfunctionfunction Dcv takes nothing returns booleanreturn(RectContainsUnit(iV,GetConstructingStructure()))endfunctionfunction DCv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[104]))and(M[104]>=1)and(Dcv())endfunctionfunction Ddv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Dfv takes nothing returns booleanreturn(RectContainsUnit(xV,GetConstructingStructure()))or(RectContainsUnit(oV,GetConstructingStructure()))endfunctionfunction DFv takes nothing returns booleanreturn(M[103]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Dfv())endfunctionfunction Dgv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(rV),bj_UNIT_FACING)call ForceRemovePlayer(P[103],GetTriggerPlayer())set M[103]=(M[103]+1)endfunctionfunction Dhv takes nothing returns booleanreturn(RectContainsUnit(xV,GetConstructingStructure()))or(RectContainsUnit(oV,GetConstructingStructure()))endfunctionfunction DHv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[103]))and(M[103]>=1)and(Dhv())endfunctionfunction Djv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Dkv takes nothing returns booleanreturn(RectContainsUnit(nV,GetConstructingStructure()))endfunctionfunction DKv takes nothing returns booleanreturn(M[105]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Dkv())endfunctionfunction Dlv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(VV),bj_UNIT_FACING)call ForceRemovePlayer(P[105],GetTriggerPlayer())set M[105]=(M[105]+1)endfunctionfunction Dmv takes nothing returns booleanreturn(RectContainsUnit(nV,GetConstructingStructure()))endfunctionfunction DMv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[105]))and(M[105]>=1)and(Dmv())endfunctionfunction Dpv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Dqv takes nothing returns booleanreturn(M[106]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(RectContainsUnit(EV,GetConstructingStructure()))endfunctionfunction DQv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(XV),bj_UNIT_FACING)call ForceRemovePlayer(P[106],GetTriggerPlayer())set M[106]=(M[106]+1)endfunctionfunction DSv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[106]))and(M[106]>=1)and(RectContainsUnit(EV,GetConstructingStructure()))endfunctionfunction Dtv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction Duv takes nothing returns booleanreturn(RectContainsUnit(OV,GetConstructingStructure()))endfunctionfunction DUv takes nothing returns booleanreturn(M[107]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(Duv())endfunctionfunction Dwv takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(OV),bj_UNIT_FACING)call ForceRemovePlayer(P[107],GetTriggerPlayer())set M[107]=(M[107]+1)endfunctionfunction Dyv takes nothing returns booleanreturn(RectContainsUnit(OV,GetConstructingStructure()))endfunctionfunction DYv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[107]))and(M[107]>=1)and(Dyv())endfunctionfunction Dzv takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction D_v takes nothing returns booleanreturn(RectContainsUnit(zV,GetConstructingStructure()))endfunctionfunction D0v takes nothing returns booleanreturn(M[108]==0)and(Q[(1+GetPlayerId(GetTriggerPlayer()))]==0)and(D_v())endfunctionfunction D1v takes nothing returns nothingset Q[(1+GetPlayerId(GetTriggerPlayer()))]=(Q[(1+GetPlayerId(GetTriggerPlayer()))]+1)call CreateNUnitsAtLoc(1,1747988557,GetOwningPlayer(GetConstructingStructure()),GetRectCenter(zV),bj_UNIT_FACING)call ForceRemovePlayer(P[108],GetTriggerPlayer())set M[108]=(M[108]+1)endfunctionfunction D3v takes nothing returns booleanreturn(RectContainsUnit(zV,GetConstructingStructure()))endfunctionfunction D4v takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())!=1211117639)and(GetUnitTypeId(GetConstructingStructure())!=1747988550)and(GetPlayerName(GetOwningPlayer(GetConstructingStructure()))!=he)and(IsPlayerInForce(GetOwningPlayer(GetConstructingStructure()),P[108]))and(M[108]>=1)and(D3v())endfunctionfunction D5v takes nothing returns nothingcall UnitDamageTargetBJ(GetConstructingStructure(),GetConstructingStructure(),9999999.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_UNIVERSAL)endfunctionfunction D7v takes nothing returns booleanreturn(GetTriggerUnit()==CD)endfunctionfunction D8v takes nothing returns nothingcall EnableTrigger(aC)call EnableTrigger(jI)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction fvv takes nothing returns nothingcall AdjustPlayerStateBJ(S2I(SubStringBJ(GetEventPlayerChatString(),6,StringLength(GetEventPlayerChatString()))),Player(-1+((1+GetPlayerId(GetTriggerPlayer())))),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction fxv takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="Novoca1n")endfunctionfunction fov takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fxv())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Фальшивка")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction fiv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Novoca1n")endfunctionfunction fav takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFF404040No|cFFFF0000vo|cFF800080ca1|cFFFF0000n")set Je[(1+GetPlayerId(GetTriggerPlayer()))]=GetPlayerName(GetTriggerPlayer())endfunctionfunction fVv takes nothing returns booleanreturn(S2R(SubStringBJ(GetEventPlayerChatString(),2,StringLength(GetEventPlayerChatString())))==DistanceBetweenPoints(GetDestructableLoc(kD),GetDestructableLoc(JD)))and(GetPlayerName(GetTriggerPlayer())=="Efiminys")endfunctionfunction fEv takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")set Je[(1+GetPlayerId(GetTriggerPlayer()))]=GetPlayerName(GetTriggerPlayer())call DisableTrigger(GetTriggeringTrigger())endfunctionfunction fOv takes nothing returns booleanreturn(GetTriggerUnit()==gD)endfunctionfunction fRv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fIv takes nothing returns booleanreturn(fRv())endfunctionfunction fAv takes nothing returns nothingif(fIv())thencall EnableTrigger(OC)endifcall DisableTrigger(GetTriggeringTrigger())endfunctionfunction fbv takes nothing returns booleanreturn(GetTriggerUnit()==ND)endfunctionfunction fBv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fcv takes nothing returns booleanreturn(fBv())endfunctionfunction fCv takes nothing returns nothingif(fcv())thencall EnableTrigger(RC)call EnableTrigger(IC)call EnableTrigger(AC)call EnableTrigger(NC)call EnableTrigger(bC)endifcall DisableTrigger(GetTriggeringTrigger())endfunctionfunction fDv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction ffv takes nothing returns booleanreturn(fDv())endfunctionfunction fFv takes nothing returns nothingif(ffv())thenset He=(He+1)endifendfunctionfunction fGv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fhv takes nothing returns booleanreturn(fGv())endfunctionfunction fHv takes nothing returns nothingif(fhv())thenset He=(He+4)endifendfunctionfunction fJv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fkv takes nothing returns booleanreturn(fJv())endfunctionfunction fKv takes nothing returns nothingif(fkv())thenset He=(He+17)endifendfunctionfunction fLv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fmv takes nothing returns booleanreturn(fLv())endfunctionfunction fMv takes nothing returns nothingif(fmv())thenset He=(He+23)endifendfunctionfunction fPv takes nothing returns booleanreturn(He==73)endfunctionfunction fqv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="IncredibleTiger")or(GetPlayerName(GetTriggerPlayer())=="FabulousTiger")endfunctionfunction fQv takes nothing returns booleanreturn(fqv())endfunctionfunction fsv takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fQv())thencall SetPlayerName(Player(-1+(bj_forLoopAIndex)),"|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall DisableTrigger(RC)call DisableTrigger(IC)call DisableTrigger(AC)call DisableTrigger(NC)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction ftv takes nothing returns booleanreturn(GetPlayerName(Player(-1+(bj_forLoopAIndex)))=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction fTv takes nothing returns booleanreturn(ftv())endfunctionfunction fuv takes nothing returns nothingset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(fTv())thencall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"ПОДЛАЯ ФАЛЬШИВКА ПОД НИКОМ АВТОРА! ОМГ!")call SetPlayerName(Player(-1+(bj_forLoopAIndex)),"Подлая фальшивка")set Yv=GetPlayerName(Player(-1+(bj_forLoopAIndex)))call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+1),((Bv[(1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))]+I2S((1+GetPlayerId(Player(-1+(bj_forLoopAIndex))))))+(". "+Yv)))endifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction fwv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())==he)and(Ge==5)endfunctionfunction fWv takes nothing returns nothingcall AdjustPlayerStateBJ(S2I(SubStringBJ(GetEventPlayerChatString(),6,StringLength(GetEventPlayerChatString()))),Player(-1+((1+GetPlayerId(GetTriggerPlayer())))),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction fYv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="volk104579")endfunctionfunction fzv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В игре потерянный автор карты |c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")call SetPlayerName(GetTriggerPlayer(),"|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction f_v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas_super")endfunctionfunction f0v takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ БОМЖЕФЕЙК ПОД НИКОМ АВТОРОМ КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000pera")call SetPlayerName(GetTriggerPlayer(),"БИЧ")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction f2v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="Nikolas-super")endfunctionfunction f3v takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"В ИГРЕ БОМЖЕФЕЙК ПОД НИКОМ АВТОРОМ КАРТЫ - |cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000pera")call SetPlayerName(GetTriggerPlayer(),"БИЧ")set Yv=GetPlayerName(GetTriggerPlayer())call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[(1+GetPlayerId(GetTriggerPlayer()))]+1),((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+I2S((1+GetPlayerId(GetTriggerPlayer()))))+(". "+Yv)))endfunctionfunction f5v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction f6v takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction f7v takes nothing returns nothingcall ForGroupBJ(Nf(GetTriggerPlayer()),function f6v)endfunctionfunction f9v takes nothing returns nothingcall EnableTrigger(hC)call EnableTrigger(HC)call EnableTrigger(GC)call EnableTrigger(gC)call EnableTrigger(fC)endfunctionfunction Fev takes nothing returns booleanreturn(GetEventPlayerChatString()=="-кик 2")or(GetEventPlayerChatString()=="-кик 3")or(GetEventPlayerChatString()=="-кик 4")or(GetEventPlayerChatString()=="-кик 5")or(GetEventPlayerChatString()=="-кик 6")or(GetEventPlayerChatString()=="-кик 7")or(GetEventPlayerChatString()=="-кик 8")or(GetEventPlayerChatString()=="-кик 9")endfunctionfunction Fxv takes nothing returns booleanreturn(Fev())endfunctionfunction Fov takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction Frv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction Fiv takes nothing returns booleanreturn GetBooleanAnd(Fov(),Frv())endfunctionfunction Fav takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction Fnv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction FVv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction FEv takes nothing returns booleanreturn GetBooleanAnd(Fnv(),FVv())endfunctionfunction FXv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction FOv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction FRv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction FIv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction FAv takes nothing returns booleanreturn GetBooleanOr(FRv(),FIv())endfunctionfunction FNv takes nothing returns booleanreturn GetBooleanAnd(FOv(),FAv())endfunctionfunction Fbv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction FBv takes nothing returns booleanreturn(IsPlayerInForce(Player(-1+(bv[1])),o))endfunctionfunction Fcv takes nothing returns booleanreturn(S>T)endfunctionfunction FCv takes nothing returns booleanreturn(S>T)endfunctionfunction Fdv takes nothing returns nothingset w[(1+GetPlayerId(GetEnumPlayer()))]=0endfunctionfunction FDv takes nothing returns booleanreturn(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!=GetPlayerName(GetTriggerPlayer()))and(IsPlayerInForce(GetTriggerPlayer(),o))and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),o))and(U[(1+GetPlayerId(GetTriggerPlayer()))]<=3)endfunctionfunction Ffv takes nothing returns nothingif(FDv())thenset bv[1]=S2I(SubStringBJ(GetEventPlayerChatString(),8,9))set U[(1+GetPlayerId(GetTriggerPlayer()))]=(U[(1+GetPlayerId(GetTriggerPlayer()))]+1)set ev[(1+GetPlayerId(GetTriggerPlayer()))]=1set ev[(1+GetPlayerId(Player(-1+(bv[1]))))]=1call DisplayTimedTextToForce(o,30.,(((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+GetPlayerName(GetTriggerPlayer()))+(" |rНАЧАЛ ПРОВОДИТЬ ГОЛОСОВАНИЕ ПО ПОВОДУ КИК'а ИГРОКА: "+Bv[bv[1]]))+(Je[bv[1]]+" |rНапишите Чтобы кикнуть |cffff0000-да|r Чтобы не кикать |cff00ff00-нет|r Времени всего 30 секунд на голосование!")))call EnableTrigger(jC)call DisableTrigger(GetTriggeringTrigger())call DisableTrigger(GC)call YD(30.)if(FCv())thenif(Fcv())thenif(FBv())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")set a=(a-1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rКикнут!")))call CustomDefeatBJ(Player(-1+(bv[1])),"Вас Кикнули!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Fiv)),function Fav)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function FEv)),function FXv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function FNv)),function Fbv)call ForceRemovePlayer(o,Player(-1+(bv[1])))call ConditionalTriggerExecute(eR)elsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Игрока нельзя кикнуть")endifelsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rПродолжает играть!")))endifelsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rПродолжает играть!")))endifcall EnableTrigger(GetTriggeringTrigger())call EnableTrigger(GC)call DisableTrigger(jC)set ev[(1+GetPlayerId(Player(-1+(bv[1]))))]=0set ev[(1+GetPlayerId(GetTriggerPlayer()))]=0set S=0set T=0call ForForce(bj_FORCE_ALL_PLAYERS,function Fdv)endifendfunctionfunction Fgv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-кик 10")endfunctionfunction FGv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction Fhv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction FHv takes nothing returns booleanreturn GetBooleanAnd(FGv(),Fhv())endfunctionfunction Fjv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction FJv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction Fkv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction FKv takes nothing returns booleanreturn GetBooleanAnd(FJv(),Fkv())endfunctionfunction Flv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction FLv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[1])))endfunctionfunction Fmv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction FMv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction Fpv takes nothing returns booleanreturn GetBooleanOr(Fmv(),FMv())endfunctionfunction FPv takes nothing returns booleanreturn GetBooleanAnd(FLv(),Fpv())endfunctionfunction Fqv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction FQv takes nothing returns booleanreturn(IsPlayerInForce(Player(-1+(bv[1])),o))endfunctionfunction Fsv takes nothing returns booleanreturn(S>T)endfunctionfunction FSv takes nothing returns booleanreturn(S>T)endfunctionfunction Ftv takes nothing returns nothingset w[(1+GetPlayerId(GetEnumPlayer()))]=0endfunctionfunction FTv takes nothing returns booleanreturn(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))!="|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))!=GetPlayerName(GetTriggerPlayer()))and(IsPlayerInForce(GetTriggerPlayer(),o))and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))),o))and(U[(1+GetPlayerId(GetTriggerPlayer()))]<=3)endfunctionfunction Fuv takes nothing returns nothingif(FTv())thenset bv[1]=S2I(SubStringBJ(GetEventPlayerChatString(),8,$A))set U[(1+GetPlayerId(GetTriggerPlayer()))]=(U[(1+GetPlayerId(GetTriggerPlayer()))]+1)set ev[(1+GetPlayerId(GetTriggerPlayer()))]=1set ev[(1+GetPlayerId(Player(-1+(bv[1]))))]=1call DisplayTimedTextToForce(o,30.,(((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+GetPlayerName(GetTriggerPlayer()))+(" |rНАЧАЛ ПРОВОДИТЬ ГОЛОСОВАНИЕ ПО ПОВОДУ КИК'а ИГРОКА: "+Bv[bv[1]]))+(Je[bv[1]]+" |rНапишите Чтобы кикнуть |cffff0000-да|r Чтобы не кикать |cff00ff00-нет|r Времени всего 30 секунд на голосование!")))call EnableTrigger(jC)call DisableTrigger(GetTriggeringTrigger())call DisableTrigger(gC)call YD(30.)if(FSv())thenif(Fsv())thenif(FQv())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(bv[1]))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")set a=(a-1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rКикнут!")))call CustomDefeatBJ(Player(-1+(bv[1])),"Вас Кикнули!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function FHv)),function Fjv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function FKv)),function Flv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function FPv)),function Fqv)call ForceRemovePlayer(o,Player(-1+(bv[1])))call ConditionalTriggerExecute(eR)elsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Игрока нельзя кикнуть")endifelsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rПродолжает играть!")))endifelsecall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[1]])+(Je[bv[1]]+" |rПродолжает играть!")))endifcall EnableTrigger(GetTriggeringTrigger())call EnableTrigger(gC)call DisableTrigger(jC)set ev[(1+GetPlayerId(Player(-1+(bv[1]))))]=0set ev[(1+GetPlayerId(GetTriggerPlayer()))]=0set S=0set T=0call ForForce(bj_FORCE_ALL_PLAYERS,function Ftv)endifendfunctionfunction Fwv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-кик 2")or(GetEventPlayerChatString()=="-кик 3")or(GetEventPlayerChatString()=="-кик 4")or(GetEventPlayerChatString()=="-кик 5")or(GetEventPlayerChatString()=="-кик 6")or(GetEventPlayerChatString()=="-кик 7")or(GetEventPlayerChatString()=="-кик 8")or(GetEventPlayerChatString()=="-кик 9")endfunctionfunction FWv takes nothing returns booleanreturn(Fwv())endfunctionfunction Fyv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[2])))endfunctionfunction FYv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction Fzv takes nothing returns booleanreturn(IsPlayerInForce(Player(-1+(bv[2])),x))endfunctionfunction FZv takes nothing returns booleanreturn(Y>Z)endfunctionfunction F_v takes nothing returns nothingset vv[(1+GetPlayerId(GetEnumPlayer()))]=0endfunctionfunction F0v takes nothing returns booleanreturn(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),x))and(y[(1+GetPlayerId(GetTriggerPlayer()))]<=6)endfunctionfunction F1v takes nothing returns nothingif(F0v())thenset bv[2]=S2I(SubStringBJ(GetEventPlayerChatString(),8,9))set y[(1+GetPlayerId(GetTriggerPlayer()))]=(y[(1+GetPlayerId(GetTriggerPlayer()))]+1)call DisplayTimedTextToForce(x,15.,(((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+GetPlayerName(GetTriggerPlayer()))+(" |rНАЧАЛ ПРОВОДИТЬ ГОЛОСОВАНИЕ ПО ПОВОДУ КИК'а ИГРОКА: "+Bv[bv[1]]))+(Je[bv[2]]+" |rНапишите Чтобы кикнуть |cffff0000-да|r Чтобы не кикать |cff00ff00-нет|r Времени всего 15 секунд на голосование!")))call EnableTrigger(JC)call DisableTrigger(GetTriggeringTrigger())call DisableTrigger(HC)call YD(15.)if(FZv())thenif(Fzv())thenset Nx[bv[2]]=0set Qx[bv[2]]=0call CustomDefeatBJ(Player(-1+(bv[2])),"Вас Кикнули!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(bv[2]))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(bv[2]))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")set n=(n-1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[2]])+(Je[bv[2]]+" |rКикнут!")))set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall CreateItemLoc(GetItemTypeId(UnitItemInSlotBJ(Av[(1+GetPlayerId(Player(-1+(bv[2]))))],bj_forLoopAIndex)),GetRectCenter(Mr))call RemoveItem(UnitItemInSlotBJ(Av[(1+GetPlayerId(Player(-1+(bv[2]))))],bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall RemoveUnit(Av[(1+GetPlayerId(Player(-1+(bv[2]))))])call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Fyv)),function FYv)call ForceRemovePlayer(x,Player(-1+(bv[2])))call ConditionalTriggerExecute(vR)elsecall DisplayTextToForce(x,"Игрок вышел из игры!")endifelsecall DisplayTextToForce(x,(("Игрок "+Bv[bv[2]])+(Je[bv[2]]+" |rПродолжает играть!")))endifcall EnableTrigger(GetTriggeringTrigger())call DisableTrigger(JC)call EnableTrigger(HC)set Y=0set Z=0call ForForce(x,function F_v)endifendfunctionfunction F3v takes nothing returns booleanreturn(GetEventPlayerChatString()=="-кик 10")endfunctionfunction F4v takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(bv[2])))endfunctionfunction F5v takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction F6v takes nothing returns booleanreturn(IsPlayerInForce(Player(-1+(bv[2])),x))endfunctionfunction F7v takes nothing returns booleanreturn(Y>Z)endfunctionfunction F8v takes nothing returns nothingset vv[(1+GetPlayerId(GetEnumPlayer()))]=0endfunctionfunction F9v takes nothing returns booleanreturn(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,$A)))),x))and(y[(1+GetPlayerId(GetTriggerPlayer()))]<=6)endfunctionfunction gvv takes nothing returns nothingif(F9v())thenset bv[2]=S2I(SubStringBJ(GetEventPlayerChatString(),8,$A))set y[(1+GetPlayerId(GetTriggerPlayer()))]=(y[(1+GetPlayerId(GetTriggerPlayer()))]+1)call DisplayTimedTextToForce(x,15.,(((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+GetPlayerName(GetTriggerPlayer()))+(" |rНАЧАЛ ПРОВОДИТЬ ГОЛОСОВАНИЕ ПО ПОВОДУ КИК'а ИГРОКА: "+Bv[bv[1]]))+(Je[bv[2]]+" |rНапишите Чтобы кикнуть |cffff0000-да|r Чтобы не кикать |cff00ff00-нет|r Времени всего 15 секунд на голосование!")))call EnableTrigger(JC)call DisableTrigger(GetTriggeringTrigger())call DisableTrigger(hC)call YD(15.)if(F7v())thenif(F6v())thenset Nx[bv[2]]=0set Qx[bv[2]]=0call CustomDefeatBJ(Player(-1+(bv[2])),"Вас Кикнули!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(bv[2]))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(bv[2]))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")set n=(n-1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("Игрок "+Bv[bv[2]])+(Je[bv[2]]+" |rКикнут!")))set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=6loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndcall CreateItemLoc(GetItemTypeId(UnitItemInSlotBJ(Av[(1+GetPlayerId(Player(-1+(bv[2]))))],bj_forLoopAIndex)),GetRectCenter(Mr))call RemoveItem(UnitItemInSlotBJ(Av[(1+GetPlayerId(Player(-1+(bv[2]))))],bj_forLoopAIndex))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopcall RemoveUnit(Av[(1+GetPlayerId(Player(-1+(bv[2]))))])call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function F4v)),function F5v)call ForceRemovePlayer(x,Player(-1+(bv[2])))call ConditionalTriggerExecute(vR)elsecall DisplayTextToForce(x,"Игрок вышел из игры!")endifelsecall DisplayTextToForce(x,(("Игрок "+Bv[bv[2]])+(Je[bv[2]]+" |rПродолжает играть!")))endifcall EnableTrigger(GetTriggeringTrigger())call DisableTrigger(JC)call EnableTrigger(hC)set Y=0set Z=0call ForForce(x,function F8v)endifendfunctionfunction gxv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-да")or(GetEventPlayerChatString()=="-нет")endfunctionfunction gov takes nothing returns booleanreturn(IsPlayerInForce(GetTriggerPlayer(),o))and(ev[(1+GetPlayerId(GetTriggerPlayer()))]<1)and(gxv())endfunctionfunction grv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-да")and(w[(1+GetPlayerId(GetTriggerPlayer()))]<1)endfunctionfunction giv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-нет")and(w[(1+GetPlayerId(GetTriggerPlayer()))]<1)endfunctionfunction gav takes nothing returns nothingif(grv())thenset w[(1+GetPlayerId(GetTriggerPlayer()))]=(w[(1+GetPlayerId(GetTriggerPlayer()))]+1)set S=(S+1)call DisplayTextToForce(o,("|cffff0000За|r - "+(I2S(S)+(" |cFF0000FF| |cff00ff00Против|r - "+I2S(T)))))endifif(giv())thenset w[(1+GetPlayerId(GetTriggerPlayer()))]=(w[(1+GetPlayerId(GetTriggerPlayer()))]+1)set T=(T+1)call DisplayTextToForce(o,("|cffff0000За|r - "+(I2S(S)+(" |cFF0000FF| |cff00ff00Против|r - "+I2S(T)))))endifendfunctionfunction gVv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())==GetPlayerName(Player($A)))or(GetPlayerName(GetTriggerPlayer())==GetPlayerName(Player($B)))endfunctionfunction gEv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-да")or(GetEventPlayerChatString()=="-нет")endfunctionfunction gXv takes nothing returns booleanreturn(gVv())and(gEv())endfunctionfunction gOv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-да")and(vv[(1+GetPlayerId(GetTriggerPlayer()))]<1)endfunctionfunction gRv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-нет")and(vv[(1+GetPlayerId(GetTriggerPlayer()))]<1)endfunctionfunction gIv takes nothing returns nothingif(gOv())thenset vv[(1+GetPlayerId(GetTriggerPlayer()))]=(vv[(1+GetPlayerId(GetTriggerPlayer()))]+1)set Y=(Y+1)call DisplayTextToForce(x,("|cffff0000За кик:|cffc3dbff "+(I2S(Y)+(" |cff00ff00Против: |cffc3dbff"+I2S(Z)))))endifif(gRv())thenset vv[(1+GetPlayerId(GetTriggerPlayer()))]=(vv[(1+GetPlayerId(GetTriggerPlayer()))]+1)set Z=(Z+1)call DisplayTextToForce(x,("|cffff0000За кик:|cffc3dbff "+(I2S(Y)+(" |cff00ff00Против: |cffc3dbff"+I2S(Z)))))endifendfunctionfunction gNv takes nothing returns booleanreturn(R2I(S2R(SubStringBJ(GetEventPlayerChatString(),7,StringLength(GetEventPlayerChatString()))))>=$5DC)and(R2I(S2R(SubStringBJ(GetEventPlayerChatString(),7,StringLength(GetEventPlayerChatString()))))<=$FA0)endfunctionfunction gbv takes nothing returns nothingset Sv[(1+GetPlayerId(GetTriggerPlayer()))]=R2I(S2R(SubStringBJ(GetEventPlayerChatString(),7,StringLength(GetEventPlayerChatString()))))call SetCameraFieldForPlayer(GetTriggerPlayer(),CAMERA_FIELD_TARGET_DISTANCE,S2R(SubStringBJ(GetEventPlayerChatString(),7,StringLength(GetEventPlayerChatString()))),.5)endfunctionfunction gcv takes nothing returns booleanreturn(Sv[(1+GetPlayerId(GetTriggerPlayer()))]>=$5DC)and(Sv[(1+GetPlayerId(GetTriggerPlayer()))]<=$DAC)endfunctionfunction gCv takes nothing returns nothingcall SetCameraFieldForPlayer(GetTriggerPlayer(),CAMERA_FIELD_TARGET_DISTANCE,S2R(I2S(Sv[(1+GetPlayerId(GetTriggerPlayer()))])),.5)endfunctionfunction gDv takes nothing returns booleanreturn(Kv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction gfv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"ВКЛЮЧЕН МОД: \"|cff00ff00Без Мини Актеров|r\". При смерти зрителей |cffff0000НЕ БУДУТ|r появляться петросяны")set Nv="|cFF002CDDПетры Баланс |cFF0067487.02d |cffffcc00\"-nma\""call DisableTrigger(WO)call EnableTrigger(yO)call DisableTrigger(GetTriggeringTrigger())endfunctionfunction ggv takes nothing returns nothingcall ClearTextMessagesBJ(cf(GetTriggerPlayer()))endfunctionfunction ghv takes nothing returns nothingcall DisplayTimedTextToForce(Cf(GetTriggerPlayer()),3.,((("Инфа "+GetPlayerName(GetTriggerPlayer()))+("|r : "+SubStringBJ(GetEventPlayerChatString(),9,49)))+("= "+(I2S(GetRandomInt(0,100))+"%"))))endfunctionfunction gjv takes nothing returns booleanreturn(Qv[(1+GetPlayerId(GetTriggerPlayer()))]==0)endfunctionfunction gJv takes nothing returns nothingcall DisplayTextToForce(cf(GetTriggerPlayer()),"TRIGSTR_8389")set Qv[(1+GetPlayerId(GetTriggerPlayer()))]=1endfunctionfunction gKv takes nothing returns booleanreturn(Qv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction glv takes nothing returns nothingcall DisplayTextToForce(cf(GetTriggerPlayer()),"\"Фан мод\" выключен")set Qv[(1+GetPlayerId(GetTriggerPlayer()))]=0call ResetUnitLookAt(sv[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])call ResetUnitLookAt(Av[(1+GetPlayerId(GetTriggerPlayer()))])endfunctionfunction gmv takes nothing returns booleanreturn(Qv[(1+GetPlayerId(GetTriggerPlayer()))]==1)and(IsPlayerInForce(GetTriggerPlayer(),o))endfunctionfunction gMv takes nothing returns booleanreturn(GetTriggerUnit()==sv[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])endfunctionfunction gpv takes nothing returns nothingcall SetUnitLookAt(sv[(1+GetPlayerId(GetTriggerPlayer()))],"bone_chest",GetTriggerUnit(),0,0,90)if(gMv())thencall ResetUnitLookAt(sv[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])endifendfunctionfunction gqv takes nothing returns booleanreturn(Qv[(1+GetPlayerId(GetTriggerPlayer()))]==1)and(IsPlayerInForce(GetTriggerPlayer(),x))endfunctionfunction gQv takes nothing returns booleanreturn(GetTriggerUnit()==Av[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])endfunctionfunction gsv takes nothing returns nothingcall SetUnitLookAt(Av[(1+GetPlayerId(GetTriggerPlayer()))],"bone_chest",GetTriggerUnit(),0,0,90)if(gQv())thencall ResetUnitLookAt(Av[(1+GetPlayerId(GetTriggerPlayer()))])endifendfunctionfunction gtv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 1")or(GetEventPlayerChatString()=="-kik 2")or(GetEventPlayerChatString()=="-kik 3")or(GetEventPlayerChatString()=="-kik 4")or(GetEventPlayerChatString()=="-kik 5")or(GetEventPlayerChatString()=="-kik 6")or(GetEventPlayerChatString()=="-kik 7")or(GetEventPlayerChatString()=="-kik 8")or(GetEventPlayerChatString()=="-kik 9")or(GetEventPlayerChatString()=="-kik 10")endfunctionfunction gTv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(gtv())endfunctionfunction guv takes nothing returns booleanreturn(gTv())endfunctionfunction gUv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction gwv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction gWv takes nothing returns booleanreturn GetBooleanAnd(gUv(),gwv())endfunctionfunction gyv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction gYv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction gzv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction gZv takes nothing returns booleanreturn GetBooleanAnd(gYv(),gzv())endfunctionfunction g_v takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction g0v takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction g1v takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction g2v takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction g3v takes nothing returns booleanreturn GetBooleanOr(g1v(),g2v())endfunctionfunction g4v takes nothing returns booleanreturn GetBooleanAnd(g0v(),g3v())endfunctionfunction g5v takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction g6v takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),o))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction g7v takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction g8v takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction g9v takes nothing returns booleanreturn GetBooleanAnd(g7v(),g8v())endfunctionfunction Gvv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction Gev takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction Gxv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction Gov takes nothing returns booleanreturn GetBooleanAnd(Gev(),Gxv())endfunctionfunction Grv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction Giv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction Gav takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction Gnv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction GVv takes nothing returns booleanreturn GetBooleanOr(Gav(),Gnv())endfunctionfunction GEv takes nothing returns booleanreturn GetBooleanAnd(Giv(),GVv())endfunctionfunction GXv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction GOv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),o))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction GRv takes nothing returns nothingif(g6v())thenset a=(a-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),"Вас кикнул автор карты!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function gWv)),function gyv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function gZv)),function g_v)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function g4v)),function g5v)call ForceRemovePlayer(o,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))call ConditionalTriggerExecute(vR)endifif(GOv())thenset a=(a-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),"Вас кикнул автор карты!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function g9v)),function Gvv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Gov)),function Grv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function GEv)),function GXv)call ForceRemovePlayer(o,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))call ConditionalTriggerExecute(vR)endifendfunctionfunction GAv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 1")or(GetEventPlayerChatString()=="-kik 2")or(GetEventPlayerChatString()=="-kik 3")or(GetEventPlayerChatString()=="-kik 4")or(GetEventPlayerChatString()=="-kik 5")or(GetEventPlayerChatString()=="-kik 6")or(GetEventPlayerChatString()=="-kik 7")or(GetEventPlayerChatString()=="-kik 8")or(GetEventPlayerChatString()=="-kik 9")or(GetEventPlayerChatString()=="-kik 10")endfunctionfunction GNv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GAv())endfunctionfunction Gbv takes nothing returns booleanreturn(GNv())endfunctionfunction GBv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction Gcv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction GCv takes nothing returns booleanreturn GetBooleanAnd(GBv(),Gcv())endfunctionfunction Gdv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction GDv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction Gfv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction GFv takes nothing returns booleanreturn GetBooleanAnd(GDv(),Gfv())endfunctionfunction Ggv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction GGv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endfunctionfunction Ghv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction GHv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction Gjv takes nothing returns booleanreturn GetBooleanOr(Ghv(),GHv())endfunctionfunction GJv takes nothing returns booleanreturn GetBooleanAnd(GGv(),Gjv())endfunctionfunction Gkv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction GKv takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),o))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction Glv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction GLv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988557)endfunctionfunction Gmv takes nothing returns booleanreturn GetBooleanAnd(Glv(),GLv())endfunctionfunction GMv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction Gpv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction GPv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())==1747988550)endfunctionfunction Gqv takes nothing returns booleanreturn GetBooleanAnd(Gpv(),GPv())endfunctionfunction GQv takes nothing returns nothingcall KillUnit(GetEnumUnit())endfunctionfunction Gsv takes nothing returns booleanreturn(GetOwningPlayer(GetFilterUnit())==Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endfunctionfunction GSv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988557)endfunctionfunction Gtv takes nothing returns booleanreturn(GetUnitTypeId(GetFilterUnit())!=1747988550)endfunctionfunction GTv takes nothing returns booleanreturn GetBooleanOr(GSv(),Gtv())endfunctionfunction Guv takes nothing returns booleanreturn GetBooleanAnd(Gsv(),GTv())endfunctionfunction GUv takes nothing returns nothingcall RemoveUnit(GetEnumUnit())endfunctionfunction Gwv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),o))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction GWv takes nothing returns nothingif(GKv())thenset a=(a-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))+" |rПослан Капой)!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),"Вас кикнул Капа!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function GCv)),function Gdv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function GFv)),function Ggv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function GJv)),function Gkv)call ForceRemovePlayer(o,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))call ConditionalTriggerExecute(vR)endifif(Gwv())thenset a=(a-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))+" |rПослан Капой)!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),"Вас кикнул Капа!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+2),("       |cffffcc00"+I2S(a)))call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Gmv)),function GMv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Gqv)),function GQv)call ForGroupBJ(af(bj_mapInitialPlayableArea,Condition(function Guv)),function GUv)call ForceRemovePlayer(o,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))call ConditionalTriggerExecute(vR)endifendfunctionfunction GYv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 1")or(GetEventPlayerChatString()=="-kik 2")or(GetEventPlayerChatString()=="-kik 3")or(GetEventPlayerChatString()=="-kik 4")or(GetEventPlayerChatString()=="-kik 5")or(GetEventPlayerChatString()=="-kik 6")or(GetEventPlayerChatString()=="-kik 7")or(GetEventPlayerChatString()=="-kik 8")or(GetEventPlayerChatString()=="-kik 9")or(GetEventPlayerChatString()=="-kik 10")endfunctionfunction Gzv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GYv())endfunctionfunction GZv takes nothing returns booleanreturn(Gzv())endfunctionfunction G_v takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),Ov))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction G0v takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),Ov))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction G1v takes nothing returns nothingif(G_v())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),"Вас кикнул автор карты!")call ForceRemovePlayer(Ov,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endifif(G0v())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),"Вас кикнул автор карты!")call ForceRemovePlayer(Ov,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endifendfunctionfunction G3v takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 1")or(GetEventPlayerChatString()=="-kik 2")or(GetEventPlayerChatString()=="-kik 3")or(GetEventPlayerChatString()=="-kik 4")or(GetEventPlayerChatString()=="-kik 5")or(GetEventPlayerChatString()=="-kik 6")or(GetEventPlayerChatString()=="-kik 7")or(GetEventPlayerChatString()=="-kik 8")or(GetEventPlayerChatString()=="-kik 9")or(GetEventPlayerChatString()=="-kik 10")endfunctionfunction G4v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(G3v())endfunctionfunction G5v takes nothing returns booleanreturn(G4v())endfunctionfunction G6v takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),Ov))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction G7v takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kik 10")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),Ov))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction G8v takes nothing returns nothingif(G6v())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))+" |rПослан Капой!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))),"Вас кикнул Капа!")call ForceRemovePlayer(Ov,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))endifif(G7v())thencall MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))+" |rПослан Капой!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))),"Вас кикнул Капа!")call ForceRemovePlayer(Ov,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,8)))))endifendfunctionfunction hvv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kick 1")or(GetEventPlayerChatString()=="-kick 2")or(GetEventPlayerChatString()=="-kick 3")or(GetEventPlayerChatString()=="-kick 4")or(GetEventPlayerChatString()=="-kick 5")or(GetEventPlayerChatString()=="-kick 6")or(GetEventPlayerChatString()=="-kick 7")or(GetEventPlayerChatString()=="-kick 8")or(GetEventPlayerChatString()=="-kick 9")or(GetEventPlayerChatString()=="-kick 10")or(GetEventPlayerChatString()=="-kick 11")or(GetEventPlayerChatString()=="-kick 12")endfunctionfunction hev takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(hvv())endfunctionfunction hxv takes nothing returns booleanreturn(hev())endfunctionfunction hov takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kick 10")and(GetEventPlayerChatString()!="-kick 11")and(GetEventPlayerChatString()!="-kick 12")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))),x))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction hrv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kick 10")or(GetEventPlayerChatString()=="-kick 11")or(GetEventPlayerChatString()=="-kick 12")endfunctionfunction hiv takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))),x))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(hrv())endfunctionfunction hav takes nothing returns booleanreturn(hiv())endfunctionfunction hnv takes nothing returns nothingif(hov())thenset n=(n-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))),"Вас кикнул автор карты!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ConditionalTriggerExecute(vR)call RemoveUnit(Av[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))])call ForceRemovePlayer(x,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))endifif(hav())thenset n=(n-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))+" |rКикнут автором карты!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))),"Вас кикнул автор карты!")call ForceRemovePlayer(x,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))call RemoveUnit(Av[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))])call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ConditionalTriggerExecute(vR)endifendfunctionfunction hEv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kick 1")or(GetEventPlayerChatString()=="-kick 2")or(GetEventPlayerChatString()=="-kick 3")or(GetEventPlayerChatString()=="-kick 4")or(GetEventPlayerChatString()=="-kick 5")or(GetEventPlayerChatString()=="-kick 6")or(GetEventPlayerChatString()=="-kick 7")or(GetEventPlayerChatString()=="-kick 8")or(GetEventPlayerChatString()=="-kick 9")or(GetEventPlayerChatString()=="-kick 10")or(GetEventPlayerChatString()=="-kick 11")or(GetEventPlayerChatString()=="-kick 12")endfunctionfunction hXv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(hEv())endfunctionfunction hOv takes nothing returns booleanreturn(hXv())endfunctionfunction hRv takes nothing returns booleanreturn(GetEventPlayerChatString()!="-kick 10")and(GetEventPlayerChatString()!="-kick 11")and(GetEventPlayerChatString()!="-kick 12")and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))),x))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction hIv takes nothing returns booleanreturn(GetEventPlayerChatString()=="-kick 10")or(GetEventPlayerChatString()=="-kick 11")or(GetEventPlayerChatString()=="-kick 12")endfunctionfunction hAv takes nothing returns booleanreturn(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))==PLAYER_SLOT_STATE_PLAYING)and(IsPlayerInForce(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))),x))and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(hIv())endfunctionfunction hNv takes nothing returns booleanreturn(hAv())endfunctionfunction hbv takes nothing returns nothingif(hRv())thenset n=(n-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))+" |rПослан Капой!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))),"Вас кикнул Капа!")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ConditionalTriggerExecute(vR)call RemoveUnit(Av[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8))))))])call ForceRemovePlayer(x,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))endifif(hNv())thenset n=(n-1)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1),"  |cFF002CDDКикнут")call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,3,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1)," ")call MultiboardSetItemIconBJ(bj_lastCreatedMultiboard,1,(xv[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))]+1),"ReplaceableTextures\\CommandButtons\\BTNCancel.blp")call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Игрок "+(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))+" |rПослан Капой!!")))call CustomDefeatBJ(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))),"Вас кикнул Капа!")call ForceRemovePlayer(x,Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9)))))call RemoveUnit(Av[(1+GetPlayerId(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,9))))))])call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,2,(ov+3),("       |cffffcc00"+I2S(n)))call ConditionalTriggerExecute(vR)endifendfunctionfunction hcv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction hCv takes nothing returns nothingcall EnableTrigger(QC)call EnableTrigger(TC)call EnableTrigger(SC)endfunctionfunction hDv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677616)or(GetSpellAbilityId()==1093678921)or(GetSpellAbilityId()==1093678920)or(GetSpellAbilityId()==1093678922)or(GetSpellAbilityId()==1093678923)or(GetSpellAbilityId()==1093678924)or(GetSpellAbilityId()==1093678925)or(GetSpellAbilityId()==1093678403)or(GetSpellAbilityId()==1093677900)or(GetSpellAbilityId()==1093677140)or(GetSpellAbilityId()==1093678660)or(GetSpellAbilityId()==1093678661)or(GetSpellAbilityId()==1093678929)endfunctionfunction hfv takes nothing returns booleanreturn(hDv())endfunctionfunction hFv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677616)endfunctionfunction hgv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678921)endfunctionfunction hGv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678920)endfunctionfunction hhv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678922)endfunctionfunction hHv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678923)endfunctionfunction hjv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678924)endfunctionfunction hJv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678925)endfunctionfunction hkv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677900)endfunctionfunction hKv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677140)endfunctionfunction hlv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678929)endfunctionfunction hLv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678661)endfunctionfunction hmv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678660)endfunctionfunction hMv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678403)endfunctionfunction hpv takes nothing returns nothingif(hFv())thencall AdjustPlayerStateBJ(2,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hgv())thencall AdjustPlayerStateBJ(3,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hGv())thencall AdjustPlayerStateBJ(4,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hhv())thencall AdjustPlayerStateBJ(2,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hHv())thencall AdjustPlayerStateBJ($A,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hjv())thencall AdjustPlayerStateBJ(20,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hJv())thencall AdjustPlayerStateBJ(32,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hkv())thencall AdjustPlayerStateBJ(1,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hKv())thencall AdjustPlayerStateBJ(5,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)endifif(hMv())thencall AdjustPlayerStateBJ(3,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)elseif(hmv())thencall AdjustPlayerStateBJ(48,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)elseif(hLv())thencall AdjustPlayerStateBJ($F0,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_GOLD)elseif(hlv())thencall AdjustPlayerStateBJ(100,GetOwningPlayer(GetSpellAbilityUnit()),PLAYER_STATE_RESOURCE_LUMBER)endifendifendifendifendfunctionfunction hqv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677616)endfunctionfunction hQv takes nothing returns nothinglocal unit hsv=GetTriggerUnit()call TriggerSleepAction(10.01)call IssueTargetOrderById(hsv,$D00B5,hsv)set hsv=nullendfunctionfunction htv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678921)endfunctionfunction hTv takes nothing returns nothinglocal unit huv=GetTriggerUnit()call TriggerSleepAction(10.01)call IssueTargetOrderById(huv,$D00B5,huv)set huv=nullendfunctionfunction hwv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678920)endfunctionfunction hWv takes nothing returns nothinglocal unit hyv=GetTriggerUnit()call TriggerSleepAction(10.01)call IssueTargetOrderById(hyv,$D00B5,hyv)set hyv=nullendfunctionfunction hzv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678922)endfunctionfunction hZv takes nothing returns nothinglocal unit h_v=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(h_v,$D00B5,h_v)set h_v=nullendfunctionfunction h1v takes nothing returns booleanreturn(GetSpellAbilityId()==1093678923)endfunctionfunction h2v takes nothing returns nothinglocal unit h3v=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(h3v,$D00B5,h3v)set h3v=nullendfunctionfunction h5v takes nothing returns booleanreturn(GetSpellAbilityId()==1093678924)endfunctionfunction h6v takes nothing returns nothinglocal unit h7v=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(h7v,$D00B5,h7v)set h7v=nullendfunctionfunction h9v takes nothing returns booleanreturn(GetSpellAbilityId()==1093678925)endfunctionfunction Hvv takes nothing returns nothinglocal unit Hev=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(Hev,$D00B5,Hev)set Hev=nullendfunctionfunction Hov takes nothing returns booleanreturn(GetSpellAbilityId()==1093678660)endfunctionfunction Hrv takes nothing returns nothinglocal unit Hiv=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(Hiv,$D00B5,Hiv)set Hiv=nullendfunctionfunction Hnv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678661)endfunctionfunction HVv takes nothing returns nothinglocal unit HEv=GetTriggerUnit()call TriggerSleepAction(2.01)call IssueTargetOrderById(HEv,$D00B5,HEv)set HEv=nullendfunctionfunction HOv takes nothing returns booleanreturn(GetUnitTypeId(GetConstructingStructure())==1697656880)endfunctionfunction HRv takes nothing returns booleanreturn(Xv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]>=9)endfunctionfunction HIv takes nothing returns nothingif(HRv())thencall SetPlayerTechMaxAllowedSwap(1697656880,0,GetOwningPlayer(GetConstructingStructure()))call SetPlayerTechMaxAllowedSwap(1697656883,1,GetOwningPlayer(GetConstructingStructure()))set Xv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]=(Xv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]+1)elseset Xv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]=(Xv[(1+GetPlayerId(GetOwningPlayer(GetConstructingStructure())))]+1)endifendfunctionfunction HNv takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656880)or(GetUnitTypeId(GetTriggerUnit())==1697656902)endfunctionfunction Hbv takes nothing returns booleanreturn(HNv())endfunctionfunction HBv takes nothing returns nothingcall IssueImmediateOrderById(GetTriggerUnit(),$D00B6)call IssueTargetOrderById(GetTriggerUnit(),$D00B5,GetTriggerUnit())endfunctionfunction HCv takes nothing returns booleanreturn(GetUnitTypeId(GetTriggerUnit())==1697656884)or(GetUnitTypeId(GetTriggerUnit())==1697656885)or(GetUnitTypeId(GetTriggerUnit())==1697656900)or(GetUnitTypeId(GetTriggerUnit())==1697656886)or(GetUnitTypeId(GetTriggerUnit())==1697656887)or(GetUnitTypeId(GetTriggerUnit())==1697656899)or(GetUnitTypeId(GetTriggerUnit())==1697656901)or(GetUnitTypeId(GetTriggerUnit())==1697656902)or(GetUnitTypeId(GetTriggerUnit())==1697656889)or(GetUnitTypeId(GetTriggerUnit())==1697656903)endfunctionfunction Hdv takes nothing returns booleanreturn(HCv())endfunctionfunction HDv takes nothing returns nothingcall IssueImmediateOrderById(GetTriggerUnit(),$D00B6)call IssueTargetOrderById(GetTriggerUnit(),$D00B5,GetTriggerUnit())endfunctionfunction HFv takes nothing returns booleanreturn(GetUnitTypeId(GetDyingUnit())==1697656880)or(GetUnitTypeId(GetDyingUnit())==1697656884)or(GetUnitTypeId(GetDyingUnit())==1697656885)or(GetUnitTypeId(GetDyingUnit())==1697656900)or(GetUnitTypeId(GetDyingUnit())==1697656886)or(GetUnitTypeId(GetDyingUnit())==1697656887)or(GetUnitTypeId(GetDyingUnit())==1697656899)or(GetUnitTypeId(GetDyingUnit())==1697656901)or(GetUnitTypeId(GetDyingUnit())==1697656902)endfunctionfunction Hgv takes nothing returns booleanreturn(HFv())endfunctionfunction HGv takes nothing returns booleanreturn(Xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]==$A)endfunctionfunction Hhv takes nothing returns nothingif(HGv())thencall SetPlayerTechMaxAllowedSwap(1697656880,$A,GetOwningPlayer(GetDyingUnit()))call SetPlayerTechMaxAllowedSwap(1697656883,0,GetOwningPlayer(GetDyingUnit()))set Xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)elseset Xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]=(Xv[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]-1)endifendfunctionfunction Hjv takes nothing returns booleanreturn(GetSpellAbilityId()==1093677140)endfunctionfunction HJv takes nothing returns nothinglocal unit Hkv=GetSpellAbilityUnit()call YD(4.)call IssueImmediateOrderById(Hkv,$D0272)set Hkv=nullendfunctionfunction Hlv takes nothing returns nothingcall EnableTrigger(bd)call EnableTrigger(Dd)endfunctionfunction Hmv takes nothing returns nothingset Bv[1]="|c00FF0303"set Bv[2]="|c000042FF"set Bv[3]="|c001CE6B9"set Bv[4]="|c00540081"set Bv[5]="|c00FFFC01"set Bv[6]="|c00FF7F00"set Bv[7]="|c0020C000"set Bv[8]="|c00E55BB0"set Bv[9]="|c00959697"set Bv[$A]="|c007EBFF1"set Bv[$B]="|c00106246"set Bv[$C]="|c004E2A04"set Bv[$D]="|c00FFFF00"set Bv[$E]="|c00FF7F00"set Bv[$F]="|c00FF9696"set Bv[16]="|c00FF0000"set Bv[17]="|c00640000"set Bv[18]="|c0096FF96"set Bv[19]="|c0000FF00"set Bv[20]="|c00006400"set Bv[21]="|c006969FF"set Bv[22]="|c000000FF"set Bv[23]="|c00000064"set Bv[24]="|c00FFFFFF"set Bv[25]="|c007d7d7d"set Bv[26]="|c00000000"set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=$Cloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Je[bj_forLoopAIndex]=GetPlayerName(Player(-1+(bj_forLoopAIndex)))set bj_forLoopAIndex=bj_forLoopAIndex+1endloopendfunctionfunction Hpv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$B)=="-титул")and(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D))>=1)and(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E))<=9)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))==PLAYER_SLOT_STATE_PLAYING)and(Je[S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D))]!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))!="IncredibleTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))!="FabulousTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))!="[Noob_of_Pizduk]")and(pv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction HPv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rустановил титул игроку "+(Je[S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D))]+("|r: "+SubStringBJ(GetEventPlayerChatString(),$F,StringLength(GetEventPlayerChatString())))))))call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D))])call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))),((GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$D)))))+" |r(")+(SubStringBJ(GetEventPlayerChatString(),$F,StringLength(GetEventPlayerChatString()))+")")))endfunctionfunction HQv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$B)=="-титул")and(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E))<=$C)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))!="IncredibleTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))!="FabulousTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))!="[Noob_of_Pizduk]")and(pv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction Hsv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rустановил титул игроку "+(Je[S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E))]+("|r: "+SubStringBJ(GetEventPlayerChatString(),16,StringLength(GetEventPlayerChatString())))))))call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E))])call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))),((GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$C,$E)))))+" |r(")+(SubStringBJ(GetEventPlayerChatString(),16,StringLength(GetEventPlayerChatString()))+")")))endfunctionfunction Htv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$E)=="-у титул")and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))>=1)and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))<=9)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16)))))==PLAYER_SLOT_STATE_PLAYING)and(pv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction HTv takes nothing returns nothingcall SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))])call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rубрал титул игроку "+Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))])))endfunctionfunction HUv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$E)=="-у титул")and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))<=$C)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17)))))==PLAYER_SLOT_STATE_PLAYING)and(pv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction Hwv takes nothing returns nothingcall SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))])call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rубрал титул игроку "+Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))])))endfunctionfunction Hyv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction HYv takes nothing returns booleanreturn(Hyv())endfunctionfunction Hzv takes nothing returns nothingcall SetPlayerName(GetTriggerPlayer(),"|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")set Je[(1+GetPlayerId(GetTriggerPlayer()))]=GetPlayerName(GetTriggerPlayer())endfunctionfunction H_v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")or(GetPlayerName(GetTriggerPlayer())=="|c00230000DA|c00140000RT|c00080000H |c0005000AVA|c0000000FDE|c00000019R|r")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|cFF800080Б|cFF00C000у")or(GetPlayerName(GetTriggerPlayer())=="Ч|cFFFF0000ит|c0FFFF000ак")or(GetPlayerName(GetTriggerPlayer())=="|cFFFFFFFFFox")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="|cFF00FF00Mas|CFF400080ter_|cFF0000C0Bat|CFF8000FFtle")or(GetPlayerName(GetTriggerPlayer())=="[|cFFFF0000x|cFF00FF00y|cFF0000FFz|r]")or(GetPlayerName(GetTriggerPlayer())=="|c00540081Ks|c00E55BB0nu")endfunctionfunction H0v takes nothing returns booleanreturn(H_v())endfunctionfunction H1v takes nothing returns nothingset pv[(1+GetPlayerId(GetTriggerPlayer()))]=1endfunctionfunction H3v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,6)=="-title")and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))>=1)and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))<=9)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))==PLAYER_SLOT_STATE_PLAYING)and(Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))]!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="[Noob_of_Pizduk]")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00FF0303be|c000042FFast|c001CE6B9.1991")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="IncredibleTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="FabulousTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00540081g|c007d7d7dGl|c00fEBA0Ecl")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00540081SmOk|c007d7d7dkes|c00fEBA0Epb")endfunctionfunction H4v takes nothing returns booleanreturn(ke[(1+GetPlayerId(GetTriggerPlayer()))]!=$A)endfunctionfunction H5v takes nothing returns nothingif(H4v())thenset ke[(1+GetPlayerId(GetTriggerPlayer()))]=(ke[(1+GetPlayerId(GetTriggerPlayer()))]+1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rустановил титул игроку "+(Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))]+("|r: "+SubStringBJ(GetEventPlayerChatString(),$A,StringLength(GetEventPlayerChatString())))))))call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))])call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),((GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))+" |r(")+(SubStringBJ(GetEventPlayerChatString(),$A,StringLength(GetEventPlayerChatString()))+")")))elsecall DisplayTextToForce(cf(GetTriggerPlayer()),"Вы больше не можете устанавливать титулы!")endifendfunctionfunction H7v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,6)=="-title")and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),8,9))<=$C)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))==PLAYER_SLOT_STATE_PLAYING)and(Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))]!=he)and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="[Noob_of_Pizduk]")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00FF0303be|c000042FFast|c001CE6B9.1991")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c0FFFF000Sorry|cFF0080FFYou|cFF00FF00Must|cFFC000C0Die")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="IncredibleTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="FabulousTiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00540081g|c007d7d7dGl|c00fEBA0Ecl")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))!="|c00540081SmOk|c007d7d7dkes|c00fEBA0Epb")endfunctionfunction H8v takes nothing returns booleanreturn(ke[(1+GetPlayerId(GetTriggerPlayer()))]!=$A)endfunctionfunction H9v takes nothing returns nothingif(H8v())thenset ke[(1+GetPlayerId(GetTriggerPlayer()))]=(ke[(1+GetPlayerId(GetTriggerPlayer()))]+1)call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rустановил титул игроку "+(Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))]+("|r: "+SubStringBJ(GetEventPlayerChatString(),$B,StringLength(GetEventPlayerChatString())))))))call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),8,9))])call SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))),((GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),8,9)))))+" |r(")+(SubStringBJ(GetEventPlayerChatString(),$B,StringLength(GetEventPlayerChatString()))+")")))elsecall DisplayTextToForce(cf(GetTriggerPlayer()),"Вы больше не можете устанавливать титулы!")endifendfunctionfunction jev takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$D)=="-delete title")and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))>=1)and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))<=9)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16)))))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction jxv takes nothing returns nothingcall SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,16)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))])call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rубрал титул игроку "+Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,16))])))endfunctionfunction jrv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,$D)=="-delete title")and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))<=$C)and(GetPlayerSlotState(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17)))))==PLAYER_SLOT_STATE_PLAYING)endfunctionfunction jiv takes nothing returns nothingcall SetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$F,17)))),Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))])call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(Je[(1+GetPlayerId(GetTriggerPlayer()))]+(" |rубрал титул игроку "+Je[S2I(SubStringBJ(GetEventPlayerChatString(),$F,17))])))endfunctionfunction jnv takes nothing returns nothingcall EnableTrigger(Bd)call EnableTrigger(cd)call EnableTrigger(Cd)call EnableTrigger(dd)endfunctionfunction jEv takes nothing returns booleanreturn((GetUnitTypeId(GetTriggerUnit())==1865429302)and(GetUnitTypeId(GetAttacker())!=1747988531)and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)==false))!=nullendfunctionfunction jXv takes nothing returns nothingcall SetUnitManaPercentBJ(GetAttacker(),.0)call AddSpecialEffectLocBJ(GetUnitLoc(GetAttacker()),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")set tv=bj_lastCreatedEffectcall TriggerSleepAction(.5)call DestroyEffect(tv)endfunctionfunction jRv takes nothing returns booleanreturn((GetUnitTypeId(GetTriggerUnit())==1865429304)and(GetUnitTypeId(GetAttacker())!=1747988531)and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)==false))!=nullendfunctionfunction jIv takes nothing returns booleanreturn(UnitHasBuffBJ(GetAttacker(),1115059564)==false)endfunctionfunction jAv takes nothing returns booleanreturn((GetUnitTypeId(GetEnumUnit())!=1747988531)and(UnitHasBuffBJ(GetEnumUnit(),1115059564)==false)and(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)==false))!=nullendfunctionfunction jNv takes nothing returns nothingif(jAv())thencall SetUnitLifePercentBJ(GetEnumUnit(),(GetUnitLifePercent(GetEnumUnit())-8.))endifendfunctionfunction jbv takes nothing returns nothingcall CameraSetEQNoiseForPlayer(GetEnumPlayer(),1.)endfunctionfunction jBv takes nothing returns nothingcall CameraClearNoiseForPlayer(GetEnumPlayer())endfunctionfunction jcv takes nothing returns nothingif(jIv())thencall SetUnitLifePercentBJ(GetAttacker(),(GetUnitLifePercent(GetAttacker())-8.))endifcall ForGroupBJ(Rf(400.,GetUnitLoc(GetAttacker())),function jNv)call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")set tv=bj_lastCreatedEffectcall ForForce(bj_FORCE_ALL_PLAYERS,function jbv)call TriggerSleepAction(.5)call ForForce(bj_FORCE_ALL_PLAYERS,function jBv)call DestroyEffect(tv)endfunctionfunction jdv takes nothing returns booleanreturn((GetUnitTypeId(GetAttacker())==1865429314)and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)))!=nullendfunctionfunction jDv takes nothing returns nothingcall CreateNUnitsAtLoc(1,1747988567,Player($C),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)call UnitApplyTimedLifeBJ(2.,1112045413,bj_lastCreatedUnit)call IssueTargetOrderById(bj_lastCreatedUnit,$D0102,bj_lastCreatedUnit)call TriggerSleepAction(.2)call RemoveUnit(GetAttacker())endfunctionfunction jFv takes nothing returns booleanreturn((GetUnitTypeId(GetAttacker())==1865429314)and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)))!=nullendfunctionfunction jgv takes nothing returns nothingcall CreateNUnitsAtLoc(1,1747988569,GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)call UnitApplyTimedLifeBJ(2.,1112045413,bj_lastCreatedUnit)call IssueImmediateOrderById(bj_lastCreatedUnit,$D009F)call TriggerSleepAction(.2)call RemoveUnit(GetAttacker())endfunctionfunction jhv takes nothing returns booleanreturn(GetSpellAbilityId()==1093678931)endfunctionfunction jHv takes nothing returns booleanreturn(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER)>=5000)endfunctionfunction jjv takes nothing returns nothingif(jHv())thencall AdjustPlayerStateBJ(50,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ(-5000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER)endifendfunctionfunction jkv takes nothing returns nothingset Uv[(1+GetPlayerId(GetEnumPlayer()))]=(CountLivingPlayerUnitsOfTypeId(1747988569,GetEnumPlayer())+(CountLivingPlayerUnitsOfTypeId(1747988562,GetEnumPlayer())*1))call AdjustPlayerStateBJ(Uv[(1+GetPlayerId(GetEnumPlayer()))],GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)endfunctionfunction jKv takes nothing returns nothingcall ForForce(bj_FORCE_ALL_PLAYERS,function jkv)endfunctionfunction jLv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679186)endfunctionfunction jmv takes nothing returns booleanreturn(GetRandomInt(1,100)<=Wv[1])endfunctionfunction jMv takes nothing returns booleanreturn(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=100)endfunctionfunction jpv takes nothing returns nothingif(jMv())thencall AdjustPlayerStateBJ(-100,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)set Wv[1]=GetRandomInt(1,100)if(jmv())thencall AdjustPlayerStateBJ(600,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagUnitBJ("|cFFFFFF00Вы выиграли 600 золота!|r",GetTriggerUnit(),15.,7.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)elsecall CreateTextTagUnitBJ("|cFFFF0000Вы проиграли 100 золота! А петросяны получили по 400 золота|r",GetTriggerUnit(),15.,10.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)call AdjustPlayerStateBJ(400,Player($A),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ(400,Player($B),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagLocBJ("|cFFFFFF00Вы выиграли у зрилов 400 золота!|r",GetRectCenter(Mr),15.,$A,100,100,100,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)endifelsecall IssueImmediateOrderById(GetTriggerUnit(),$D0004)call DisplayTimedTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),2.,"|Cffff0000Недостаточно золота для ставки!|r")endifendfunctionfunction jqv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679187)endfunctionfunction jQv takes nothing returns booleanreturn(GetRandomInt(1,100)<=Wv[1])endfunctionfunction jsv takes nothing returns booleanreturn(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$C8)endfunctionfunction jSv takes nothing returns nothingif(jsv())thencall AdjustPlayerStateBJ(-$C8,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)set Wv[1]=GetRandomInt(1,100)if(jQv())thencall AdjustPlayerStateBJ($3E8,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagUnitBJ("|cFFFFFF00Вы выиграли 1000 золота!|r",GetTriggerUnit(),15.,7.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)elsecall CreateTextTagUnitBJ("|cFFFF0000Вы проиграли 200 золота! А петросяны получили по 800 золота|r",GetTriggerUnit(),15.,10.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)call AdjustPlayerStateBJ(800,Player($A),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ(800,Player($B),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagLocBJ("|cFFFFFF00Вы выиграли у зрилов 800 золота!|r",GetRectCenter(Mr),15.,$A,100,100,100,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)endifelsecall IssueImmediateOrderById(GetTriggerUnit(),$D0004)call DisplayTimedTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),2.,"|Cffff0000Недостаточно золота для ставки!|r")endifendfunctionfunction jTv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679188)endfunctionfunction juv takes nothing returns booleanreturn(GetRandomInt(1,100)<=Wv[1])endfunctionfunction jUv takes nothing returns booleanreturn(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=500)endfunctionfunction jwv takes nothing returns nothingif(jUv())thencall AdjustPlayerStateBJ(-500,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)set Wv[1]=GetRandomInt(1,100)if(juv())thencall AdjustPlayerStateBJ($BB8,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagUnitBJ("|cFFFFFF00Вы выиграли 3000 золота!|r",GetTriggerUnit(),15.,7.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)elsecall CreateTextTagUnitBJ("|cFFFF0000Вы проиграли 500 золота! А петросяны получили по 1500 золота|r",GetTriggerUnit(),15.,10.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)call AdjustPlayerStateBJ($5DC,Player($A),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ($5DC,Player($B),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagLocBJ("|cFFFFFF00Вы выиграли у зрилов 1500 золота!|r",GetRectCenter(Mr),15.,$A,100,100,100,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)endifelsecall IssueImmediateOrderById(GetTriggerUnit(),$D0004)call DisplayTimedTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),2.,"|Cffff0000Недостаточно золота для ставки!|r")endifendfunctionfunction jyv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679193)endfunctionfunction jYv takes nothing returns booleanreturn(GetRandomInt(1,100)<=Wv[1])endfunctionfunction jzv takes nothing returns booleanreturn(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>=$7D0)endfunctionfunction jZv takes nothing returns nothingif(jzv())thencall AdjustPlayerStateBJ(-$7D0,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)set Wv[1]=GetRandomInt(1,100)if(jYv())thencall AdjustPlayerStateBJ($2710,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagUnitBJ("|cFFFFFF00Вы выиграли 10000 золота!|r",GetTriggerUnit(),15.,7.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)elsecall CreateTextTagUnitBJ("|cFFFF0000Вы проиграли 2000 золота! А петросяны получили по 4000 золота|r",GetTriggerUnit(),15.,10.,100.,100,100.,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)call AdjustPlayerStateBJ($FA0,Player($A),PLAYER_STATE_RESOURCE_GOLD)call AdjustPlayerStateBJ($FA0,Player($B),PLAYER_STATE_RESOURCE_GOLD)call CreateTextTagLocBJ("|cFFFFFF00Вы выиграли у зрилов 4000 золота!|r",GetRectCenter(Mr),15.,$A,100,100,100,15.)call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.)call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)endifelsecall IssueImmediateOrderById(GetTriggerUnit(),$D0004)call DisplayTimedTextToForce(cf(GetOwningPlayer(GetTriggerUnit())),2.,"|Cffff0000Недостаточно золота для ставки!|r")endifendfunctionfunction j0v takes nothing returns booleanreturn(GetUnitTypeId(GetSpellTargetUnit())==1848651825)or(GetUnitTypeId(GetSpellTargetUnit())==1848651846)or(GetUnitTypeId(GetSpellTargetUnit())==1848651828)or(GetUnitTypeId(GetSpellTargetUnit())==1848651851)or(GetUnitTypeId(GetSpellTargetUnit())==1848651850)endfunctionfunction j1v takes nothing returns booleanreturn(GetSpellAbilityId()==1093679184)and(j0v())endfunctionfunction j2v takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction j4v takes nothing returns booleanreturn(GetSpellAbilityId()==1093681485)and(GetUnitTypeId(GetSpellTargetUnit())==1747988531)endfunctionfunction j5v takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction j7v takes nothing returns booleanreturn(GetSpellAbilityId()==1093681495)and(GetUnitTypeId(GetSpellTargetUnit())==1747988531)endfunctionfunction j8v takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Jvv takes nothing returns booleanreturn(GetSpellAbilityId()==1093681744)and(GetUnitTypeId(GetSpellTargetUnit())==1747988531)endfunctionfunction Jev takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Jov takes nothing returns booleanreturn(GetSpellAbilityId()==1093681748)and(GetUnitTypeId(GetSpellTargetUnit())==1852138344)endfunctionfunction Jrv takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction Jav takes nothing returns booleanreturn(GetSpellAbilityId()==1093681712)and(GetUnitTypeId(GetSpellTargetUnit())==1852138344)endfunctionfunction Jnv takes nothing returns nothingcall IssueImmediateOrderById(GetSpellAbilityUnit(),$D0004)endfunctionfunction JEv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679184)endfunctionfunction JXv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("|cFF004040Петр |r"+(Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]+(GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit()))+("|r использовал |cFFFF0000Снайперский выстрел|r на игрока |r"+(Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellTargetUnit())))]+GetPlayerName(GetOwningPlayer(GetSpellTargetUnit()))))))))endfunctionfunction JRv takes nothing returns booleanreturn(GetSpellAbilityId()==1093679413)endfunctionfunction JIv takes nothing returns nothingcall DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("|cFF004040Сын петра|r игрока |r"+(Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]+(GetPlayerName(GetOwningPlayer(GetSpellAbilityUnit()))+("|r использовал |cFFFF0000Снайперский выстрел|r на игрока |r"+(Bv[(1+GetPlayerId(GetOwningPlayer(GetSpellTargetUnit())))]+GetPlayerName(GetOwningPlayer(GetSpellTargetUnit()))))))))endfunctionfunction JNv takes nothing returns booleanreturn(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="1")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jbv takes nothing returns booleanreturn(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="2")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JBv takes nothing returns booleanreturn(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="3")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jcv takes nothing returns booleanreturn(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="4")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JCv takes nothing returns booleanreturn(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="5")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jdv takes nothing returns booleanreturn(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="6")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JDv takes nothing returns booleanreturn(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="7")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jfv takes nothing returns booleanreturn(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="8")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JFv takes nothing returns booleanreturn(GetPlayerSlotState(Player(8))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="9")and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jgv takes nothing returns booleanreturn(GetPlayerSlotState(Player(9))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="10")and(SubStringBJ(GetEventPlayerChatString(),$D,$D)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JGv takes nothing returns booleanreturn(GetPlayerSlotState(Player($A))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="11")and(SubStringBJ(GetEventPlayerChatString(),$D,$D)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction Jhv takes nothing returns booleanreturn(GetPlayerSlotState(Player($B))==PLAYER_SLOT_STATE_PLAYING)and(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="12")and(SubStringBJ(GetEventPlayerChatString(),$D,$D)==" ")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction JHv takes nothing returns booleanreturn(JNv())or(Jbv())or(JBv())or(Jcv())or(JCv())or(Jdv())or(JDv())or(Jfv())or(JFv())or(Jgv())or(JGv())or(Jhv())endfunctionfunction Jjv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,9)=="-unicname")and(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C))>0)and(S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C))<=$C)and(JHv())and(pv[(1+GetPlayerId(GetTriggerPlayer()))]==1)endfunctionfunction JJv takes nothing returns booleanreturn(je)endfunctionfunction Jkv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="1")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="2")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="3")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="4")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="5")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="6")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="7")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="8")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="9")endfunctionfunction JKv takes nothing returns booleanreturn(Jkv())and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+2),(bj_forLoopAIndex+2))=="-")endfunctionfunction Jlv takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+2)))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+2)))<=26)and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+3),(bj_forLoopAIndex+3))=="-")endfunctionfunction JLv takes nothing returns booleanreturn(JKv())or(Jlv())endfunctionfunction Jmv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),bj_forLoopAIndex,bj_forLoopAIndex)=="[")and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex-1),(bj_forLoopAIndex-1))==" ")and(JLv())and(je)endfunctionfunction JMv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="10")or(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="11")or(SubStringBJ(GetEventPlayerChatString(),$B,$C)=="12")or(SubStringBJ(GetEventPlayerChatString(),$D,$D)==" ")endfunctionfunction Jpv takes nothing returns booleanreturn(JMv())endfunctionfunction JPv takes nothing returns booleanreturn(je)endfunctionfunction Jqv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="1")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="2")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="3")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="4")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="5")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="6")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="7")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="8")or(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+1))=="9")endfunctionfunction JQv takes nothing returns booleanreturn(Jqv())and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+2),(bj_forLoopAIndex+2))=="-")endfunctionfunction Jsv takes nothing returns booleanreturn(S2I(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+2)))>=$A)and(S2I(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+1),(bj_forLoopAIndex+2)))<=26)and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex+3),(bj_forLoopAIndex+3))=="-")endfunctionfunction JSv takes nothing returns booleanreturn(JQv())or(Jsv())endfunctionfunction Jtv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),bj_forLoopAIndex,bj_forLoopAIndex)=="[")and(SubStringBJ(GetEventPlayerChatString(),(bj_forLoopAIndex-1),(bj_forLoopAIndex-1))==" ")and(JSv())and(je)endfunctionfunction JTv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="1")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="2")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="3")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="4")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="5")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="6")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="7")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="8")or(SubStringBJ(GetEventPlayerChatString(),$B,$B)=="9")endfunctionfunction Juv takes nothing returns booleanreturn(JTv())and(SubStringBJ(GetEventPlayerChatString(),$C,$C)==" ")endfunctionfunction JUv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")endfunctionfunction Jwv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="1")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="2")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="3")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="4")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="5")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="6")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="7")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="8")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1))=="9")endfunctionfunction JWv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="10")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="11")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="12")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="13")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="14")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4))=="15")endfunctionfunction Jyv takes nothing returns booleanreturn(JWv())endfunctionfunction JYv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="1")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="2")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="3")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="4")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="5")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="6")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="7")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="8")or(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3))=="9")endfunctionfunction Jzv takes nothing returns booleanreturn(JYv())and(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="]")endfunctionfunction JZv takes nothing returns booleanreturn(Jwv())and(SubStringBJ(GetEventPlayerChatString(),(Ae+2),(Ae+2))=="-")endfunctionfunction J_v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="1")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="2")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="3")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="4")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="5")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="6")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="7")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="8")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4))=="9")endfunctionfunction J0v takes nothing returns booleanreturn(J_v())and(SubStringBJ(GetEventPlayerChatString(),(Ae+5),(Ae+5))=="]")endfunctionfunction J1v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="10")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="11")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="12")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="13")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="14")or(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5))=="15")endfunctionfunction J2v takes nothing returns booleanreturn(J1v())endfunctionfunction J3v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="10")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="11")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="12")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="13")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="14")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="15")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="16")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="17")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="18")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="19")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="20")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="21")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="22")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="23")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="24")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="25")or(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2))=="26")endfunctionfunction J4v takes nothing returns booleanreturn(J3v())endfunctionfunction J5v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),Ae,Ae)=="[")endfunctionfunction J6v takes nothing returns booleanreturn(jx==false)endfunctionfunction J7v takes nothing returns booleanreturn(bj_forLoopAIndex==Re[Hx])endfunctionfunction J8v takes nothing returns booleanreturn(mx[1])endfunctionfunction J9v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|C00ffbd00Ef|cFF00FF00imi|cFF00FFFFnys")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")or(GetPlayerName(GetTriggerPlayer())=="|cFFFFFFFFFox")endfunctionfunction kvv takes nothing returns booleanreturn(mx[1])endfunctionfunction kev takes nothing returns booleanreturn(J9v())endfunctionfunction kxv takes nothing returns nothingif(kev())thenset mx[1]=falseset Hx=1set Be[0]=0set jx=falseset Ce=""set Ae=0set Oe=0set Ie=""set je=trueset be=0set bj_forLoopAIndex=1set bj_forLoopAIndexEnd=100loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndset Be[bj_forLoopAIndex]=0set Re[bj_forLoopAIndex]=0set bj_forLoopAIndex=bj_forLoopAIndex+1endloopif(Jpv())thenset bj_forLoopAIndex=$Eset bj_forLoopAIndexEnd=100loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Jmv())thenset je=falseset Oe=((bj_forLoopAIndex-1)-$E)set mx[1]=falseelseif(JJv())thenset Oe=(StringLength(GetEventPlayerChatString())-$D)set mx[1]=trueendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset Ie=SubStringBJ(GetEventPlayerChatString(),$E,($E+Oe))set Ae=((Oe+$E)+1)set ge[2]=S2I(SubStringBJ(GetEventPlayerChatString(),$B,$C))endifif(Juv())thenset bj_forLoopAIndex=$Dset bj_forLoopAIndexEnd=100loopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(Jtv())thenset je=falseset Oe=((bj_forLoopAIndex-1)-$D)set mx[1]=falseelseif(JPv())thenset Oe=(StringLength(GetEventPlayerChatString())-$C)set mx[1]=trueendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset Ie=SubStringBJ(GetEventPlayerChatString(),$D,($D+Oe))set Ae=((Oe+$D)+1)set ge[2]=S2I(SubStringBJ(GetEventPlayerChatString(),$B,$B))endifif(JUv())thenset Ie=Fx[ge[2]]endifset ge[1]=Aeset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=Oeloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(J5v())thenif(JZv())thenif(Jyv())thenset be=(be+1)set Be[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1)))set Re[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+4)))set Ae=(Ae+7)endifif(Jzv())thenset be=(be+1)set Be[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+1)))set Re[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+3),(Ae+3)))set Ae=(Ae+6)endifendifif(J4v())thenif(J0v())thenset be=(be+1)set Be[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2)))set Re[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+4)))set Ae=(Ae+7)endifif(J2v())thenset be=(be+1)set Be[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+1),(Ae+2)))set Re[be]=S2I(SubStringBJ(GetEventPlayerChatString(),(Ae+4),(Ae+5)))set Ae=(Ae+8)endifendifendifset bj_forLoopAIndex=bj_forLoopAIndex+1endloopset bj_forLoopAIndex=1set bj_forLoopAIndexEnd=Oeloopexitwhen bj_forLoopAIndex>bj_forLoopAIndexEndif(J7v())thenset de=(Bv[Be[Hx]]+SubStringBJ(Ie,Re[Hx],Re[Hx]))set Hx=(Hx+1)set jx=trueelseif(J6v())thenset de=(Bv[ge[2]]+SubStringBJ(Ie,bj_forLoopAIndex,bj_forLoopAIndex))set jx=trueelseset de=SubStringBJ(Ie,bj_forLoopAIndex,bj_forLoopAIndex)endifendifset Ce=(Ce+de)set bj_forLoopAIndex=bj_forLoopAIndex+1endloopif(J8v())thenset Ce=(Bv[ge[2]]+Ie)endifcall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,((Bv[(1+GetPlayerId(GetTriggerPlayer()))]+GetPlayerName(GetTriggerPlayer()))+((" |cFF00FF03провозгласил|r "+(Bv[ge[2]]+GetPlayerName(Player(-1+(ge[2])))))+(" |cFF00FF03на:|r "+Ce))))call SetPlayerName(Player(-1+(ge[2])),Ce)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[ge[2]]+1),((Bv[ge[2]]+I2S(ge[2]))+(". "+Ce)))if(kvv())thencall SetPlayerName(Player(-1+(ge[2])),Ie)endifendifendfunctionfunction krv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 1")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(SubStringBJ(GetEventPlayerChatString(),8,8)==" ")endfunctionfunction kiv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00540081Ks|c00E55BB0nu")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kav takes nothing returns booleanreturn(kiv())endfunctionfunction knv takes nothing returns nothingif(kav())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(0)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(0),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kEv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 2")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction kXv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kOv takes nothing returns booleanreturn(kXv())endfunctionfunction kRv takes nothing returns nothingif(kOv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(1)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(1),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kAv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 3")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction kNv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kbv takes nothing returns booleanreturn(kNv())endfunctionfunction kBv takes nothing returns nothingif(kbv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(2)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(2),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kCv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 4")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")endfunctionfunction kdv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kDv takes nothing returns booleanreturn(kdv())endfunctionfunction kfv takes nothing returns nothingif(kDv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(3)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(3),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kgv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 5")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction kGv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction khv takes nothing returns booleanreturn(kGv())endfunctionfunction kHv takes nothing returns nothingif(khv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(4)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(4),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kJv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 6")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction kkv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kKv takes nothing returns booleanreturn(kkv())endfunctionfunction klv takes nothing returns nothingif(kKv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(5)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(5),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kmv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 7")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction kMv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kpv takes nothing returns booleanreturn(kMv())endfunctionfunction kPv takes nothing returns nothingif(kpv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(6)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(6),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kQv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 8")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction ksv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kSv takes nothing returns booleanreturn(ksv())endfunctionfunction ktv takes nothing returns nothingif(kSv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(7)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(7),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kuv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,7)=="-name 9")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),6,7)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction kUv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kwv takes nothing returns booleanreturn(kUv())endfunctionfunction kWv takes nothing returns nothingif(kwv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(8)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(8),SubStringBJ(GetEventPlayerChatString(),9,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+1),((Bv[S2I(SubStringBJ(GetEventPlayerChatString(),7,7))]+SubStringBJ(GetEventPlayerChatString(),7,7))+(". "+Yv)))endifendfunctionfunction kYv takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,8)=="-name 10")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction kzv takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction kZv takes nothing returns booleanreturn(kzv())endfunctionfunction k_v takes nothing returns nothingif(kZv())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player(9)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player(9),SubStringBJ(GetEventPlayerChatString(),$A,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[$A]+1),((Bv[$A]+"10")+(". "+Yv)))endifendfunctionfunction k1v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,8)=="-name 11")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction k2v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00540081Ks|c00E55BB0nu")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction k3v takes nothing returns booleanreturn(k2v())endfunctionfunction k4v takes nothing returns nothingif(k3v())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player($A)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player($A),SubStringBJ(GetEventPlayerChatString(),$A,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[$B]+1),((Bv[$B]+"11")+(". "+Yv)))endifendfunctionfunction k6v takes nothing returns booleanreturn(SubStringBJ(GetEventPlayerChatString(),1,8)=="-name 12")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")and(GetPlayerName(Player(-1+(S2I(SubStringBJ(GetEventPlayerChatString(),7,8)))))!="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")endfunctionfunction k7v takes nothing returns booleanreturn(GetPlayerName(GetTriggerPlayer())=="|c00FF0303be|c000042FFast|c001CE6B9.1991")or(GetPlayerName(GetTriggerPlayer())=="|cFFFF0000Nik|c0FFFF000olas|cFF0000FF_|cFF00FF00su|cFFFF8000per")or(GetPlayerName(GetTriggerPlayer())=="[Noob_of_Pizduk]")or(GetPlayerName(GetTriggerPlayer())=="|c00640000Inc|c00FF0000red|c00FF7F00ible|c00FFFF00Tiger")or(GetPlayerName(GetTriggerPlayer())=="G|c0FFFF000old|r_|cFFFF0000akk")or(GetPlayerName(GetTriggerPlayer())=="|c00FF0000v|c000000FFol|c00FFFF00k$$|c00FF0000$$$|c00FFFF00$")or(GetPlayerName(GetTriggerPlayer())=="|c00540081Ks|c00E55BB0nu")or(GetPlayerName(GetTriggerPlayer())=="|c000000FFIaice|c00FFFF00Trias")endfunctionfunction k8v takes nothing returns booleanreturn(k7v())endfunctionfunction k9v takes nothing returns nothingif(k8v())thencall DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,(GetPlayerName(GetTriggerPlayer())+((" |cFF00FF03сменил имя|r "+GetPlayerName(Player($B)))+(" |cFF00FF03на:|r "+SubStringBJ(GetEventPlayerChatString(),9,30)))))call SetPlayerName(Player($B),SubStringBJ(GetEventPlayerChatString(),$A,30))set Yv=SubStringBJ(GetEventPlayerChatString(),9,30)call MultiboardSetItemValueBJ(bj_lastCreatedMultiboard,1,(zv[$C]+1),((Bv[$C]+"12")+(". "+Yv)))endifendfunctionfunction Kev takes nothing returns booleanreturn(GetUnitTypeId(GetAttacker())==1852142642)and(GetUnitTypeId(GetSpellTargetUnit())==1747988550)endfunctionfunction Kxv takes nothing returns nothingcall IssueImmediateOrderById(GetAttacker(),$D0004)endfunctionfunction InitCustomTeams takes nothing returns nothingcall SetPlayerTeam(Player(0),0)call SetPlayerState(Player(0),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(1),0)call SetPlayerState(Player(1),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(2),0)call SetPlayerState(Player(2),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(3),0)call SetPlayerState(Player(3),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(4),0)call SetPlayerState(Player(4),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(5),0)call SetPlayerState(Player(5),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(6),0)call SetPlayerState(Player(6),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(7),0)call SetPlayerState(Player(7),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(8),0)call SetPlayerState(Player(8),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player(9),0)call SetPlayerState(Player(9),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerAllianceStateAllyBJ(Player(0),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(0),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(1),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(2),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(3),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(4),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(5),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(6),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(8),true)call SetPlayerAllianceStateAllyBJ(Player(7),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(8),Player(9),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(0),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(1),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(2),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(3),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(4),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(5),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(6),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(7),true)call SetPlayerAllianceStateAllyBJ(Player(9),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(0),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(1),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(2),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(3),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(4),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(5),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(6),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(8),true)call SetPlayerAllianceStateVisionBJ(Player(7),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(8),Player(9),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(0),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(1),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(2),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(3),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(4),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(5),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(6),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(7),true)call SetPlayerAllianceStateVisionBJ(Player(9),Player(8),true)call SetPlayerTeam(Player($A),1)call SetPlayerState(Player($A),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerTeam(Player($B),1)call SetPlayerState(Player($B),PLAYER_STATE_ALLIED_VICTORY,1)call SetPlayerAllianceStateAllyBJ(Player($A),Player($B),true)call SetPlayerAllianceStateAllyBJ(Player($B),Player($A),true)call SetPlayerAllianceStateVisionBJ(Player($A),Player($B),true)call SetPlayerAllianceStateVisionBJ(Player($B),Player($A),true)endfunctionfunction main takes nothing returns nothinglocal weathereffect welocal destructable dlocal trigger tlocal real lifelocal integer ilocal integer Kflocal integer lflocal version vlocal integer ffcall SetCameraBounds(-12288.+GetCameraMargin(CAMERA_MARGIN_LEFT),-12288.+GetCameraMargin(CAMERA_MARGIN_BOTTOM),12288.-GetCameraMargin(CAMERA_MARGIN_RIGHT),12288.-GetCameraMargin(CAMERA_MARGIN_TOP),-12288.+GetCameraMargin(CAMERA_MARGIN_LEFT),12288.-GetCameraMargin(CAMERA_MARGIN_TOP),12288.-GetCameraMargin(CAMERA_MARGIN_RIGHT),-12288.+GetCameraMargin(CAMERA_MARGIN_BOTTOM))call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")call NewSoundEnvironment("Default")call SetAmbientDaySound("LordaeronSummerDay")call SetAmbientNightSound("LordaeronSummerNight")call SetMapMusic("Music",true,0)set nE=CreateSound("Units\\Demon\\HeroPitLord\\HPitLordYesAttack2.wav",false,false,true,$A,$A,"DefaultEAXON")call SetSoundParamsFromLabel(nE,"HeroPitLordYesAttack")call SetSoundDuration(nE,$9C7)call SetSoundChannel(nE,0)set VE=CreateSound("Units\\Human\\Peasant\\PeasantWarcry1.wav",false,false,true,$A,$A,"DefaultEAXON")call SetSoundParamsFromLabel(VE,"PeasantWarcry")call SetSoundDuration(VE,$49E)call SetSoundChannel(VE,0)set EE=CreateSound("war3mapImported\\Usher+BASS.mp3",false,false,false,$A,$A,"")call SetSoundChannel(EE,0)call SetSoundVolume(EE,$7F)call SetSoundPitch(EE,1.)set ux=Rect(2656.,-1216.,4512.,-640.)set Ux=Rect(2304.,-256.,4352.,576.)set wx=Rect(1216.,-3552.,1600.,-2336.)set Wx=Rect(3968.,-1216.,4576.,384.)set yx=Rect(1216.,-3584.,3872.,-3264.)set Yx=Rect(2880.,-2144.,3296.,-960.)set zx=Rect(2816.,-2304.,4000.,-1888.)set Zx=Rect(-2944.,-10016.,-1120.,-8032.)set vo=Rect(-2368.,-8032.,-2016.,-7776.)set eo=Rect(7808.,8288.,9984.,9920.)set xo=Rect(-6432.,-6720.,-4480.,-5280.)set oo=Rect(-5664.,-6144.,-5504.,-5952.)set ro=Rect(10080.,-3712.,12160.,-2944.)set io=Rect(10464.,-2944.,10784.,-2688.)set ao=Rect(7392.,-608.,10048.,544.)set no=Rect(7904.,544.,8224.,736.)set Vo=Rect(1920.,-8320.,4736.,-6272.)set Eo=Rect(1952.,-8768.,4736.,-8320.)set Xo=Rect(-10016.,7776.,-8128.,9824.)set Oo=Rect(-1568.,1664.,-224.,4064.)set Ro=Rect(-6784.,-4640.,-4864.,-3584.)set Io=Rect(-6944.,-4480.,-6784.,-4224.)set Ao=Rect(6944.,-9952.,8704.,-7968.)set No=Rect(-1536.,-4896.,-96.,-2944.)set bo=Rect(-96.,-3488.,352.,-2912.)set Bo=Rect(-6048.,1024.,-4320.,2432.)set co=Rect(192.,3008.,416.,3200.)set Co=Rect(-128.,1664.,1312.,4064.)set do=Rect(5280.,4928.,5440.,5088.)set Do=Rect(4064.,736.,6304.,2176.)set fo=Rect(-9440.,608.,-7936.,2304.)set Fo=Rect(-7936.,1088.,-7776.,1696.)set go=Rect(7648.,8448.,7712.,8544.)set Go=Rect(7648.,8352.,7712.,8480.)set ho=Rect(6240.,8256.,7584.,9760.)set Ho=Rect(6272.,7648.,7104.,8256.)set jo=Rect(8160.,5216.,10080.,6656.)set Jo=Rect(-4864.,3872.,-2944.,5280.)set ko=Rect(-4736.,5280.,-4256.,5856.)set Ko=Rect(-896.,5568.,1216.,7328.)set lo=Rect(-896.,5408.,-544.,5568.)set Lo=Rect(288.,-9312.,512.,-9088.)set mo=Rect(-544.,-10112.,1312.,-8192.)set Mo=Rect(-9408.,-6592.,-7456.,-5216.)set po=Rect(-7456.,-6208.,-7200.,-5824.)set Po=Rect(-3136.,-2304.,-1536.,-992.)set qo=Rect(-2944.,-2912.,-2208.,-2304.)set Qo=Rect(-3360.,8544.,-640.,9856.)set so=Rect(3520.,7264.,4128.,7488.)set So=Rect(2304.,7296.,3520.,9856.)set to=Rect(4352.,-5376.,6272.,-3968.)set To=Rect(6240.,-5376.,6528.,-4928.)set uo=Rect(256.,9312.,480.,9504.)set Uo=Rect(-512.,8320.,1280.,10080.)set wo=Rect(8416.,1280.,10048.,2816.)set Wo=Rect(8128.,1792.,8416.,2080.)set yo=Rect(2560.,1696.,2784.,1888.)set Yo=Rect(1792.,992.,3584.,2464.)set zo=Rect(5120.,-1920.,6304.,128.)set Zo=Rect(-4992.,-9984.,-3200.,-8032.)set vr=Rect(-5120.,-9760.,-4992.,-9440.)set er=Rect(3712.,4224.,6496.,5664.)set xr=Rect(4352.,3968.,4608.,4224.)set rr=Rect(-10112.,-8192.,-7552.,-7200.)set ir=Rect(-8160.,-9216.,-7584.,-8192.)set ar=Rect(-9472.,-4672.,-7648.,-2944.)set nr=Rect(-7648.,-4640.,-7296.,-2816.)set Vr=Rect(-6016.,-288.,-4000.,864.)set Er=Rect(-1824.,6208.,-1600.,6400.)set Xr=Rect(-2240.,5472.,-1120.,6848.)set Rr=Rect(-2272.,5184.,-1120.,5472.)set Ir=Rect(-3968.,-5024.,-2016.,-3040.)set Ar=Rect(3808.,7616.,5376.,10144.)set Nr=Rect(7648.,3968.,9824.,5216.)set br=Rect(8928.,3424.,9696.,3968.)set Br=Rect(-6400.,-3072.,-4480.,-1312.)set cr=Rect(-6880.,-2336.,-6400.,-1792.)set Cr=Rect(4064.,-1664.,4256.,-1440.)set dr=Rect(3296.,-1952.,5024.,-672.)set Dr=Rect(352.,-5792.,2528.,-3936.)set fr=Rect(4832.,-2784.,5088.,-2560.)set Fr=Rect(4000.,-3520.,5920.,-2016.)set gr=Rect(5888.,-2976.,6144.,-2656.)set Gr=Rect(-9664.,4800.,-7648.,6400.)set hr=Rect(-8736.,5376.,-8544.,5600.)set Hr=Rect(11520.,-6176.,12288.,-4000.)set jr=Rect(9952.,-6208.,10752.,-3968.)set Jr=Rect(800.,-640.,1024.,-480.)set kr=Rect(672.,-480.,800.,-352.)set Kr=Rect(10112.,-6016.,10304.,-5824.)set lr=Rect(10752.,-6208.,11488.,-4128.)set Lr=Rect(1088.,-640.,1344.,-480.)set mr=Rect(10880.,-6016.,11072.,-5824.)set Mr=Rect(96.,-1024.,320.,-864.)set pr=Rect(-480.,-1728.,-384.,-1152.)set Pr=Rect(-1120.,-1216.,-768.,-960.)set qr=Rect(-1376.,256.,-1056.,544.)set Qr=Rect(-1696.,256.,-1408.,544.)set sr=Rect(-1344.,-128.,-1056.,160.)set Sr=Rect(-1664.,-128.,-1376.,160.)set tr=Rect(-896.,-1088.,-672.,-896.)set Tr=Rect(11648.,-6016.,11872.,-5792.)set ur=Rect(10240.,-4704.,10528.,-4480.)set Ur=Rect(11040.,-4704.,11296.,-4448.)set wr=Rect(11776.,-4704.,12032.,-4448.)set Wr=Rect(1952.,-320.,2560.,-192.)set yr=Rect(2624.,-1824.,2752.,-1312.)set Yr=Rect(1792.,-2976.,2464.,-2784.)set zr=Rect(2944.,-2432.,3488.,-2272.)set Zr=Rect(3776.,-640.,3904.,.0)set vi=Rect(11552.,-9920.,11840.,-9088.)set ei=Rect(11296.,-10976.,12160.,-10848.)set xi=Rect(1760.,-1024.,2720.,-832.)set oi=Rect(2048.,-2176.,2304.,-1152.)set ri=Rect(2752.,-3104.,3776.,-2880.)set ii=Rect(2912.,-800.,3232.,96.)set ai=Rect(10624.,-10048.,10880.,-9056.)set ni=Rect(11328.,-12000.,12128.,-11808.)set Vi=Rect(-384.,-2304.,2016.,-384.)set Ei=Rect(1760.,-2112.,2016.,-1120.)set Xi=Rect(-6624.,7776.,-6304.,8000.)set Oi=Rect(3648.,6880.,4032.,7168.)set Ri=Rect(-6080.,-5472.,-5664.,-5216.)set Ii=Rect(6976.,-6816.,7360.,-6560.)set Ai=Rect(11296.,-10720.,11488.,-10528.)set Ni=Rect(11968.,-10688.,12160.,-10496.)set bi=Rect(1792.,-1344.,1984.,-1152.)set Bi=Rect(2080.,-1088.,2272.,-928.)set ci=Rect(2336.,-1088.,2528.,-928.)set Ci=Rect(1792.,-1728.,1984.,-1536.)set di=Rect(2048.,-1504.,2208.,-1344.)set Di=Rect(1856.,-2304.,1984.,-2176.)set fi=Rect(1792.,-2112.,1984.,-1920.)set Fi=Rect(2176.,-2336.,2336.,-2176.)set gi=Rect(1280.,-2208.,1504.,-1984.)set Gi=Rect(2816.,-3072.,2944.,-2944.)set hi=Rect(3488.,-3072.,3616.,-2944.)set Hi=Rect(1344.,-1216.,1536.,-1024.)set ji=Rect(3008.,-768.,3168.,-608.)set Ji=Rect(2944.,-96.,3168.,192.)set ki=Rect(1024.,-2208.,1248.,-1984.)set Ki=Rect(10496.,-9248.,10656.,-9088.)set li=Rect(10464.,-10048.,10656.,-9856.)set Li=Rect(672.,-2208.,960.,-1984.)set mi=Rect(11168.,-12128.,12256.,-10464.)set Mi=Rect(1728.,-1152.,2656.,96.)set pi=Rect(2016.,-2112.,3072.,-1120.)set Pi=Rect(1504.,-3264.,2624.,-2112.)set qi=Rect(2592.,-3264.,3840.,-2112.)set Qi=Rect(2880.,-800.,4256.,256.)set si=Rect(10400.,-10048.,12288.,-8960.)set Si=Rect(-1760.,352.,-1696.,544.)set ti=Rect(-1408.,416.,-1312.,544.)set Ti=Rect(-1760.,-128.,-1664.,128.)set ui=Rect(-1376.,-128.,-1312.,128.)set Ui=Rect(6912.,-7168.,7456.,-6816.)set wi=Rect(992.,-2208.,1024.,-2016.)set Wi=Rect(1280.,-2240.,1312.,-1984.)set yi=Rect(-1056.,-1472.,-800.,-1248.)set Yi=Rect(768.,-928.,1728.,-480.)set zi=Rect(2560.,-3264.,2784.,-2208.)set Zi=Rect(1632.,-2112.,1984.,-1152.)set va=Rect(-6176.,7808.,-5632.,8160.)set ea=Rect(-6912.,8160.,-5568.,9888.)set xa=Rect(-9696.,-2400.,-8128.,-480.)set oa=Rect(10272.,-10240.,11200.,-8800.)set ra=Rect(7488.,9600.,7872.,10048.)set ia=Rect(928.,-2368.,3008.,-864.)set aa=Rect(7584.,8320.,7744.,9632.)set na=Rect(-7232.,9888.,-6080.,12288.)set Va=Rect(9760.,-6272.,12288.,-3936.)set Ea=Rect(10880.,-12288.,12288.,-8800.)set Xa=Rect(-5888.,10752.,-5504.,11072.)set Oa=Rect(-3584.,-7360.,-992.,-5760.)set Ra=Rect(3296.,2432.,6176.,3392.)set Ia=Rect(4992.,2784.,5184.,2976.)set Aa=Rect(2048.,-1856.,2176.,-1696.)set Na=Rect(-256.,32.,864.,864.)set ba=Rect(672.,-2208.,704.,-1952.)set Ba=Rect(-320.,-2208.,544.,-1952.)set ca=Rect(1632.,-2400.,2688.,-2304.)set Ca=Rect(160.,-1888.,288.,-1760.)set da=Rect(1408.,-640.,1664.,-512.)set Da=Rect(-9312.,7520.,-8864.,7776.)set fa=Rect(5248.,-5760.,6240.,-5376.)set Fa=Rect(6240.,-4960.,6528.,-4448.)set ga=Rect(3328.,-6272.,4800.,-5728.)set Ga=Rect(-384.,-2432.,928.,-224.)set ha=Rect(32.,320.,480.,544.)set we=AddWeatherEffect(ha,1280467297)call EnableWeatherEffect(we,true)set Ha=Rect(-4000.,512.,-2784.,2304.)set ja=Rect(-2784.,1216.,-2592.,1600.)set Ja=Rect(-3456.,1376.,-3328.,1504.)set ka=Rect(5216.,-10048.,6688.,-8192.)set Ka=Rect(5024.,-9344.,5216.,-9088.)set la=Rect(-6944.,-10176.,-5472.,-8288.)set La=Rect(-9376.,2912.,-7136.,4160.)set ma=Rect(7552.,-3776.,9984.,-2720.)set Ma=Rect(-10112.,-10112.,-8224.,-8320.)set pa=Rect(-8288.,-9632.,-8032.,-9344.)set Pa=Rect(-5056.,7776.,-3488.,9728.)set qa=Rect(5856.,-8928.,5984.,-8800.)set Qa=Rect(-6336.,-9376.,-6208.,-9248.)set sa=Rect(-9248.,-9312.,-9120.,-9184.)set Sa=Rect(-8192.,3488.,-8096.,3584.)set ta=Rect(-4416.,8832.,-4288.,8960.)set Ta=Rect(8992.,-3392.,9088.,-3296.)set ua=Rect(7552.,6720.,9984.,7808.)set Ua=Rect(7552.,6432.,8160.,6720.)set wa=Rect(8800.,7232.,8928.,7360.)set Wa=Rect(10048.,-12288.,10880.,-10240.)set ya=Rect(10368.,-11168.,10496.,-11040.)set Ya=Rect(6176.,-12224.,8576.,-10624.)set za=Rect(7552.,-11424.,7680.,-11296.)set Za=Rect(3104.,-12160.,5088.,-10560.)set vn=Rect(3936.,-11424.,4064.,-11296.)set en=Rect(448.,-11968.,2656.,-10720.)set xn=Rect(1440.,-11296.,1600.,-11136.)set on=Rect(-2592.,-12288.,-640.,-10592.)set rn=Rect(-1952.,-11296.,-1792.,-11136.)set in=Rect(-6528.,-12256.,-4544.,-10720.)set an=Rect(-5920.,-11520.,-5760.,-11360.)set nn=Rect(-9472.,-12288.,-7808.,-10688.)set Vn=Rect(-12224.,-12256.,-10464.,-10528.)set En=Rect(-11872.,-11456.,-11744.,-11328.)set Xn=Rect(-12224.,-9632.,-10752.,-7712.)set On=Rect(-11584.,-8576.,-11456.,-8448.)set Rn=Rect(-12224.,-6400.,-10112.,-4352.)set In=Rect(-12288.,-2688.,-10656.,-736.)set An=Rect(-11680.,-1824.,-11520.,-1664.)set Nn=Rect(-10752.,-5472.,-10624.,-5344.)set bn=Rect(-11968.,480.,-10208.,2080.)set Bn=Rect(-11072.,1376.,-10944.,1504.)set cn=Rect(-12256.,3712.,-10176.,5248.)set Cn=Rect(-11360.,4448.,-11232.,4576.)set dn=Rect(-12288.,5760.,-10272.,7520.)set Dn=Rect(-11488.,6560.,-11360.,6688.)set fn=Rect(-12256.,10240.,-10752.,12160.)set Fn=Rect(-11584.,11232.,-11456.,11360.)set gn=Rect(-9760.,10624.,-7936.,12128.)set Gn=Rect(-9024.,11328.,-8896.,11456.)set hn=Rect(-5120.,10432.,-3328.,12224.)set Hn=Rect(-4384.,11552.,-4256.,11680.)set jn=Rect(-2688.,10624.,-512.,12160.)set Jn=Rect(-1856.,11360.,-1728.,11488.)set kn=Rect(-256.,10464.,1472.,12224.)set Kn=Rect(416.,11488.,576.,11648.)set ln=Rect(1824.,11072.,3904.,12256.)set Ln=Rect(2880.,11616.,3008.,11744.)set mn=Rect(3968.,10912.,6272.,12256.)set Mn=Rect(5312.,11456.,5440.,11584.)set pn=Rect(6528.,10336.,7936.,12224.)set Pn=Rect(7168.,11200.,7296.,11328.)set qn=Rect(8416.,10432.,9888.,12192.)set Qn=Rect(8896.,11200.,9024.,11328.)set sn=Rect(10400.,10272.,12128.,12096.)set Sn=Rect(11136.,11392.,11264.,11520.)set tn=Rect(10976.,8192.,12256.,9696.)set Tn=Rect(11648.,8768.,11776.,8896.)set un=Rect(10848.,5888.,12192.,7936.)set Un=Rect(11616.,6784.,11776.,6944.)set wn=Rect(10592.,4128.,12224.,5760.)set Wn=Rect(11392.,4896.,11520.,5024.)set yn=Rect(10400.,2784.,12256.,4064.)set Yn=Rect(11232.,3360.,11424.,3552.)set zn=Rect(10080.,1280.,12160.,2688.)set Zn=Rect(11136.,1920.,11296.,2080.)set vV=Rect(10080.,-1152.,12224.,640.)set eV=Rect(10848.,-480.,11008.,-320.)set xV=Rect(10176.,-2272.,12192.,-1216.)set oV=Rect(11008.,-2816.,12256.,-2208.)set rV=Rect(11456.,-1920.,11616.,-1760.)set iV=Rect(-6336.,4096.,-4928.,5952.)set aV=Rect(-5568.,4864.,-5440.,4992.)set nV=Rect(9760.,-7392.,12032.,-6240.)set VV=Rect(11008.,-7008.,11136.,-6880.)set EV=Rect(10208.,-8704.,12192.,-7648.)set XV=Rect(11136.,-8288.,11264.,-8160.)set OV=Rect(6784.,-6272.,7904.,-3968.)set RV=Rect(7008.,-5280.,7136.,-5152.)set IV=Rect(8096.,-5728.,9504.,-4160.)set AV=Rect(8704.,-4928.,8864.,-4768.)set NV=Rect(-8736.,-11584.,-8608.,-11456.)set bV=Rect(9536.,-11872.,10048.,-11424.)set BV=Rect(8160.,11392.,8416.,12192.)set cV=Rect(8672.,-5888.,8960.,-5728.)set CV=Rect(10016.,3360.,10400.,4064.)set dV=Rect(-1664.,-480.,-1408.,-288.)set DV=Rect(-1344.,-480.,-1088.,-288.)set fV=Rect(-480.,128.,-224.,384.)set FV=Rect(-480.,448.,-224.,704.)set gV=Rect(-7296.,-12128.,-7072.,-11872.)set GV=Rect(-1856.,10176.,-1568.,10432.)set hV=Rect(7168.,1664.,7456.,1920.)set HV=Rect(-12160.,3072.,-11904.,3328.)set jV=Rect(-12032.,-3296.,-11776.,-3008.)set JV=Rect(4224.,-9696.,4480.,-9472.)set kV=Rect(8064.,10720.,8288.,10976.)set KV=Rect(-1088.,-2848.,-864.,-2656.)set lV=Rect(11904.,-12096.,12224.,-10880.)set LV=Rect(11840.,-10112.,12256.,-9696.)set mV=Rect(-352.,-1504.,1056.,-384.)set MV=Rect(-12224.,-12288.,12288.,12032.)set pV=Rect(768.,-832.,832.,-672.)set PV=Rect(1088.,-832.,1152.,-672.)set qV=Rect(1408.,-832.,1472.,-672.)set QV=Rect(-480.,-2240.,1664.,-352.)set sV=Rect(9984.,-4896.,12256.,-4288.)set SV=Rect(-7264.,-11168.,-7136.,-11040.)set tV=Rect(352.,-1920.,512.,-1760.)set TV=Rect(-832.,1120.,-640.,1312.)set uV=Rect(-992.,-1632.,-800.,-1440.)set UV=Rect(-3744.,-2528.,-3552.,-2336.)set wV=Rect(10464.,-10048.,10816.,-9056.)set WV=Rect(11232.,-10880.,12224.,-10496.)set yV=Rect(2944.,-800.,3264.,32.)set YV=Rect(11136.,-6240.,11648.,-5760.)set zV=Rect(7840.,-2208.,10080.,-768.)set ZV=Rect(8928.,-1536.,9056.,-1408.)set vE=Rect(-5440.,11936.,-5248.,12128.)set eE=Rect(-2592.,-2848.,5344.,1216.)set we=AddWeatherEffect(eE,1380019314)call EnableWeatherEffect(we,true)set xE=Rect(704.,-704.,1664.,-448.)set oE=Rect(-1312.,-2848.,-1120.,-2656.)set rE=Rect(-832.,-2848.,-608.,-2656.)set iE=Rect(10816.,-10464.,10976.,-10304.)set aE=Rect(9536.,-4192.,9696.,-4032.)set we=nullset kD=CreateDestructable(1096053874,3520.,7872.,270.,.805,0)set JD=CreateDestructable(1096053874,4160.,8128.,270.,.805,0)set d=CreateDestructable(1110454324,-2752.,-12096.,356.,1.074,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function zf)set d=CreateDestructable(1110454325,7232.,-704.,270.,1.,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function vF)set d=CreateDestructable(1110454326,8768.,-10048.,270.,1.,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function oF)set d=CreateDestructable(1110454326,-6912.,8000.,270.,1.,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function xF)set d=CreateDestructable(1280598898,6464.,2432.,353.,1.072,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function eF)set d=CreateDestructable(1280598898,-3136.,6848.,353.,1.072,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function Zf)set d=CreateDestructable(1280598898,11392.,-6016.,326.,1.162,0)set t=CreateTrigger()call TriggerRegisterDeathEvent(t,d)call TriggerAddAction(t,function SaveDyingWidget)call TriggerAddAction(t,function rF)set KD=CreateDestructable(1280603952,1248.,-672.,270.,1.08,2)set LD=CreateDestructable(1280603952,928.,-672.,270.,1.08,2)set lD=CreateDestructable(1280603952,1568.,-672.,270.,1.21,2)set t=nullset d=nullcall aF()call VF()call iF()call nF()call EF()call ConfigureNeutralVictim()set WD=Filter(function Jf)set filterIssueHauntOrderAtLocBJ=Filter(function IssueHauntOrderAtLocBJFilter)set filterEnumDestructablesInCircleBJ=Filter(function rf)set filterGetUnitsInRectOfPlayer=Filter(function GetUnitsInRectOfPlayerFilter)set filterGetUnitsOfTypeIdAll=Filter(function GetUnitsOfTypeIdAllFilter)set filterGetUnitsOfPlayerAndTypeId=Filter(function GetUnitsOfPlayerAndTypeIdFilter)set filterMeleeTrainedUnitIsHeroBJ=Filter(function MeleeTrainedUnitIsHeroBJFilter)set filterLivingPlayerUnitsOfTypeId=Filter(function LivingPlayerUnitsOfTypeIdFilter)set Kf=0loopexitwhen Kf==16set bj_FORCE_PLAYER[Kf]=CreateForce()call ForceAddPlayer(bj_FORCE_PLAYER[Kf],Player(Kf))set Kf=Kf+1endloopset bj_FORCE_ALL_PLAYERS=CreateForce()call ForceEnumPlayers(bj_FORCE_ALL_PLAYERS,null)set bj_cineModePriorSpeed=GetGameSpeed()set bj_cineModePriorFogSetting=IsFogEnabled()set bj_cineModePriorMaskSetting=IsFogMaskEnabled()set Kf=0loopexitwhen Kf>=bj_MAX_QUEUED_TRIGGERSset bj_queuedExecTriggers[Kf]=nullset bj_queuedExecUseConds[Kf]=falseset Kf=Kf+1endloopset bj_isSinglePlayer=falseset lf=0set Kf=0loopexitwhen Kf>=$Cif(GetPlayerController(Player(Kf))==MAP_CONTROL_USER and GetPlayerSlotState(Player(Kf))==PLAYER_SLOT_STATE_PLAYING)thenset lf=lf+1endifset Kf=Kf+1endloopset bj_isSinglePlayer=(lf==1)set bj_rescueSound=CreateSoundFromLabel("Rescue",false,false,false,$2710,$2710)set bj_questDiscoveredSound=CreateSoundFromLabel("QuestNew",false,false,false,$2710,$2710)set bj_questUpdatedSound=CreateSoundFromLabel("QuestUpdate",false,false,false,$2710,$2710)set bj_questCompletedSound=CreateSoundFromLabel("QuestCompleted",false,false,false,$2710,$2710)set bj_questFailedSound=CreateSoundFromLabel("QuestFailed",false,false,false,$2710,$2710)set bj_questHintSound=CreateSoundFromLabel("Hint",false,false,false,$2710,$2710)set bj_questSecretSound=CreateSoundFromLabel("SecretFound",false,false,false,$2710,$2710)set bj_questItemAcquiredSound=CreateSoundFromLabel("ItemReward",false,false,false,$2710,$2710)set bj_questWarningSound=CreateSoundFromLabel("Warning",false,false,false,$2710,$2710)set bj_victoryDialogSound=CreateSoundFromLabel("QuestCompleted",false,false,false,$2710,$2710)set bj_defeatDialogSound=CreateSoundFromLabel("QuestFailed",false,false,false,$2710,$2710)call DelayedSuspendDecayCreate()set v=VersionGet()if(v==VERSION_REIGN_OF_CHAOS)thenset bj_MELEE_MAX_TWINKED_HEROES=bj_MELEE_MAX_TWINKED_HEROES_V0elseset bj_MELEE_MAX_TWINKED_HEROES=bj_MELEE_MAX_TWINKED_HEROES_V1endifcall InitQueuedTriggers()call InitRescuableBehaviorBJ()call InitDNCSounds()call InitMapRects()call InitSummonableCaps()set ff=0loopset bj_stockAllowedPermanent[ff]=falseset bj_stockAllowedCharged[ff]=falseset bj_stockAllowedArtifact[ff]=falseset ff=ff+1exitwhen ff>$Aendloopcall SetAllItemTypeSlots($B)call SetAllUnitTypeSlots($B)set bj_stockUpdateTimer=CreateTimer()call TimerStart(bj_stockUpdateTimer,bj_STOCK_RESTOCK_INITIAL_DELAY,false,function Hf)set bj_stockItemPurchased=CreateTrigger()call TriggerRegisterPlayerUnitEvent(bj_stockItemPurchased,Player($F),EVENT_PLAYER_UNIT_SELL_ITEM,null)call TriggerAddAction(bj_stockItemPurchased,function RemovePurchasedItem)call DetectGameStarted()call ExecuteFunc("Krv")set i=0set x=bj_FORCE_PLAYER[$B]set o=bj_FORCE_PLAYER[0]set i=0loopexitwhen(i>$C)set N[i]=CreateTimer()set F[i]=0set W[i]=0set xv[i]=0set rv[i]=0set pv[i]=0set qv[i]=0set Qv[i]=0set Sv[i]=0set Je[i]=""set ke[i]=0set Fx[i]=""set gx[i]=falseset Qx[i]=0set sx[i]=0set tx[i]=falseset i=i+1endloopset i=0loopexitwhen(i>9)set H[i]=0set J[i]=0set k[i]=0set K[i]=0set iv[i]=0set av[i]=0set nv[i]=""set i=i+1endloopset L=21set m=CreateForce()set i=0loopexitwhen(i>108)set M[i]=0set P[i]=CreateForce()set i=i+1endloopset q=$Fset i=0loopexitwhen(i>1)set Q[i]=0set U[i]=0set w[i]=0set y[i]=0set vv[i]=0set ev[i]=0set Vv[i]=""set Xv[i]=0set Kv[i]=0set Tv[i]=0set Uv[i]=0set wv[i]=""set Wv[i]=0set zv[i]=0set Zv[i]=0set xe[i]=0set oe[i]=0set re[i]=0set ie[i]=0set ae[i]=falseset ne[i]=0set Xe[i]=CreateGroup()set Ne[i]=0set ce[i]=""set De[i]=""set fe[i]=""set Ke[i]=""set Le[i]=falseset me[i]=""set Me[i]=falseset pe[i]=0set Pe[i]=falseset qe[i]=0set Qe[i]=falseset se[i]=0set Se[i]=falseset te[i]=0set Te[i]=falseset ue[i]=falseset Ue[i]=falseset We[i]=falseset ye[i]=falseset Ye[i]=falseset ze[i]=falseset Ze[i]=falseset vx[i]=falseset ex[i]=falseset ox[i]=""set rx[i]=0set ix[i]=0set ax[i]=0set nx[i]=0set Vx[i]=0set Ex[i]=0set Xx[i]=""set Ox[i]=""set Rx[i]=""set Ix[i]=0set Ax[i]=""set Nx[i]=0set bx[i]=falseset Bx[i]=falseset cx[i]=0set Cx[i]=falseset Dx[i]=falseset hx[i]=""set Jx[i]=""set kx[i]=0set Kx[i]=0set lx[i]=0set Lx[i]=0set mx[i]=falseset i=i+1endloopset Ov=CreateForce()set i=0loopexitwhen(i>$A)set Rv[i]=0set Iv[i]=0set cv[i]=0set dv[i]=0set Mv[i]=0set i=i+1endloopset i=0loopexitwhen(i>2)set bv[i]=0set i=i+1endloopset i=0loopexitwhen(i>99)set Bv[i]=""set Re[i]=0set Be[i]=0set Mx[i]=0set px[i]=0set Px[i]=0set Tx[i]=0set i=i+1endloopset i=0loopexitwhen(i>$F)set gv[i]=0set Gv[i]=0set hv[i]=0set Hv[i]=0set i=i+1endloopset Ee=CreateGroup()set Fe=bj_FORCE_PLAYER[$C]set i=0loopexitwhen(i>100)set ge[i]=0set i=i+1endloopset je=trueset XE=CreateTrigger()call TriggerRegisterTimerEventSingle(XE,.0)call TriggerAddAction(XE,function XF)set OE=CreateTrigger()call TriggerRegisterPlayerChatEvent(OE,Player(0),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(1),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(2),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(3),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(4),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(5),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(6),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(7),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(8),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player(9),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player($A),"-color off",true)call TriggerRegisterPlayerChatEvent(OE,Player($B),"-color off",true)call TriggerAddCondition(OE,Condition(function IF))call TriggerAddAction(OE,function NF)set RE=CreateTrigger()call TriggerRegisterPlayerChatEvent(RE,Player(0),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(1),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(2),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(3),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(4),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(5),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(6),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(7),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(8),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player(9),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player($A),"-color ",false)call TriggerRegisterPlayerChatEvent(RE,Player($B),"-color ",false)call TriggerAddCondition(RE,Condition(function CF))call TriggerAddAction(RE,function Sg)set IE=CreateTrigger()call DisableTrigger(IE)call TriggerRegisterTimerEventPeriodic(IE,.1)call TriggerAddAction(IE,function VG)set AE=CreateTrigger()call DisableTrigger(AE)call TriggerRegisterTimerEventPeriodic(AE,.1)call TriggerAddAction(AE,function BG)set NE=CreateTrigger()call DisableTrigger(NE)call TriggerRegisterTimerEventPeriodic(NE,.1)call TriggerAddAction(NE,function hG)set bE=CreateTrigger()call DisableTrigger(bE)call TriggerRegisterTimerEventPeriodic(bE,.1)call TriggerAddAction(bE,function MG)set BE=CreateTrigger()call DisableTrigger(BE)call TriggerRegisterPlayerChatEvent(BE,Player(0),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(1),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(2),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(3),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(4),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(5),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(6),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(7),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(8),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player(9),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player($A),"-damage",true)call TriggerRegisterPlayerChatEvent(BE,Player($B),"-damage",true)call TriggerAddAction(BE,function Eh)set cE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cE,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(cE,Condition(function Oh))call TriggerAddAction(cE,function Ih)set CE=CreateTrigger()call DisableTrigger(CE)call TriggerRegisterTimerEventPeriodic(CE,.03)call TriggerAddAction(CE,function hh)set dE=CreateTrigger()call TriggerRegisterTimerEventSingle(dE,2200.)call TriggerAddAction(dE,function jh)set DE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(DE,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(DE,Condition(function kh))call TriggerAddAction(DE,function Kh)set fE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fE,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(fE,Condition(function Lh))call TriggerAddAction(fE,function mh)set FE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FE,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(FE,Condition(function ph))call TriggerAddAction(FE,function Ph)set gE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gE,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(gE,Condition(function Qh))call TriggerAddAction(gE,function sh)set GE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GE,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddAction(GE,function zh)set hE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(hE,10.)call TriggerAddAction(hE,function rH)set HE=CreateTrigger()call TriggerRegisterEnterRectSimple(HE,GetWorldBounds())call TriggerAddCondition(HE,Condition(function aH))call TriggerAddAction(HE,function VH)set jE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jE,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(jE,Condition(function XH))call TriggerAddAction(jE,function OH)set JE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JE,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(JE,Condition(function IH))call TriggerAddAction(JE,function AH)set kE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(kE,2.)call TriggerAddAction(kE,function BH)set KE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(KE,2.4)call TriggerAddAction(KE,function dH)set lE=CreateTrigger()call TriggerAddAction(lE,function LH)set LE=CreateTrigger()call TriggerRegisterTimerEventSingle(LE,2.)call TriggerAddAction(LE,function pH)set mE=CreateTrigger()call TriggerRegisterTimerEventSingle(mE,21.)call TriggerAddAction(mE,function QH)set ME=CreateTrigger()call TriggerRegisterTimerEventSingle(ME,20.)call TriggerAddAction(ME,function TH)set pE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pE,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(pE,Condition(function UH))call TriggerAddAction(pE,function yH)set PE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PE,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(PE,Condition(function zH))call TriggerAddAction(PE,function vj)set qE=CreateTrigger()call TriggerRegisterTimerEventSingle(qE,60.)call TriggerAddAction(qE,function rj)set QE=CreateTrigger()call TriggerRegisterTimerEventSingle(QE,63.)call TriggerAddAction(QE,function Vj)set sE=CreateTrigger()call TriggerRegisterTimerEventSingle(sE,20.35)call TriggerAddAction(sE,function Xj)set SE=CreateTrigger()call DisableTrigger(SE)call TriggerRegisterTimerEventPeriodic(SE,1.)call TriggerAddAction(SE,function Ij)set tE=CreateTrigger()call DisableTrigger(tE)call TriggerRegisterTimerEventPeriodic(tE,1.)call TriggerAddCondition(tE,Condition(function Nj))call TriggerAddAction(tE,function bj)set TE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(TE,1.)call TriggerAddCondition(TE,Condition(function cj))call TriggerAddAction(TE,function Cj)set uE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(uE,1.)call TriggerAddCondition(uE,Condition(function Dj))call TriggerAddAction(uE,function fj)set UE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(UE,1.)call TriggerAddCondition(UE,Condition(function gj))call TriggerAddAction(UE,function hj)set wE=CreateTrigger()call TriggerRegisterTimerEventPeriodic(wE,8.)call TriggerAddCondition(wE,Condition(function jj))call TriggerAddAction(wE,function Jj)set WE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WE,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddAction(WE,function Tj)set yE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yE,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddAction(yE,function dJ)set YE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YE,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddAction(YE,function JJ)set zE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zE,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(zE,Condition(function KJ))call TriggerAddAction(zE,function mJ)set ZE=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZE,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(ZE,Condition(function pJ))call TriggerAddAction(ZE,function QJ)set vX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(vX,Condition(function SJ))call TriggerAddAction(vX,function uJ)set eX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(eX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(eX,Condition(function wJ))call TriggerAddAction(eX,function YJ)set xX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(xX,Condition(function ZJ))call TriggerAddAction(xX,function xk)set oX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(oX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(oX,Condition(function ik))call TriggerAddAction(oX,function Vk)set rX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(rX,Condition(function Xk))call TriggerAddAction(rX,function Ik)set iX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(iX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(iX,Condition(function Nk))call TriggerAddAction(iX,function ck)set aX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(aX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(aX,Condition(function dk))call TriggerAddAction(aX,function Fk)set nX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(nX,Condition(function Gk))call TriggerAddAction(nX,function jk)set VX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(VX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(VX,Condition(function kk))call TriggerAddAction(VX,function Lk)set EX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(EX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(EX,Condition(function Mk))call TriggerAddAction(EX,function sk)set XX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(XX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(XX,Condition(function tk))call TriggerAddAction(XX,function Uk)set OX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(OX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(OX,Condition(function Wk))call TriggerAddAction(OX,function zk)set RX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(RX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(RX,Condition(function vK))call TriggerAddAction(RX,function oK)set IX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(IX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(IX,Condition(function iK))call TriggerAddAction(IX,function VK)set AX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(AX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(AX,Condition(function XK))call TriggerAddAction(AX,function IK)set NX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(NX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(NX,Condition(function NK))call TriggerAddAction(NX,function cK)set bX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(bX,Condition(function DK))call TriggerAddAction(bX,function FK)set BX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(BX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(BX,Condition(function GK))call TriggerAddAction(BX,function HK)set cX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(cX,Condition(function kK))call TriggerAddAction(cX,function QK)set CX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(CX,EVENT_PLAYER_UNIT_USE_ITEM)call TriggerAddCondition(CX,Condition(function SK))call TriggerAddAction(CX,function uK)set dX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dX,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(dX,Condition(function wK))call TriggerAddAction(dX,function el)set DX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(DX,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(DX,Condition(function ol))call TriggerAddAction(DX,function rl)set fX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(fX,Condition(function al))call TriggerAddAction(fX,function Vl)set FX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(FX,Condition(function Xl))call TriggerAddAction(FX,function Rl)set gX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(gX,Condition(function Al))call TriggerAddAction(gX,function Bl)set GX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(GX,Condition(function Cl))call TriggerAddAction(GX,function fl)set hX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(hX,Condition(function gl))call TriggerAddAction(hX,function Hl)set HX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(HX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(HX,Condition(function Jl))call TriggerAddAction(HX,function ll)set jX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(jX,Condition(function ml))call TriggerAddAction(jX,function Pl)set JX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(JX,Condition(function Ql))call TriggerAddAction(JX,function tl)set kX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(kX,Condition(function ul))call TriggerAddAction(kX,function Wl)set KX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(KX,Condition(function Yl))call TriggerAddAction(KX,function vL)set lX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(lX,Condition(function xL))call TriggerAddAction(lX,function iL)set LX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(LX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(LX,Condition(function nL))call TriggerAddAction(LX,function XL)set mX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(mX,Condition(function RL))call TriggerAddAction(mX,function NL)set MX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(MX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(MX,Condition(function BL))call TriggerAddAction(MX,function cL)set pX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerRegisterAnyUnitEventBJ(pX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(pX,Condition(function dL))call TriggerAddAction(pX,function FL)set PX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerRegisterAnyUnitEventBJ(PX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(PX,Condition(function GL))call TriggerAddAction(PX,function jL)set qX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerRegisterAnyUnitEventBJ(qX,EVENT_PLAYER_UNIT_PICKUP_ITEM)call TriggerAddCondition(qX,Condition(function kL))call TriggerAddAction(qX,function LL)set QX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(QX,Condition(function ML))call TriggerAddAction(QX,function pL)set sX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(sX,Condition(function QL))call TriggerAddAction(sX,function sL)set SX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(SX,Condition(function zL))call TriggerAddAction(SX,function ZL)set tX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(tX,Condition(function em))call TriggerAddAction(tX,function xm)set TX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(TX,Condition(function rm))call TriggerAddAction(TX,function im)set uX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(uX,Condition(function Em))call TriggerAddAction(uX,function gm)set UX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(UX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(UX,Condition(function hm))call TriggerAddAction(UX,function xM)set wX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(wX,Condition(function rM))call TriggerAddAction(wX,function KM)set WX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(WX,Condition(function LM))call TriggerAddAction(WX,function Vp)set yX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(yX,Condition(function Xp))call TriggerAddAction(yX,function kp)set YX=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YX,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(YX,Condition(function lp))call TriggerAddAction(YX,function up)set zX=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(zX,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(zX,Player($B),true)call TriggerAddCondition(zX,Condition(function wp))call TriggerAddAction(zX,function Wp)set ZX=CreateTrigger()call DisableTrigger(ZX)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(ZX,Player($B),true)call TriggerAddCondition(ZX,Condition(function Yp))call TriggerAddAction(ZX,function zp)set vO=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(vO,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(vO,Player($B),true)call TriggerAddCondition(vO,Condition(function vP))call TriggerAddAction(vO,function eP)set eO=CreateTrigger()call TriggerRegisterPlayerChatEvent(eO,Player(0),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(1),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(2),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(3),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(4),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(5),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(6),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(7),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(8),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player(9),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player($A),"-cf on",true)call TriggerRegisterPlayerChatEvent(eO,Player($B),"-cf on",true)call TriggerAddCondition(eO,Condition(function oP))call TriggerAddAction(eO,function rP)set xO=CreateTrigger()call TriggerRegisterPlayerChatEvent(xO,Player(0),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(1),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(2),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(3),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(4),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(5),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(6),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(7),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(8),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player(9),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player($A),"-nmа",true)call TriggerRegisterPlayerChatEvent(xO,Player($B),"-nmа",true)call TriggerAddCondition(xO,Condition(function aP))call TriggerAddAction(xO,function nP)set oO=CreateTrigger()call TriggerRegisterEnterRectSimple(oO,bi)call TriggerAddCondition(oO,Condition(function OP))call TriggerAddAction(oO,function RP)set rO=CreateTrigger()call TriggerRegisterEnterRectSimple(rO,Ci)call TriggerAddCondition(rO,Condition(function bP))call TriggerAddAction(rO,function BP)set iO=CreateTrigger()call TriggerRegisterEnterRectSimple(iO,fi)call TriggerAddCondition(iO,Condition(function DP))call TriggerAddAction(iO,function fP)set aO=CreateTrigger()call TriggerRegisterEnterRectSimple(aO,gi)call TriggerAddCondition(aO,Condition(function hP))call TriggerAddAction(aO,function HP)set nO=CreateTrigger()call TriggerRegisterEnterRectSimple(nO,Hi)call TriggerAddCondition(nO,Condition(function KP))call TriggerAddAction(nO,function lP)set VO=CreateTrigger()call TriggerRegisterEnterRectSimple(VO,ki)call TriggerAddCondition(VO,Condition(function pP))call TriggerAddAction(VO,function PP)set EO=CreateTrigger()call TriggerRegisterEnterRectSimple(EO,Li)call TriggerAddCondition(EO,Condition(function SP))call TriggerAddAction(EO,function tP)set XO=CreateTrigger()call TriggerRegisterEnterRectSimple(XO,xi)call TriggerAddCondition(XO,Condition(function uP))call TriggerAddAction(XO,function UP)set OO=CreateTrigger()call TriggerRegisterEnterRectSimple(OO,oi)call TriggerAddCondition(OO,Condition(function WP))call TriggerAddAction(OO,function yP)set RO=CreateTrigger()call TriggerRegisterEnterRectSimple(RO,ca)call TriggerAddCondition(RO,Condition(function zP))call TriggerAddAction(RO,function ZP)set IO=CreateTrigger()call TriggerRegisterEnterRectSimple(IO,ri)call TriggerAddCondition(IO,Condition(function eq))call TriggerAddAction(IO,function xq)set AO=CreateTrigger()call TriggerRegisterEnterRectSimple(AO,ai)call TriggerAddCondition(AO,Condition(function rq))call TriggerAddAction(AO,function iq)set NO=CreateTrigger()call TriggerRegisterEnterRectSimple(NO,ii)call TriggerAddCondition(NO,Condition(function nq))call TriggerAddAction(NO,function Vq)set bO=CreateTrigger()call TriggerRegisterEnterRectSimple(bO,ei)call TriggerAddCondition(bO,Condition(function Xq))call TriggerAddAction(bO,function Oq)set BO=CreateTrigger()call TriggerRegisterGameStateEventTimeOfDay(BO,EQUAL,6.)call TriggerAddAction(BO,function Hq)set cO=CreateTrigger()call TriggerRegisterEnterRectSimple(cO,Mi)call TriggerRegisterEnterRectSimple(cO,pi)call TriggerRegisterEnterRectSimple(cO,Pi)call TriggerRegisterEnterRectSimple(cO,qi)call TriggerRegisterEnterRectSimple(cO,Qi)call TriggerRegisterEnterRectSimple(cO,si)call TriggerRegisterEnterRectSimple(cO,mi)call TriggerAddCondition(cO,Condition(function Kq))call TriggerAddAction(cO,function lq)set CO=CreateTrigger()call TriggerRegisterEnterRectSimple(CO,lV)call TriggerRegisterEnterRectSimple(CO,LV)call TriggerAddCondition(CO,Condition(function mq))call TriggerAddAction(CO,function Mq)set dO=CreateTrigger()call TriggerRegisterEnterRectSimple(dO,lV)call TriggerRegisterEnterRectSimple(dO,LV)call TriggerAddCondition(dO,Condition(function Pq))call TriggerAddAction(dO,function qq)set DO=CreateTrigger()call TriggerRegisterEnterRectSimple(DO,lV)call TriggerRegisterEnterRectSimple(DO,LV)call TriggerRegisterEnterRectSimple(DO,Na)call TriggerRegisterEnterRectSimple(DO,QV)call TriggerRegisterEnterRectSimple(DO,sV)call TriggerRegisterEnterRectSimple(DO,wV)call TriggerRegisterEnterRectSimple(DO,WV)call TriggerRegisterEnterRectSimple(DO,yV)call TriggerRegisterEnterRectSimple(DO,YV)call TriggerAddCondition(DO,Condition(function sq))call TriggerAddAction(DO,function Sq)set fO=CreateTrigger()call TriggerRegisterEnterRectSimple(fO,YV)call TriggerAddCondition(fO,Condition(function uq))call TriggerAddAction(fO,function Uq)set FO=CreateTrigger()call TriggerRegisterEnterRectSimple(FO,Na)call TriggerRegisterEnterRectSimple(FO,QV)call TriggerRegisterEnterRectSimple(FO,Qi)call TriggerAddCondition(FO,Condition(function Wq))call TriggerAddAction(FO,function yq)set gO=CreateTrigger()call TriggerRegisterEnterRectSimple(gO,Qi)call TriggerRegisterEnterRectSimple(gO,Na)call TriggerRegisterEnterRectSimple(gO,QV)call TriggerRegisterEnterRectSimple(gO,sV)call TriggerAddCondition(gO,Condition(function zq))call TriggerAddAction(gO,function Zq)set GO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(GO,Condition(function rQ))call TriggerAddAction(GO,function iQ)set hO=CreateTrigger()call TriggerRegisterEnterRectSimple(hO,ci)call TriggerRegisterEnterRectSimple(hO,Aa)call TriggerRegisterEnterRectSimple(hO,Fi)call TriggerRegisterEnterRectSimple(hO,hi)call TriggerRegisterEnterRectSimple(hO,Ji)call TriggerRegisterEnterRectSimple(hO,li)call TriggerRegisterEnterRectSimple(hO,Ni)call TriggerAddCondition(hO,Condition(function VQ))call TriggerAddAction(hO,function EQ)set HO=CreateTrigger()call TriggerRegisterPlayerChatEvent(HO,Player(0),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(1),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(2),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(3),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(4),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(5),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(6),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(7),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(8),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player(9),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player($A),"-nmа",true)call TriggerRegisterPlayerChatEvent(HO,Player($B),"-nmа",true)call TriggerAddCondition(HO,Condition(function OQ))call TriggerAddAction(HO,function RQ)set jO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jO,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(jO,Condition(function AQ))call TriggerAddAction(jO,function NQ)set JO=CreateTrigger()call TriggerRegisterTimerEventSingle(JO,1605.)call TriggerAddAction(JO,function BQ)set kO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kO,EVENT_PLAYER_UNIT_DROP_ITEM)call TriggerAddCondition(kO,Condition(function CQ))call TriggerAddAction(kO,function DQ)set KO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KO,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(KO,Condition(function gQ))call TriggerAddAction(KO,function GQ)set lO=CreateTrigger()call TriggerRegisterEnterRectSimple(lO,Vi)call TriggerRegisterEnterRectSimple(lO,Ei)call TriggerRegisterEnterRectSimple(lO,Mi)call TriggerRegisterEnterRectSimple(lO,pi)call TriggerRegisterEnterRectSimple(lO,Pi)call TriggerRegisterEnterRectSimple(lO,qi)call TriggerRegisterEnterRectSimple(lO,Qi)call TriggerRegisterEnterRectSimple(lO,Na)call TriggerAddCondition(lO,Condition(function HQ))call TriggerAddAction(lO,function jQ)set LO=CreateTrigger()call TriggerRegisterEnterRectSimple(LO,Ba)call TriggerAddCondition(LO,Condition(function kQ))call TriggerAddAction(LO,function KQ)set mO=CreateTrigger()call DisableTrigger(mO)call TriggerRegisterEnterRectSimple(mO,xE)call TriggerAddCondition(mO,Condition(function LQ))call TriggerAddAction(mO,function mQ)set MO=CreateTrigger()call TriggerRegisterEnterRectSimple(MO,pr)call TriggerAddCondition(MO,Condition(function pQ))call TriggerAddAction(MO,function PQ)set pO=CreateTrigger()call TriggerRegisterEnterRectSimple(pO,Vi)call TriggerRegisterEnterRectSimple(pO,ri)call TriggerRegisterEnterRectSimple(pO,zi)call TriggerRegisterEnterRectSimple(pO,Ei)call TriggerRegisterEnterRectSimple(pO,Mi)call TriggerRegisterEnterRectSimple(pO,pi)call TriggerRegisterEnterRectSimple(pO,Pi)call TriggerRegisterEnterRectSimple(pO,qi)call TriggerRegisterEnterRectSimple(pO,Qi)call TriggerRegisterEnterRectSimple(pO,Ux)call TriggerRegisterEnterRectSimple(pO,Wx)call TriggerRegisterEnterRectSimple(pO,Yx)call TriggerRegisterEnterRectSimple(pO,ux)call TriggerRegisterEnterRectSimple(pO,yx)call TriggerRegisterEnterRectSimple(pO,wx)call TriggerRegisterEnterRectSimple(pO,zx)call TriggerAddCondition(pO,Condition(function QQ))call TriggerAddAction(pO,function sQ)set PO=CreateTrigger()call TriggerRegisterEnterRectSimple(PO,jr)call TriggerRegisterEnterRectSimple(PO,lr)call TriggerRegisterEnterRectSimple(PO,si)call TriggerRegisterEnterRectSimple(PO,mi)call TriggerRegisterEnterRectSimple(PO,Hr)call TriggerAddCondition(PO,Condition(function tQ))call TriggerAddAction(PO,function TQ)set qO=CreateTrigger()call TriggerRegisterPlayerUnitEventSimple(qO,Player($C),EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(qO,Condition(function UQ))call TriggerAddAction(qO,function wQ)set QO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(QO,Condition(function zQ))call TriggerAddAction(QO,function ZQ)set sO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sO,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(sO,Condition(function ns))call TriggerAddAction(sO,function Vs)set SO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(SO,Condition(function gs))call TriggerAddAction(SO,function Gs)set tO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(tO,Condition(function xS))call TriggerAddAction(tO,function oS)set TO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(TO,Condition(function NS))call TriggerAddAction(TO,function bS)set uO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(uO,Condition(function jS))call TriggerAddAction(uO,function JS)set UO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(UO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(UO,Condition(function US))call TriggerAddAction(UO,function wS)set wO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wO,EVENT_PLAYER_UNIT_SPELL_CHANNEL)call TriggerAddCondition(wO,Condition(function mt))call TriggerAddAction(wO,function Mt)set WO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WO,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(WO,Condition(function Pt))call TriggerAddAction(WO,function Yt)set yO=CreateTrigger()call DisableTrigger(yO)call TriggerRegisterAnyUnitEventBJ(yO,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(yO,Condition(function Zt))call TriggerAddAction(yO,function rT)set YO=CreateTrigger()call TriggerRegisterPlayerEventLeave(YO,Player(0))call TriggerRegisterPlayerEventLeave(YO,Player(1))call TriggerRegisterPlayerEventLeave(YO,Player(2))call TriggerRegisterPlayerEventLeave(YO,Player(3))call TriggerRegisterPlayerEventLeave(YO,Player(4))call TriggerRegisterPlayerEventLeave(YO,Player(5))call TriggerRegisterPlayerEventLeave(YO,Player(6))call TriggerRegisterPlayerEventLeave(YO,Player(7))call TriggerRegisterPlayerEventLeave(YO,Player(8))call TriggerRegisterPlayerEventLeave(YO,Player(9))call TriggerRegisterPlayerEventLeave(YO,Player($A))call TriggerRegisterPlayerEventLeave(YO,Player($B))call TriggerAddAction(YO,function hT)set zO=CreateTrigger()call TriggerAddAction(zO,function JT)set ZO=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZO,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)call TriggerAddCondition(ZO,Condition(function KT))call TriggerAddAction(ZO,function LT)set vR=CreateTrigger()call TriggerAddCondition(vR,Condition(function MT))call TriggerAddAction(vR,function pT)set eR=CreateTrigger()call TriggerAddCondition(eR,Condition(function qT))call TriggerAddAction(eR,function QT)set xR=CreateTrigger()call TriggerRegisterTimerEventSingle(xR,1.05)call TriggerAddAction(xR,function ST)set oR=CreateTrigger()call TriggerRegisterTimerEventSingle(oR,2.)call TriggerAddAction(oR,function TT)set rR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(rR,Condition(function UT))call TriggerAddAction(rR,function YT)set iR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(iR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(iR,Condition(function ZT))call TriggerAddAction(iR,function vu)set aR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(aR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddAction(aR,function ru)set nR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(nR,Condition(function au))call TriggerAddAction(nR,function nu)set VR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(VR,EVENT_PLAYER_UNIT_USE_ITEM)call TriggerAddCondition(VR,Condition(function Eu))call TriggerAddAction(VR,function Xu)set ER=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ER,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(ER,Condition(function Ru))call TriggerAddAction(ER,function Nu)set XR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(XR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(XR,Condition(function Bu))call TriggerAddAction(XR,function gu)set OR=CreateTrigger()call DisableTrigger(OR)call TriggerRegisterTimerEventPeriodic(OR,.5)call TriggerAddAction(OR,function lu)set RR=CreateTrigger()call DisableTrigger(RR)call TriggerRegisterTimerEventPeriodic(RR,1.)call TriggerAddAction(RR,function mu)set IR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(IR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(IR,Condition(function pu))call TriggerAddAction(IR,function Pu)set AR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(AR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(AR,Condition(function Qu))call TriggerAddAction(AR,function su)set NR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(NR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(NR,Condition(function tu))call TriggerAddAction(NR,function Tu)set bR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(bR,Condition(function Uu))call TriggerAddAction(bR,function wu)set BR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(BR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddAction(BR,function vU)set cR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(cR,Condition(function xU))call TriggerAddAction(cR,function oU)set CR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(CR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(CR,Condition(function iU))call TriggerAddAction(CR,function aU)set dR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(dR,Condition(function VU))call TriggerAddAction(dR,function EU)set DR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(DR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(DR,Condition(function OU))call TriggerAddAction(DR,function RU)set fR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(fR,Condition(function AU))call TriggerAddAction(fR,function NU)set FR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(FR,Condition(function BU))call TriggerAddAction(FR,function cU)set gR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(gR,Condition(function dU))call TriggerAddAction(gR,function DU)set GR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(GR,Condition(function FU))call TriggerAddAction(GR,function gU)set hR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(hR,Condition(function hU))call TriggerAddAction(hR,function HU)set HR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(HR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(HR,Condition(function JU))call TriggerAddAction(HR,function kU)set jR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(jR,Condition(function lU))call TriggerAddAction(jR,function LU)set JR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(JR,Condition(function MU))call TriggerAddAction(JR,function pU)set kR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(kR,Condition(function qU))call TriggerAddAction(kR,function QU)set KR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(KR,Condition(function SU))call TriggerAddAction(KR,function tU)set lR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(lR,Condition(function uU))call TriggerAddAction(lR,function UU)set LR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(LR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(LR,Condition(function WU))call TriggerAddAction(LR,function yU)set mR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(mR,Condition(function zU))call TriggerAddAction(mR,function ZU)set MR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(MR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(MR,Condition(function ew))call TriggerAddAction(MR,function xw)set pR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(pR,Condition(function iw))call TriggerAddAction(pR,function aw)set PR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(PR,Condition(function Vw))call TriggerAddAction(PR,function Ew)set qR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(qR,Condition(function Rw))call TriggerAddAction(qR,function Iw)set QR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(QR,Condition(function Nw))call TriggerAddAction(QR,function cw)set sR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(sR,Condition(function dw))call TriggerAddAction(sR,function fw)set SR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(SR,Condition(function gw))call TriggerAddAction(SR,function Pw)set tR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(tR,Condition(function Sw))call TriggerAddAction(tR,function tw)set TR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TR,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(TR,Condition(function uw))call TriggerAddAction(TR,function Uw)set uR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(uR,Condition(function Ww))call TriggerAddAction(uR,function yw)set UR=CreateTrigger()call DisableTrigger(UR)call TriggerRegisterTimerEventPeriodic(UR,.05)call TriggerAddCondition(UR,Condition(function zw))call TriggerAddAction(UR,function Zw)set wR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(wR,Condition(function eW))call TriggerAddAction(wR,function xW)set WR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WR,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(WR,Condition(function rW))call TriggerAddAction(WR,function iW)set yR=CreateTrigger()call DisableTrigger(yR)call TriggerRegisterAnyUnitEventBJ(yR,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(yR,Condition(function EW))call TriggerAddAction(yR,function IW)set YR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(YR,Condition(function NW))call TriggerAddAction(YR,function bW)set zR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(zR,Condition(function CW))call TriggerAddAction(zR,function FW)set ZR=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZR,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(ZR,Condition(function GW))call TriggerAddAction(ZR,function hW)set vI=CreateTrigger()call DisableTrigger(vI)call TriggerRegisterTimerEventPeriodic(vI,.05)call TriggerAddCondition(vI,Condition(function jW))call TriggerAddAction(vI,function JW)set eI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(eI,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(eI,Condition(function KW))call TriggerAddAction(eI,function lW)set xI=CreateTrigger()call DisableTrigger(xI)call TriggerRegisterTimerEventPeriodic(xI,.05)call TriggerAddAction(xI,function mW)set oI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(oI,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(oI,Condition(function pW))call TriggerAddAction(oI,function PW)set rI=CreateTrigger()call DisableTrigger(rI)call TriggerRegisterTimerEventPeriodic(rI,.05)call TriggerAddCondition(rI,Condition(function QW))call TriggerAddAction(rI,function sW)set iI=CreateTrigger()call TriggerRegisterTimerEventSingle(iI,600.)call TriggerAddAction(iI,function tW)set aI=CreateTrigger()call DisableTrigger(aI)call TriggerRegisterAnyUnitEventBJ(aI,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(aI,Condition(function uW))call TriggerAddAction(aI,function UW)set nI=CreateTrigger()call DisableTrigger(nI)call TriggerRegisterTimerEventPeriodic(nI,.05)call TriggerAddCondition(nI,Condition(function WW))call TriggerAddAction(nI,function yW)set VI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(VI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(VI,Condition(function ZW))call TriggerAddAction(VI,function ey)set EI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(EI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(EI,Condition(function ry))call TriggerAddAction(EI,function iy)set XI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(XI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(XI,Condition(function ny))call TriggerAddAction(XI,function Ay)set OI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(OI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(OI,Condition(function by))call TriggerAddAction(OI,function By)set RI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(RI,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(RI,Condition(function Cy))call TriggerAddAction(RI,function Dy)set II=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(II,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(II,Condition(function gy))call TriggerAddAction(II,function Jy)set AI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(AI,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(AI,Condition(function Ky))call TriggerAddAction(AI,function ly)set NI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(NI,EVENT_PLAYER_UNIT_CONSTRUCT_CANCEL)call TriggerAddCondition(NI,Condition(function my))call TriggerAddAction(NI,function My)set bI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bI,EVENT_PLAYER_UNIT_UPGRADE_FINISH)call TriggerAddCondition(bI,Condition(function Qy))call TriggerAddAction(bI,function sy)set BI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(BI,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)call TriggerAddCondition(BI,Condition(function ty))call TriggerAddAction(BI,function Ty)set cI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cI,EVENT_PLAYER_UNIT_UPGRADE_FINISH)call TriggerAddCondition(cI,Condition(function Wy))call TriggerAddAction(cI,function yy)set CI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(CI,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)call TriggerAddCondition(CI,Condition(function vY))call TriggerAddAction(CI,function eY)set dI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dI,EVENT_PLAYER_UNIT_UPGRADE_FINISH)call TriggerAddCondition(dI,Condition(function iY))call TriggerAddAction(dI,function aY)set DI=CreateTrigger()call TriggerRegisterTimerEventSingle(DI,900.)call TriggerAddAction(DI,function XY)set fI=CreateTrigger()call TriggerRegisterTimerEventSingle(fI,5.)call TriggerAddAction(fI,function IY)set FI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FI,EVENT_PLAYER_UNIT_RESEARCH_FINISH)call TriggerAddCondition(FI,Condition(function NY))call TriggerAddAction(FI,function cY)set gI=CreateTrigger()call TriggerRegisterGameStateEventTimeOfDay(gI,EQUAL,6.01)call TriggerAddCondition(gI,Condition(function dY))call TriggerAddAction(gI,function fY)set GI=CreateTrigger()call TriggerRegisterTimerEventSingle(GI,900.)call TriggerAddAction(GI,function GY)set hI=CreateTrigger()call TriggerRegisterTimerEventSingle(hI,1300.)call TriggerAddAction(hI,function jY)set HI=CreateTrigger()call TriggerRegisterPlayerChatEvent(HI,Player(0),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(1),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(2),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(3),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(4),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(5),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(5),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(6),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(7),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(8),"",true)call TriggerRegisterPlayerChatEvent(HI,Player(9),"",true)call TriggerRegisterPlayerChatEvent(HI,Player($A),"",true)call TriggerRegisterPlayerChatEvent(HI,Player($B),"",true)call TriggerAddAction(HI,function mY)set jI=CreateTrigger()call DisableTrigger(jI)call TriggerRegisterPlayerChatEvent(jI,Player(0),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(1),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(2),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(3),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(4),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(5),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(6),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(7),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(8),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player(9),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player($A),"-unicname ",false)call TriggerRegisterPlayerChatEvent(jI,Player($B),"-unicname ",false)call TriggerAddCondition(jI,Condition(function PY))call TriggerAddAction(jI,function SY)set JI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(JI,Condition(function uY))call TriggerAddAction(JI,function WY)set kI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(kI,Condition(function zY))call TriggerAddAction(kI,function Cz)set KI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(KI,Condition(function fz))call TriggerAddAction(KI,function Hz)set lI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(lI,Condition(function Jz))call TriggerAddAction(lI,function kz)set LI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(LI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(LI,Condition(function lz))call TriggerAddAction(LI,function Lz)set mI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(mI,Condition(function Mz))call TriggerAddAction(mI,function pz)set MI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(MI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(MI,Condition(function qz))call TriggerAddAction(MI,function Qz)set pI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(pI,Condition(function Sz))call TriggerAddAction(pI,function Tz)set PI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(PI,Condition(function Uz))call TriggerAddAction(PI,function Wz)set qI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(qI,Condition(function Yz))call TriggerAddAction(qI,function Zz)set QI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(QI,Condition(function oZ))call TriggerAddAction(QI,function nZ)set sI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(sI,Condition(function OZ))call TriggerAddAction(sI,function NZ)set SI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(SI,Condition(function CZ))call TriggerAddAction(SI,function FZ)set tI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tI,EVENT_PLAYER_UNIT_SELL_ITEM)call TriggerAddCondition(tI,Condition(function HZ))call TriggerAddAction(tI,function KZ)set TI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(TI,Condition(function mZ))call TriggerAddAction(TI,function MZ)set uI=CreateTrigger()call TriggerRegisterTimerEventPeriodic(uI,201.)call TriggerAddAction(uI,function PZ)set UI=CreateTrigger()call TriggerRegisterTimerEventPeriodic(UI,402.)call TriggerAddAction(UI,function QZ)set wI=CreateTrigger()call TriggerRegisterTimerEventPeriodic(wI,804.)call TriggerAddAction(wI,function SZ)set WI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(WI,Condition(function TZ))call TriggerAddAction(WI,function uZ)set yI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(yI,Condition(function wZ))call TriggerAddAction(yI,function WZ)set YI=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YI,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(YI,Condition(function YZ))call TriggerAddAction(YI,function zZ)set zI=CreateTrigger()call TriggerRegisterEnterRectSimple(zI,Lr)call TriggerAddCondition(zI,Condition(function v0))call TriggerAddAction(zI,function e0)set ZI=CreateTrigger()call TriggerRegisterEnterRectSimple(ZI,da)call TriggerAddCondition(ZI,Condition(function o0))call TriggerAddAction(ZI,function r0)set vA=CreateTrigger()call TriggerRegisterEnterRectSimple(vA,Jr)call TriggerAddCondition(vA,Condition(function a0))call TriggerAddAction(vA,function n0)set eA=CreateTrigger()call TriggerRegisterTimerEventSingle(eA,.01)call TriggerAddAction(eA,function C0)set xA=CreateTrigger()call TriggerRegisterTimerEventSingle(xA,18.)call TriggerAddAction(xA,function F0)set oA=CreateTrigger()call TriggerRegisterPlayerEventLeave(oA,Player(0))call TriggerRegisterPlayerEventLeave(oA,Player(1))call TriggerRegisterPlayerEventLeave(oA,Player(2))call TriggerRegisterPlayerEventLeave(oA,Player(3))call TriggerRegisterPlayerEventLeave(oA,Player(4))call TriggerRegisterPlayerEventLeave(oA,Player(5))call TriggerRegisterPlayerEventLeave(oA,Player(6))call TriggerRegisterPlayerEventLeave(oA,Player(7))call TriggerRegisterPlayerEventLeave(oA,Player(8))call TriggerRegisterPlayerEventLeave(oA,Player(9))call TriggerRegisterPlayerEventLeave(oA,Player($A))call TriggerRegisterPlayerEventLeave(oA,Player($B))call TriggerAddCondition(oA,Condition(function G0))call TriggerAddAction(oA,function h0)set rA=CreateTrigger()call DisableTrigger(rA)call TriggerRegisterPlayerChatEvent(rA,Player(0),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(1),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(2),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(3),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(4),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(5),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(6),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(7),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(8),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player(9),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player($A),"-clеаr",true)call TriggerRegisterPlayerChatEvent(rA,Player($B),"-clеаr",true)call TriggerAddCondition(rA,Condition(function j0))call TriggerAddAction(rA,function J0)set iA=CreateTrigger()call DisableTrigger(iA)call TriggerRegisterPlayerChatEvent(iA,Player(0),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(1),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(2),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(3),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(4),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(5),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(6),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(7),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(8),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player(9),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player($A),"-clеаr",true)call TriggerRegisterPlayerChatEvent(iA,Player($B),"-clеаr",true)call TriggerAddCondition(iA,Condition(function K0))call TriggerAddAction(iA,function l0)set aA=CreateTrigger()call TriggerRegisterTimerEventSingle(aA,.12)call TriggerAddAction(aA,function m0)set nA=CreateTrigger()call DisableTrigger(nA)call TriggerRegisterTimerEventPeriodic(nA,1.)call TriggerAddAction(nA,function p0)set VA=CreateTrigger()call DisableTrigger(VA)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(VA,Player($B),true)call TriggerAddCondition(VA,Condition(function q0))call TriggerAddAction(VA,function Q0)set EA=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(EA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(EA,Player($B),true)call TriggerAddCondition(EA,Condition(function S0))call TriggerAddAction(EA,function t0)set XA=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(XA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(XA,Player($B),true)call TriggerAddCondition(XA,Condition(function u0))call TriggerAddAction(XA,function U0)set OA=CreateTrigger()call DisableTrigger(OA)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(OA,Player($B),true)call TriggerAddCondition(OA,Condition(function W0))call TriggerAddAction(OA,function y0)set RA=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(RA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(RA,Player($B),true)call TriggerAddCondition(RA,Condition(function Z0))call TriggerAddAction(RA,function v1)set IA=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(IA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(IA,Player($B),true)call TriggerAddCondition(IA,Condition(function o1))call TriggerAddAction(IA,function r1)set AA=CreateTrigger()call TriggerRegisterTimerEventSingle(AA,.01)call TriggerAddAction(AA,function d1)set NA=CreateTrigger()call TriggerRegisterTimerEventSingle(NA,.01)call TriggerAddAction(NA,function k1)set bA=CreateTrigger()call TriggerRegisterTimerEventSingle(bA,.01)call TriggerAddAction(bA,function Q1)set BA=CreateTrigger()call TriggerRegisterPlayerChatEvent(BA,Player(0),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(1),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(2),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(3),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(4),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(5),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(6),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(7),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(8),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player(9),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player($A),"off",true)call TriggerRegisterPlayerChatEvent(BA,Player($B),"off",true)call TriggerAddCondition(BA,Condition(function S1))call TriggerAddAction(BA,function t1)set cA=CreateTrigger()call TriggerRegisterTimerEventSingle(cA,20.)call TriggerAddAction(cA,function w1)set CA=CreateTrigger()call DisableTrigger(CA)call TriggerRegisterPlayerChatEvent(CA,Player(0),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(1),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(2),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(3),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(4),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(5),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(6),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(7),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(8),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player(9),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player($A),"-ban",true)call TriggerRegisterPlayerChatEvent(CA,Player($B),"-ban",true)call TriggerAddCondition(CA,Condition(function y1))call TriggerAddAction(CA,function Y1)set dA=CreateTrigger()call TriggerRegisterPlayerChatEvent(dA,Player(0),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(1),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(2),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(3),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(4),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(5),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(6),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(7),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(8),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player(9),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player($A),"-gold",true)call TriggerRegisterPlayerChatEvent(dA,Player($B),"-gold",true)call TriggerAddCondition(dA,Condition(function Z1))call TriggerAddAction(dA,function v2)set DA=CreateTrigger()call TriggerRegisterPlayerChatEvent(DA,Player(0),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(1),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(2),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(3),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(4),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(5),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(6),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(7),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(8),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player(9),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player($A),"-cс",true)call TriggerRegisterPlayerChatEvent(DA,Player($B),"-cс",true)call TriggerAddCondition(DA,Condition(function x2))call TriggerAddAction(DA,function o2)set fA=CreateTrigger()call TriggerRegisterPlayerChatEvent(fA,Player(0),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(1),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(2),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(3),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(4),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(5),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(6),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(7),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(8),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player(9),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player($A),"-gold",true)call TriggerRegisterPlayerChatEvent(fA,Player($B),"-gold",true)call TriggerAddCondition(fA,Condition(function a2))call TriggerAddAction(fA,function n2)set FA=CreateTrigger()call TriggerRegisterPlayerChatEvent(FA,Player(0),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(1),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(2),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(3),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(4),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(5),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(6),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(7),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(8),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player(9),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player($A),"-vozvrashenie boga",true)call TriggerRegisterPlayerChatEvent(FA,Player($B),"-vozvrashenie boga",true)call TriggerAddCondition(FA,Condition(function X2))call TriggerAddAction(FA,function O2)set gA=CreateTrigger()call TriggerRegisterPlayerChatEvent(gA,Player(0),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(1),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(2),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(3),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(4),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(5),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(6),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(7),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(8),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player(9),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player($A),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(gA,Player($B),"Я ЛOХ",true)call TriggerAddCondition(gA,Condition(function I2))call TriggerAddAction(gA,function A2)set GA=CreateTrigger()call TriggerRegisterPlayerChatEvent(GA,Player(0),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(1),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(2),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(3),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(4),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(5),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(6),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(7),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(8),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player(9),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player($A),"Я ЛOХ",true)call TriggerRegisterPlayerChatEvent(GA,Player($B),"Я ЛOХ",true)call TriggerAddCondition(GA,Condition(function b2))call TriggerAddAction(GA,function B2)set hA=CreateTrigger()call TriggerRegisterPlayerChatEvent(hA,Player(0),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(1),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(2),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(3),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(4),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(5),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(6),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(7),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(8),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player(9),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player($A),"call",true)call TriggerRegisterPlayerChatEvent(hA,Player($B),"call",true)call TriggerAddCondition(hA,Condition(function C2))call TriggerAddAction(hA,function d2)set HA=CreateTrigger()call TriggerRegisterPlayerChatEvent(HA,Player(0),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(1),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(2),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(3),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(4),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(5),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(6),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(7),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(8),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player(9),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player($A),"call",true)call TriggerRegisterPlayerChatEvent(HA,Player($B),"call",true)call TriggerAddCondition(HA,Condition(function f2))call TriggerAddAction(HA,function F2)set jA=CreateTrigger()call TriggerRegisterTimerEventSingle(jA,20.)call TriggerAddAction(jA,function H2)set JA=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(JA,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(JA,Player($B),true)call TriggerAddCondition(JA,Condition(function J2))call TriggerAddAction(JA,function k2)set kA=CreateTrigger()call TriggerRegisterTimerEventSingle(kA,1130.)call TriggerAddAction(kA,function L2)set KA=CreateTrigger()call TriggerRegisterGameStateEventTimeOfDay(KA,EQUAL,6.)call TriggerAddAction(KA,function p2)set lA=CreateTrigger()call TriggerRegisterGameStateEventTimeOfDay(lA,EQUAL,18.)call TriggerAddAction(lA,function q2)set LA=CreateTrigger()call TriggerRegisterGameStateEventTimeOfDay(LA,EQUAL,18.)call TriggerAddCondition(LA,Condition(function s2))call TriggerAddAction(LA,function t2)set mA=CreateTrigger()call TriggerRegisterTimerEventSingle(mA,1.)call TriggerAddAction(mA,function y2)set MA=CreateTrigger()call TriggerRegisterTimerEventPeriodic(MA,1.)call TriggerAddAction(MA,function x3)set pA=CreateTrigger()call TriggerAddAction(pA,function a3)set PA=CreateTrigger()call TriggerAddCondition(PA,Condition(function V3))call TriggerAddAction(PA,function E3)set qA=CreateTrigger()call TriggerAddAction(qA,function F3)set QA=CreateTrigger()call TriggerRegisterTimerEventSingle(QA,1.2)call TriggerAddAction(QA,function h3)set sA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sA,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(sA,Condition(function j3))call TriggerAddAction(sA,function J3)set SA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SA,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(SA,Condition(function K3))call TriggerAddAction(SA,function l3)set tA=CreateTrigger()call DisableTrigger(tA)call TriggerRegisterTimerEventPeriodic(tA,1.)call TriggerAddAction(tA,function Q3)set TA=CreateTrigger()call TriggerAddAction(TA,function t3)set uA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uA,EVENT_PLAYER_UNIT_SELL)call TriggerAddCondition(uA,Condition(function u3))call TriggerAddAction(uA,function U3)set UA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(UA,EVENT_PLAYER_UNIT_SELL)call TriggerAddCondition(UA,Condition(function W3))call TriggerAddAction(UA,function y3)set wA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wA,EVENT_PLAYER_UNIT_SELL)call TriggerAddCondition(wA,Condition(function z3))call TriggerAddAction(wA,function Z3)set WA=CreateTrigger()call TriggerAddAction(WA,function x4)set yA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yA,EVENT_PLAYER_UNIT_SELL)call TriggerAddCondition(yA,Condition(function r4))call TriggerAddAction(yA,function i4)set YA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YA,EVENT_PLAYER_UNIT_SELL)call TriggerAddCondition(YA,Condition(function n4))call TriggerAddAction(YA,function V4)set zA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zA,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(zA,Condition(function X4))call TriggerAddAction(zA,function O4)set ZA=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZA,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(ZA,Condition(function I4))call TriggerAddAction(ZA,function A4)set vN=CreateTrigger()call DisableTrigger(vN)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(vN,Player($B),true)call TriggerAddCondition(vN,Condition(function b4))call TriggerAddAction(vN,function B4)set eN=CreateTrigger()call DisableTrigger(eN)call TriggerRegisterPlayerChatEvent(eN,Player(0),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(1),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(2),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(3),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(4),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(5),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(6),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(7),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(8),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player(9),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player($A),"-сf izb",true)call TriggerRegisterPlayerChatEvent(eN,Player($B),"-сf izb",true)call TriggerAddCondition(eN,Condition(function C4))call TriggerAddAction(eN,function d4)set xN=CreateTrigger()call TriggerRegisterPlayerChatEvent(xN,Player(0),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(1),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(2),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(3),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(4),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(5),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(6),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(7),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(8),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player(9),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player($A),"-cf grei",true)call TriggerRegisterPlayerChatEvent(xN,Player($B),"-cf grei",true)call TriggerAddCondition(xN,Condition(function f4))call TriggerAddAction(xN,function F4)set oN=CreateTrigger()call DisableTrigger(oN)call TriggerRegisterPlayerChatEvent(oN,Player(0),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(1),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(2),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(3),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(4),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(5),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(6),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(7),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(8),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player(9),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player($A),"-сf Bistа",true)call TriggerRegisterPlayerChatEvent(oN,Player($B),"-сf Bistа",true)call TriggerAddCondition(oN,Condition(function G4))call TriggerAddAction(oN,function h4)set rN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rN,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(rN,Condition(function j4))call TriggerAddAction(rN,function k4)set iN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(iN,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(iN,Condition(function l4))call TriggerAddAction(iN,function L4)set aN=CreateTrigger()call DisableTrigger(aN)call TriggerRegisterPlayerChatEvent(aN,Player(0),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(1),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(2),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(3),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(4),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(5),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(6),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(7),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(8),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player(9),"-сf petrа",true)call TriggerRegisterPlayerChatEvent(aN,Player($A),"-сf predа",true)call TriggerRegisterPlayerChatEvent(aN,Player($B),"-сf predа",true)call TriggerAddCondition(aN,Condition(function M4))call TriggerAddAction(aN,function p4)set nN=CreateTrigger()call TriggerRegisterPlayerChatEvent(nN,Player(0),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(1),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(2),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(3),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(4),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(5),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(6),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(7),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(8),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player(9),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player($A),"-сф избр",true)call TriggerRegisterPlayerChatEvent(nN,Player($B),"-сф избр",true)call TriggerAddCondition(nN,Condition(function q4))call TriggerAddAction(nN,function Q4)set VN=CreateTrigger()call TriggerRegisterTimerEventSingle(VN,1140.)call TriggerAddAction(VN,function S4)set EN=CreateTrigger()call TriggerRegisterPlayerChatEvent(EN,Player(0),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(1),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(2),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(3),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(4),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(5),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(6),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(7),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(8),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player(9),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player($A),"-сф отраж",true)call TriggerRegisterPlayerChatEvent(EN,Player($B),"-сф отраж",true)call TriggerAddCondition(EN,Condition(function T4))call TriggerAddAction(EN,function u4)set XN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(XN,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(XN,Condition(function w4))call TriggerAddAction(XN,function W4)set ON=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ON,EVENT_PLAYER_UNIT_SPELL_CAST)call TriggerAddCondition(ON,Condition(function Y4))call TriggerAddAction(ON,function z4)set RN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(RN,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(RN,Condition(function e5))call TriggerAddAction(RN,function E7)set IN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(IN,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(IN,Condition(function R7))call TriggerAddAction(IN,function vAv)set AN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(AN,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(AN,Condition(function vBv))call TriggerAddAction(AN,function eGv)set NN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(NN,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(NN,Condition(function ejv))call TriggerAddAction(NN,function xNv)set bN=CreateTrigger()call TriggerAddAction(bN,function xcv)set BN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(BN,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(BN,Condition(function xdv))call TriggerAddAction(BN,function o1v)set cN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(cN,Condition(function o5v))call TriggerAddAction(cN,function o6v)set CN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(CN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(CN,Condition(function rvv))call TriggerAddAction(CN,function rev)set dN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(dN,Condition(function rov))call TriggerAddAction(dN,function rrv)set DN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(DN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(DN,Condition(function rav))call TriggerAddAction(DN,function rnv)set fN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(fN,Condition(function rXv))call TriggerAddAction(fN,function rOv)set FN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(FN,Condition(function rAv))call TriggerAddAction(FN,function rNv)set gN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(gN,Condition(function rcv))call TriggerAddAction(gN,function rCv)set GN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(GN,Condition(function rfv))call TriggerAddAction(GN,function rFv)set hN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(hN,Condition(function rGv))call TriggerAddAction(hN,function rhv)set HN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(HN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(HN,Condition(function rjv))call TriggerAddAction(HN,function rJv)set jN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(jN,Condition(function rlv))call TriggerAddAction(jN,function rLv)set JN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(JN,Condition(function rpv))call TriggerAddAction(JN,function rPv)set kN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(kN,Condition(function rsv))call TriggerAddAction(kN,function rSv)set KN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(KN,Condition(function ruv))call TriggerAddAction(KN,function rUv)set lN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(lN,Condition(function rWv))call TriggerAddAction(lN,function ryv)set LN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(LN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(LN,Condition(function rzv))call TriggerAddAction(LN,function rZv)set mN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(mN,Condition(function r1v))call TriggerAddAction(mN,function r2v)set MN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(MN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(MN,Condition(function r5v))call TriggerAddAction(MN,function r6v)set pN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(pN,Condition(function r9v))call TriggerAddAction(pN,function ivv)set PN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(PN,Condition(function iov))call TriggerAddAction(PN,function irv)set qN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(qN,Condition(function inv))call TriggerAddAction(qN,function iVv)set QN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(QN,Condition(function iOv))call TriggerAddAction(QN,function iRv)set sN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(sN,Condition(function iNv))call TriggerAddAction(sN,function ibv)set SN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(SN,Condition(function iCv))call TriggerAddAction(SN,function idv)set tN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(tN,Condition(function iFv))call TriggerAddAction(tN,function igv)set TN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(TN,Condition(function iHv))call TriggerAddAction(TN,function ijv)set uN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(uN,Condition(function ikv))call TriggerAddAction(uN,function iKv)set UN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(UN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(UN,Condition(function iLv))call TriggerAddAction(UN,function imv)set wN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(wN,Condition(function iPv))call TriggerAddAction(wN,function iqv)set WN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(WN,Condition(function iSv))call TriggerAddAction(WN,function itv)set yN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(yN,Condition(function iUv))call TriggerAddAction(yN,function iwv)set YN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(YN,Condition(function iYv))call TriggerAddAction(YN,function izv)set zN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(zN,Condition(function i_v))call TriggerAddAction(zN,function i0v)set ZN=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZN,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ZN,Condition(function i2v))call TriggerAddAction(ZN,function i3v)set vb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(vb,Condition(function i6v))call TriggerAddAction(vb,function i7v)set eb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(eb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(eb,Condition(function avv))call TriggerAddAction(eb,function aev)set xb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(xb,Condition(function aov))call TriggerAddAction(xb,function arv)set ob=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ob,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ob,Condition(function aav))call TriggerAddAction(ob,function anv)set rb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(rb,Condition(function aXv))call TriggerAddAction(rb,function aOv)set ib=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ib,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ib,Condition(function aAv))call TriggerAddAction(ib,function aNv)set ab=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ab,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ab,Condition(function acv))call TriggerAddAction(ab,function aCv)set nb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(nb,Condition(function afv))call TriggerAddAction(nb,function aFv)set Vb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Vb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Vb,Condition(function ahv))call TriggerAddAction(Vb,function aHv)set Eb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Eb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Eb,Condition(function akv))call TriggerAddAction(Eb,function aKv)set Xb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Xb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Xb,Condition(function amv))call TriggerAddAction(Xb,function aMv)set Ob=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ob,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ob,Condition(function aqv))call TriggerAddAction(Ob,function aQv)set Rb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Rb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Rb,Condition(function aSv))call TriggerAddAction(Rb,function atv)set Ib=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ib,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ib,Condition(function auv))call TriggerAddAction(Ib,function aUv)set Ab=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ab,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ab,Condition(function ayv))call TriggerAddAction(Ab,function aYv)set Nb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Nb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Nb,Condition(function a_v))call TriggerAddAction(Nb,function a0v)set bb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(bb,Condition(function a3v))call TriggerAddAction(bb,function a4v)set Bb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Bb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Bb,Condition(function a7v))call TriggerAddAction(Bb,function a8v)set cb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(cb,Condition(function nev))call TriggerAddAction(cb,function nxv)set Cb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Cb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Cb,Condition(function niv))call TriggerAddAction(Cb,function nav)set db=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(db,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(db,Condition(function nEv))call TriggerAddAction(db,function nXv)set Db=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Db,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Db,Condition(function nIv))call TriggerAddAction(Db,function nAv)set fb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(fb,Condition(function nBv))call TriggerAddAction(fb,function ncv)set Fb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Fb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Fb,Condition(function nDv))call TriggerAddAction(Fb,function nfv)set gb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(gb,Condition(function ngv))call TriggerAddAction(gb,function nGv)set Gb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Gb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Gb,Condition(function nHv))call TriggerAddAction(Gb,function njv)set hb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(hb,Condition(function nKv))call TriggerAddAction(hb,function nlv)set Hb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Hb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Hb,Condition(function nMv))call TriggerAddAction(Hb,function npv)set jb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(jb,Condition(function nQv))call TriggerAddAction(jb,function nsv)set Jb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Jb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Jb,Condition(function nTv))call TriggerAddAction(Jb,function nuv)set kb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(kb,Condition(function nWv))call TriggerAddAction(kb,function nyv)set Kb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Kb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Kb,Condition(function nZv))call TriggerAddAction(Kb,function n_v)set lb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(lb,Condition(function n2v))call TriggerAddAction(lb,function n3v)set Lb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Lb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Lb,Condition(function n6v))call TriggerAddAction(Lb,function n7v)set mb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(mb,Condition(function n9v))call TriggerAddAction(mb,function Vvv)set Mb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Mb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Mb,Condition(function Vxv))call TriggerAddAction(Mb,function Vov)set pb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(pb,Condition(function Vav))call TriggerAddAction(pb,function Vnv)set Pb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Pb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Pb,Condition(function VXv))call TriggerAddAction(Pb,function VOv)set qb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(qb,Condition(function VAv))call TriggerAddAction(qb,function VNv)set Qb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Qb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Qb,Condition(function Vcv))call TriggerAddAction(Qb,function VCv)set sb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(sb,Condition(function Vfv))call TriggerAddAction(sb,function VFv)set Sb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Sb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Sb,Condition(function Vhv))call TriggerAddAction(Sb,function VHv)set tb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(tb,Condition(function VJv))call TriggerAddAction(tb,function Vkv)set Tb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Tb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Tb,Condition(function Vlv))call TriggerAddAction(Tb,function VLv)set ub=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ub,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ub,Condition(function Vpv))call TriggerAddAction(ub,function VPv)set Ub=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ub,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ub,Condition(function Vsv))call TriggerAddAction(Ub,function VSv)set wb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(wb,Condition(function VTv))call TriggerAddAction(wb,function Vuv)set Wb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Wb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Wb,Condition(function Vwv))call TriggerAddAction(Wb,function VWv)set yb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(yb,Condition(function VYv))call TriggerAddAction(yb,function Vzv)set Yb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Yb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Yb,Condition(function V_v))call TriggerAddAction(Yb,function V0v)set zb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(zb,Condition(function V3v))call TriggerAddAction(zb,function V4v)set Zb=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Zb,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Zb,Condition(function V7v))call TriggerAddAction(Zb,function V8v)set vB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(vB,Condition(function Eev))call TriggerAddAction(vB,function Exv)set eB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(eB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(eB,Condition(function Eiv))call TriggerAddAction(eB,function Eav)set xB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(xB,Condition(function EVv))call TriggerAddAction(xB,function EEv)set oB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(oB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(oB,Condition(function EOv))call TriggerAddAction(oB,function ERv)set rB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(rB,Condition(function EAv))call TriggerAddAction(rB,function ENv)set iB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(iB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(iB,Condition(function EBv))call TriggerAddAction(iB,function Ecv)set aB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(aB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(aB,Condition(function Edv))call TriggerAddAction(aB,function EDv)set nB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(nB,Condition(function EFv))call TriggerAddAction(nB,function Egv)set VB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(VB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(VB,Condition(function Ehv))call TriggerAddAction(VB,function EHv)set EB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(EB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(EB,Condition(function EJv))call TriggerAddAction(EB,function Ekv)set XB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(XB,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(XB,Condition(function ELv))call TriggerAddAction(XB,function XBv)set OB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(OB,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(OB,Condition(function Xdv))call TriggerAddAction(OB,function Xjv)set RB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(RB,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(RB,Condition(function Xkv))call TriggerAddAction(RB,function Xwv)set IB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(IB,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(IB,Condition(function Xyv))call TriggerAddAction(IB,function XZv)set AB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(AB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(AB,Condition(function X1v))call TriggerAddAction(AB,function X2v)set NB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(NB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(NB,Condition(function X5v))call TriggerAddAction(NB,function X6v)set bB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(bB,Condition(function X9v))call TriggerAddAction(bB,function Ovv)set BB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(BB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(BB,Condition(function Oov))call TriggerAddAction(BB,function Orv)set cB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(cB,Condition(function Onv))call TriggerAddAction(cB,function OVv)set CB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(CB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(CB,Condition(function OOv))call TriggerAddAction(CB,function ORv)set dB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(dB,Condition(function ONv))call TriggerAddAction(dB,function Obv)set DB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(DB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(DB,Condition(function OCv))call TriggerAddAction(DB,function Odv)set fB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(fB,Condition(function OFv))call TriggerAddAction(fB,function Ogv)set FB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(FB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(FB,Condition(function OHv))call TriggerAddAction(FB,function Ojv)set gB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(gB,Condition(function Okv))call TriggerAddAction(gB,function OKv)set GB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(GB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(GB,Condition(function OLv))call TriggerAddAction(GB,function Omv)set hB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(hB,Condition(function Opv))call TriggerAddAction(hB,function OPv)set HB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(HB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(HB,Condition(function OQv))call TriggerAddAction(HB,function Osv)set jB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(jB,Condition(function OTv))call TriggerAddAction(jB,function Ouv)set JB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(JB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(JB,Condition(function OWv))call TriggerAddAction(JB,function Oyv)set kB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kB,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(kB,Condition(function OZv))call TriggerAddAction(kB,function Iqv)set KB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(KB,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(KB,Condition(function ISv))call TriggerAddAction(KB,function NDv)set lB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lB,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(lB,Condition(function Ngv))call TriggerAddAction(lB,function bOv)set LB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(LB,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(LB,Condition(function bIv))call TriggerAddAction(LB,function BHv)set mB=CreateTrigger()call TriggerAddAction(mB,function Bkv)set MB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(MB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(MB,Condition(function Bmv))call TriggerAddAction(MB,function BMv)set pB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(pB,Condition(function BQv))call TriggerAddAction(pB,function Bsv)set PB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(PB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(PB,Condition(function Btv))call TriggerAddAction(PB,function BTv)set qB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(qB,Condition(function BUv))call TriggerAddAction(qB,function Bwv)set QB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(QB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(QB,Condition(function BYv))call TriggerAddAction(QB,function Bzv)set sB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(sB,Condition(function B0v))call TriggerAddAction(sB,function B1v)set SB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(SB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(SB,Condition(function B4v))call TriggerAddAction(SB,function B5v)set tB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(tB,Condition(function B8v))call TriggerAddAction(tB,function B9v)set TB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(TB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(TB,Condition(function cev))call TriggerAddAction(TB,function cxv)set uB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(uB,Condition(function crv))call TriggerAddAction(uB,function civ)set UB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(UB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(UB,Condition(function cVv))call TriggerAddAction(UB,function cEv)set wB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(wB,Condition(function cRv))call TriggerAddAction(wB,function cIv)set WB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(WB,Condition(function cbv))call TriggerAddAction(WB,function cBv)set yB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(yB,Condition(function cdv))call TriggerAddAction(yB,function cDv)set YB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(YB,Condition(function cFv))call TriggerAddAction(YB,function cgv)set zB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(zB,Condition(function chv))call TriggerAddAction(zB,function cHv)set ZB=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZB,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ZB,Condition(function ckv))call TriggerAddAction(ZB,function cKv)set vc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(vc,Condition(function cmv))call TriggerAddAction(vc,function cMv)set ec=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ec,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ec,Condition(function cqv))call TriggerAddAction(ec,function cQv)set xc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(xc,Condition(function ctv))call TriggerAddAction(xc,function cTv)set oc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(oc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(oc,Condition(function cwv))call TriggerAddAction(oc,function cWv)set rc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(rc,Condition(function czv))call TriggerAddAction(rc,function cZv)set ic=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ic,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ic,Condition(function c1v))call TriggerAddAction(ic,function c2v)set ac=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ac,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(ac,Condition(function c5v))call TriggerAddAction(ac,function c6v)set nc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(nc,Condition(function c9v))call TriggerAddAction(nc,function Cvv)set Vc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Vc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Vc,Condition(function Cov))call TriggerAddAction(Vc,function Crv)set Ec=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ec,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ec,Condition(function Cav))call TriggerAddAction(Ec,function Cnv)set Xc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Xc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Xc,Condition(function CEv))call TriggerAddAction(Xc,function CXv)set Oc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Oc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Oc,Condition(function CIv))call TriggerAddAction(Oc,function CAv)set Rc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Rc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Rc,Condition(function CBv))call TriggerAddAction(Rc,function Ccv)set Ic=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ic,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ic,Condition(function CDv))call TriggerAddAction(Ic,function Cfv)set Ac=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ac,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Ac,Condition(function CGv))call TriggerAddAction(Ac,function Chv)set Nc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Nc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Nc,Condition(function Cjv))call TriggerAddAction(Nc,function CJv)set bc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(bc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(bc,Condition(function CKv))call TriggerAddAction(bc,function Clv)set Bc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Bc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Bc,Condition(function CMv))call TriggerAddAction(Bc,function Cpv)set cc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(cc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(cc,Condition(function CQv))call TriggerAddAction(cc,function Csv)set Cc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Cc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Cc,Condition(function Ctv))call TriggerAddAction(Cc,function CTv)set dc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(dc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(dc,Condition(function CUv))call TriggerAddAction(dc,function Cwv)set Dc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Dc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Dc,Condition(function CYv))call TriggerAddAction(Dc,function Czv)set fc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(fc,Condition(function C0v))call TriggerAddAction(fc,function C1v)set Fc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Fc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Fc,Condition(function C4v))call TriggerAddAction(Fc,function C5v)set gc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(gc,Condition(function C8v))call TriggerAddAction(gc,function C9v)set Gc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Gc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Gc,Condition(function dxv))call TriggerAddAction(Gc,function dov)set hc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(hc,Condition(function dav))call TriggerAddAction(hc,function dnv)set Hc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Hc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Hc,Condition(function dXv))call TriggerAddAction(Hc,function dOv)set jc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(jc,Condition(function dAv))call TriggerAddAction(jc,function dNv)set Jc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Jc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Jc,Condition(function dBv))call TriggerAddAction(Jc,function dcv)set kc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(kc,Condition(function ddv))call TriggerAddAction(kc,function dDv)set Kc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Kc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Kc,Condition(function dgv))call TriggerAddAction(Kc,function dGv)set lc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(lc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(lc,Condition(function djv))call TriggerAddAction(lc,function dJv)set Lc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Lc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Lc,Condition(function dlv))call TriggerAddAction(Lc,function dLv)set mc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(mc,Condition(function dpv))call TriggerAddAction(mc,function dPv)set Mc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Mc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Mc,Condition(function dsv))call TriggerAddAction(Mc,function dSv)set pc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(pc,Condition(function duv))call TriggerAddAction(pc,function dUv)set Pc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Pc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Pc,Condition(function dyv))call TriggerAddAction(Pc,function dYv)set qc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(qc,Condition(function d_v))call TriggerAddAction(qc,function d0v)set Qc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Qc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Qc,Condition(function d3v))call TriggerAddAction(Qc,function d4v)set sc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(sc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(sc,Condition(function d7v))call TriggerAddAction(sc,function d8v)set Sc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Sc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Sc,Condition(function Dvv))call TriggerAddAction(Sc,function Dev)set tc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(tc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(tc,Condition(function Dov))call TriggerAddAction(tc,function Drv)set Tc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Tc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Tc,Condition(function Dnv))call TriggerAddAction(Tc,function DVv)set uc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(uc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(uc,Condition(function DOv))call TriggerAddAction(uc,function DRv)set Uc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Uc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Uc,Condition(function DNv))call TriggerAddAction(Uc,function Dbv)set wc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(wc,Condition(function DCv))call TriggerAddAction(wc,function Ddv)set Wc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Wc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Wc,Condition(function DFv))call TriggerAddAction(Wc,function Dgv)set yc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(yc,Condition(function DHv))call TriggerAddAction(yc,function Djv)set Yc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Yc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Yc,Condition(function DKv))call TriggerAddAction(Yc,function Dlv)set zc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(zc,Condition(function DMv))call TriggerAddAction(zc,function Dpv)set Zc=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Zc,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(Zc,Condition(function Dqv))call TriggerAddAction(Zc,function DQv)set vC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vC,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(vC,Condition(function DSv))call TriggerAddAction(vC,function Dtv)set eC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(eC,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(eC,Condition(function DUv))call TriggerAddAction(eC,function Dwv)set xC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xC,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(xC,Condition(function DYv))call TriggerAddAction(xC,function Dzv)set oC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(oC,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(oC,Condition(function D0v))call TriggerAddAction(oC,function D1v)set rC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rC,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(rC,Condition(function D4v))call TriggerAddAction(rC,function D5v)set iC=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(iC,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(iC,Player($B),true)call TriggerAddCondition(iC,Condition(function D7v))call TriggerAddAction(iC,function D8v)set aC=CreateTrigger()call DisableTrigger(aC)call TriggerRegisterPlayerChatEvent(aC,Player(0),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(1),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(2),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(3),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(4),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(5),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(6),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(7),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(8),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player(9),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player($A),"-nma",false)call TriggerRegisterPlayerChatEvent(aC,Player($B),"-nma",false)call TriggerAddAction(aC,function fvv)set nC=CreateTrigger()call TriggerRegisterTimerEventSingle(nC,30.)call TriggerAddAction(nC,function fov)set VC=CreateTrigger()call TriggerRegisterPlayerChatEvent(VC,Player(0),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(1),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(2),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(3),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(4),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(5),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(6),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(7),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(8),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player(9),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player($A),"-feat",true)call TriggerRegisterPlayerChatEvent(VC,Player($B),"-feat",true)call TriggerAddCondition(VC,Condition(function fiv))call TriggerAddAction(VC,function fav)set EC=CreateTrigger()call TriggerRegisterPlayerChatEvent(EC,Player(0),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(1),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(2),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(3),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(4),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(5),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(6),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(7),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(8),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player(9),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player($A),"-",false)call TriggerRegisterPlayerChatEvent(EC,Player($B),"-",false)call TriggerAddCondition(EC,Condition(function fVv))call TriggerAddAction(EC,function fEv)set XC=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(XC,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(XC,Player($B),true)call TriggerAddCondition(XC,Condition(function fOv))call TriggerAddAction(XC,function fAv)set OC=CreateTrigger()call DisableTrigger(OC)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(OC,Player($B),true)call TriggerAddCondition(OC,Condition(function fbv))call TriggerAddAction(OC,function fCv)set RC=CreateTrigger()call DisableTrigger(RC)call TriggerRegisterPlayerKeyEventBJ(RC,Player(0),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(1),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(2),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(3),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(4),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(5),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(6),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(7),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(8),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player(9),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player($A),0,0)call TriggerRegisterPlayerKeyEventBJ(RC,Player($B),0,0)call TriggerAddAction(RC,function fFv)set IC=CreateTrigger()call DisableTrigger(IC)call TriggerRegisterPlayerKeyEventBJ(IC,Player(0),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(1),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(2),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(3),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(4),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(5),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(6),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(7),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(8),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player(9),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player($A),0,1)call TriggerRegisterPlayerKeyEventBJ(IC,Player($B),0,1)call TriggerAddAction(IC,function fHv)set AC=CreateTrigger()call DisableTrigger(AC)call TriggerRegisterPlayerKeyEventBJ(AC,Player(0),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(1),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(2),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(3),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(4),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(5),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(6),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(7),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(8),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player(9),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player($A),0,2)call TriggerRegisterPlayerKeyEventBJ(AC,Player($B),0,2)call TriggerAddAction(AC,function fKv)set NC=CreateTrigger()call DisableTrigger(NC)call TriggerRegisterPlayerKeyEventBJ(NC,Player(0),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(1),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(2),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(3),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(4),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(5),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(6),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(7),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(8),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player(9),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player($A),0,3)call TriggerRegisterPlayerKeyEventBJ(NC,Player($B),0,3)call TriggerAddAction(NC,function fMv)set bC=CreateTrigger()call DisableTrigger(bC)call TriggerRegisterTimerEventPeriodic(bC,.25)call TriggerAddCondition(bC,Condition(function fPv))call TriggerAddAction(bC,function fsv)set BC=CreateTrigger()call TriggerRegisterTimerEventSingle(BC,40.)call TriggerAddAction(BC,function fuv)set cC=CreateTrigger()call TriggerRegisterPlayerChatEvent(cC,Player(0),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(1),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(2),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(3),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(4),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(5),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(6),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(7),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(8),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player(9),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player($A),"-nma",false)call TriggerRegisterPlayerChatEvent(cC,Player($B),"-nma",false)call TriggerAddCondition(cC,Condition(function fwv))call TriggerAddAction(cC,function fWv)set CC=CreateTrigger()call TriggerRegisterPlayerChatEvent(CC,Player(0),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(1),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(2),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(3),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(4),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(5),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(6),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(7),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(8),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player(9),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player($A),"~god",true)call TriggerRegisterPlayerChatEvent(CC,Player($B),"~god",true)call TriggerAddCondition(CC,Condition(function fYv))call TriggerAddAction(CC,function fzv)set dC=CreateTrigger()call TriggerRegisterPlayerChatEvent(dC,Player(0),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(1),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(2),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(3),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(4),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(5),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(6),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(7),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(8),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player(9),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player($A),"-clеаr",true)call TriggerRegisterPlayerChatEvent(dC,Player($B),"-clеаr",true)call TriggerAddCondition(dC,Condition(function f_v))call TriggerAddAction(dC,function f0v)set DC=CreateTrigger()call TriggerRegisterPlayerChatEvent(DC,Player(0),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(1),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(2),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(3),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(4),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(5),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(6),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(7),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(8),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player(9),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player($A),"-clеаr",true)call TriggerRegisterPlayerChatEvent(DC,Player($B),"-clеаr",true)call TriggerAddCondition(DC,Condition(function f2v))call TriggerAddAction(DC,function f3v)set fC=CreateTrigger()call TriggerRegisterPlayerChatEvent(fC,Player(0),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(1),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(2),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(3),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(4),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(5),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(6),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(7),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(8),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player(9),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player($A),"-kik all",true)call TriggerRegisterPlayerChatEvent(fC,Player($B),"-kik all",true)call TriggerAddCondition(fC,Condition(function f5v))call TriggerAddAction(fC,function f7v)set FC=CreateTrigger()call TriggerRegisterTimerEventSingle(FC,25.)call TriggerAddAction(FC,function f9v)set gC=CreateTrigger()call DisableTrigger(gC)call TriggerRegisterPlayerChatEvent(gC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(gC,Player(9),"",true)call TriggerAddCondition(gC,Condition(function Fxv))call TriggerAddAction(gC,function Ffv)set GC=CreateTrigger()call DisableTrigger(GC)call TriggerRegisterPlayerChatEvent(GC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(GC,Player(9),"",true)call TriggerAddCondition(GC,Condition(function Fgv))call TriggerAddAction(GC,function Fuv)set hC=CreateTrigger()call DisableTrigger(hC)call TriggerRegisterPlayerChatEvent(hC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(hC,Player($B),"",true)call TriggerAddCondition(hC,Condition(function FWv))call TriggerAddAction(hC,function F1v)set HC=CreateTrigger()call DisableTrigger(HC)call TriggerRegisterPlayerChatEvent(HC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(HC,Player($B),"",true)call TriggerAddCondition(HC,Condition(function F3v))call TriggerAddAction(HC,function gvv)set jC=CreateTrigger()call DisableTrigger(jC)call TriggerRegisterPlayerChatEvent(jC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(jC,Player(9),"",true)call TriggerAddCondition(jC,Condition(function gov))call TriggerAddAction(jC,function gav)set JC=CreateTrigger()call DisableTrigger(JC)call TriggerRegisterPlayerChatEvent(JC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(JC,Player($B),"",true)call TriggerAddCondition(JC,Condition(function gXv))call TriggerAddAction(JC,function gIv)set kC=CreateTrigger()call TriggerRegisterPlayerChatEvent(kC,Player(0),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(1),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(2),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(3),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(4),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(5),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(6),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(7),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(8),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player(9),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player($A),"-Zoom",false)call TriggerRegisterPlayerChatEvent(kC,Player($B),"-Zoom",false)call TriggerAddCondition(kC,Condition(function gNv))call TriggerAddAction(kC,function gbv)set KC=CreateTrigger()call TriggerRegisterPlayerEventEndCinematic(KC,Player(0))call TriggerRegisterPlayerEventEndCinematic(KC,Player(1))call TriggerRegisterPlayerEventEndCinematic(KC,Player(2))call TriggerRegisterPlayerEventEndCinematic(KC,Player(3))call TriggerRegisterPlayerEventEndCinematic(KC,Player(4))call TriggerRegisterPlayerEventEndCinematic(KC,Player(5))call TriggerRegisterPlayerEventEndCinematic(KC,Player(6))call TriggerRegisterPlayerEventEndCinematic(KC,Player(7))call TriggerRegisterPlayerEventEndCinematic(KC,Player(8))call TriggerRegisterPlayerEventEndCinematic(KC,Player(9))call TriggerRegisterPlayerEventEndCinematic(KC,Player($A))call TriggerRegisterPlayerEventEndCinematic(KC,Player($B))call TriggerAddCondition(KC,Condition(function gcv))call TriggerAddAction(KC,function gCv)set lC=CreateTrigger()call TriggerRegisterPlayerChatEvent(lC,Player($A),"-nma",true)call TriggerRegisterPlayerChatEvent(lC,Player($B),"-nma",true)call TriggerAddCondition(lC,Condition(function gDv))call TriggerAddAction(lC,function gfv)set LC=CreateTrigger()call TriggerRegisterPlayerChatEvent(LC,Player(0),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(1),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(2),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(3),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(4),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(5),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(6),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(7),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(8),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player(9),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player($A),"-clear",true)call TriggerRegisterPlayerChatEvent(LC,Player($B),"-clear",true)call TriggerAddAction(LC,function ggv)set mC=CreateTrigger()call TriggerRegisterPlayerChatEvent(mC,Player(0),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(1),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(2),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(3),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(4),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(5),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(6),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(7),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(8),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player(9),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player($A),"-инфа",false)call TriggerRegisterPlayerChatEvent(mC,Player($B),"-инфа",false)call TriggerAddAction(mC,function ghv)set MC=CreateTrigger()call TriggerRegisterPlayerChatEvent(MC,Player(0),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(1),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(2),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(3),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(4),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(5),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(6),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(7),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(8),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player(9),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player($A),"-fun",true)call TriggerRegisterPlayerChatEvent(MC,Player($B),"-fun",true)call TriggerAddCondition(MC,Condition(function gjv))call TriggerAddAction(MC,function gJv)set pC=CreateTrigger()call TriggerRegisterPlayerChatEvent(pC,Player(0),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(1),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(2),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(3),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(4),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(5),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(6),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(7),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(8),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player(9),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player($A),"-nofun",true)call TriggerRegisterPlayerChatEvent(pC,Player($B),"-nofun",true)call TriggerAddCondition(pC,Condition(function gKv))call TriggerAddAction(pC,function glv)set PC=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(PC,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(PC,Player(9),true)call TriggerAddCondition(PC,Condition(function gmv))call TriggerAddAction(PC,function gpv)set qC=CreateTrigger()call TriggerRegisterPlayerSelectionEventBJ(qC,Player(0),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(1),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(2),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(3),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(4),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(5),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(6),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(7),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(8),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player(9),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player($A),true)call TriggerRegisterPlayerSelectionEventBJ(qC,Player($B),true)call TriggerAddCondition(qC,Condition(function gqv))call TriggerAddAction(qC,function gsv)set QC=CreateTrigger()call DisableTrigger(QC)call TriggerRegisterPlayerChatEvent(QC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(QC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(QC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(QC,Player($B),"",true)call TriggerAddCondition(QC,Condition(function guv))call TriggerAddAction(QC,function GRv)set sC=CreateTrigger()call DisableTrigger(sC)call TriggerRegisterPlayerChatEvent(sC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(sC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(sC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(sC,Player($B),"",true)call TriggerAddCondition(sC,Condition(function Gbv))call TriggerAddAction(sC,function GWv)set SC=CreateTrigger()call DisableTrigger(SC)call TriggerRegisterPlayerChatEvent(SC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(SC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(SC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(SC,Player($B),"",true)call TriggerAddCondition(SC,Condition(function GZv))call TriggerAddAction(SC,function G1v)set tC=CreateTrigger()call DisableTrigger(tC)call TriggerRegisterPlayerChatEvent(tC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(tC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(tC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(tC,Player($B),"",true)call TriggerAddCondition(tC,Condition(function G5v))call TriggerAddAction(tC,function G8v)set TC=CreateTrigger()call DisableTrigger(TC)call TriggerRegisterPlayerChatEvent(TC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(TC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(TC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(TC,Player($B),"",true)call TriggerAddCondition(TC,Condition(function hxv))call TriggerAddAction(TC,function hnv)set uC=CreateTrigger()call DisableTrigger(uC)call TriggerRegisterPlayerChatEvent(uC,Player(0),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(1),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(2),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(3),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(4),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(5),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(6),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(7),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(8),"",true)call TriggerRegisterPlayerChatEvent(uC,Player(9),"",true)call TriggerRegisterPlayerChatEvent(uC,Player($A),"",true)call TriggerRegisterPlayerChatEvent(uC,Player($B),"",true)call TriggerAddCondition(uC,Condition(function hOv))call TriggerAddAction(uC,function hbv)set UC=CreateTrigger()call DisableTrigger(UC)call TriggerRegisterPlayerChatEvent(UC,Player(0),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(1),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(2),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(3),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(4),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(5),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(6),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(7),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(8),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player(9),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player($A),"кик мод он! oк",true)call TriggerRegisterPlayerChatEvent(UC,Player($B),"кик мод он! oк",true)call TriggerAddCondition(UC,Condition(function hcv))call TriggerAddAction(UC,function hCv)set wC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(wC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(wC,Condition(function hfv))call TriggerAddAction(wC,function hpv)set WC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(WC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(WC,Condition(function hqv))call TriggerAddAction(WC,function hQv)set yC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(yC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(yC,Condition(function htv))call TriggerAddAction(yC,function hTv)set YC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(YC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(YC,Condition(function hwv))call TriggerAddAction(YC,function hWv)set zC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(zC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(zC,Condition(function hzv))call TriggerAddAction(zC,function hZv)set ZC=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ZC,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(ZC,Condition(function h1v))call TriggerAddAction(ZC,function h2v)set vd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(vd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(vd,Condition(function h5v))call TriggerAddAction(vd,function h6v)set ed=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ed,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(ed,Condition(function h9v))call TriggerAddAction(ed,function Hvv)set xd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(xd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(xd,Condition(function Hov))call TriggerAddAction(xd,function Hrv)set od=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(od,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(od,Condition(function Hnv))call TriggerAddAction(od,function HVv)set rd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(rd,EVENT_PLAYER_UNIT_CONSTRUCT_START)call TriggerAddCondition(rd,Condition(function HOv))call TriggerAddAction(rd,function HIv)set id=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(id,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)call TriggerAddCondition(id,Condition(function Hbv))call TriggerAddAction(id,function HBv)set ad=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ad,EVENT_PLAYER_UNIT_UPGRADE_FINISH)call TriggerAddCondition(ad,Condition(function Hdv))call TriggerAddAction(ad,function HDv)set nd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(nd,EVENT_PLAYER_UNIT_DEATH)call TriggerAddCondition(nd,Condition(function Hgv))call TriggerAddAction(nd,function Hhv)set Vd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Vd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Vd,Condition(function Hjv))call TriggerAddAction(Vd,function HJv)set Ed=CreateTrigger()call TriggerRegisterTimerEventSingle(Ed,10.)call TriggerAddAction(Ed,function Hlv)set Xd=CreateTrigger()call TriggerAddAction(Xd,function Hmv)set Od=CreateTrigger()call TriggerRegisterPlayerChatEvent(Od,Player(0),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(1),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(2),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(3),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(4),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(5),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(6),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(7),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(8),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player(9),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player($A),"-титул ",false)call TriggerRegisterPlayerChatEvent(Od,Player($B),"-титул ",false)call TriggerAddCondition(Od,Condition(function Hpv))call TriggerAddAction(Od,function HPv)set Rd=CreateTrigger()call TriggerRegisterPlayerChatEvent(Rd,Player(0),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(1),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(2),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(3),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(4),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(5),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(6),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(7),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(8),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player(9),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player($A),"-титул ",false)call TriggerRegisterPlayerChatEvent(Rd,Player($B),"-титул ",false)call TriggerAddCondition(Rd,Condition(function HQv))call TriggerAddAction(Rd,function Hsv)set Id=CreateTrigger()call TriggerRegisterPlayerChatEvent(Id,Player(0),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(1),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(2),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(3),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(4),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(5),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(6),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(7),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(8),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player(9),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player($A),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Id,Player($B),"-у титул ",false)call TriggerAddCondition(Id,Condition(function Htv))call TriggerAddAction(Id,function HTv)set Ad=CreateTrigger()call TriggerRegisterPlayerChatEvent(Ad,Player(0),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(1),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(2),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(3),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(4),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(5),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(6),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(7),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(8),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player(9),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player($A),"-у титул ",false)call TriggerRegisterPlayerChatEvent(Ad,Player($B),"-у титул ",false)call TriggerAddCondition(Ad,Condition(function HUv))call TriggerAddAction(Ad,function Hwv)set Nd=CreateTrigger()call TriggerRegisterPlayerChatEvent(Nd,Player(0),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(1),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(2),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(3),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(4),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(5),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(6),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(7),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(8),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player(9),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player($A),"Я ЗЕК.",true)call TriggerRegisterPlayerChatEvent(Nd,Player($B),"Я ЗЕК.",true)call TriggerAddCondition(Nd,Condition(function HYv))call TriggerAddAction(Nd,function Hzv)set bd=CreateTrigger()call DisableTrigger(bd)call TriggerRegisterPlayerChatEvent(bd,Player(0),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(1),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(2),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(3),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(4),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(5),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(6),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(7),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(8),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player(9),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player($A),"-титлы вкл",true)call TriggerRegisterPlayerChatEvent(bd,Player($B),"-титлы вкл",true)call TriggerAddCondition(bd,Condition(function H0v))call TriggerAddAction(bd,function H1v)set Bd=CreateTrigger()call DisableTrigger(Bd)call TriggerRegisterPlayerChatEvent(Bd,Player(0),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(1),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(2),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(3),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(4),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(5),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(6),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(7),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(8),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player(9),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player($A),"-title ",false)call TriggerRegisterPlayerChatEvent(Bd,Player($B),"-title ",false)call TriggerAddCondition(Bd,Condition(function H3v))call TriggerAddAction(Bd,function H5v)set cd=CreateTrigger()call DisableTrigger(cd)call TriggerRegisterPlayerChatEvent(cd,Player(0),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(1),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(2),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(3),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(4),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(5),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(6),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(7),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(8),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player(9),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player($A),"-title ",false)call TriggerRegisterPlayerChatEvent(cd,Player($B),"-title ",false)call TriggerAddCondition(cd,Condition(function H7v))call TriggerAddAction(cd,function H9v)set Cd=CreateTrigger()call DisableTrigger(Cd)call TriggerRegisterPlayerChatEvent(Cd,Player(0),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(1),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(2),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(3),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(4),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(5),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(6),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(7),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(8),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player(9),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player($A),"-delete title ",false)call TriggerRegisterPlayerChatEvent(Cd,Player($B),"-delete title ",false)call TriggerAddCondition(Cd,Condition(function jev))call TriggerAddAction(Cd,function jxv)set dd=CreateTrigger()call DisableTrigger(dd)call TriggerRegisterPlayerChatEvent(dd,Player(0),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(1),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(2),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(3),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(4),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(5),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(6),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(7),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(8),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player(9),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player($A),"-delete title ",false)call TriggerRegisterPlayerChatEvent(dd,Player($B),"-delete title ",false)call TriggerAddCondition(dd,Condition(function jrv))call TriggerAddAction(dd,function jiv)set Dd=CreateTrigger()call DisableTrigger(Dd)call TriggerRegisterPlayerChatEvent(Dd,Player(0),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(1),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(2),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(3),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(4),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(5),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(6),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(7),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(8),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player(9),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player($A),"-title on",true)call TriggerRegisterPlayerChatEvent(Dd,Player($B),"-title on",true)call TriggerAddAction(Dd,function jnv)set fd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(fd,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(fd,Condition(function jEv))call TriggerAddAction(fd,function jXv)set Fd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Fd,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(Fd,Condition(function jRv))call TriggerAddAction(Fd,function jcv)set gd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(gd,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(gd,Condition(function jdv))call TriggerAddAction(gd,function jDv)set Gd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Gd,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(Gd,Condition(function jFv))call TriggerAddAction(Gd,function jgv)set hd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(hd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(hd,Condition(function jhv))call TriggerAddAction(hd,function jjv)set Hd=CreateTrigger()call TriggerRegisterTimerEventPeriodic(Hd,8.)call TriggerAddAction(Hd,function jKv)set jd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(jd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(jd,Condition(function jLv))call TriggerAddAction(jd,function jpv)set Jd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Jd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Jd,Condition(function jqv))call TriggerAddAction(Jd,function jSv)set kd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(kd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(kd,Condition(function jTv))call TriggerAddAction(kd,function jwv)set Kd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Kd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Kd,Condition(function jyv))call TriggerAddAction(Kd,function jZv)set ld=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(ld,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(ld,Condition(function j1v))call TriggerAddAction(ld,function j2v)set Ld=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Ld,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Ld,Condition(function j4v))call TriggerAddAction(Ld,function j5v)set md=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(md,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(md,Condition(function j7v))call TriggerAddAction(md,function j8v)set Md=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Md,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Md,Condition(function Jvv))call TriggerAddAction(Md,function Jev)set pd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(pd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(pd,Condition(function Jov))call TriggerAddAction(pd,function Jrv)set Pd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Pd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Pd,Condition(function Jav))call TriggerAddAction(Pd,function Jnv)set qd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(qd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(qd,Condition(function JEv))call TriggerAddAction(qd,function JXv)set Qd=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(Qd,EVENT_PLAYER_UNIT_SPELL_EFFECT)call TriggerAddCondition(Qd,Condition(function JRv))call TriggerAddAction(Qd,function JIv)set sd=CreateTrigger()call DisableTrigger(sd)call TriggerRegisterPlayerChatEvent(sd,Player(0),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(1),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(2),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(3),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(4),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(5),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(6),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(7),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(8),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player(9),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player($A),"-unicname ",false)call TriggerRegisterPlayerChatEvent(sd,Player($B),"-unicname ",false)call TriggerAddCondition(sd,Condition(function Jjv))call TriggerAddAction(sd,function kxv)set Sd=CreateTrigger()call DisableTrigger(Sd)call TriggerRegisterPlayerChatEvent(Sd,Player(0),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(1),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(2),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(3),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(4),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(5),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(6),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(7),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(8),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player(9),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player($A),"-name 1",false)call TriggerRegisterPlayerChatEvent(Sd,Player($B),"-name 1",false)call TriggerAddCondition(Sd,Condition(function krv))call TriggerAddAction(Sd,function knv)set td=CreateTrigger()call DisableTrigger(td)call TriggerRegisterPlayerChatEvent(td,Player(0),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(1),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(2),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(3),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(4),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(5),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(6),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(7),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(8),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player(9),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player($A),"-name 2",false)call TriggerRegisterPlayerChatEvent(td,Player($B),"-name 2",false)call TriggerAddCondition(td,Condition(function kEv))call TriggerAddAction(td,function kRv)set Td=CreateTrigger()call DisableTrigger(Td)call TriggerRegisterPlayerChatEvent(Td,Player(0),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(1),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(2),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(3),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(4),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(5),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(6),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(7),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(8),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player(9),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player($A),"-name 3",false)call TriggerRegisterPlayerChatEvent(Td,Player($B),"-name 3",false)call TriggerAddCondition(Td,Condition(function kAv))call TriggerAddAction(Td,function kBv)set ud=CreateTrigger()call DisableTrigger(ud)call TriggerRegisterPlayerChatEvent(ud,Player(0),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(1),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(2),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(3),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(4),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(5),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(6),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(7),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(8),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player(9),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player($A),"-name 4",false)call TriggerRegisterPlayerChatEvent(ud,Player($B),"-name 4",false)call TriggerAddCondition(ud,Condition(function kCv))call TriggerAddAction(ud,function kfv)set Ud=CreateTrigger()call DisableTrigger(Ud)call TriggerRegisterPlayerChatEvent(Ud,Player(0),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(1),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(2),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(3),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(4),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(5),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(6),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(7),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(8),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player(9),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player($A),"-name 5",false)call TriggerRegisterPlayerChatEvent(Ud,Player($B),"-name 5",false)call TriggerAddCondition(Ud,Condition(function kgv))call TriggerAddAction(Ud,function kHv)set wd=CreateTrigger()call DisableTrigger(wd)call TriggerRegisterPlayerChatEvent(wd,Player(0),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(1),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(2),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(3),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(4),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(5),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(6),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(7),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(8),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player(9),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player($A),"-name 6",false)call TriggerRegisterPlayerChatEvent(wd,Player($B),"-name 6",false)call TriggerAddCondition(wd,Condition(function kJv))call TriggerAddAction(wd,function klv)set Wd=CreateTrigger()call DisableTrigger(Wd)call TriggerRegisterPlayerChatEvent(Wd,Player(0),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(1),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(2),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(3),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(4),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(5),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(6),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(7),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(8),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player(9),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player($A),"-name 7",false)call TriggerRegisterPlayerChatEvent(Wd,Player($B),"-name 7",false)call TriggerAddCondition(Wd,Condition(function kmv))call TriggerAddAction(Wd,function kPv)set yd=CreateTrigger()call DisableTrigger(yd)call TriggerRegisterPlayerChatEvent(yd,Player(0),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(1),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(2),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(3),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(4),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(5),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(6),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(7),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(8),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player(9),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player($A),"-name 8",false)call TriggerRegisterPlayerChatEvent(yd,Player($B),"-name 8",false)call TriggerAddCondition(yd,Condition(function kQv))call TriggerAddAction(yd,function ktv)set Yd=CreateTrigger()call DisableTrigger(Yd)call TriggerRegisterPlayerChatEvent(Yd,Player(0),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(1),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(2),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(3),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(4),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(5),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(6),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(7),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(8),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player(9),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player($A),"-name 9",false)call TriggerRegisterPlayerChatEvent(Yd,Player($B),"-name 9",false)call TriggerAddCondition(Yd,Condition(function kuv))call TriggerAddAction(Yd,function kWv)set zd=CreateTrigger()call DisableTrigger(zd)call TriggerRegisterPlayerChatEvent(zd,Player(0),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(1),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(2),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(3),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(4),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(5),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(6),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(7),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(8),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player(9),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player($A),"-name 10",false)call TriggerRegisterPlayerChatEvent(zd,Player($B),"-name 10",false)call TriggerAddCondition(zd,Condition(function kYv))call TriggerAddAction(zd,function k_v)set Zd=CreateTrigger()call DisableTrigger(Zd)call TriggerRegisterPlayerChatEvent(Zd,Player(0),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(1),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(2),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(3),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(4),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(5),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(6),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(7),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(8),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player(9),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player($A),"-name 11",false)call TriggerRegisterPlayerChatEvent(Zd,Player($B),"-name 11",false)call TriggerAddCondition(Zd,Condition(function k1v))call TriggerAddAction(Zd,function k4v)set vD=CreateTrigger()call DisableTrigger(vD)call TriggerRegisterPlayerChatEvent(vD,Player(0),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(1),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(2),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(3),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(4),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(5),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(6),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(7),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(8),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player(9),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player($A),"-name 12",false)call TriggerRegisterPlayerChatEvent(vD,Player($B),"-name 12",false)call TriggerAddCondition(vD,Condition(function k6v))call TriggerAddAction(vD,function k9v)set mD=CreateTrigger()call TriggerRegisterAnyUnitEventBJ(mD,EVENT_PLAYER_UNIT_ATTACKED)call TriggerAddCondition(mD,Condition(function Kev))call TriggerAddAction(mD,function Kxv)call ConditionalTriggerExecute(lE)call ConditionalTriggerExecute(kO)call ConditionalTriggerExecute(pA)call ConditionalTriggerExecute(PA)call ConditionalTriggerExecute(qA)call ConditionalTriggerExecute(TA)call ConditionalTriggerExecute(WA)call ConditionalTriggerExecute(bN)call ConditionalTriggerExecute(mB)call ConditionalTriggerExecute(Xd)endfunctionfunction config takes nothing returns nothingcall SetMapName("TRIGSTR_8414")call SetMapDescription("TRIGSTR_8411")call SetPlayers($C)call SetTeams($C)call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)call DefineStartLocation(0,-896.,-1152.)call DefineStartLocation(1,-896.,-1152.)call DefineStartLocation(2,-896.,-1152.)call DefineStartLocation(3,-896.,-1152.)call DefineStartLocation(4,-896.,-1152.)call DefineStartLocation(5,-896.,-1152.)call DefineStartLocation(6,-896.,-1152.)call DefineStartLocation(7,-896.,-1152.)call DefineStartLocation(8,-896.,-1152.)call DefineStartLocation(9,-896.,-1152.)call DefineStartLocation($A,-64.,-1856.)call DefineStartLocation($B,128.,-1856.)call SetPlayerStartLocation(Player(0),0)call ForcePlayerStartLocation(Player(0),0)call SetPlayerColor(Player(0),ConvertPlayerColor(0))call SetPlayerRacePreference(Player(0),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(0),false)call SetPlayerController(Player(0),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(1),1)call ForcePlayerStartLocation(Player(1),1)call SetPlayerColor(Player(1),ConvertPlayerColor(1))call SetPlayerRacePreference(Player(1),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(1),false)call SetPlayerController(Player(1),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(2),2)call ForcePlayerStartLocation(Player(2),2)call SetPlayerColor(Player(2),ConvertPlayerColor(2))call SetPlayerRacePreference(Player(2),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(2),false)call SetPlayerController(Player(2),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(3),3)call ForcePlayerStartLocation(Player(3),3)call SetPlayerColor(Player(3),ConvertPlayerColor(3))call SetPlayerRacePreference(Player(3),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(3),false)call SetPlayerController(Player(3),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(4),4)call ForcePlayerStartLocation(Player(4),4)call SetPlayerColor(Player(4),ConvertPlayerColor(4))call SetPlayerRacePreference(Player(4),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(4),false)call SetPlayerController(Player(4),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(5),5)call ForcePlayerStartLocation(Player(5),5)call SetPlayerColor(Player(5),ConvertPlayerColor(5))call SetPlayerRacePreference(Player(5),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(5),false)call SetPlayerController(Player(5),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(6),6)call ForcePlayerStartLocation(Player(6),6)call SetPlayerColor(Player(6),ConvertPlayerColor(6))call SetPlayerRacePreference(Player(6),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(6),false)call SetPlayerController(Player(6),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(7),7)call ForcePlayerStartLocation(Player(7),7)call SetPlayerColor(Player(7),ConvertPlayerColor(7))call SetPlayerRacePreference(Player(7),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(7),false)call SetPlayerController(Player(7),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(8),8)call ForcePlayerStartLocation(Player(8),8)call SetPlayerColor(Player(8),ConvertPlayerColor(8))call SetPlayerRacePreference(Player(8),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(8),false)call SetPlayerController(Player(8),MAP_CONTROL_USER)call SetPlayerStartLocation(Player(9),9)call ForcePlayerStartLocation(Player(9),9)call SetPlayerColor(Player(9),ConvertPlayerColor(9))call SetPlayerRacePreference(Player(9),RACE_PREF_HUMAN)call SetPlayerRaceSelectable(Player(9),false)call SetPlayerController(Player(9),MAP_CONTROL_USER)call SetPlayerStartLocation(Player($A),$A)call ForcePlayerStartLocation(Player($A),$A)call SetPlayerColor(Player($A),ConvertPlayerColor($A))call SetPlayerRacePreference(Player($A),RACE_PREF_ORC)call SetPlayerRaceSelectable(Player($A),false)call SetPlayerController(Player($A),MAP_CONTROL_USER)call SetPlayerStartLocation(Player($B),$B)call ForcePlayerStartLocation(Player($B),$B)call SetPlayerColor(Player($B),ConvertPlayerColor($B))call SetPlayerRacePreference(Player($B),RACE_PREF_ORC)call SetPlayerRaceSelectable(Player($B),false)call SetPlayerController(Player($B),MAP_CONTROL_USER)call InitCustomTeams()call SetStartLocPrioCount(0,8)call SetStartLocPrio(0,0,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,1,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,2,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,3,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,4,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,5,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,6,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(0,7,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(1,8)call SetStartLocPrio(1,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,1,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,2,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,3,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,4,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,5,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,6,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(1,7,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(2,8)call SetStartLocPrio(2,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,1,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,2,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,3,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,4,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,5,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,6,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(2,7,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(3,8)call SetStartLocPrio(3,0,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,1,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,2,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,3,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,4,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,5,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,6,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(3,7,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(4,9)call SetStartLocPrio(4,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,4,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,5,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,6,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,7,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(4,8,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(5,9)call SetStartLocPrio(5,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,4,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,5,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,6,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,7,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(5,8,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(6,9)call SetStartLocPrio(6,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,4,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,5,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,6,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,7,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(6,8,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(7,9)call SetStartLocPrio(7,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,4,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,5,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,6,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,7,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(7,8,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(8,9)call SetStartLocPrio(8,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,4,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,5,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,6,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,7,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(8,8,9,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount(9,9)call SetStartLocPrio(9,0,0,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,1,1,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,2,2,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,3,3,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,4,4,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,5,5,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,6,6,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,7,7,MAP_LOC_PRIO_HIGH)call SetStartLocPrio(9,8,8,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount($A,1)call SetStartLocPrio($A,0,$B,MAP_LOC_PRIO_HIGH)call SetStartLocPrioCount($B,1)call SetStartLocPrio($B,0,$A,MAP_LOC_PRIO_HIGH)endfunctionfunction Krv takes nothing returns nothingendfunction