Sunteți pe pagina 1din 583

globalsinteger e=0integer f=0integer h=0effect j=nulleffect k=nulldestructable

m=nullinteger o=0integer q=0effect w=nullreal z=0real a=0unit a=nullplayer b=null


integer b=0integer array cinteger array dinteger e=0integer f=0integer g=0integer
array hinteger i=0integer l=0string array jtimer array ktimerdialog array linteger
m=0integer n=0location o=nulllocation p=nullunit array qunit r=nullunit s=nullitem
t=nulllocation u=nullreal v=0integer array winteger x=0integer array yforce z=null
group d4=nulllocation e4=nullplayer array f4unit g4=nullunit h4=nullunit i4=null
real j4=0unit k4=nullinteger m4=0unit n4=nulllocation array o4integer p4=0unit
q4=nullinteger r4=0integer s4=0integer t4=0force u4=nullforce v4=nullrect w4=null
unit x4=nullgroup y4=nullinteger z4=0player a4=nullunit a4=nullreal b4=0unit
b4=nullunit c4=nullreal c4=0real d4=0location e4=nullunit f4=nullreal g4=0real
h4=0location i4=nullreal l4=0unit array j4player array k4effect l4=nullreal m4=0
unit n4=nullunit o4=nullitem p4=nullinteger q4=0integer r4=0real s4=0location
t4=nullreal u4=0real v4=0real w4=0real x4=0unit y4=nulllocation z4=nullunit
d7=nullunit e7=nullreal f7=0unit g7=nullunit h7=nullunit i7=nullreal j7=0location
k7=nullunit m7=nullunit n7=nullreal o7=0location p7=nullinteger array q7integer
r7=0unit s7=nullunit t7=nullreal u7=0real v7=0real w7=0unit x7=nullunit y7=null
unit z7=nullinteger a7=0integer a7=0integer b7=0integer b7=0integer c7=0integer
c7=0integer d7=0string e7string f7integer g7=0unit h7=nullinteger i7=0unit l7=null
unit j7=nullunit k7=nullreal l7=0group m7=nullgroup n7=nullinteger o7=0real p7=0
unit array q7integer r7=0unit array s7group t7=nullgroup u7=nullstring array v7
effect w7=nullinteger x7=0integer y7=0group z7=nullgroup d8=nullforce e8=null
location f8=nullgroup g8=nullgroup h8=nulllocation i8=nulllocation j8=nulllocation
k8=nullinteger m8=0group n8=nullgroup o8=nullunit p8=nullinteger q8=0integer r8=0
group s8=nullinteger t8=0unit u8=nulllocation v8=nullgroup w8=nulllocation x8=null
location y8=nullinteger array z8group a8=nullinteger a8=0group b8=nullinteger b8=0
integer c8=0unit c8=nullunit d8=nulllocation e8=nullinteger f8=0integer g8=0unit
h8=nulllocation i8=nulllocation l8=nullreal j8=0real k8=0integer l8=0real m8=0unit
array n8integer o8=0unit array p8unit q8=nulllocation r8=nulllocation s8=nullunit
t8=nullreal u8=0unit v8=nullunit w8=nullunit x8=nullunit y8=nullunit z8=nullunit
d9=nullgroup e9=nullunit f9=nullunit array g9integer h9=0unit i9=nullunit j9=null
unit k9=nullreal m9=0unit n9=nullunit o9=nullgroup p9=nullgroup q9=nullgroup
r9=nullgroup s9=nullgroup t9=nullgroup u9=nullgroup v9=nullgroup w9=nullgroup
x9=nullgroup y9=nullgroup z9=nullgroup a9=nullgroup a9=nullgroup b9=nullgroup
b9=nullgroup c9=nullgroup c9=nullgroup d9=nullgroup e9=nullgroup f9=nullgroup
g9=nullgroup h9=nullunit i9=nullplayer l9=nullunit j9=nullreal k9=0location
l9=nullreal m9=0effect n9=nullunit o9=nullgroup p9=nullunit q9=nullinteger r9=0
group s9=nullinteger t9=0integer u9=0real v9=0real w9=0unit x9=nullunit y9=null
real z9=0real dd=0real ed=0unit fd=nullreal gd=0location hd=nullboolean array id
unit jd=nullreal kd=0location md=nullgroup nd=nullunit od=nullinteger pd=0integer
qd=0integer rd=0integer sd=0integer array tdinteger array udinteger vd=0integer
wd=0integer xd=0integer yd=0force zd=nullinteger ad=0integer array adinteger bd=0
force bd=nullboolean cd=falseinteger cd=0integer array ddboolean ed=falseboolean
fd=falseboolean gd=falseboolean hd=falseinteger id=0boolean ld=falseunit jd=null
unit kd=nullboolean ld=falseboolean md=falseunit nd=nullreal od=0unit pd=nullunit
qd=nullreal rd=0real sd=0real td=0real ud=0real vd=0effect wd=nullinteger xd=0
integer yd=0real array zdgroup de=nullunit ee=nullreal fe=0real ge=0unit he=null
integer ie=0unit je=nulllocation ke=nulleffect me=nullunit ne=nullunit oe=nullunit
pe=nullreal qe=0unit re=nullreal se=0location te=nulllocation ue=nulleffect
ve=nullunit xe=nullinteger ye=0unit ze=nullunit ae=nullreal ae=0unit be=nullunit
be=nullinteger ce=0real ce=0integer de=0integer ee=0integer fe=0unit ge=null
integer he=0integer ie=0unit le=nullunit je=nullunit ke=nullreal le=0unit me=null
unit ne=nullinteger oe=0unit pe=nullunit qe=nullunit re=nullinteger se=0integer
te=0unit ue=nullunit ve=nullreal we=0group xe=nullunit ye=nullreal ze=0real df=0
integer ef=0unit ff=nullunit gf=nullreal hf=0group jf=nullreal kf=0integer array
mfunit array nfinteger array ofunit pf=nullreal qf=0location rf=nullunit sf=null
unit tf=nullgroup uf=nullinteger array vfunit wf=nulllocation xf=nullreal yf=0
location zf=nullunit af=nullinteger af=0boolean bf=falseforce bf=nullinteger array
cfboolean array cfinteger array dflocation ef=nullinteger ff=0unit gf=nullinteger
hf=0integer if=0integer array lfinteger array jfinteger kf=0integer array lfunit
mf=nullreal nf=0unit of=nullreal pf=0real qf=0real rf=0unit sf=nullreal tf=0unit
uf=nullunit vf=nullreal wf=0real xf=0integer yf=0integer zf=0unit dg=nullreal eg=0
unit fg=nullreal gg=0location hg=nullrect ig=nullunit jg=nullinteger kg=0real mg=0
boolean ng=falseinteger og=0unit pg=nullreal qg=0real rg=0integer sg=0integer tg=0
rect ug=nullrect vg=nullrect wg=nullrect xg=nullrect yg=nullrect zg=nullrect
ag=nullrect ag=nullrect bg=nullrect bg=nullrect cg=nullrect cg=nullrect dg=null
rect eg=nullrect fg=nullrect gg=nullrect hg=nullrect ig=nullrect lg=nullrect
jg=nullrect kg=nullrect lg=nullrect mg=nullrect ng=nullrect og=nullrect pg=null
rect qg=nullrect rg=nullrect sg=nullrect tg=nullrect ug=nullrect vg=nullrect
wg=nullrect xg=nullrect yg=nullrect zg=nullrect dh=nullrect eh=nullrect fh=null
rect gh=nullrect hh=nullrect ih=nullrect jh=nullrect kh=nullrect mh=nullrect
nh=nullrect oh=nullrect ph=nullrect qh=nullrect rh=nullrect sh=nullrect th=null
rect uh=nullrect vh=nullrect wh=nullrect xh=nullrect yh=nullrect zh=nullrect
ah=nullrect ah=nullrect bh=nullrect bh=nullrect ch=nullrect ch=nullrect dh=null
rect eh=nullrect fh=nullrect gh=nullrect hh=nullrect ih=nullrect lh=nullrect
jh=nullrect kh=nullrect lh=nullrect mh=nullrect nh=nullrect oh=nullrect ph=null
rect qh=nullrect rh=nullrect sh=nullrect th=nullrect uh=nullrect vh=nullrect
wh=nullrect xh=nullrect yh=nullrect zh=nullrect di=nullrect ei=nullrect fi=null
rect gi=nullrect hi=nullrect ii=nullrect ji=nullrect ki=nullrect mi=nullrect
ni=nullrect oi=nullrect pi=nullrect qi=nullrect ri=nullrect si=nullrect ti=null
rect ui=nullrect vi=nullrect wi=nullrect xi=nullrect yi=nullrect zi=nullrect
ai=nullrect ai=nullrect bi=nullrect bi=nullrect ci=nullsound ci=nullsound di=null
sound ei=nullsound fi=nullsound gi=nullsound hi=nullsound ii=nullsound li=null
sound ji=nullsound ki=nullsound li=nullsound mi=nullsound ni=nullsound oi=null
sound pi=nullsound qi=nullsound ri=nullsound si=nullsound ti=nullsound ui=null
sound vi=nullsound wi=nullsound xi=nullsound yi=nulltrigger zi=nulltrigger dj=null
trigger ej=nulltrigger fj=nulltrigger gj=nulltrigger hj=nulltrigger ij=nulltrigger
jj=nulltrigger kj=nulltrigger mj=nulltrigger nj=nulltrigger oj=nulltrigger pj=null
trigger qj=nulltrigger rj=nulltrigger sj=nulltrigger tj=nulltrigger uj=nulltrigger
vj=nulltrigger wj=nulltrigger xj=nulltrigger yj=nulltrigger zj=nulltrigger aj=null
trigger aj=nulltrigger bj=nulltrigger bj=nulltrigger cj=nulltrigger cj=nulltrigger
dj=nulltrigger ej=nulltrigger fj=nulltrigger gj=nulltrigger hj=nulltrigger ij=null
trigger lj=nulltrigger jj=nulltrigger kj=nulltrigger lj=nulltrigger mj=nulltrigger
nj=nulltrigger oj=nulltrigger pj=nulltrigger qj=nulltrigger rj=nulltrigger sj=null
trigger tj=nulltrigger uj=nulltrigger vj=nulltrigger wj=nulltrigger xj=nulltrigger
yj=nulltrigger zj=nulltrigger dk=nulltrigger ek=nulltrigger fk=nulltrigger gk=null
trigger hk=nulltrigger ik=nulltrigger jk=nulltrigger kk=nulltrigger mk=nulltrigger
nk=nulltrigger ok=nulltrigger pk=nulltrigger qk=nulltrigger rk=nulltrigger sk=null
trigger tk=nulltrigger uk=nulltrigger vk=nulltrigger wk=nulltrigger xk=nulltrigger
yk=nulltrigger zk=nulltrigger ak=nulltrigger ak=nulltrigger bk=nulltrigger bk=null
trigger ck=nulltrigger ck=nulltrigger dk=nulltrigger ek=nulltrigger fk=nulltrigger
gk=nulltrigger hk=nulltrigger ik=nulltrigger lk=nulltrigger jk=nulltrigger kk=null
trigger lk=nulltrigger mk=nulltrigger nk=nulltrigger ok=nulltrigger pk=nulltrigger
qk=nulltrigger rk=nulltrigger sk=nulltrigger tk=nulltrigger uk=nulltrigger vk=null
trigger wk=nulltrigger xk=nulltrigger yk=nulltrigger zk=nulltrigger dm=nulltrigger
em=nulltrigger fm=nulltrigger gm=nulltrigger hm=nulltrigger im=nulltrigger jm=null
trigger km=nulltrigger mm=nulltrigger nm=nulltrigger om=nulltrigger pm=nulltrigger
qm=nulltrigger rm=nulltrigger sm=nulltrigger tm=nulltrigger um=nulltrigger vm=null
trigger wm=nulltrigger xm=nulltrigger ym=nulltrigger zm=nulltrigger am=nulltrigger
am=nulltrigger bm=nulltrigger bm=nulltrigger cm=nulltrigger cm=nulltrigger dm=null
trigger em=nulltrigger fm=nulltrigger gm=nulltrigger hm=nulltrigger im=nulltrigger
lm=nulltrigger jm=nulltrigger km=nulltrigger lm=nulltrigger mm=nulltrigger nm=null
trigger om=nulltrigger pm=nulltrigger qm=nulltrigger rm=nulltrigger sm=nulltrigger
tm=nulltrigger um=nulltrigger vm=nulltrigger wm=nulltrigger xm=nulltrigger ym=null
trigger zm=nulltrigger
dn=nulltrigger en=nulltrigger fn=nulltrigger gn=nulltrigger hn=nulltrigger
in=nulltrigger jn=nulltrigger kn=nulltrigger mn=nulltrigger nn=nulltrigger on=null
trigger pn=nulltrigger qn=nulltrigger rn=nulltrigger sn=nulltrigger tn=nulltrigger
un=nulltrigger vn=nulltrigger wn=nulltrigger xn=nulltrigger yn=nulltrigger zn=null
trigger an=nulltrigger an=nulltrigger bn=nulltrigger bn=nulltrigger cn=nulltrigger
cn=nulltrigger dn=nulltrigger en=nulltrigger fn=nulltrigger gn=nulltrigger hn=null
trigger in=nulltrigger ln=nulltrigger jn=nulltrigger kn=nulltrigger ln=nulltrigger
mn=nulltrigger nn=nulltrigger on=nulltrigger pn=nulltrigger qn=nulltrigger rn=null
trigger sn=nulltrigger tn=nulltrigger un=nulltrigger vn=nulltrigger wn=nulltrigger
xn=nulltrigger yn=nulltrigger zn=nulltrigger do=nulltrigger eo=nulltrigger fo=null
trigger go=nulltrigger ho=nulltrigger io=nulltrigger jo=nulltrigger ko=nulltrigger
mo=nulltrigger no=nulltrigger oo=nulltrigger po=nulltrigger qo=nulltrigger ro=null
trigger so=nulltrigger to=nulltrigger uo=nulltrigger vo=nulltrigger wo=nulltrigger
xo=nulltrigger yo=nulltrigger zo=nulltrigger ao=nulltrigger ao=nulltrigger bo=null
trigger bo=nulltrigger co=nulltrigger co=nulltrigger do=nulltrigger eo=nulltrigger
fo=nulltrigger go=nulltrigger ho=nulltrigger io=nulltrigger lo=nulltrigger jo=null
trigger ko=nulltrigger lo=nulltrigger mo=nulltrigger no=nulltrigger oo=nulltrigger
po=nulltrigger qo=nulltrigger ro=nulltrigger so=nulltrigger to=nulltrigger uo=null
trigger vo=nulltrigger wo=nulltrigger xo=nulltrigger yo=nulltrigger zo=nulltrigger
dp=nulltrigger ep=nulltrigger fp=nulltrigger gp=nulltrigger hp=nulltrigger ip=null
trigger jp=nulltrigger kp=nulltrigger mp=nulltrigger np=nulltrigger op=nulltrigger
pp=nulltrigger qp=nulltrigger rp=nulltrigger sp=nulltrigger tp=nulltrigger up=null
trigger vp=nulltrigger wp=nulltrigger xp=nulltrigger yp=nulltrigger zp=nulltrigger
ap=nulltrigger ap=nulltrigger bp=nulltrigger bp=nulltrigger cp=nulltrigger cp=null
trigger dp=nulltrigger ep=nulltrigger fp=nulltrigger gp=nulltrigger hp=nulltrigger
ip=nulltrigger lp=nulltrigger jp=nulltrigger kp=nulltrigger lp=nulltrigger mp=null
trigger np=nulltrigger op=nulltrigger pp=nulltrigger qp=nulltrigger rp=nulltrigger
sp=nulltrigger tp=nulltrigger up=nulltrigger vp=nulltrigger wp=nulltrigger xp=null
trigger yp=nulltrigger zp=nulltrigger dq=nulltrigger eq=nulltrigger fq=nulltrigger
gq=nulltrigger hq=nulltrigger iq=nulltrigger jq=nulltrigger kq=nulltrigger mq=null
trigger nq=nulltrigger oq=nulltrigger pq=nulltrigger qq=nulltrigger rq=nulltrigger
sq=nulltrigger tq=nulltrigger uq=nulltrigger vq=nulltrigger wq=nulltrigger xq=null
trigger yq=nulltrigger zq=nulltrigger aq=nulltrigger aq=nulltrigger bq=nulltrigger
bq=nulltrigger cq=nulltrigger cq=nulltrigger dq=nulltrigger eq=nulltrigger fq=null
trigger gq=nulltrigger hq=nulltrigger iq=nulltrigger lq=nulltrigger jq=nulltrigger
kq=nulltrigger lq=nulltrigger mq=nulltrigger nq=nulltrigger oq=nulltrigger pq=null
trigger qq=nulltrigger rq=nulltrigger sq=nulltrigger tq=nulltrigger uq=nulltrigger
vq=nulltrigger wq=nulltrigger xq=nulltrigger yq=nulltrigger zq=nulltrigger dr=null
trigger er=nulltrigger fr=nulltrigger gr=nulltrigger hr=nulltrigger ir=nulltrigger
jr=nulltrigger kr=nulltrigger mr=nulltrigger nr=nulltrigger pr=nulltrigger qr=null
trigger rr=nulltrigger sr=nulltrigger tr=nulltrigger ur=nulltrigger vr=nulltrigger
wr=nulltrigger xr=nulltrigger yr=nulltrigger zr=nulltrigger ar=nulltrigger ar=null
trigger br=nulltrigger br=nulltrigger cr=nulltrigger cr=nulltrigger dr=nulltrigger
er=nulltrigger fr=nulltrigger gr=nulltrigger hr=nulltrigger ir=nulltrigger lr=null
trigger jr=nulltrigger kr=nulltrigger lr=nulltrigger mr=nulltrigger nr=nulltrigger
pr=nulltrigger qr=nulltrigger rr=nulltrigger sr=nulltrigger tr=nulltrigger ur=null
trigger vr=nulltrigger wr=nulltrigger xr=nulltrigger yr=nulltrigger zr=nulltrigger
ds=nulltrigger es=nulltrigger fs=nulltrigger gs=nulltrigger hs=nulltrigger is=null
trigger js=nulltrigger ks=nulltrigger ms=nulltrigger ns=nulltrigger os=nulltrigger
ps=nulltrigger qs=nulltrigger rs=nulltrigger ss=nulltrigger ts=nulltrigger us=null
trigger vs=nulltrigger ws=nulltrigger xs=nulltrigger ys=nulltrigger zs=nulltrigger
as=nulltrigger as=nulltrigger bs=nulltrigger bs=nulltrigger cs=nulltrigger cs=null
trigger ds=nulltrigger es=nulltrigger fs=nulltrigger gs=nulltrigger hs=nulltrigger
is=nulltrigger ls=nulltrigger js=nulltrigger ks=nulltrigger ls=nulltrigger ms=null
trigger ns=nulltrigger os=nulltrigger ps=nulltrigger qs=nulltrigger rs=nulltrigger
ss=nulltrigger ts=nulltrigger us=nulltrigger vs=nulltrigger ws=nulltrigger xs=null
trigger ys=nulltrigger zs=nulltrigger dt=nulltrigger et=nulltrigger ft=nulltrigger
gt=nulltrigger ht=nulltrigger it=nulltrigger jt=nulltrigger kt=nulltrigger mt=null
trigger nt=nulltrigger ot=nulltrigger pt=nulltrigger qt=nulltrigger rt=nulltrigger
tt=nulltrigger ut=nulltrigger vt=nulltrigger wt=nulltrigger xt=nulltrigger yt=null
trigger zt=nulltrigger at=nulltrigger at=nulltrigger bt=nulltrigger bt=nulltrigger
ct=nulltrigger ct=nulltrigger dt=nulltrigger et=nulltrigger ft=nulltrigger gt=null
trigger ht=nulltrigger it=nulltrigger lt=nulltrigger jt=nulltrigger kt=nulltrigger
lt=nulltrigger mt=nulltrigger nt=nulltrigger ot=nulltrigger pt=nulltrigger qt=null
trigger rt=nulltrigger st=nulltrigger tt=nulltrigger ut=nulltrigger vt=nulltrigger
wt=nulltrigger xt=nulltrigger yt=nulltrigger zt=nulltrigger du=nulltrigger eu=null
trigger fu=nulltrigger gu=nulltrigger hu=nulltrigger iu=nulltrigger ju=nulltrigger
ku=nulltrigger mu=nulltrigger nu=nulltrigger ou=nulltrigger pu=nulltrigger qu=null
trigger ru=nulltrigger su=nulltrigger tu=nulltrigger uu=nulltrigger vu=nulltrigger
wu=nulltrigger xu=nulltrigger yu=nulltrigger zu=nulltrigger au=nulltrigger au=null
trigger bu=nulltrigger bu=nulltrigger cu=nulltrigger cu=nulltrigger du=nulltrigger
eu=nulltrigger fu=nulltrigger gu=nulltrigger hu=nulltrigger iu=nulltrigger lu=null
trigger ju=nulltrigger ku=nulltrigger lu=nulltrigger mu=nulltrigger nu=nulltrigger
ou=nulltrigger pu=nulltrigger qu=nulltrigger ru=nulltrigger su=nulltrigger tu=null
trigger uu=nulltrigger vu=nulltrigger wu=nulltrigger xu=nulltrigger yu=nulltrigger
zu=nulltrigger dv=nulltrigger ev=nulltrigger fv=nulltrigger gv=nulltrigger hv=null
trigger iv=nulltrigger jv=nulltrigger kv=nulltrigger mv=nulltrigger nv=nulltrigger
ov=nulltrigger pv=nulltrigger qv=nulltrigger rv=nulltrigger sv=nulltrigger tv=null
trigger uv=nulltrigger vv=nulltrigger wv=nulltrigger xv=nulltrigger yv=nulltrigger
zv=nulltrigger av=nulltrigger av=nulltrigger bv=nulltrigger bv=nulltrigger cv=null
trigger cv=nulltrigger dv=nulltrigger ev=nulltrigger fv=nulltrigger gv=nulltrigger
hv=nulltrigger iv=nulltrigger lv=nulltrigger jv=nulltrigger kv=nulltrigger lv=null
trigger mv=nulltrigger nv=nulltrigger ov=nulltrigger pv=nulltrigger qv=nulltrigger
rv=nulltrigger sv=nulltrigger tv=nulltrigger uv=nulltrigger vv=nulltrigger wv=null
trigger xv=nulltrigger yv=nulltrigger zv=nulltrigger dw=nulltrigger ew=nulltrigger
fw=nulltrigger gw=nulltrigger hw=nulltrigger iw=nulltrigger jw=nulltrigger kw=null
trigger mw=nulltrigger nw=nulltrigger ow=nulltrigger pw=nulltrigger qw=nulltrigger
rw=nulltrigger sw=nulltrigger tw=nulltrigger uw=nulltrigger vw=nulltrigger ww=null
trigger xw=nulltrigger yw=nulltrigger zw=nulltrigger aw=nulltrigger aw=nulltrigger
bw=nulltrigger bw=nulltrigger cw=nulltrigger cw=nulltrigger dw=nulltrigger ew=null
trigger fw=nulltrigger gw=nulltrigger hw=nulltrigger iw=nulltrigger lw=nulltrigger
jw=nulltrigger kw=nulltrigger lw=nulltrigger mw=nulltrigger nw=nulltrigger ow=null
trigger pw=nulltrigger qw=nulltrigger rw=nulltrigger sw=nulltrigger tw=nulltrigger
uw=nulltrigger vw=nulltrigger ww=nulltrigger xw=nulltrigger yw=nulltrigger zw=null
trigger ex=nulltrigger fx=nulltrigger gx=nulltrigger hx=nulltrigger ix=nulltrigger
jx=nulltrigger kx=nulltrigger mx=nulltrigger nx=nulltrigger ox=nulltrigger px=null
trigger qx=nulltrigger rx=nulltrigger sx=nulltrigger tx=nulltrigger ux=nulltrigger
vx=nulltrigger wx=nulltrigger xx=nulltrigger yx=nulltrigger zx=nulltrigger ax=null
trigger ax=nulltrigger bx=nulltrigger bx=nulltrigger cx=nulltrigger cx=nulltrigger
dx=nulltrigger ex=nulltrigger fx=nulltrigger gx=nulltrigger hx=nulltrigger ix=null
trigger lx=nulltrigger jx=nulltrigger kx=nulltrigger lx=nulltrigger mx=nulltrigger
nx=nulltrigger ox=nulltrigger px=nulltrigger qx=nulltrigger rx=nulltrigger sx=null
trigger tx=nulltrigger ux=nulltrigger vx=nulltrigger wx=nulltrigger xx=nulltrigger
yx=nulltrigger zx=nulltrigger ey=nulltrigger fy=nulltrigger gy=nulltrigger hy=null
trigger iy=nulltrigger jy=nulltrigger ky=nulltrigger my=nulltrigger ny=nulltrigger
oy=nulltrigger py=nulltrigger qy=nulltrigger ry=nulltrigger sy=nulltrigger ty=null
trigger uy=nullunit vy=nullunit wy=nullunit xy=nullunit yy=nullunit zy=nullunit
ay=nullunit ay=nullunit by=nullunit by=nullunit cy=nullunit cy=nullunit dy=null
unit ey=nullunit fy=nullunit gy=nullunit hy=nullunit iy=nullunit ly=nullunit
jy=nullunit ky=nullunit ly=nullunit my=nullunit ny=nullunit oy=nullunit py=null
unit qy=nullunit ry=nullunit sy=nullunit ty=nullunit uy=nullunit vy=nullunit
wy=nullunit xy=nullunit yy=nullunit zy=nullunit dz=nullunit ez=nullunit fz=null
unit gz=nullunit hz=nullunit iz=nullunit jz=nullunit kz=nullunit
mz=nullunit nz=nullunit oz=nullunit pz=nullunit qz=nullunit rz=nullunit sz=null
unit tz=nullunit uz=nullunit vz=nullunit wz=nullunit xz=nullunit yz=nullunit
zz=nullunit az=nullunit az=nullunit bz=nullunit bz=nullunit cz=nullunit cz=null
unit dz=nullunit ez=nullunit fz=nullunit gz=nullunit hz=nullunit iz=nullunit
lz=nullunit jz=nulldestructable kz=nulldestructable lz=nulltimer mz=nullreal oz=0.
real pz=0.group qz=nullforce rz=nullboolexpr sz=nullendglobalsfunction uz takes
real vz returns nothinglocal real wzlocal real st=timergetelapsed(mz)if st<=0 then
set mz=createtimer()call timerstart(mz,1000000,false,null)endifif(vz>0)thenloopset
wz=vz-timergetelapsed(mz)+stexitwhen wz<=0if(wz>bj_polled_wait_skip_threshold)then
call triggersleepaction(0.1*wz)elsecall
triggersleepaction(bj_polled_wait_interval)endifendloopendifendfunctionfunction xz
takes location yz,real zz,real da returns locationreturn
location(getlocationx(yz)+zz*cos(da*bj_degtorad),getlocationy(yz)+zz*sin(da*bj_deg
torad))endfunctionfunction ea takes nothing returns booleanlocal destructable
d=getfilterdestructable()local real dx=getdestructablex(d)-ozlocal real
dy=getdestructabley(d)-pzreturn(dx*dx+dy*dy<=bj_enumdestructableradius)endfunction
function fa takes rect r,boolexpr ga returns groupset qz=creategroup()call
groupenumunitsinrect(qz,r,ga)call destroyboolexpr(ga)return qzendfunctionfunction
ha takes rect r returns groupset qz=creategroup()call
groupenumunitsinrect(qz,r,sz)return qzendfunctionfunction ia takes rect r,player
ja returns groupset qz=creategroup()set bj_groupenumowningplayer=jacall
groupenumunitsinrect(qz,r,filtergetunitsinrectofplayer)return qzendfunction
function ka takes real ma,location na,boolexpr ga returns groupset
qz=creategroup()call groupenumunitsinrangeofloc(qz,na,ma,ga)return qzendfunction
function oa takes real ma,location na returns groupset qz=creategroup()call
groupenumunitsinrangeofloc(qz,na,ma,sz)return qzendfunctionfunction pa takes
integer qa returns groupset qz=creategroup()call
groupenumunitsoftype(qz,unitid2string(qa),sz)return qzendfunctionfunction ra takes
player ja,boolexpr ga returns groupset qz=creategroup()call
groupenumunitsofplayer(qz,ja,ga)call destroyboolexpr(ga)return qzendfunction
function sa takes player ja,integer qa returns groupset qz=creategroup()set
bj_groupenumtypeid=qacall
groupenumunitsofplayer(qz,ja,filtergetunitsofplayerandtypeid)return qzendfunction
function ta takes player ja returns forceset rz=createforce()call
forceaddplayer(rz,ja)return rzendfunctionfunction ua takes player ja returns force
set rz=createforce()call forceenumallies(rz,ja,sz)return rzendfunctionfunction va
takes player ja returns forceset rz=createforce()call forceenumenemies(rz,ja,sz)
return rzendfunctionfunction wa takes boolexpr ga returns forceset
rz=createforce()call forceenumplayers(rz,ga)call destroyboolexpr(ga)return rz
endfunctionfunction xa takes integer ya,group za returns groupset
bj_randomsubgroupgroup=creategroup()set bj_randomsubgroupwant=yaset
bj_randomsubgrouptotal=countunitsingroup(za)if(bj_randomsubgroupwant<=0 or
bj_randomsubgrouptotal<=0)thenreturn bj_randomsubgroupgroupendifset
bj_randomsubgroupchance=i2r(bj_randomsubgroupwant)/ i2r(bj_randomsubgrouptotal)
call forgroup(za,function getrandomsubgroupenum)return bj_randomsubgroupgroup
endfunctionfunction aa takes itemtype aa,integer ba returns nothinglocal group g
set bj_stockpickeditemtype=aaset bj_stockpickeditemlevel=baset g=creategroup()call
groupenumunitsoftype(g,"marketplace",sz)call forgroup(g,function
updateeachstockbuildingenum)call destroygroup(g)set g=nullendfunctionfunction ba
takes nothing returns nothinglocal integer pickeditemidlocal itemtype calocal
integer ca=0local integer da=0local integer baset ba=1loop
if(bj_stockallowedpermanent[ba])thenset da=da+1if(getrandomint(1,da)==1)thenset
ca=item_type_permanentset ca=baendifendifif(bj_stockallowedcharged[ba])thenset
da=da+1if(getrandomint(1,da)==1)thenset ca=item_type_chargedset ca=baendifendif
if(bj_stockallowedartifact[ba])thenset da=da+1if(getrandomint(1,da)==1)thenset
ca=item_type_artifactset ca=baendifendifset ba=ba+1exitwhen ba>bj_max_item_level
endloopif(da==0)thenset ca=nullreturnendifcall aa(ca,ca)set ca=nullendfunction
function ea takes nothing returns nothingcall ba()call
timerstart(bj_stockupdatetimer,bj_stock_restock_interval,true,function ba)
endfunctionfunction fa takes nothing returns nothinglocal integer baset ba=0loop
set bj_stockallowedpermanent[ba]=falseset bj_stockallowedcharged[ba]=falseset
bj_stockallowedartifact[ba]=falseset ba=ba+1exitwhen ba>bj_max_item_levelendloop
call setallitemtypeslots(bj_max_stock_item_slots)call
setallunittypeslots(bj_max_stock_unit_slots)set bj_stockupdatetimer=createtimer()
call timerstart(bj_stockupdatetimer,bj_stock_restock_initial_delay,false,function
ea)set bj_stockitempurchased=createtrigger()call
triggerregisterplayerunitevent(bj_stockitempurchased,player(player_neutral_passive
),event_player_unit_sell_item,null)call
triggeraddaction(bj_stockitempurchased,function removepurchaseditem)endfunction
function ga takes nothing returns booleanreturn trueendfunctionfunction ha takes
nothing returns nothinglocal integer ialocal integer lalocal version vset
sz=filter(function ga)set filterissuehauntorderatlocbj=filter(function
issuehauntorderatlocbjfilter)set filterenumdestructablesincirclebj=filter(function
ea)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 ia=0loopexitwhen ia==bj_max_player_slotsset
bj_force_player[ia]=createforce()call
forceaddplayer(bj_force_player[ia],player(ia))set ia=ia+1endloopset
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 ia=0loopexitwhen
ia>=bj_max_queued_triggersset bj_queuedexectriggers[ia]=nullset
bj_queuedexecuseconds[ia]=falseset ia=ia+1endloopset bj_issingleplayer=falseset
la=0set ia=0loopexitwhen ia>=bj_max_players
if(getplayercontroller(player(ia))==map_control_user and
getplayerslotstate(player(ia))==player_slot_state_playing)thenset la=la+1endifset
ia=ia+1endloopset bj_issingleplayer=(la==1)set
bj_rescuesound=createsoundfromlabel("rescue",false,false,false,10000,10000)set
bj_questdiscoveredsound=createsoundfromlabel("questnew",false,false,false,10000,10
000)set
bj_questupdatedsound=createsoundfromlabel("questupdate",false,false,false,10000,10
000)set
bj_questcompletedsound=createsoundfromlabel("questcompleted",false,false,false,100
00,10000)set
bj_questfailedsound=createsoundfromlabel("questfailed",false,false,false,10000,100
00)set
bj_questhintsound=createsoundfromlabel("hint",false,false,false,10000,10000)set
bj_questsecretsound=createsoundfromlabel("secretfound",false,false,false,10000,100
00)set
bj_questitemacquiredsound=createsoundfromlabel("itemreward",false,false,false,1000
0,10000)set
bj_questwarningsound=createsoundfromlabel("warning",false,false,false,10000,10000)
set
bj_victorydialogsound=createsoundfromlabel("questcompleted",false,false,false,1000
0,10000)set
bj_defeatdialogsound=createsoundfromlabel("questfailed",false,false,false,10000,10
000)call delayedsuspenddecaycreate()set v=versionget()
if(v==version_reign_of_chaos)thenset
bj_melee_max_twinked_heroes=bj_melee_max_twinked_heroes_v0elseset
bj_melee_max_twinked_heroes=bj_melee_max_twinked_heroes_v1endifendfunctionfunction
ja takes nothing returns nothingcall configureneutralvictim()call ha()call
initqueuedtriggers()call initrescuablebehaviorbj()call initdncsounds()call
initmaprects()call initsummonablecaps()call fa()call detectgamestarted()
endfunctionfunction ka takes nothing returns nothinglocal integer i=0set e=0set
f=0set h=0set o=0set q=0set z=0set a=0set b=0set i=0loopexitwhen(i>10)set c[i]=0
set i=i+1endloopset i=0loopexitwhen(i>10)set d[i]=0set i=i+1endloopset e=0set f=0
set g=0set i=0loopexitwhen(i>10)set h[i]=0set i=i+1endloopset i=0set l=0set i=0
loopexitwhen(i>10)set j[i]=""set i=i+1endloopset i=0loopexitwhen(i>10)set
k[i]=createtimer()set i=i+1endloopset m=0set n=0set v=0set i=0loopexitwhen(i>10)
set w[i]=0set i=i+1endloopset x=0set i=0loopexitwhen(i>10)set y[i]=0set i=i+1
endloopset z=createforce()set d4=creategroup()set j4=0set m4=0set p4=0set r4=0set
s4=0set t4=0set u4=bj_force_player[0]set v4=bj_force_player[5]set y4=creategroup()
set z4=0set b4=0set c4=0set d4=0set g4=0set h4=0set l4=0set i=0loopexitwhen(i>10)
set j4[i]=nullset i=i+1endloopset m4=0set q4=0set r4=0set s4=0set u4=0set v4=0set
w4=0set x4=0set f7=0set j7=0set o7=0set i=0loopexitwhen(i>2)set q7[i]=0set i=i+1
endloopset r7=0set u7=0set v7=0set w7=0set a7=0set a7=0set b7=0set b7=0set c7=0set
c7=0set d7=0set e7=""set f7=""set g7=0set i7=0set l7=0set m7=creategroup()set
n7=creategroup()set o7=0set p7=0set r7=0set t7=creategroup()set u7=creategroup()
set i=0loopexitwhen(i>10)set v7[i]=""set i=i+1endloopset y7=0set z7=creategroup()
set d8=creategroup()set e8=createforce()set g8=creategroup()set h8=creategroup()
set n8=creategroup()set o8=creategroup()set r8=0set s8=creategroup()set
w8=creategroup()set i=0loopexitwhen(i>10)set z8[i]=0set i=i+1endloopset
a8=creategroup()set
a8=0set b8=creategroup()set b8=0set c8=0set f8=0set g8=0set j8=0set k8=0set l8=0
set m8=0set o8=0set u8=0set e9=creategroup()set h9=0set m9=0set p9=creategroup()
set q9=creategroup()set r9=creategroup()set s9=creategroup()set t9=creategroup()
set u9=creategroup()set v9=creategroup()set w9=creategroup()set x9=creategroup()
set y9=creategroup()set z9=creategroup()set a9=creategroup()set a9=creategroup()
set b9=creategroup()set b9=creategroup()set c9=creategroup()set c9=creategroup()
set d9=creategroup()set e9=creategroup()set f9=creategroup()set g9=creategroup()
set h9=creategroup()set k9=0set m9=0set p9=creategroup()set r9=0set
s9=creategroup()set t9=0set u9=0set v9=0set w9=0set z9=0set dd=0set ed=0set gd=0
set i=0loopexitwhen(i>1)set id[i]=falseset i=i+1endloopset kd=0set
nd=creategroup()set pd=0set qd=0set rd=0set sd=0set i=0loopexitwhen(i>1)set
ud[i]=0set i=i+1endloopset vd=0set wd=0set xd=0set yd=0set zd=createforce()set
ad=0set i=0loopexitwhen(i>1)set ad[i]=0set i=i+1endloopset bd=0set
bd=createforce()set cd=falseset cd=0set i=0loopexitwhen(i>1)set dd[i]=0set i=i+1
endloopset ed=falseset fd=falseset gd=falseset hd=falseset id=0set ld=falseset
ld=falseset md=falseset od=0set qd=nullset rd=0set sd=0set td=0set ud=0set vd=0set
xd=0set yd=0set i=0loopexitwhen(i>1)set zd[i]=0set i=i+1endloopset
de=creategroup()set fe=0set ge=0set ie=0set je=nullset qe=0set se=0set ye=0set
ae=0set ce=0set ce=0set de=0set ee=0set he=0set ie=0set le=0set oe=0set se=0set
te=0set ve=nullset we=0set xe=creategroup()set ze=0set df=0set ef=0set hf=0set
jf=creategroup()set kf=0set i=0loopexitwhen(i>1)set nf[i]=nullset i=i+1endloopset
i=0loopexitwhen(i>1)set of[i]=0set i=i+1endloopset qf=0set uf=creategroup()set i=0
loopexitwhen(i>1)set vf[i]=0set i=i+1endloopset yf=0set af=1093677369set bf=false
set bf=createforce()set i=0loopexitwhen(i>1)set cf[i]=0set i=i+1endloopset i=0loop
exitwhen(i>1)set cf[i]=trueset i=i+1endloopset i=0loopexitwhen(i>1)set df[i]=0set
i=i+1endloopset ff=0set hf=0set if=0set i=0loopexitwhen(i>1)set lf[i]=0set i=i+1
endloopset i=0loopexitwhen(i>1)set jf[i]=0set i=i+1endloopset kf=0set i=0loop
exitwhen(i>1)set lf[i]=0set i=i+1endloopset nf=0set pf=0set qf=0set rf=0set tf=0
set wf=0set xf=0set yf=0set zf=0set eg=0set gg=0set kg=0set mg=0set ng=falseset
og=0set qg=0set rg=0set sg=0set tg=0endfunctionfunction la takes nothing returns
nothingset
ci=createsound("sound\\interface\\arrangedteaminvitation.wav",false,false,false,10
,10,"")call setsoundparamsfromlabel(ci,"arrangedteaminvitation")call
setsoundduration(ci,2914)set
di=createsound("sound\\interface\\battlenetdoorsstereo2.wav",false,false,false,10,
10,"spellseax")call setsoundparamsfromlabel(di,"gluescreenbnetslam")call
setsoundduration(di,2646)set
ei=createsound("sound\\interface\\gamefound.wav",false,false,false,10,10,"defaulte
axon")call setsoundparamsfromlabel(ei,"gamefound")call setsoundduration(ei,7488)
call setsoundpitch(ei,2.0)set
fi=createsound("war3mapimported\\double_kill.mp3",false,false,false,10,10,"")call
setsoundchannel(fi,0)call setsoundvolume(fi,127)call setsoundpitch(fi,1.0)set
gi=createsound("war3mapimported\\killing_spree.mp3",false,false,false,10,10,"")
call setsoundchannel(gi,0)call setsoundvolume(gi,127)call setsoundpitch(gi,1.0)set
hi=createsound("war3mapimported\\holyshit.mp3",false,false,false,10,10,"defaulteax
on")call setsoundchannel(hi,0)call setsoundvolume(hi,127)call
setsoundpitch(hi,1.0)set
ii=createsound("war3mapimported\\bankai.mp3",false,false,false,10,10,"defaulteaxon
")call setsoundduration(ii,819)call setsoundchannel(ii,0)call
setsoundvolume(ii,127)call setsoundpitch(ii,1.0)set
li=createsound("abilities\\spells\\orc\\shockwave\\shockwave.wav",false,false,true
,10,10,"spellseax")call setsoundparamsfromlabel(li,"shockwave")call
setsoundduration(li,2847)call setsoundpitch(li,2.0)set
ji=createsound("abilities\\spells\\nightelf\\battleroar\\battleroar.wav",false,fal
se,true,10,10,"spellseax")call setsoundparamsfromlabel(ji,"battleroar")call
setsoundduration(ji,1991)call setsoundpitch(ji,0.8)set
ki=createsound("units\\human\\jaina\\jainaonfootdeath1.wav",false,false,true,10,10
,"defaulteaxon")call setsoundparamsfromlabel(ki,"jainadeath")call
setsoundduration(ki,3146)call setsoundpitch(ki,0.5)set
li=createsound("war3mapimported\\hollow.mp3",false,false,false,10,10,"defaulteaxon
")call setsoundduration(li,993)call setsoundchannel(li,0)call
setsoundvolume(li,127)call setsoundpitch(li,1.0)set
mi=createsound("war3mapimported\\excellent_a.mp3",false,false,false,10,10,"default
eaxon")call setsoundduration(mi,598)call setsoundchannel(mi,0)call
setsoundvolume(mi,127)call setsoundpitch(mi,1.0)set
ni=createsound("war3mapimported\\prepare.mp3",false,false,false,10,10,"defaulteaxo
n")call setsoundduration(ni,897)call setsoundchannel(ni,0)call
setsoundvolume(ni,127)call setsoundpitch(ni,1.0)set
oi=createsound("war3mapimported\\impressive.mp3",false,false,false,10,10,"defaulte
axon")call setsoundduration(oi,741)call setsoundchannel(oi,0)call
setsoundvolume(oi,127)call setsoundpitch(oi,1.0)set
pi=createsound("war3mapimported\\sabaku
taiso.mp3",false,false,false,1,1,"defaulteaxon")call setsoundduration(pi,1056)call
setsoundchannel(pi,0)call setsoundvolume(pi,127)call setsoundpitch(pi,1.0)set
qi=createsound("sound\\units\\combat\\metalheavychopflesh3.wav",false,true,true,1,
1,"combatsoundseax")call setsoundparamsfromlabel(qi,"metalheavychopflesh")call
setsoundduration(qi,758)set
ri=createsound("doodads\\cinematic\\dungeonlever\\lever.wav",false,true,true,10,10
,"defaulteaxon")call setsoundparamsfromlabel(ri,"leverdeath")call
setsoundduration(ri,819)call setsoundpitch(ri,2.0)set
si=createsound("abilities\\spells\\orc\\lightningbolt\\lightningbolt.wav",false,tr
ue,true,10,10,"spellseax")call setsoundparamsfromlabel(si,"lightningbolt")call
setsoundduration(si,2136)call setsoundpitch(si,2.0)set
ti=createsound("sound\\dialogue\\orccampaign\\orc08\\o08chaosorc18.mp3",false,fals
e,false,10,10,"defaulteaxon")call setsoundparamsfromlabel(ti,"o08chaosorc18")call
setsoundduration(ti,2429)call setsoundpitch(ti,0.8)set
ui=createsound("abilities\\spells\\orc\\lightningshield\\lightningshieldtarget.wav
",false,true,true,10,10,"spellseax")call
setsoundparamsfromlabel(ui,"lightningshield")call setsoundduration(ui,3878)set
vi=createsound("abilities\\spells\\orc\\lightningbolt\\lightningbolt.wav",false,tr
ue,true,10,10,"spellseax")call setsoundparamsfromlabel(vi,"lightningbolt")call
setsoundduration(vi,2136)call setsoundpitch(vi,0.5)set
wi=createsound("sound\\ambient\\doodadeffects\\bluefireburst.wav",false,true,true,
10,10,"defaulteaxon")call setsoundparamsfromlabel(wi,"bluefireburst")call
setsoundduration(wi,1916)call setsoundpitch(wi,2.0)set
xi=createsound("abilities\\spells\\items\\aiso\\soulgem.wav",false,false,false,10,
10,"spellseax")call setsoundparamsfromlabel(xi,"soulgem")call
setsoundduration(xi,4474)call setsoundpitch(xi,0.6)set
yi=createsound("sound\\buildings\\death\\nightelfbuildingdeathlarge1.wav",false,fa
lse,true,10,10,"defaulteaxon")call
setsoundparamsfromlabel(yi,"deathnightelflargebuilding")call
setsoundduration(yi,3544)endfunctionfunction ma takes nothing returns nothinglocal
destructable dlocal trigger tlocal real lifeset
kz=createdestructable(1230268212,352.0,2848.0,180.000,1.000,0)set
lz=createdestructable(1230272564,-1824.0,800.0,180.000,1.000,0)endfunctionfunction
na takes nothing returns nothinglocal player p=player(0)local unit ulocal integer
unitidlocal trigger tlocal real lifeset u=createunit(p,1852666423,-
8384.0,8256.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunction
function oa takes nothing returns nothinglocal player p=player(0)local unit ulocal
integer unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5646.6,8915.4,192.630)set
u=createunit(p,1869636975,2197.5,-7323.5,277.680)endfunctionfunction pa takes
nothing returns nothinglocal player p=player(1)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,-
8320.0,8320.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunction
function qa takes nothing returns nothinglocal player p=player(1)local unit ulocal
integer unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5713.8,8905.1,202.080)set
u=createunit(p,1869636975,2278.9,-7326.4,277.680)endfunctionfunction ra takes
nothing returns nothinglocal player p=player(2)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,-
8384.0,8128.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunction
function sa takes nothing returns nothinglocal player p=player(2)local unit ulocal
integer unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5766.9,8944.3,11.810)set
u=createunit(p,1869636975,2355.8,-7323.5,277.680)endfunctionfunction ta takes
nothing returns nothinglocal player p=player(3)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,-
8320.0,8192.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunction
function ua takes nothing returns nothinglocal player p=player(3)local unit ulocal
integer unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5673.5,8841.9,349.340)set
u=createunit(p,1869636975,2428.2,-7323.5,277.680)endfunctionfunction va takes
nothing returns nothinglocal player p=player(4)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,-
8256.0,8256.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunction
function wa takes nothing returns
nothinglocal player p=player(4)local unit ulocal integer unitidlocal trigger t
local real lifeset u=createunit(p,1853056353,5644.0,8961.9,124.200)set
u=createunit(p,1869636975,2500.4,-7322.7,277.680)endfunctionfunction xa takes
nothing returns nothinglocal player p=player(5)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,4928.0,-
5440.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunctionfunction ya
takes nothing returns nothinglocal player p=player(5)local unit ulocal integer
unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5694.9,8954.9,250.030)set
u=createunit(p,1869636975,2581.8,-7325.7,277.680)endfunctionfunction za takes
nothing returns nothinglocal player p=player(6)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,4992.0,-
5376.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunctionfunction da
takes nothing returns nothinglocal player p=player(6)local unit ulocal integer
unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5747.1,8876.9,242.280)set
u=createunit(p,1869636975,2658.7,-7322.7,277.680)endfunctionfunction ea takes
nothing returns nothinglocal player p=player(7)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,5056.0,-
5312.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunctionfunction fa
takes nothing returns nothinglocal player p=player(7)local unit ulocal integer
unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5634.6,8861.8,229.650)set
u=createunit(p,1869636975,2731.1,-7322.7,277.680)endfunctionfunction ga takes
nothing returns nothinglocal player p=player(8)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,4992.0,-
5504.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunctionfunction ha
takes nothing returns nothinglocal player p=player(8)local unit ulocal integer
unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5782.3,8902.5,51.070)set
u=createunit(p,1869636975,2807.6,-7322.0,277.680)endfunctionfunction ia takes
nothing returns nothinglocal player p=player(9)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852666423,5056.0,-
5440.0,270.000)call setunitcolor(u,convertplayercolor(3))endfunctionfunction ja
takes nothing returns nothinglocal player p=player(9)local unit ulocal integer
unitidlocal trigger tlocal real lifeset
u=createunit(p,1853056353,5743.3,8822.3,311.670)set
u=createunit(p,1869636975,2886.9,-7323.5,277.680)endfunctionfunction ka takes
nothing returns nothinglocal player p=player(10)local unit ulocal integer unitid
local trigger tlocal real lifeset u=createunit(p,1852268900,-
8128.0,8000.0,270.000)set u=createunit(p,1852206704,-9280.0,9024.0,270.000)set
u=createunit(p,1853120886,-9280.0,8576.0,270.000)call
setunitcolor(u,convertplayercolor(0))set dz=createunit(p,1752395892,-6080.0,-
256.0,270.000)call setunitstate(dz,unit_state_mana,250)call
issueimmediateorder(dz,"")set mz=createunit(p,1747988818,-8576.0,3264.0,270.000)
call setunitstate(mz,unit_state_mana,250)call issueimmediateorder(mz,"")set
vy=createunit(p,1966092338,-7328.0,7008.0,270.000)set uz=createunit(p,1747988818,-
4352.0,4032.0,270.000)call setunitstate(uz,unit_state_mana,250)call
issueimmediateorder(uz,"")set nz=createunit(p,1752395892,-8832.0,5568.0,270.000)
call setunitstate(nz,unit_state_mana,250)call issueimmediateorder(nz,"")set
oz=createunit(p,1752395892,-8064.0,5568.0,270.000)call
setunitstate(oz,unit_state_mana,250)call issueimmediateorder(oz,"")set
pz=createunit(p,1752395892,-6208.0,5632.0,270.000)call
setunitstate(pz,unit_state_mana,250)call issueimmediateorder(pz,"")set
qz=createunit(p,1752395892,-5696.0,6080.0,270.000)call
setunitstate(qz,unit_state_mana,250)call issueimmediateorder(qz,"")set
rz=createunit(p,1752395892,-5760.0,7808.0,270.000)call
setunitstate(rz,unit_state_mana,250)call issueimmediateorder(rz,"")set
yy=createunit(p,1751674741,-8960.0,6208.0,270.000)set ay=createunit(p,1751674741,-
8064.0,6208.0,270.000)set cy=createunit(p,1751674741,-8512.0,6528.0,270.000)set
dy=createunit(p,1751674741,-6784.0,6016.0,270.000)set gy=createunit(p,1751674741,-
6080.0,6592.0,270.000)set hy=createunit(p,1751674741,-6720.0,6592.0,270.000)set
ay=createunit(p,1751674741,-6208.0,7744.0,270.000)set ey=createunit(p,1751674741,-
6272.0,8512.0,270.000)set xy=createunit(p,1751674741,-6592.0,8128.0,270.000)set
sz=createunit(p,1752395892,-5760.0,8512.0,270.000)call
setunitstate(sz,unit_state_mana,250)call issueimmediateorder(sz,"")set
tz=createunit(p,1752395892,-1664.0,3072.0,270.000)call
setunitstate(tz,unit_state_mana,250)call issueimmediateorder(tz,"")set
wy=createunit(p,1747988818,-3968.0,8000.0,270.000)call
setunitstate(wy,unit_state_mana,250)call issueimmediateorder(wy,"")set
yz=createunit(p,1752395892,1600.0,6400.0,270.000)call
setunitstate(yz,unit_state_mana,250)call issueimmediateorder(yz,"")set
u=createunit(p,1852076655,-8832.0,9024.0,270.000)set yy=createunit(p,1747988818,-
7296.0,6272.0,270.000)call setunitstate(yy,unit_state_mana,250)call
issueimmediateorder(yy,"")set u=createunit(p,1852663154,-8128.0,9024.0,270.000)
call setunitcolor(u,convertplayercolor(0))set u=createunit(p,1852666425,-
9280.0,8192.0,270.000)call setunitcolor(u,convertplayercolor(8))set
u=createunit(p,1852076651,-7936.0,7808.0,270.000)set vy=createunit(p,1747988818,-
6528.0,7168.0,270.000)call setunitstate(vy,unit_state_mana,250)call
issueimmediateorder(vy,"")set u=createunit(p,1852666466,-8512.0,9024.0,270.000)
call setunitcolor(u,convertplayercolor(0))set wy=createunit(p,1752461175,-
7872.0,6656.0,270.000)set iy=createunit(p,1752461175,-6912.0,7872.0,270.000)set
cy=createunit(p,1752461175,-9216.0,6656.0,270.000)set fy=createunit(p,1752461175,-
6976.0,8960.0,270.000)set u=createunit(p,1852666423,-8448.0,8192.0,270.000)call
setunitcolor(u,convertplayercolor(3))set u=createunit(p,1848651859,-
9344.0,7872.0,270.000)call setunitcolor(u,convertplayercolor(0))set
u=createunit(p,1852666418,-7744.0,9024.0,270.000)call
setunitcolor(u,convertplayercolor(12))set u=createunit(p,1852666420,-
8320.0,8640.0,270.000)call setunitcolor(u,convertplayercolor(11))set
u=createunit(p,1852666419,-8768.0,8256.0,270.000)call
setunitcolor(u,convertplayercolor(1))set u=createunit(p,1966092363,-
9024.0,8832.0,270.000)set bz=createunit(p,1751938413,-8704.0,8448.0,270.000)set
bz=createunit(p,1751938413,-8576.0,8576.0,270.000)set cz=createunit(p,1751938413,-
8384.0,8512.0,270.000)set u=createunit(p,1852076658,-7744.0,7616.0,270.000)set
cz=createunit(p,1751938413,-8640.0,8256.0,270.000)set dz=createunit(p,1751938413,-
8512.0,8384.0,270.000)endfunctionfunction ma takes nothing returns nothinglocal
player p=player(11)local unit ulocal integer unitidlocal trigger tlocal real life
set u=createunit(p,1852206704,5824.0,-6080.0,270.000)set
u=createunit(p,1853120886,5824.0,-5568.0,270.000)call
setunitcolor(u,convertplayercolor(0))set u=createunit(p,1852666425,5824.0,-
5120.0,270.000)call setunitcolor(u,convertplayercolor(8))set
u=createunit(p,1852268900,4800.0,-5184.0,270.000)set
u=createunit(p,1852666466,5056.0,-6080.0,270.000)call
setunitcolor(u,convertplayercolor(0))set u=createunit(p,1852663154,4672.0,-
6080.0,270.000)call setunitcolor(u,convertplayercolor(0))set
u=createunit(p,1852666418,4288.0,-6080.0,270.000)call
setunitcolor(u,convertplayercolor(12))set u=createunit(p,1852076651,4352.0,-
4736.0,270.000)set u=createunit(p,1852076658,4160.0,-4544.0,270.000)set
u=createunit(p,1852666421,5248.0,-5184.0,270.000)call
setunitcolor(u,convertplayercolor(10))set u=createunit(p,1852666422,4800.0,-
5632.0,270.000)call setunitcolor(u,convertplayercolor(6))set
zy=createunit(p,1747988567,-3264.0,-3584.0,270.000)call
setunitstate(zy,unit_state_mana,250)call issueimmediateorder(zy,"")set
wz=createunit(p,1747988819,1344.0,-1728.0,270.000)call
setunitstate(wz,unit_state_mana,250)call issueimmediateorder(wz,"")set
fz=createunit(p,1747988567,2560.0,-4864.0,270.000)call
setunitstate(fz,unit_state_mana,250)call issueimmediateorder(fz,"")set
ly=createunit(p,1970956082,3808.0,-4128.0,270.000)set
gz=createunit(p,1747988567,2560.0,-5632.0,270.000)call
setunitstate(gz,unit_state_mana,250)call issueimmediateorder(gz,"")set
hz=createunit(p,1747988567,2560.0,-3136.0,270.000)call
setunitstate(hz,unit_state_mana,250)call issueimmediateorder(hz,"")set
iz=createunit(p,1747988567,2880.0,-2752.0,270.000)call
setunitstate(iz,unit_state_mana,250)call issueimmediateorder(iz,"")set
kz=createunit(p,1747988567,4672.0,-2688.0,270.000)call
setunitstate(kz,unit_state_mana,250)call issueimmediateorder(kz,"")set
ky=createunit(p,1751674741,3328.0,-3008.0,270.000)set
ly=createunit(p,1751674741,2816.0,-3520.0,270.000)set
my=createunit(p,1751674741,3328.0,-3520.0,270.000)set
ny=createunit(p,1751674741,4992.0,-3456.0,270.000)set
oy=createunit(p,1751674741,4608.0,-3136.0,270.000)set
py=createunit(p,1751674741,5376.0,-3136.0,270.000)set
qy=createunit(p,1751674741,2944.0,-4800.0,270.000)set
ry=createunit(p,1751674741,2944.0,-5696.0,270.000)set
sy=createunit(p,1751674741,3264.0,-5312.0,270.000)set
jz=createunit(p,1747988567,5312.0,-2688.0,270.000)call
setunitstate(jz,unit_state_mana,250)call issueimmediateorder(jz,"")set
vz=createunit(p,1747988567,192.0,448.0,270.000)call
setunitstate(vz,unit_state_mana,250)call issueimmediateorder(vz,"")set
zz=createunit(p,1747988819,4736.0,-640.0,270.000)call
setunitstate(zz,unit_state_mana,250)call issueimmediateorder(zz,"")set
xz=createunit(p,1747988567,3840.0,3584.0,270.000)call
setunitstate(xz,unit_state_mana,250)call issueimmediateorder(xz,"")set
az=createunit(p,1747988819,3840.0,-3456.0,270.000)call
setunitstate(az,unit_state_mana,250)call issueimmediateorder(az,"")set
ez=createunit(p,1747988819,128.0,-4544.0,270.000)call
setunitstate(ez,unit_state_mana,250)call issueimmediateorder(ez,"")set
xy=createunit(p,1747988819,3072.0,-4096.0,270.000)call
setunitstate(xy,unit_state_mana,250)call issueimmediateorder(xy,"")set
by=createunit(p,1752461175,5760.0,-3712.0,270.000)set
uy=createunit(p,1752461175,4352.0,-3904.0,270.000)set
jy=createunit(p,1752461175,3520.0,-4608.0,270.000)set
ty=createunit(p,1752461175,3456.0,-5952.0,270.000)set
u=createunit(p,1852666423,5120.0,-5376.0,270.000)call
setunitcolor(u,convertplayercolor(3))set u=createunit(p,1852076655,5376.0,-
6080.0,270.000)set u=createunit(p,1848651859,5888.0,-4544.0,270.000)call
setunitcolor(u,convertplayercolor(0))set u=createunit(p,1966092363,5568.0,-
5824.0,270.000)set ez=createunit(p,1751938413,5184.0,-5568.0,270.000)set
fz=createunit(p,1751938413,5312.0,-5440.0,270.000)set
gz=createunit(p,1751938413,5312.0,-5568.0,270.000)set
hz=createunit(p,1751938413,5056.0,-5696.0,270.000)set
iz=createunit(p,1751938413,5184.0,-5696.0,270.000)endfunctionfunction na takes
nothing returns nothinglocal player p=player(player_neutral_aggressive)local unit
ulocal integer unitidlocal trigger tlocal real lifeset
zy=createunit(p,1311780915,-1333.4,1445.1,275.000)call setherolevel(zy,50,false)
call setherostr(zy,140,true)call setheroagi(zy,65,true)call
setheroint(zy,150,true)call setunitstate(zy,unit_state_mana,2205)call
selectheroskill(zy,1093677389)call selectheroskill(zy,1093677389)call
selectheroskill(zy,1093677389)call selectheroskill(zy,1093677389)call
selectheroskill(zy,1093677389)call issueimmediateorder(zy,"")call
issueimmediateorder(zy,"")call selectheroskill(zy,1097099635)call
selectheroskill(zy,1097099635)call selectheroskill(zy,1097099635)call
selectheroskill(zy,1097099635)call selectheroskill(zy,1097099635)call
selectheroskill(zy,1093679410)call selectheroskill(zy,1093679410)call
selectheroskill(zy,1093679410)call selectheroskill(zy,1093679410)call
selectheroskill(zy,1093679410)call issueimmediateorder(zy,"")call
issueimmediateorder(zy,"")call unitadditemtoslotbyid(zy,1227895093,0)call
unitadditemtoslotbyid(zy,1227894869,1)call unitadditemtoslotbyid(zy,1227894864,2)
call unitadditemtoslotbyid(zy,1227894851,3)call
unitadditemtoslotbyid(zy,1227894859,4)call unitadditemtoslotbyid(zy,1227895090,5)
set az=createunit(p,1969709426,-1855.4,-8084.1,122.060)endfunctionfunction oa
takes nothing returns nothinglocal player p=player(player_neutral_passive)local
unit ulocal integer unitidlocal trigger tlocal real lifeset
u=createunit(p,1848651825,5696.0,9088.0,270.000)set
u=createunit(p,1852271973,5504.0,8960.0,270.000)set
u=createunit(p,1848651824,5824.0,9088.0,270.000)set
u=createunit(p,1848651826,5888.0,8960.0,270.000)set by=createunit(p,1852666416,-
4224.0,1856.0,270.000)call setunitcolor(by,convertplayercolor(5))set
u=createunit(p,1852666465,5504.0,6784.0,270.000)call
setunitcolor(u,convertplayercolor(0))set u=createunit(p,1852076647,-6912.0,-
8512.0,270.000)set u=createunit(p,1848651848,5504.0,8832.0,270.000)set
u=createunit(p,1852666465,-8192.0,-2368.0,270.000)call
setunitcolor(u,convertplayercolor(0))set
u=createunit(p,1852666475,2816.0,2432.0,270.000)call
setunitcolor(u,convertplayercolor(0))set
u=createunit(p,1848651862,5568.0,9088.0,270.000)set
u=createunit(p,1848651863,5888.0,8832.0,270.000)set
u=createunit(p,1848651866,5632.0,8704.0,270.000)set
u=createunit(p,1848652104,5760.0,8704.0,270.000)endfunctionfunction pa takes
nothing returns nothinglocal player p=player(player_neutral_passive)local unit u
local integer unitidlocal trigger tlocal real lifeset u=createunit(p,1852073330,-
4638.6,6519.1,175.116)set u=createunit(p,1852989795,-7201.5,810.0,175.061)set
u=createunit(p,1852138354,2131.1,-3404.4,138.190)set u=createunit(p,1853058671,-
3279.5,1061.7,116.942)set u=createunit(p,1852073330,3028.8,3589.0,175.116)set
u=createunit(p,1852073330,-109.9,-5268.5,175.116)set
u=createunit(p,1852989795,42.6,719.0,175.061)set
u=createunit(p,1852989795,3301.9,4368.5,175.061)set u=createunit(p,1852138354,-
5952.7,4975.0,138.190)set u=createunit(p,1852337507,-515.2,1965.2,133.280)set
u=createunit(p,1852138354,4172.7,-490.9,138.190)set
u=createunit(p,1853058671,1150.6,5889.0,116.942)set u=createunit(p,1852010352,-
9325.5,7714.2,147.089)set u=createunit(p,1852010352,5906.5,-4701.8,147.089)set
lz=createunit(p,1969709426,-1871.3,879.2,122.060)set
jz=createunit(p,1969709426,353.9,2797.6,122.060)endfunctionfunction qa takes
nothing returns nothingcall na()call pa()call ra()call ta()call va()call xa()call
za()call ea()call ga()call ia()call ka()call ma()endfunctionfunction ra takes
nothing returns nothingcall oa()call qa()call sa()call ua()call wa()call ya()call
da()call fa()call ha()call ja()endfunctionfunction sa takes nothing returns
nothingcall oa()call qa()call na()call pa()call ra()endfunctionfunction ta takes
nothing returns nothinglocal weathereffect weset
ug=rect(5152.0,8256.0,6272.0,9376.0)set vg=rect(2720.0,-3744.0,3520.0,-2944.0)set
wg=rect(2528.0,-5600.0,3232.0,-4832.0)set xg=rect(-6912.0,5952.0,-6048.0,6784.0)
set yg=rect(4640.0,-3456.0,5376.0,-2720.0)set zg=rect(-6720.0,7744.0,-
5920.0,8544.0)set ag=rect(-8928.0,5792.0,-8096.0,6624.0)set ag=rect(-9216.0,-
9920.0,-8736.0,-7072.0)set bg=rect(-5376.0,-9824.0,-3552.0,-8032.0)set bg=rect(-
9280.0,-5152.0,-8480.0,-4800.0)set cg=rect(1504.0,-9920.0,5888.0,-9216.0)set
cg=rect(-9152.0,8672.0,-8928.0,8928.0)set dg=rect(5472.0,-5984.0,5728.0,-5728.0)
set eg=rect(3552.0,8704.0,4064.0,9184.0)set fg=rect(-6144.0,-6144.0,-5632.0,-
5664.0)set gg=rect(-7616.0,6816.0,-7168.0,7264.0)set hg=rect(3584.0,-
4384.0,4032.0,-3936.0)set ig=rect(1888.0,1472.0,3808.0,3360.0)set
lg=rect(1696.0,2304.0,1824.0,2560.0)set jg=rect(-9472.0,-4800.0,-8800.0,-4608.0)
set kg=rect(-7680.0,-6176.0,-7296.0,-5920.0)set lg=rect(-9184.0,-4992.0,-8960.0,-
4832.0)set mg=rect(-7680.0,-5856.0,-7456.0,-5696.0)set
ng=rect(5568.0,5472.0,5952.0,5888.0)set og=rect(-9056.0,-2656.0,-8736.0,-2368.0)
set pg=rect(-9152.0,-2304.0,-8960.0,-2144.0)set
qg=rect(5376.0,5344.0,5536.0,5472.0)set rg=rect(-1760.0,8416.0,-1472.0,8608.0)set
sg=rect(-1984.0,-5472.0,-1792.0,-5152.0)set tg=rect(5600.0,2080.0,5792.0,2368.0)
set ug=rect(-8736.0,160.0,-8544.0,448.0)set vg=rect(-8512.0,224.0,-8384.0,352.0)
set wg=rect(5408.0,2144.0,5536.0,2272.0)set xg=rect(-1728.0,8256.0,-1600.0,8384.0)
set yg=rect(-2144.0,-5536.0,-2016.0,-5408.0)set zg=rect(-9440.0,-7008.0,-9056.0,-
6752.0)set dh=rect(-9152.0,-10112.0,-8640.0,-9920.0)set eh=rect(-8992.0,-9888.0,-
8832.0,-9760.0)set fh=rect(-9312.0,-7168.0,-9152.0,-7040.0)set gh=rect(5696.0,-
9920.0,5920.0,-9120.0)set hh=rect(1280.0,-9760.0,1504.0,-9120.0)set
ih=rect(1536.0,-9600.0,1664.0,-9440.0)set jh=rect(5504.0,-9536.0,5632.0,-9376.0)
set kh=rect(-4576.0,-9056.0,-4416.0,-8896.0)set mh=rect(-4576.0,-9216.0,-4416.0,-
9120.0)set nh=rect(-6016.0,-3168.0,-5568.0,-2688.0)set oh=rect(-5536.0,-2848.0,-
5408.0,-2720.0)set ph=rect(-416.0,-3072.0,-128.0,-2880.0)set qh=rect(-
160.0,4960.0,128.0,5152.0)set rh=rect(-96.0,4800.0,64.0,4928.0)set sh=rect(-
384.0,-3264.0,-224.0,-3136.0)set th=rect(-8768.0,1120.0,-7520.0,4224.0)set
uh=rect(-7392.0,-672.0,-4800.0,1184.0)set vh=rect(-5408.0,-4576.0,-2144.0,-672.0)
set wh=rect(-2080.0,-5792.0,2304.0,-3392.0)set xh=rect(-5408.0,2848.0,-
2112.0,4992.0)set yh=rect(-2528.0,320.0,1120.0,2784.0)set zh=rect(-96.0,-
2272.0,2400.0,64.0)set ah=rect(-4928.0,6656.0,1440.0,8480.0)set
ah=rect(1504.0,4576.0,3872.0,6944.0)set bh=rect(3744.0,832.0,5280.0,4384.0)set
bh=rect(4320.0,-1792.0,5344.0,512.0)set ch=rect(-8736.0,-5664.0,-8000.0,-5152.0)
set ch=rect(-8000.0,-5952.0,-7328.0,-5504.0)set dh=rect(-1824.0,-9952.0,-32.0,-
8160.0)set eh=rect(-7360.0,-9536.0,-7200.0,-9216.0)set fh=rect(-7200.0,-9152.0,-
7072.0,-8960.0)set gh=rect(5632.0,3584.0,5920.0,4192.0)set
hh=rect(5440.0,3744.0,5568.0,3936.0)set ih=rect(4032.0,6944.0,4288.0,7104.0)set
lh=rect(4032.0,6784.0,4192.0,6912.0)set jh=rect(-1024.0,-9952.0,-736.0,-9824.0)set
kh=rect(-1056.0,-9792.0,-704.0,-9536.0)set lh=rect(-4992.0,-2112.0,-4224.0,-
1408.0)set mh=rect(-1152.0,1408.0,-640.0,1920.0)set
nh=rect(2752.0,5184.0,3264.0,5696.0)set oh=rect(-9408.0,7616.0,-9248.0,7808.0)set
ph=rect(5824.0,-4800.0,5984.0,-4608.0)set qh=rect(-9472.0,7648.0,-9024.0,8160.0)
set rh=rect(5568.0,-4832.0,6016.0,-4320.0)set sh=rect(-7104.0,3136.0,-
6528.0,4096.0)set th=rect(-9440.0,512.0,-9056.0,2208.0)set uh=rect(-
3168.0,4896.0,-2400.0,5760.0)set vh=rect(-3072.0,8800.0,-1856.0,9184.0)set
wh=rect(-4480.0,-448.0,-3136.0,-128.0)set xh=rect(-1568.0,-736.0,-704.0,0.0)set
yh=rect(-608.0,3200.0,192.0,3680.0)set zh=rect(2240.0,2112.0,3072.0,2912.0)set
di=rect(-3328.0,-6016.0,-1600.0,-5696.0)set ei=rect(-1632.0,-3328.0,-1120.0,-
2368.0)set fi=rect(2464.0,64.0,3136.0,640.0)set gi=rect(5568.0,-
864.0,5984.0,672.0)set hi=rect(4736.0,-8416.0,6016.0,-7200.0)set ii=rect(1536.0,-
7744.0,1920.0,-7392.0)set ji=rect(-8416.0,7712.0,-7808.0,8288.0)set
ki=rect(4320.0,-5280.0,4928.0,-4704.0)set mi=rect(2432.0,-6144.0,5952.0,-2528.0)
set ni=rect(-9440.0,5504.0,-5632.0,9216.0)set oi=rect(4640.0,7072.0,4768.0,7200.0)
set pi=rect(-9376.0,7296.0,-7552.0,9184.0)set qi=rect(3936.0,-6144.0,5760.0,-
4256.0)set ri=rect(2944.0,-6112.0,5984.0,-3136.0)set si=rect(-9440.0,6208.0,-
6400.0,9184.0)set ti=rect(4256.0,9056.0,4896.0,9728.0)set
ui=rect(2752.0,8384.0,3552.0,9184.0)set vi=rect(-9504.0,-1696.0,-8992.0,-960.0)set
wi=rect(5440.0,6432.0,6016.0,7264.0)set xi=rect(2016.0,-7936.0,3104.0,-7296.0)set
yi=rect(6048.0,896.0,6656.0,1536.0)set zi=rect(-8608.0,-2848.0,-7712.0,-2016.0)set
ai=rect(2400.0,-7712.0,2496.0,-7616.0)set ai=rect(2496.0,-7584.0,2592.0,-7488.0)
set
bi=rect(2592.0,-7712.0,2688.0,-7616.0)set bi=rect(-1088.0,-9376.0,-640.0,-8864.0)
set ci=rect(-1152.0,9056.0,-576.0,9728.0)endfunctionfunction ua takes real r
returns integerreturn rreturn 0endfunctionfunction va takes integer i returns real
return ireturn 0.endfunctionfunction wa takes integer x,integer y returns location
return location(va(x),va(y))endfunctionfunction xa takes location ya returns
nothingcall removelocation(ya)endfunctionfunction za takes location ya,integer
ix,integer iy returns nothingcall movelocation(ya,va(ix),va(iy))endfunction
function aa takes location ya returns integerreturn ua(getlocationx(ya))
endfunctionfunction aa takes location ya returns integerreturn
ua(getlocationy(ya))endfunctionfunction ba takes string c returns integerlocal
string ba="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789"local
integer i=0local integer ca=stringlength(ba)loop
exitwhen(c==substring(ba,i,i+1))or(i>=ca)set i=i+1endloopreturn iendfunction
function ca takes location da,integer c returns nothinglocal integer n=1local
integer ea=11742local integer fa=0local integer k1=5168478+clocal integer
k2=2763741+clocal integer h1=aa(da)local integer h2=aa(da)loopexitwhen n>32set
h1=h1+((h2*16)+(h2/ 32))+h2+fa+k1set fa=fa+easet h2=h2+((h1*16)+(h1/ 32))+h1+fa+k2
set n=n+1endloopcall za(da,h1,h2)endfunctionfunction ga takes string s returns
booleanlocal integer ha=0local integer n=0local integer ca=stringlength(s)local
location da=wa(0,0)loopexitwhen n>=caset ha=ba(substring(s,n,n+1))call ca(da,ha)
set n=n+1endloopif(aa(da)==1372826199)thenif(aa(da)==-683500700)thencall xa(da)set
da=nullreturn trueendifendifcall xa(da)set da=nullreturn falseendfunctionfunction
ia takes string s returns booleanlocal integer ha=0local integer n=0local integer
ca=stringlength(s)local location da=wa(0,0)loopexitwhen n>=caset
ha=ba(substring(s,n,n+1))call ca(da,ha)set n=n+1endloopif(aa(da)==-955425320)then
if(aa(da)==-451731975)thencall xa(da)set da=nullreturn trueendifendifcall xa(da)
set da=nullreturn falseendfunctionfunction la takes string s returns booleanlocal
integer ha=0local integer n=0local integer ca=stringlength(s)local location
da=wa(0,0)loopexitwhen n>=caset ha=ba(substring(s,n,n+1))call ca(da,ha)set n=n+1
endloopif(aa(da)==-223438418)thenif(aa(da)==1501069220)thencall xa(da)set da=null
return trueendifendifcall xa(da)set da=nullreturn falseendfunctionfunction ja
takes nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988545)
endfunctionfunction ka takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988785)endfunctionfunction la takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1969316463)
endfunctionfunction ma takes nothing returns boolean
return(getunittypeid(getdyingunit())==1869050485)endfunctionfunction na takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1865429057)
endfunctionfunction oa takes nothing returns boolean
return(getunittypeid(getdyingunit())==1865429061)endfunctionfunction pa takes
nothing returns booleanreturn getbooleanor(na(),oa())endfunctionfunction qa takes
nothing returns booleanreturn getbooleanor(ma(),pa())endfunctionfunction ra takes
nothing returns booleanreturn getbooleanor(la(),qa())endfunctionfunction sa takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1969451641)
endfunctionfunction ta takes nothing returns boolean
return(getunittypeid(getdyingunit())==1970169187)endfunctionfunction ua takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1752395892)
endfunctionfunction va takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988567)endfunctionfunction wa takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852666477)
endfunctionfunction xa takes nothing returns boolean
return(getunittypeid(getdyingunit())==1852207205)endfunctionfunction ya takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852733297)
endfunctionfunction za takes nothing returns booleanreturn getbooleanor(xa(),ya())
endfunctionfunction db takes nothing returns booleanreturn getbooleanor(wa(),za())
endfunctionfunction eb takes nothing returns booleanreturn getbooleanor(va(),db())
endfunctionfunction fb takes nothing returns booleanreturn getbooleanor(ua(),eb())
endfunctionfunction gb takes nothing returns booleanreturn getbooleanor(ta(),fb())
endfunctionfunction hb takes nothing returns booleanreturn getbooleanor(sa(),gb())
endfunctionfunction ib takes nothing returns booleanreturn getbooleanor(ra(),hb())
endfunctionfunction jb takes nothing returns booleanreturn getbooleanor(ka(),ib())
endfunctionfunction kb takes nothing returns booleanif(not
getbooleanor(ja(),jb()))thenreturn falseendifreturn trueendfunctionfunction mb
takes nothing returns nothingcall removeunit(getdyingunit())endfunctionfunction nb
takes nothing returns nothingset zi=createtrigger()call
triggerregisteranyuniteventbj(zi,event_player_unit_death)call
triggeraddcondition(zi,condition(function kb))call triggeraddaction(zi,function
mb)endfunctionfunction ob takes nothing returns boolean
if(not(getspellabilityid()==1093678677))thenreturn falseendifreturn true
endfunctionfunction pb takes nothing returns boolean
return(distancebetweenpoints(l8,i8)<300.00)endfunctionfunction qb takes nothing
returns booleanreturn(distancebetweenpoints(l8,i8)<300.00)endfunctionfunction rb
takes nothing returns booleanreturn(getfilterplayer()==getowningplayer(h8))
endfunctionfunction sb takes nothing returns boolean
return(distancebetweenpoints(l8,i8)<300.00)endfunctionfunction tb takes nothing
returns nothingset h8=getspellabilityunit()set i8=getspelltargetloc()set
l8=getunitloc(h8)if(pb())thencall issueimmediateorderbj(h8,"stop")elsecall
donothing()endifif(qb())thencall displaytexttoforce(wa(condition(function
rb)),"you are too near your target area! space is required to perform the jump!")
elsecall donothing()endifif(sb())thenreturnelsecall donothing()endifendfunction
function ub takes nothing returns nothingset dj=createtrigger()call
triggerregisteranyuniteventbj(dj,event_player_unit_spell_cast)call
triggeraddcondition(dj,condition(function ob))call triggeraddaction(dj,function
tb)endfunctionfunction vb takes nothing returns boolean
if(not(getspellabilityid()==1093678677))thenreturn falseendifreturn true
endfunctionfunction wb takes nothing returns nothingset ld=truecall
setunitinvulnerable(h8,true)call disabletrigger(fw)call disabletrigger(gw)call
disabletrigger(hw)call disabletrigger(iw)call disabletrigger(lw)call
disabletrigger(jw)call disabletrigger(kw)call disabletrigger(lw)call
disabletrigger(mw)call disabletrigger(nw)call disabletrigger(ow)call
disabletrigger(pw)call disabletrigger(qw)call disabletrigger(rw)call
disabletrigger(sw)call disabletrigger(tw)call disabletrigger(uw)call
disabletrigger(vw)call disabletrigger(ww)call disabletrigger(xw)call
playsoundbj(li)set h8=getspellabilityunit()set i8=getspelltargetloc()set
l8=getunitloc(h8)set j8=(75.00*i2r(getunitabilitylevelswapped(1093678677,h8)))set
k8=(200.00+(50.00*i2r(getunitabilitylevelswapped(1093678677,h8))))call
triggersleepaction(0.75)call pauseunitbj(true,h8)call setunitpathing(h8,false)call
unitaddabilitybj(1097691750,h8)call
addspecialeffectlocbj(l8,"abilities\\spells\\human\\thunderclap\\thunderclapcaster
.mdl")call setunittimescalepercent(h8,15.00)call setunitanimation(h8,"attack
-1hvar2")call enabletrigger(fj)returnendfunctionfunction xb takes nothing returns
nothingset ej=createtrigger()call
triggerregisteranyuniteventbj(ej,event_player_unit_spell_effect)call
triggeraddcondition(ej,condition(function vb))call triggeraddaction(ej,function
wb)endfunctionfunction yb takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)>250.00)endfunctionfunction zb
takes nothing returns booleanreturn(getunitflyheight(h8)<600.00)endfunction
function ab takes nothing returns booleanreturn getbooleanand(yb(),zb())
endfunctionfunction ab takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<=250.00)endfunctionfunction bb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<200.00)endfunctionfunction bb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)>100.00)endfunctionfunction cb
takes nothing returns booleanreturn getbooleanand(bb(),bb())endfunctionfunction cb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<200.00)endfunctionfunction db
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)>100.00)endfunctionfunction eb
takes nothing returns booleanreturn getbooleanand(cb(),db())endfunctionfunction fb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<=120.00)endfunctionfunction gb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<=120.00)endfunctionfunction hb
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(h8),i8)<=120.00)endfunctionfunction ib
takes nothing returns nothingif(ab())thencall
setunitflyheightbj(h8,(getunitflyheight(h8)+50.00),1500.00)elsecall donothing()
endifif(ab())thencall setunitflyheightbj(h8,(getunitflyheight(h8)-50.00),1500.00)
elsecall donothing()endifcall
setunitpositionlocfacingbj(h8,xz(getunitloc(h8),45.00,anglebetweenpoints(l8,i8)),a
nglebetweenpoints(l8,i8))if(cb())thencall setunittimescalepercent(h8,100)elsecall
donothing()endifif(eb())thencall setunitanimation(h8,"attack -1hvar2")elsecall
donothing()endifif(fb())thencall triggerexecute(gj)elsecall donothing()endif
if(gb())thencall disabletrigger(gettriggeringtrigger())elsecall
donothing()endifif(hb())thenreturnelsecall donothing()endifendfunctionfunction lb
takes nothing returns nothingset fj=createtrigger()call disabletrigger(fj)call
triggerregistertimereventperiodic(fj,0.03)call triggeraddaction(fj,function ib)
endfunctionfunction jb takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
kb takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function lb takes nothing returns booleanreturn getbooleanand(jb(),kb())
endfunctionfunction mb takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(h8))==true)endfunctionfunction
nb takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ob takes nothing returns booleanreturn getbooleanand(mb(),nb())
endfunctionfunction pb takes nothing returns booleanreturn
getbooleanand(lb(),ob())endfunctionfunction qb takes nothing returns nothingcall
unitdamagetargetbj(h8,getenumunit(),j8,attack_type_hero,damage_type_normal)
endfunctionfunction rb takes nothing returns nothingset ld=falsecall
setunitflyheightbj(h8,0.00,1000.00)call setunitinvulnerable(h8,false)call
enabletrigger(ww)call enabletrigger(xw)call enabletrigger(uw)call
enabletrigger(vw)call enabletrigger(sw)call enabletrigger(tw)call
enabletrigger(qw)call enabletrigger(rw)call enabletrigger(mw)call
enabletrigger(nw)call enabletrigger(ow)call enabletrigger(pw)call
enabletrigger(lw)call enabletrigger(jw)call enabletrigger(kw)call
enabletrigger(lw)call enabletrigger(fw)call enabletrigger(gw)call
enabletrigger(hw)call enabletrigger(iw)call unitremoveabilitybj(1097691750,h8)call
setunitpathing(h8,true)call
addspecialeffectlocbj(i8,"abilities\\spells\\orc\\warstomp\\warstompcaster.mdl")
call
addspecialeffectlocbj(i8,"abilities\\spells\\human\\thunderclap\\thunderclapcaster
.mdl")call forgroupbj(ka(k8,i8,condition(function pb)),function qb)call
pauseunitbj(false,h8)call triggersleepaction(0.60)call
destroyeffectbj(getlastcreatedeffectbj())call resetunitanimation(h8)endfunction
function sb takes nothing returns nothingset gj=createtrigger()call
triggeraddaction(gj,function rb)endfunctionfunction tb takes nothing returns
nothingcall setplayermaxheroesallowed(0,getenumplayer())endfunctionfunction ub
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1852666423)
endfunctionfunction vb takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1869636975)endfunctionfunction wb takes
nothing returns booleanreturn getbooleanand(ub(),vb())endfunctionfunction xb takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction yb takes
nothing returns booleanreturn(getunittypeid(getlastcreatedunit())==1211117652)
endfunctionfunction zb takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780939)endfunctionfunction db
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785970)endfunctionfunction eb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117877)endfunctionfunction fb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221448)endfunctionfunction gb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311781197)endfunctionfunction hb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118131)endfunctionfunction ib
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221447)endfunctionfunction jb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780945)endfunctionfunction kb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1328558134)endfunctionfunction mb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1316122466)endfunctionfunction nb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785974)endfunctionfunction ob
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction pb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118134)endfunctionfunction qb
takes nothing returns boolean
if(not(getplayercontroller(k4[getforloopindexa()])==map_control_user))thenreturn
falseendif
if(not(getplayerslotstate(k4[getforloopindexa()])==player_slot_state_playing))then
return falseendifreturn trueendfunctionfunction rb takes nothing returns nothing
set id=1call forforce(getplayersall(),function tb)call
displaytexttoforce(getplayersall(),"blind match chosen! you may only change
characters after everyone has received one.")call disabletrigger(xw)call
disabletrigger(yw)call disabletrigger(ij)call disabletrigger(kw)call
disabletrigger(nw)call disabletrigger(ow)call disabletrigger(pw)call
disabletrigger(qw)call disabletrigger(rw)call disabletrigger(sw)call
disabletrigger(tw)call disabletrigger(ww)call
disabletrigger(gettriggeringtrigger())set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexend
if(qb())thencall forgroupbj(ra(k4[getforloopindexa()],condition(function
wb)),function xb)set ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],k4[getforloopindexa()],getplayerstartlocationloc(k4
[getforloopindexa()]),bj_unit_facing)set lf[ad]=kfset kf=(kf-1)set
z8[getforloopindexa()]=1call
adjustplayerstatebj(750,k4[getforloopindexa()],player_state_resource_gold)
if(yb())thencall disabletrigger(kw)elsecall donothing()endifif(zb())thencall
disabletrigger(nw)elsecall donothing()endifif(db())thencall disabletrigger(ow)else
call donothing()endifif(eb())thencall disabletrigger(pw)elsecall donothing()endif
if(fb())thencall disabletrigger(qw)elsecall donothing()endifif(gb())thencall
disabletrigger(uw)elsecall donothing()endifif(hb())thencall disabletrigger(mw)else
call donothing()endifif(ib())thencall disabletrigger(rw)elsecall donothing()endif
if(jb())thencall disabletrigger(sw)elsecall donothing()endifif(kb())thencall
createnunitsatloc(1,1328558135,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(mb())thencall disabletrigger(st)
elsecall donothing()endifif(nb())thencall
createnunitsatloc(1,1160785973,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(ob())thencall
setplayerhandicapxpbj(k4[getforloopindexa()],90.00)elsecall donothing()endif
if(pb())thenset ee=getrandomint(1,3)elsecall donothing()endifcall playsoundbj(di)
set j4[getforloopindexa()]=getlastcreatedunit()call
pancameratotimedlocforplayer(k4[getforloopindexa()],getunitloc(getlastcreatedunit(
)),0)call selectunitforplayersingle(j4[getforloopindexa()],k4[getforloopindexa()])
call setplayerstatebj(k4[getforloopindexa()],player_state_resource_lumber,0)call
displaytimedtexttoforce(getplayersall(),8.00,((getheropropername(getlastcreateduni
t())+" has been randomed by
")+getplayername(getowningplayer(getlastcreatedunit()))))call uz(1.00)elseendifset
bj_forloopaindex=bj_forloopaindex+1endloopcall enabletrigger(yw)endfunction
function sb takes nothing returns nothingset hj=createtrigger()call
triggerregisterplayerchatevent(hj,player(0),"-bm",true)call
triggerregisterplayerchatevent(hj,player(0),"-blind match",true)call
triggeraddaction(hj,function rb)endfunctionfunction tb takes nothing returns
nothingcall setplayermaxheroesallowed(0,getenumplayer())endfunctionfunction ub
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1852666423)
endfunctionfunction vb takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1869636975)endfunctionfunction wb takes
nothing returns booleanreturn getbooleanand(ub(),vb())endfunctionfunction xb takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction yb takes
nothing returns booleanreturn(getunittypeid(getlastcreatedunit())==1211117652)
endfunctionfunction zb takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780939)endfunctionfunction ab
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785970)endfunctionfunction ab
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117877)endfunctionfunction bb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221448)endfunctionfunction bb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221447)endfunctionfunction cb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1316122466)endfunctionfunction cb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780945)endfunctionfunction db
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1328558134)endfunctionfunction eb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785974)endfunctionfunction fb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118134)endfunctionfunction gb
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction hb
takes nothing returns boolean
if(not(getplayercontroller(k4[getforloopindexa()])==map_control_user))thenreturn
falseendif
if(not(getplayerslotstate(k4[getforloopindexa()])==player_slot_state_playing))then
return falseendifreturn trueendfunctionfunction ib takes nothing returns nothing
set id=1call forforce(getplayersall(),function tb)call
displaytexttoforce(getplayersall(),"true blind match !!!")call disabletrigger(xw)
call disabletrigger(yw)call disabletrigger(ij)call disabletrigger(kw)call
disabletrigger(mw)call
disabletrigger(nw)call disabletrigger(ow)call disabletrigger(pw)call
disabletrigger(qw)call disabletrigger(rw)call disabletrigger(sw)call
disabletrigger(tw)call disabletrigger(uw)call disabletrigger(ww)call
disabletrigger(gettriggeringtrigger())set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexend
if(hb())thencall forgroupbj(ra(k4[getforloopindexa()],condition(function
wb)),function xb)set ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],k4[getforloopindexa()],getplayerstartlocationloc(k4
[getforloopindexa()]),bj_unit_facing)set lf[ad]=kfset kf=(kf-1)set
z8[getforloopindexa()]=1call
adjustplayerstatebj(750,k4[getforloopindexa()],player_state_resource_gold)
if(yb())thencall disabletrigger(kw)elsecall donothing()endifif(zb())thencall
disabletrigger(nw)elsecall donothing()endifif(ab())thencall disabletrigger(ow)else
call donothing()endifif(ab())thencall disabletrigger(pw)elsecall donothing()endif
if(bb())thencall disabletrigger(qw)elsecall donothing()endifif(bb())thencall
disabletrigger(rw)elsecall donothing()endifif(cb())thencall disabletrigger(st)else
call donothing()endifif(cb())thencall disabletrigger(sw)elsecall donothing()endif
if(db())thencall
createnunitsatloc(1,1328558135,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(eb())thencall
createnunitsatloc(1,1160785973,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(fb())thenset ee=getrandomint(1,3)
elsecall donothing()endifif(gb())thencall
setplayerhandicapxpbj(k4[getforloopindexa()],90.00)elsecall donothing()endifcall
playsoundbj(di)set j4[getforloopindexa()]=getlastcreatedunit()call
pancameratotimedlocforplayer(k4[getforloopindexa()],getunitloc(getlastcreatedunit(
)),0)call selectunitforplayersingle(j4[getforloopindexa()],k4[getforloopindexa()])
call setplayerstatebj(k4[getforloopindexa()],player_state_resource_lumber,0)call
displaytimedtexttoforce(getplayersall(),8.00,((getheropropername(getlastcreateduni
t())+" has been randomed by
")+getplayername(getowningplayer(getlastcreatedunit()))))call uz(1.00)elseendifset
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction lb takes nothing
returns nothingset ij=createtrigger()call
triggerregisterplayerchatevent(ij,player(0),"-true blind",true)call
triggerregisterplayerchatevent(ij,player(0),"-tb",true)call
triggeraddaction(ij,function ib)endfunctionfunction jb takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction kb takes
nothing returns nothingcall enabletrigger(cj)call
displaytexttoforce(wa(condition(function jb)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction lb takes
nothing returns nothingset jj=createtrigger()call
triggerregisterplayerchatevent(jj,player(0),"-zo",true)call
triggerregisterplayerchatevent(jj,player(0),"-zoomout",true)call
triggeraddaction(jj,function kb)endfunctionfunction mb takes nothing returns
nothingcall disabletrigger(cj)call resettogamecameraforplayer(player(0),1.00)
endfunctionfunction nb takes nothing returns nothingset kj=createtrigger()call
triggerregisterplayerchatevent(kj,player(0),"-zi",true)call
triggerregisterplayerchatevent(kj,player(0),"-zoomin",true)call
triggeraddaction(kj,function mb)endfunctionfunction ob takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction pb takes
nothing returns nothingcall enabletrigger(cj)call
displaytexttoforce(wa(condition(function ob)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction qb takes
nothing returns nothingset mj=createtrigger()call
triggerregisterplayerchatevent(mj,player(1),"-zo",true)call
triggerregisterplayerchatevent(mj,player(1),"-zoomout",true)call
triggeraddaction(mj,function pb)endfunctionfunction rb takes nothing returns
nothingcall disabletrigger(cj)call resettogamecameraforplayer(player(1),1.00)
endfunctionfunction sb takes nothing returns nothingset nj=createtrigger()call
triggerregisterplayerchatevent(nj,player(1),"-zi",true)call
triggerregisterplayerchatevent(nj,player(1),"-zoomin",true)call
triggeraddaction(nj,function rb)endfunctionfunction tb takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction ub takes
nothing returns nothingcall enabletrigger(dj)call
displaytexttoforce(wa(condition(function tb)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction vb takes
nothing returns nothingset oj=createtrigger()call
triggerregisterplayerchatevent(oj,player(2),"-zo",true)call
triggerregisterplayerchatevent(oj,player(2),"-zoomout",true)call
triggeraddaction(oj,function ub)endfunctionfunction wb takes nothing returns
nothingcall disabletrigger(dj)call resettogamecameraforplayer(player(2),1.00)
endfunctionfunction xb takes nothing returns nothingset pj=createtrigger()call
triggerregisterplayerchatevent(pj,player(2),"-zi",true)call
triggerregisterplayerchatevent(pj,player(2),"-zoomin",true)call
triggeraddaction(pj,function wb)endfunctionfunction yb takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction zb takes
nothing returns nothingcall enabletrigger(ej)call
displaytexttoforce(wa(condition(function yb)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction dc takes
nothing returns nothingset qj=createtrigger()call
triggerregisterplayerchatevent(qj,player(3),"-zo",true)call
triggerregisterplayerchatevent(qj,player(3),"-zoomout",true)call
triggeraddaction(qj,function zb)endfunctionfunction ec takes nothing returns
nothingcall disabletrigger(ej)call resettogamecameraforplayer(player(3),1.00)
endfunctionfunction fc takes nothing returns nothingset rj=createtrigger()call
triggerregisterplayerchatevent(rj,player(3),"-zi",true)call
triggerregisterplayerchatevent(rj,player(3),"-zoomin",true)call
triggeraddaction(rj,function ec)endfunctionfunction gc takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction hc takes
nothing returns nothingcall enabletrigger(fj)call
displaytexttoforce(wa(condition(function gc)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction ic takes
nothing returns nothingset sj=createtrigger()call
triggerregisterplayerchatevent(sj,player(4),"-zo",true)call
triggerregisterplayerchatevent(sj,player(4),"-zoomout",true)call
triggeraddaction(sj,function hc)endfunctionfunction jc takes nothing returns
nothingcall disabletrigger(fj)call resettogamecameraforplayer(player(4),1.00)
endfunctionfunction kc takes nothing returns nothingset tj=createtrigger()call
triggerregisterplayerchatevent(tj,player(4),"-zi",true)call
triggerregisterplayerchatevent(tj,player(4),"-zoomin",true)call
triggeraddaction(tj,function jc)endfunctionfunction mc takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction nc takes
nothing returns nothingcall enabletrigger(gj)call
displaytexttoforce(wa(condition(function mc)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction oc takes
nothing returns nothingset uj=createtrigger()call
triggerregisterplayerchatevent(uj,player(5),"-zo",true)call
triggerregisterplayerchatevent(uj,player(5),"-zoomout",true)call
triggeraddaction(uj,function nc)endfunctionfunction pc takes nothing returns
nothingcall disabletrigger(gj)call resettogamecameraforplayer(player(5),1.00)
endfunctionfunction qc takes nothing returns nothingset vj=createtrigger()call
triggerregisterplayerchatevent(vj,player(5),"-zi",true)call
triggerregisterplayerchatevent(vj,player(5),"-zoomin",true)call
triggeraddaction(vj,function pc)endfunctionfunction rc takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction sc takes
nothing returns nothingcall enabletrigger(hj)call
displaytexttoforce(wa(condition(function rc)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction tc takes
nothing returns nothingset wj=createtrigger()call
triggerregisterplayerchatevent(wj,player(6),"-zo",true)call
triggerregisterplayerchatevent(wj,player(6),"-zoomout",true)call
triggeraddaction(wj,function sc)endfunctionfunction uc takes nothing returns
nothingcall disabletrigger(hj)call resettogamecameraforplayer(player(6),1.00)
endfunctionfunction vc takes nothing returns nothingset xj=createtrigger()call
triggerregisterplayerchatevent(xj,player(6),"-zi",true)call
triggerregisterplayerchatevent(xj,player(6),"-zoomin",true)call
triggeraddaction(xj,function uc)endfunctionfunction wc takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction xc takes
nothing returns nothingcall enabletrigger(ij)call
displaytexttoforce(wa(condition(function wc)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction yc takes
nothing returns nothingset yj=createtrigger()call
triggerregisterplayerchatevent(yj,player(7),"-zo",true)call
triggerregisterplayerchatevent(yj,player(7),"-zoomout",true)call
triggeraddaction(yj,function xc)endfunctionfunction zc takes nothing returns
nothingcall disabletrigger(ij)call resettogamecameraforplayer(player(7),1.00)
endfunctionfunction ac takes nothing returns nothingset zj=createtrigger()call
triggerregisterplayerchatevent(zj,player(7),"-zi",true)call
triggerregisterplayerchatevent(zj,player(7),"-zoomin",true)call
triggeraddaction(zj,function
zc)endfunctionfunction ac takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction bc takes nothing
returns nothingcall enabletrigger(lj)call displaytexttoforce(wa(condition(function
ac)),"note: zooming out may cause lag in slower cpus as more visuals are shown at
a time.")endfunctionfunction bc takes nothing returns nothingset
aj=createtrigger()call triggerregisterplayerchatevent(aj,player(8),"-zo",true)call
triggerregisterplayerchatevent(aj,player(8),"-zoomout",true)call
triggeraddaction(aj,function bc)endfunctionfunction cc takes nothing returns
nothingcall disabletrigger(lj)call resettogamecameraforplayer(player(8),1.00)
endfunctionfunction cc takes nothing returns nothingset aj=createtrigger()call
triggerregisterplayerchatevent(aj,player(8),"-zi",true)call
triggerregisterplayerchatevent(aj,player(8),"-zoomin",true)call
triggeraddaction(aj,function cc)endfunctionfunction dc takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction ec takes
nothing returns nothingcall enabletrigger(jj)call
displaytexttoforce(wa(condition(function dc)),"note: zooming out may cause lag in
slower cpus as more visuals are shown at a time.")endfunctionfunction fc takes
nothing returns nothingset bj=createtrigger()call
triggerregisterplayerchatevent(bj,player(9),"-zo",true)call
triggerregisterplayerchatevent(bj,player(9),"-zoomout",true)call
triggeraddaction(bj,function ec)endfunctionfunction gc takes nothing returns
nothingcall disabletrigger(jj)call resettogamecameraforplayer(player(9),1.00)
endfunctionfunction hc takes nothing returns nothingset bj=createtrigger()call
triggerregisterplayerchatevent(bj,player(9),"-zi",true)call
triggerregisterplayerchatevent(bj,player(9),"-zoomin",true)call
triggeraddaction(bj,function gc)endfunctionfunction ic takes nothing returns
nothingcall
setcamerafieldforplayer(player(0),camera_field_target_distance,3000.00,1.00)
endfunctionfunction lc takes nothing returns nothingset cj=createtrigger()call
disabletrigger(cj)call triggerregistertimereventperiodic(cj,0.50)call
triggeraddaction(cj,function ic)endfunctionfunction jc takes nothing returns
nothingcall
setcamerafieldforplayer(player(1),camera_field_target_distance,3000.00,1.00)
endfunctionfunction kc takes nothing returns nothingset cj=createtrigger()call
disabletrigger(cj)call triggerregistertimereventperiodic(cj,0.50)call
triggeraddaction(cj,function jc)endfunctionfunction lc takes nothing returns
nothingcall
setcamerafieldforplayer(player(2),camera_field_target_distance,3000.00,1.00)
endfunctionfunction mc takes nothing returns nothingset dj=createtrigger()call
disabletrigger(dj)call triggerregistertimereventperiodic(dj,0.50)call
triggeraddaction(dj,function lc)endfunctionfunction nc takes nothing returns
nothingcall
setcamerafieldforplayer(player(3),camera_field_target_distance,3000.00,1.00)
endfunctionfunction oc takes nothing returns nothingset ej=createtrigger()call
disabletrigger(ej)call triggerregistertimereventperiodic(ej,0.50)call
triggeraddaction(ej,function nc)endfunctionfunction pc takes nothing returns
nothingcall
setcamerafieldforplayer(player(4),camera_field_target_distance,3000.00,1.00)
endfunctionfunction qc takes nothing returns nothingset fj=createtrigger()call
disabletrigger(fj)call triggerregistertimereventperiodic(fj,0.50)call
triggeraddaction(fj,function pc)endfunctionfunction rc takes nothing returns
nothingcall
setcamerafieldforplayer(player(5),camera_field_target_distance,3000.00,1.00)
endfunctionfunction sc takes nothing returns nothingset gj=createtrigger()call
disabletrigger(gj)call triggerregistertimereventperiodic(gj,0.50)call
triggeraddaction(gj,function rc)endfunctionfunction tc takes nothing returns
nothingcall
setcamerafieldforplayer(player(6),camera_field_target_distance,3000.00,1.00)
endfunctionfunction uc takes nothing returns nothingset hj=createtrigger()call
disabletrigger(hj)call triggerregistertimereventperiodic(hj,0.50)call
triggeraddaction(hj,function tc)endfunctionfunction vc takes nothing returns
nothingcall
setcamerafieldforplayer(player(7),camera_field_target_distance,3000.00,1.00)
endfunctionfunction wc takes nothing returns nothingset ij=createtrigger()call
disabletrigger(ij)call triggerregistertimereventperiodic(ij,0.50)call
triggeraddaction(ij,function vc)endfunctionfunction xc takes nothing returns
nothingcall
setcamerafieldforplayer(player(8),camera_field_target_distance,3000.00,1.00)
endfunctionfunction yc takes nothing returns nothingset lj=createtrigger()call
disabletrigger(lj)call triggerregistertimereventperiodic(lj,0.50)call
triggeraddaction(lj,function xc)endfunctionfunction zc takes nothing returns
nothingcall
setcamerafieldforplayer(player(9),camera_field_target_distance,3000.00,1.00)
endfunctionfunction dc takes nothing returns nothingset jj=createtrigger()call
disabletrigger(jj)call triggerregistertimereventperiodic(jj,0.50)call
triggeraddaction(jj,function zc)endfunctionfunction ec takes nothing returns
booleanif(not(b7>=60))thenreturn falseendifreturn trueendfunctionfunction fc takes
nothing returns booleanif(not(a7>=60))thenreturn falseendifreturn trueendfunction
function gc takes nothing returns nothingset b7=(b7+1)call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,17,i2s(b7))if(ec())thenset
b7=0call multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,17,i2s(b7))set
a7=(a7+1)call multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,17,i2s(a7))
elseendifif(fc())thenset a7=0call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,17,i2s(a7))set a7=(a7+1)call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,17,i2s(a7))elseendif
endfunctionfunction hc takes nothing returns nothingset kj=createtrigger()call
triggerregistertimereventperiodic(kj,1.00)call triggeraddaction(kj,function gc)
endfunctionfunction ic takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(10))endfunctionfunction jc
takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(11))endfunctionfunction kc
takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive))
endfunctionfunction mc takes nothing returns booleanreturn
getbooleanand(jc(),kc())endfunctionfunction nc takes nothing returns boolean
return(getowningplayer(getdyingunit())!=player(10))endfunctionfunction oc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())!=player(11))
endfunctionfunction pc takes nothing returns boolean
return(getowningplayer(getdyingunit())!=player(player_neutral_aggressive))
endfunctionfunction qc takes nothing returns booleanreturn
getbooleanand(oc(),pc())endfunctionfunction rc takes nothing returns boolean
if(not(x==0))thenreturn falseendifif(not getbooleanand(ic(),mc()))thenreturn false
endifif(not getbooleanand(nc(),qc()))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1164666213))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1160785988))thenreturn falseendif
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
return trueendfunctionfunction sc takes nothing returns nothingset x=1call
adjustplayerstatebj(150,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(oi)call
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has drawn |cffff0000first blood|r! a bonus of 150 gold is given."))call
disabletrigger(gettriggeringtrigger())call disabletrigger(mj)endfunctionfunction
tc takes nothing returns nothingset lj=createtrigger()call
triggerregisteranyuniteventbj(lj,event_player_unit_death)call
triggeraddcondition(lj,condition(function rc))call triggeraddaction(lj,function
sc)endfunctionfunction uc takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(10))endfunctionfunction vc
takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(11))endfunctionfunction wc
takes nothing returns boolean
return(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive))
endfunctionfunction xc takes nothing returns booleanreturn
getbooleanand(vc(),wc())endfunctionfunction yc takes nothing returns boolean
return(getowningplayer(getdyingunit())!=player(10))endfunctionfunction zc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())!=player(11))
endfunctionfunction ac takes nothing returns boolean
return(getowningplayer(getdyingunit())!=player(player_neutral_aggressive))
endfunctionfunction ac takes nothing returns booleanreturn
getbooleanand(zc(),ac())endfunctionfunction bc takes nothing returns boolean
if(not(x==0))thenreturn falseendifif(not getbooleanand(uc(),xc()))thenreturn false
endifif(not getbooleanand(yc(),ac()))thenreturn falseendif
if(not(getunittypeid(getdyingunit())==1160785988))thenreturn falseendifreturn true
endfunctionfunction bc takes nothing returns nothingset x=1call
adjustplayerstatebj(150,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(oi)call
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has drawn |cffff0000first blood|r! a bonus of 150 gold is given."))call
disabletrigger(gettriggeringtrigger())call disabletrigger(lj)endfunctionfunction
cc takes nothing returns nothingset mj=createtrigger()call
triggerregisteranyuniteventbj(mj,event_player_unit_death)call
triggeraddcondition(mj,condition(function bc))call triggeraddaction(mj,function
bc)endfunctionfunction cc takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(10))endfunctionfunction dc
takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(11))endfunctionfunction
ec takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(player_neutral_aggressive))
endfunctionfunction fc takes nothing returns booleanreturn getbooleanor(dc(),ec())
endfunctionfunction gc takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not getbooleanor(cc(),fc()))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1164666213))thenreturn falseendifreturn true
endfunctionfunction hc takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(0))endfunctionfunction ic takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(1))
endfunctionfunction lc takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(2))endfunctionfunction jc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(3))
endfunctionfunction kc takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(4))endfunctionfunction lc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(5))
endfunctionfunction mc takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(6))endfunctionfunction nc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(7))
endfunctionfunction oc takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(8))endfunctionfunction pc takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(9))
endfunctionfunction qc takes nothing returns nothingcall
displaytexttoforce(getplayersall(),("a foolish death! "+(("|
cff995500"+(getplayername(getowningplayer(getdyingunit()))+"|r"))+" will pay
additional 100 gold for it!")))set
w[getconvertedplayerid(getowningplayer(getdyingunit()))]=(w[getconvertedplayerid(g
etowningplayer(getdyingunit()))]+1)if(hc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,2,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(ic())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,3,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(lc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,4,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(jc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,5,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(kc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,6,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(lc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,8,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(mc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,9,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(nc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,10,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(oc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,11,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(pc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,12,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifset
y[getconvertedplayerid(getowningplayer(getdyingunit()))]=0call
adjustplayerstatebj(-
100,getowningplayer(getdyingunit()),player_state_resource_gold)endfunctionfunction
rc takes nothing returns nothingset nj=createtrigger()call
triggerregisteranyuniteventbj(nj,event_player_unit_death)call
triggeraddcondition(nj,condition(function gc))call triggeraddaction(nj,function
qc)endfunctionfunction sc takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive)))the
nreturn falseendifif(not(getowningplayer(getkillingunitbj())!=player(11)))then
return falseendifif(not(getowningplayer(getkillingunitbj())!=player(10)))then
return falseendifif(not(getunittypeid(getdyingunit())!=1164666213))thenreturn
falseendifreturn trueendfunctionfunction tc takes nothing returns boolean
return(getowningplayer(getdyingunit())==getenumplayer())endfunctionfunction uc
takes nothing returns nothingif(tc())thencall
displaytexttoforce(getplayersall(),("team kill!
"+(getplayername(getowningplayer(getkillingunitbj()))+" will pay |cffffcc00750
gold|r for that!")))elsecall donothing()endifendfunctionfunction vc takes nothing
returns booleanreturn(getowningplayer(getdyingunit())==getenumplayer())endfunction
function wc takes nothing returns nothingif(vc())thencall adjustplayerstatebj(-
750,getowningplayer(getkillingunitbj()),player_state_resource_gold)elsecall
donothing()endifendfunctionfunction xc takes nothing returns boolean
return(getowningplayer(getdyingunit())==getenumplayer())endfunctionfunction yc
takes nothing returns nothingif(xc())thenset e=1elsecall donothing()endif
endfunctionfunction zc takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(0))endfunctionfunction dd takes
nothing returns booleanreturn(getowningplayer(getkillingunitbj())==player(1))
endfunctionfunction ed takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(2))endfunctionfunction fd takes
nothing returns booleanreturn(getowningplayer(getkillingunitbj())==player(3))
endfunctionfunction gd takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(4))endfunctionfunction hd takes
nothing returns booleanreturn(getowningplayer(getkillingunitbj())==player(5))
endfunctionfunction id takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(6))endfunctionfunction jd takes
nothing returns booleanreturn(getowningplayer(getkillingunitbj())==player(7))
endfunctionfunction kd takes nothing returns boolean
return(getowningplayer(getkillingunitbj())==player(8))endfunctionfunction md takes
nothing returns booleanreturn(getowningplayer(getkillingunitbj())==player(9))
endfunctionfunction nd takes nothing returns nothingset e=0call
forforce(ua(getowningplayer(getkillingunitbj())),function uc)call
forforce(ua(getowningplayer(getkillingunitbj())),function wc)call
forforce(ua(getowningplayer(getkillingunitbj())),function yc)set
c[getconvertedplayerid(getowningplayer(getkillingunitbj()))]=(c[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+1)if(zc())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,2,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(dd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,3,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(ed())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,4,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(fd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,5,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(gd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,6,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(hd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,8,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(id())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,9,i2s((c[getconvertedplayeri
d(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(jd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,10,i2s((c[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(kd())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,11,i2s((c[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifif(md())then
call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,12,i2s((c[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+0)))elsecall donothing()endifendfunction
function od takes nothing returns nothingset oj=createtrigger()call
triggerregisteranyuniteventbj(oj,event_player_unit_death)call
triggeraddcondition(oj,condition(function sc))call triggeraddaction(oj,function
nd)endfunctionfunction pd takes nothing returns boolean
return(getplayercontroller(player(0))==map_control_user)endfunctionfunction qd
takes nothing returns boolean
return(getplayerslotstate(player(0))==player_slot_state_playing)endfunction
function rd takes nothing returns booleanif(not getbooleanand(pd(),qd()))then
return falseendifreturn trueendfunctionfunction sd takes nothing returns boolean
return(getplayercontroller(player(1))==map_control_user)endfunctionfunction td
takes nothing returns boolean
return(getplayerslotstate(player(1))==player_slot_state_playing)endfunction
function ud takes nothing returns booleanif(not getbooleanand(sd(),td()))then
return falseendifreturn trueendfunctionfunction vd takes nothing returns boolean
return(getplayercontroller(player(2))==map_control_user)endfunctionfunction wd
takes nothing returns boolean
return(getplayerslotstate(player(2))==player_slot_state_playing)endfunction
function xd takes nothing returns booleanif(not getbooleanand(vd(),wd()))then
return falseendifreturn trueendfunctionfunction yd takes nothing returns boolean
return(getplayercontroller(player(3))==map_control_user)endfunctionfunction
zd takes nothing returns boolean
return(getplayerslotstate(player(3))==player_slot_state_playing)endfunction
function ad takes nothing returns booleanif(not getbooleanand(yd(),zd()))then
return falseendifreturn trueendfunctionfunction ad takes nothing returns boolean
return(getplayercontroller(player(4))==map_control_user)endfunctionfunction bd
takes nothing returns boolean
return(getplayerslotstate(player(4))==player_slot_state_playing)endfunction
function bd takes nothing returns booleanif(not getbooleanand(ad(),bd()))then
return falseendifreturn trueendfunctionfunction cd takes nothing returns boolean
return(getplayercontroller(player(5))==map_control_user)endfunctionfunction cd
takes nothing returns boolean
return(getplayerslotstate(player(5))==player_slot_state_playing)endfunction
function dd takes nothing returns booleanif(not getbooleanand(cd(),cd()))then
return falseendifreturn trueendfunctionfunction ed takes nothing returns boolean
return(getplayercontroller(player(6))==map_control_user)endfunctionfunction fd
takes nothing returns boolean
return(getplayerslotstate(player(6))==player_slot_state_playing)endfunction
function gd takes nothing returns booleanif(not getbooleanand(ed(),fd()))then
return falseendifreturn trueendfunctionfunction hd takes nothing returns boolean
return(getplayercontroller(player(7))==map_control_user)endfunctionfunction id
takes nothing returns boolean
return(getplayerslotstate(player(7))==player_slot_state_playing)endfunction
function ld takes nothing returns booleanif(not getbooleanand(hd(),id()))then
return falseendifreturn trueendfunctionfunction jd takes nothing returns boolean
return(getplayercontroller(player(8))==map_control_user)endfunctionfunction kd
takes nothing returns boolean
return(getplayerslotstate(player(8))==player_slot_state_playing)endfunction
function ld takes nothing returns booleanif(not getbooleanand(jd(),kd()))then
return falseendifreturn trueendfunctionfunction md takes nothing returns boolean
return(getplayercontroller(player(9))==map_control_user)endfunctionfunction nd
takes nothing returns boolean
return(getplayerslotstate(player(9))==player_slot_state_playing)endfunction
function od takes nothing returns booleanif(not getbooleanand(md(),nd()))then
return falseendifreturn trueendfunctionfunction pd takes nothing returns nothing
call triggersleepaction(1.00)call createmultiboardbj(3,17,"the shinobi war score
chart:")call multiboarddisplaybj(true,getlastcreatedmultiboard())if(rd())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,2,getplayername(player(0)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,2,"----------")
endifif(ud())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,3,getplayername(player(1)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,3,"----------")
endifif(xd())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,4,getplayername(player(2)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,4,"----------")
endifif(ad())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,5,getplayername(player(3)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,5,"----------")
endifif(bd())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,6,getplayername(player(4)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,6,"----------")
endifif(dd())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,8,getplayername(player(5)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,8,"----------")
endifif(gd())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,9,getplayername(player(6)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,9,"----------")
endifif(ld())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,10,getplayername(player(7)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,10,"----------")
endifif(ld())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,11,getplayername(player(8)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,11,"----------")
endifif(od())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,12,getplayername(player(9)))
elsecall multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,12,"----------")
endifcall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,7,"===================")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,13,"defenders :----------")
call multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,14,"konoha")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,15,"sound")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,16,"hour :")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,0,"0")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,14,"trigstr_8405")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,15,"-")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,13,"-")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,0,"0")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,13,"left :")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,1,"name: ")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,1,"kills :")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,1,"deaths :")call
multiboardsetitemstylebj(getlastcreatedmultiboard(),0,0,true,false)call
multiboardsetitemwidthbj(getlastcreatedmultiboard(),1,0,12.00)call
multiboardsetitemwidthbj(getlastcreatedmultiboard(),2,0,5.00)call
multiboardsetitemwidthbj(getlastcreatedmultiboard(),3,0,5.00)call
multiboardsettitletextcolorbj(getlastcreatedmultiboard(),80.00,15.00,15.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),0,1,50.00,50.00,50.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,2,100.00,20.00,20.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,3,20.00,20.00,100.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,4,5.00,80.00,60.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,5,80.00,5.00,80.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,6,80.00,80.00,5.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,8,100.00,60.00,0.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,9,35.00,100.00,35.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,10,100.00,70.00,70.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,11,30.00,30.00,30.00,0)call
multiboardsetitemcolorbj(getlastcreatedmultiboard(),1,12,60.00,60.00,100.00,0)call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,15,i2s((countlivingplayeruni
tsoftypeid(1747988567,player(11))+countlivingplayerunitsoftypeid(1747988819,player
(11)))))call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,14,i2s((countlivingplayeruni
tsoftypeid(1752395892,player(10))+countlivingplayerunitsoftypeid(1747988818,player
(10)))))call multiboardsetitemvaluebj(getlastcreatedmultiboard(),2,16,"minutes:")
call multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,16,"seconds:")call
multiboardsetitemvaluebj(getlastcreatedmultiboard(),1,17,"0")endfunctionfunction
qd takes nothing returns nothingset pj=createtrigger()call
triggerregistertimereventsingle(pj,1.00)call triggeraddaction(pj,function pd)
endfunctionfunction rd takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(getunittypeid(getdyingunit())==1164666213))thenreturn falseendifreturn true
endfunctionfunction sd takes nothing returns nothingcall
selectunitforplayersingle(getenumunit(),getowningplayer(getdyingunit()))
endfunctionfunction td takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681491,ye)==1))thenreturn falseendifreturn
trueendfunctionfunction ud takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681491,ye)==2))thenreturn falseendifreturn
trueendfunctionfunction vd takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681491,ye)==3))thenreturn falseendifreturn
trueendfunctionfunction wd takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681491,ye)==4))thenreturn falseendifreturn
trueendfunctionfunction xd takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785988,getowningplayer(ye))==0)
endfunctionfunction yd takes nothing returns nothingcall
reviveheroloc(ye,getunitloc(getenumunit()),false)endfunctionfunction zd takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction de takes
nothing returns nothingset ye=getdyingunit()set ef=getunitlevel(ye)call
createnunitsatloc(1,1160785988,getowningplayer(getdyingunit()),getunitloc(getdying
unit()),bj_unit_facing)set ff=getlastcreatedunit()call
forgroupbj(pa(1160785988),function sd)call setherolevelbj(ff,ef,false)if(td())then
set df=47.00call unitaddabilitybj(1093681492,ff)call
setunitabilitylevelswapped(1093681492,ff,1)elseendifif(ud())thenset df=38.00call
unitaddabilitybj(1093681492,ff)call setunitabilitylevelswapped(1093681492,ff,2)
elseendifif(vd())thenset df=29.00call unitaddabilitybj(1093681492,ff)call
setunitabilitylevelswapped(1093681492,ff,3)elseendifif(wd())thenset df=20.00call
unitaddabilitybj(1093681492,ff)call setunitabilitylevelswapped(1093681492,ff,4)
elseendifcall
addspecialeffectlocbj(getunitloc(getdyingunit()),"abilities\\spells\\other\\stampe
de\\stampedemissiledeath.mdl")call uz(1.00)call
destroyeffectbj(getlastcreatedeffectbj())call uz(df)if(xd())thenreturnelsecall
donothing()endifcall forgroupbj(pa(1160785988),function yd)call
selectunitforplayersingle(j4[getconvertedplayerid(getowningplayer(getdyingunit()))
],getowningplayer(getdyingunit()))call forgroupbj(pa(1160785988),function
zd)call
addspecialeffectlocbj(getunitloc(getdyingunit()),"abilities\\spells\\other\\stampe
de\\stampedemissiledeath.mdl")call uz(1.00)call
destroyeffectbj(getlastcreatedeffectbj())endfunctionfunction ee takes nothing
returns nothingset qj=createtrigger()call
triggerregisteranyuniteventbj(qj,event_player_unit_death)call
triggeraddcondition(qj,condition(function rd))call triggeraddaction(qj,function
de)endfunctionfunction fe takes nothing returns boolean
return(getplayercontroller(player(0))==map_control_user)endfunctionfunction ge
takes nothing returns booleanreturn(timergetremaining(k[1])>=2.00)endfunction
function he takes nothing returns booleanreturn getbooleanand(fe(),ge())
endfunctionfunction ie takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction je takes nothing
returns booleanreturn(getplayercontroller(player(1))==map_control_user)endfunction
function ke takes nothing returns booleanreturn(timergetremaining(k[2])>=2.00)
endfunctionfunction me takes nothing returns booleanreturn
getbooleanand(je(),ke())endfunctionfunction ne takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction oe takes nothing
returns booleanreturn(getplayercontroller(player(2))==map_control_user)endfunction
function pe takes nothing returns booleanreturn(timergetremaining(k[3])>=2.00)
endfunctionfunction qe takes nothing returns booleanreturn
getbooleanand(oe(),pe())endfunctionfunction re takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction se takes nothing
returns booleanreturn(getplayercontroller(player(3))==map_control_user)endfunction
function te takes nothing returns booleanreturn(timergetremaining(k[4])>=2.00)
endfunctionfunction ue takes nothing returns booleanreturn
getbooleanand(se(),te())endfunctionfunction ve takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction we takes nothing
returns booleanreturn(getplayercontroller(player(4))==map_control_user)endfunction
function xe takes nothing returns booleanreturn(timergetremaining(k[5])>=2.00)
endfunctionfunction ye takes nothing returns booleanreturn
getbooleanand(we(),xe())endfunctionfunction ze takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ae takes nothing
returns booleanreturn(getplayercontroller(player(5))==map_control_user)endfunction
function ae takes nothing returns booleanreturn(timergetremaining(k[6])>=2.00)
endfunctionfunction be takes nothing returns booleanreturn
getbooleanand(ae(),ae())endfunctionfunction be takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ce takes nothing
returns booleanreturn(getplayercontroller(player(6))==map_control_user)endfunction
function ce takes nothing returns booleanreturn(timergetremaining(k[7])>=2.00)
endfunctionfunction de takes nothing returns booleanreturn
getbooleanand(ce(),ce())endfunctionfunction ee takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction fe takes nothing
returns booleanreturn(getplayercontroller(player(7))==map_control_user)endfunction
function ge takes nothing returns booleanreturn(timergetremaining(k[8])>=2.00)
endfunctionfunction he takes nothing returns booleanreturn
getbooleanand(fe(),ge())endfunctionfunction ie takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction le takes nothing
returns booleanreturn(getplayercontroller(player(8))==map_control_user)endfunction
function je takes nothing returns booleanreturn(timergetremaining(k[9])>=2.00)
endfunctionfunction ke takes nothing returns booleanreturn
getbooleanand(le(),je())endfunctionfunction le takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction me takes nothing
returns booleanreturn(getplayercontroller(player(9))==map_control_user)endfunction
function ne takes nothing returns booleanreturn(timergetremaining(k[10])>=2.00)
endfunctionfunction oe takes nothing returns booleanreturn
getbooleanand(me(),ne())endfunctionfunction pe takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction qe takes nothing
returns nothingcall displaytexttoforce(ua(gettriggerplayer()),"ninja death revival
time:")if(he())thencall displaytexttoforce(wa(condition(function ie)),("red:
"+r2s(timergetremaining(k[1]))))elsecall donothing()endifif(me())thencall
displaytexttoforce(wa(condition(function ne)),("blue:
"+r2s(timergetremaining(k[2]))))elsecall donothing()endifif(qe())thencall
displaytexttoforce(wa(condition(function re)),("teal:
"+r2s(timergetremaining(k[3]))))elsecall donothing()endifif(ue())thencall
displaytexttoforce(wa(condition(function ve)),("magenta:
"+r2s(timergetremaining(k[4]))))elsecall donothing()endifif(ye())thencall
displaytexttoforce(wa(condition(function ze)),("yellow:
"+r2s(timergetremaining(k[5]))))elsecall donothing()endifif(be())thencall
displaytexttoforce(wa(condition(function be)),("orange:
"+r2s(timergetremaining(k[6]))))elsecall donothing()endifif(de())thencall
displaytexttoforce(wa(condition(function ee)),("emerald:
"+r2s(timergetremaining(k[7]))))elsecall donothing()endifif(he())thencall
displaytexttoforce(wa(condition(function ie)),("pink:
"+r2s(timergetremaining(k[8]))))elsecall donothing()endifif(ke())thencall
displaytexttoforce(wa(condition(function le)),("grey:
"+r2s(timergetremaining(k[9]))))elsecall donothing()endifif(oe())thencall
displaytexttoforce(wa(condition(function pe)),("cyan:
"+r2s(timergetremaining(k[10]))))elsecall donothing()endifendfunctionfunction re
takes nothing returns nothingset rj=createtrigger()call
triggerregisterplayerchatevent(rj,player(0),"-death",true)call
triggerregisterplayerchatevent(rj,player(1),"-death",true)call
triggerregisterplayerchatevent(rj,player(2),"-death",true)call
triggerregisterplayerchatevent(rj,player(3),"-death",true)call
triggerregisterplayerchatevent(rj,player(4),"-death",true)call
triggerregisterplayerchatevent(rj,player(5),"-death",true)call
triggerregisterplayerchatevent(rj,player(6),"-death",true)call
triggerregisterplayerchatevent(rj,player(7),"-death",true)call
triggerregisterplayerchatevent(rj,player(8),"-death",true)call
triggerregisterplayerchatevent(rj,player(9),"-death",true)call
triggeraddaction(rj,function qe)endfunctionfunction se takes nothing returns
booleanif(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn false
endifif(not(getunittypeid(getdyingunit())!=1160785988))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1311780915))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1211118130))thenreturn falseendif
if(not(getunittypeid(getdyingunit())!=1164666213))thenreturn falseendifreturn true
endfunctionfunction te takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction ue takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction ve takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction we takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction xe takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1316252014))thenreturn falseendifreturn true
endfunctionfunction ye takes nothing returns boolean
return(d[getconvertedplayerid(getowningplayer(getdyingunit()))]>151)endfunction
function ze takes nothing returns boolean
return(getunittypeid(getdyingunit())!=1328558135)endfunctionfunction d3 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())!=1160785973)
endfunctionfunction e3 takes nothing returns booleanif(not
getbooleanand(ze(),d3()))thenreturn falseendifreturn trueendfunctionfunction f3
takes nothing returns booleanreturn(getowningplayer(getdyingunit())==player(0))
endfunctionfunction g3 takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(1))endfunctionfunction h3 takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(2))
endfunctionfunction i3 takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(3))endfunctionfunction j3 takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(4))
endfunctionfunction k3 takes nothing returns booleanreturn getbooleanor(i3(),j3())
endfunctionfunction m3 takes nothing returns booleanreturn getbooleanor(h3(),k3())
endfunctionfunction n3 takes nothing returns booleanreturn getbooleanor(g3(),m3())
endfunctionfunction o3 takes nothing returns booleanreturn getbooleanor(f3(),n3())
endfunctionfunction p3 takes nothing returns nothingif(xe())thencall
forgroupbj(sa(getowningplayer(getdyingunit()),1865429066),function te)call
forgroupbj(sa(getowningplayer(getdyingunit()),1865429067),function ue)call
forgroupbj(sa(getowningplayer(getdyingunit()),1865429068),function ve)call
forgroupbj(sa(getowningplayer(getdyingunit()),1865429069),function we)elseendifset
d[getconvertedplayerid(getowningplayer(getdyingunit()))]=(getherolevel(getdyinguni
t())*4)set q[getconvertedplayerid(getowningplayer(getdyingunit()))]=getdyingunit()
if(ye())thenset d[getconvertedplayerid(getowningplayer(getdyingunit()))]=151else
call donothing()endifcall
displaytexttoforce(getplayersall(),(getheropropername(getdyingunit())+(" has
fallen and will return after
"+(i2s(d[getconvertedplayerid(getowningplayer(getdyingunit()))])+" seconds..."))))
call
starttimerbj(k[getconvertedplayerid(getowningplayer(getdyingunit()))],false,i2r(d[
getconvertedplayerid(getowningplayer(getdyingunit()))]))if(e3())thencall
createtimerdialogbj(getlastcreatedtimerbj(),getheropropername(getdyingunit()))else
endifset
l[getconvertedplayerid(getowningplayer(getdyingunit()))]=getlastcreatedtimerdialog
bj()call
timerdialogdisplayforplayerbj(true,l[getconvertedplayerid(getowningplayer(getdyin
gunit()))],getowningplayer(getdyingunit()))call adjustplayerstatebj(-
250,getowningplayer(getdyingunit()),player_state_resource_gold)call
uz(i2r(d[getconvertedplayerid(getowningplayer(getdyingunit()))]))if(o3())thencall
reviveheroloc(getdyingunit(),getrandomlocinrect(cg),true)elsecall
reviveheroloc(getdyingunit(),getrandomlocinrect(dg),true)endifcall
destroytimerdialogbj(l[getconvertedplayerid(getowningplayer(getdyingunit()))])call
selectunitforplayersingle(j4[getconvertedplayerid(getowningplayer(getdyingunit()))
],getowningplayer(getdyingunit()))call
pancameratotimedlocforplayer(getowningplayer(getdyingunit()),getunitloc(j4[getconv
ertedplayerid(getowningplayer(getdyingunit()))]),0)endfunctionfunction q3 takes
nothing returns nothingset sj=createtrigger()call
triggerregisteranyuniteventbj(sj,event_player_unit_death)call
triggeraddcondition(sj,condition(function se))call triggeraddaction(sj,function
p3)endfunctionfunction r3 takes nothing returns boolean
if(not(d[getconvertedplayerid(gettriggerplayer())]>=2))thenreturn falseendif
if(not(isunitdeadbj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction s3 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction t3 takes nothing
returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1164666213))th
enreturn falseendifreturn trueendfunctionfunction u3 takes nothing returns boolean
return(e>1800)endfunctionfunction v3 takes nothing returns booleanreturn(m>=e)
endfunctionfunction w3 takes nothing returns booleanreturn(m>=e)endfunction
function x3 takes nothing returns booleanreturn(m>=e)endfunctionfunction y3 takes
nothing returns booleanreturn(m>=e)endfunctionfunction z3 takes nothing returns
booleanreturn(m>=e)endfunctionfunction a3 takes nothing returns boolean
return(m>=e)endfunctionfunction a3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(0))
endfunctionfunction b3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(1))
endfunctionfunction b3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(2))
endfunctionfunction c3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(3))
endfunctionfunction c3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(4))
endfunctionfunction d3 takes nothing returns booleanreturn getbooleanor(c3(),c3())
endfunctionfunction e3 takes nothing returns booleanreturn getbooleanor(b3(),d3())
endfunctionfunction f3 takes nothing returns booleanreturn getbooleanor(b3(),e3())
endfunctionfunction g3 takes nothing returns booleanreturn getbooleanor(a3(),f3())
endfunctionfunction h3 takes nothing returns nothingif(t3())thencall
displaytexttoforce(wa(condition(function s3)),"orochimaru follows the forbidden
path !!! he cannot use -revive like normal shinobi can !!!")returnelseendifset
m=getplayerstate(gettriggerplayer(),player_state_resource_gold)set
e=(d[getconvertedplayerid(gettriggerplayer())]*15)if(u3())thenset e=1800elsecall
donothing()endifset n=(0-e)if(v3())thencall
adjustplayerstatebj(n,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(w3())thencall
displaytexttoforce(getplayersall(),(getplayername(gettriggerplayer())+(" has paid
"+(i2s(e)+" gold to bring back his shinobi instantly!"))))elsecall donothing()
endifif(x3())thenset d[getconvertedplayerid(gettriggerplayer())]=0elsecall
donothing()endifif(y3())thencall
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])elsecall
donothing()endifif(z3())thencall
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])elsecall
donothing()endifif(a3())thencall donothing()elsereturnendifif(g3())thencall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(cg),t
rue)elsecall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(dg),t
rue)endifcall
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(j4[getconvertedplayerid
(gettriggerplayer())]),0)endfunctionfunction i3 takes nothing returns nothingset
tj=createtrigger()call triggerregisterplayerchatevent(tj,player(0),"-revive",true)
call triggerregisterplayerchatevent(tj,player(1),"-revive",true)call
triggerregisterplayerchatevent(tj,player(2),"-revive",true)call
triggerregisterplayerchatevent(tj,player(3),"-revive",true)call
triggerregisterplayerchatevent(tj,player(4),"-revive",true)call
triggerregisterplayerchatevent(tj,player(5),"-revive",true)call
triggerregisterplayerchatevent(tj,player(6),"-revive",true)call
triggerregisterplayerchatevent(tj,player(7),"-revive",true)call
triggerregisterplayerchatevent(tj,player(8),"-revive",true)call
triggerregisterplayerchatevent(tj,player(9),"-revive",true)call
triggeraddcondition(tj,condition(function r3))call triggeraddaction(tj,function
h3)endfunctionfunction l3 takes nothing returns boolean
if(not(d[getconvertedplayerid(gettriggerplayer())]>=2))thenreturn falseendif
if(not(isunitdeadbj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendif
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1316122466))th
enreturn falseendifif(not(ie>0))thenreturn falseendifreturn trueendfunction
function j3 takes nothing returns booleanreturn(ie>0)endfunctionfunction k3 takes
nothing returns booleanreturn(ie>0)endfunctionfunction l3 takes nothing returns
booleanreturn(ie>0)endfunctionfunction m3 takes nothing returns boolean
return(ie>0)endfunctionfunction n3 takes nothing returns booleanreturn(ie>0)
endfunctionfunction o3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(0))
endfunctionfunction p3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(1))
endfunctionfunction q3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(2))
endfunctionfunction r3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(3))
endfunctionfunction s3 takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(gettriggerplayer())])==player(4))
endfunctionfunction t3 takes nothing returns booleanreturn getbooleanor(r3(),s3())
endfunctionfunction u3 takes nothing returns booleanreturn getbooleanor(q3(),t3())
endfunctionfunction v3 takes nothing returns booleanreturn getbooleanor(p3(),u3())
endfunctionfunction w3 takes nothing returns booleanreturn getbooleanor(o3(),v3())
endfunctionfunction x3 takes nothing returns nothingif(j3())thencall
displaytexttoforce(getplayersall(),(getplayername(gettriggerplayer())+(" has "+"
returned from the dead ! he will not be defeated so easily !")))elsecall
donothing()endifif(k3())thenset d[getconvertedplayerid(gettriggerplayer())]=0else
call donothing()endifif(l3())thencall
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])elsecall
donothing()endifif(m3())thencall
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])elsecall
donothing()endifif(n3())thencall donothing()elsereturnendifif(w3())thencall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(cg),t
rue)elsecall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(dg),t
rue)endifset ie=(ie-1)call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(j4[getconvertedplayerid
(gettriggerplayer())]),0)endfunctionfunction y3 takes nothing returns nothingset
uj=createtrigger()call triggerregisterplayerchatevent(uj,player(0),"-return",true)
call triggerregisterplayerchatevent(uj,player(1),"-return",true)call
triggerregisterplayerchatevent(uj,player(2),"-return",true)call
triggerregisterplayerchatevent(uj,player(3),"-return",true)call
triggerregisterplayerchatevent(uj,player(4),"-return",true)call
triggerregisterplayerchatevent(uj,player(5),"-return",true)call
triggerregisterplayerchatevent(uj,player(6),"-return",true)call
triggerregisterplayerchatevent(uj,player(7),"-return",true)call
triggerregisterplayerchatevent(uj,player(8),"-return",true)call
triggerregisterplayerchatevent(uj,player(9),"-return",true)call
triggeraddcondition(uj,condition(function l3))call triggeraddaction(uj,function
x3)endfunctionfunction z3 takes nothing returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(getowningplayer(getdyingunit()))])==1
211117910))thenreturn falseendif
if(not(d[getconvertedplayerid(getowningplayer(getdyingunit()))]>=2))thenreturn
falseendif
if(not(isunitdeadbj(j4[getconvertedplayerid(getowningplayer(getdyingunit()))])==tr
ue))thenreturn falseendifif(not(ye>0))thenreturn falseendifreturn trueendfunction
function df takes nothing returns booleanreturn(ye>0)endfunctionfunction ef takes
nothing returns booleanreturn(ye>0)endfunctionfunction ff takes nothing returns
booleanreturn(ye>0)endfunctionfunction gf takes nothing returns boolean
return(ye>0)endfunctionfunction hf takes nothing returns booleanreturn(ye>0)
endfunctionfunction if takes nothing returns booleanreturn(ye>0)endfunction
function jf takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(getowningplayer(getdyingunit()))])==
player(0))endfunctionfunction kf
takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(getowningplayer(getdyingunit()))])==
player(1))endfunctionfunction mf takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(getowningplayer(getdyingunit()))])==
player(2))endfunctionfunction nf takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(getowningplayer(getdyingunit()))])==
player(3))endfunctionfunction of takes nothing returns boolean
return(getowningplayer(q[getconvertedplayerid(getowningplayer(getdyingunit()))])==
player(4))endfunctionfunction pf takes nothing returns booleanreturn
getbooleanor(nf(),of())endfunctionfunction qf takes nothing returns booleanreturn
getbooleanor(mf(),pf())endfunctionfunction rf takes nothing returns booleanreturn
getbooleanor(kf(),qf())endfunctionfunction sf takes nothing returns booleanreturn
getbooleanor(jf(),rf())endfunctionfunction tf takes nothing returns nothing
if(df())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getdyingunit()))
+(" has "+" yet to die! he still has another heart pumping away!")))elsecall
donothing()endifif(ef())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getdyingunit()))
+" permanently loses 1 strength."))elsecall donothing()endifif(ff())thenset
d[getconvertedplayerid(getowningplayer(getdyingunit()))]=0elsecall donothing()
endifif(gf())thencall
destroytimerdialogbj(l[getconvertedplayerid(getowningplayer(getdyingunit()))])else
call donothing()endifif(hf())thencall
destroytimerdialogbj(l[getconvertedplayerid(getowningplayer(getdyingunit()))])else
call donothing()endifif(if())thencall donothing()elsereturnendifif(sf())thencall
reviveheroloc(q[getconvertedplayerid(getowningplayer(getdyingunit()))],getrandomlo
cinrect(cg),true)elsecall
reviveheroloc(q[getconvertedplayerid(getowningplayer(getdyingunit()))],getrandomlo
cinrect(dg),true)endifcall
modifyherostat(bj_herostat_str,he,bj_modifymethod_sub,1)set ye=(ye-1)call
selectunitforplayersingle(j4[getconvertedplayerid(getowningplayer(getdyingunit()))
],getowningplayer(getdyingunit()))call
pancameratotimedlocforplayer(getowningplayer(getdyingunit()),getunitloc(j4[getconv
ertedplayerid(getowningplayer(getdyingunit()))]),0)endfunctionfunction uf takes
nothing returns nothingset vj=createtrigger()call disabletrigger(vj)call
triggerregisteranyuniteventbj(vj,event_player_unit_death)call
triggeraddcondition(vj,condition(function z3))call triggeraddaction(vj,function
tf)endfunctionfunction vf takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive)))the
nreturn falseendifif(not(getowningplayer(getkillingunitbj())!=player(11)))then
return falseendifif(not(getowningplayer(getkillingunitbj())!=player(10)))then
return falseendifif(not(getunittypeid(getdyingunit())!=1164666213))thenreturn
falseendifif(not(getunittypeid(getdyingunit())!=1160785988))thenreturn falseendif
return trueendfunctionfunction wf takes nothing returns boolean
return(isunitally(getkillingunitbj(),getowningplayer(getdyingunit()))==true)
endfunctionfunction xf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==2))thenreturn
falseendifreturn trueendfunctionfunction yf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==3))thenreturn
falseendifreturn trueendfunctionfunction zf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==4))thenreturn
falseendifreturn trueendfunctionfunction af takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==5))thenreturn
falseendifreturn trueendfunctionfunction af takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==6))thenreturn
falseendifreturn trueendfunctionfunction bf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==7))thenreturn
falseendifreturn trueendfunctionfunction bf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==8))thenreturn
falseendifreturn trueendfunctionfunction cf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]>8))thenreturn
falseendifreturn trueendfunctionfunction cf takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(0))endfunctionfunction df takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(1))
endfunctionfunction ef takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(2))endfunctionfunction ff takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(3))
endfunctionfunction gf takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(4))endfunctionfunction hf takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(5))
endfunctionfunction if takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(6))endfunctionfunction lf takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(7))
endfunctionfunction jf takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(8))endfunctionfunction kf takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(9))
endfunctionfunction lf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>6))thenreturn
falseendifreturn trueendfunctionfunction mf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>4))thenreturn
falseendifif(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]<7))then
return falseendifreturn trueendfunctionfunction nf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>2))thenreturn
falseendifif(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]<5))then
return falseendifreturn trueendfunctionfunction of takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]==2))thenreturn
falseendifreturn trueendfunctionfunction pf takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(("|
cff7777aa"+(getplayername(getowningplayer(getkillingunitbj()))+"|r"))+(" just
killed "+(("|cff7777aa"+(getheropropername(getdyingunit())+"|r"))+" !!!"))))
if(wf())thenreturnelsecall donothing()endifset
y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]=(y[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+1)if(xf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has attained a |cff7777aadouble kill|r! |cffffcc00+100 gold|r"))call
adjustplayerstatebj(100,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(fi)elseendifif(yf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has attained a |cff32cd32triple kill|r! |cffffcc00+150 gold|r"))call
adjustplayerstatebj(150,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(zf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is now on a |cffff0000killing spree|r! |cffffcc00+200 gold|r"))call
adjustplayerstatebj(200,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(gi)elseendifif(af())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cff995500wicked sick|r! |cffffcc00+250 gold|r"))call
adjustplayerstatebj(250,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(af())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cff000000unstoppable|r! |cffffcc00+300 gold|r"))call
adjustplayerstatebj(300,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(bf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cff999999divine|r! |cffffcc00+350 gold|r"))call
adjustplayerstatebj(350,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(hi)elseendifif(bf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cffffffffgodlike|r! |cffffcc00+400 gold|r"))call
adjustplayerstatebj(400,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(cf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cffffcc00owning|r! somebody stop it!!!"))elseendifset
w[getconvertedplayerid(getowningplayer(getdyingunit()))]=(w[getconvertedplayerid(g
etowningplayer(getdyingunit()))]+1)if(cf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,2,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(df())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,3,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(ef())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,4,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(ff())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,5,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(gf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,6,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(hf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,8,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(if())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,9,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(lf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,10,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(jf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,11,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(kf())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,12,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(lf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the freaking super streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+300 gold|r"))))
call
adjustplayerstatebj(300,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(mf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the super streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+200 gold|r"))))
call
adjustplayerstatebj(200,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(nf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+100 gold|r"))))
call
adjustplayerstatebj(100,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(of())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the double kill of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+50 gold|r"))))call
adjustplayerstatebj(50,getowningplayer(getkillingunitbj()),player_state_resource_g
old)elseendifset y[getconvertedplayerid(getowningplayer(getdyingunit()))]=0call
donothing()endfunctionfunction qf takes nothing returns nothingset
wj=createtrigger()call triggerregisteranyuniteventbj(wj,event_player_unit_death)
call triggeraddcondition(wj,condition(function vf))call
triggeraddaction(wj,function pf)endfunctionfunction rf takes nothing returns
booleanif(not(getunittypeid(getdyingunit())==1160785988))thenreturn falseendif
return trueendfunctionfunction sf takes nothing returns boolean
return(d[getconvertedplayerid(getowningplayer(getdyingunit()))]>121)endfunction
function tf takes nothing returns boolean
return(isunitally(getdyingunit(),player(10))==true)endfunctionfunction uf takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction vf takes
nothing returns nothingset
y[getconvertedplayerid(getowningplayer(getdyingunit()))]=0set
d[getconvertedplayerid(getowningplayer(getdyingunit()))]=(getherolevel(getdyinguni
t())*4)set q[getconvertedplayerid(getowningplayer(getdyingunit()))]=getdyingunit()
if(sf())thenset d[getconvertedplayerid(getowningplayer(getdyingunit()))]=121else
call donothing()endifcall displaytexttoforce(getplayersall(),("orochimaru"+(" has
fallen and will return after
"+(i2s(d[getconvertedplayerid(getowningplayer(getdyingunit()))])+" seconds..."))))
call
starttimerbj(k[getconvertedplayerid(getowningplayer(getdyingunit()))],false,i2r(d[
getconvertedplayerid(getowningplayer(getdyingunit()))]))set
l[getconvertedplayerid(getowningplayer(getdyingunit()))]=getlastcreatedtimerdialog
bj()call
timerdialogdisplayforplayerbj(true,l[getconvertedplayerid(getowningplayer(getdying
unit()))],getowningplayer(getdyingunit()))call adjustplayerstatebj(-
250,getowningplayer(getdyingunit()),player_state_resource_gold)call
uz(i2r(d[getconvertedplayerid(getowningplayer(getdyingunit()))]))if(tf())thencall
reviveheroloc(j4[getconvertedplayerid(getowningplayer(getdyingunit()))],getrandoml
ocinrect(cg),true)elsecall
reviveheroloc(j4[getconvertedplayerid(getowningplayer(getdyingunit()))],getrandoml
ocinrect(dg),true)endifcall
destroytimerdialogbj(l[getconvertedplayerid(getowningplayer(getdyingunit()))])call
selectunitforplayersingle(j4[getconvertedplayerid(getowningplayer(getdyingunit()))
],getowningplayer(getdyingunit()))call
pancameratotimedlocforplayer(getowningplayer(getdyingunit()),getunitloc(j4[getconv
ertedplayerid(getowningplayer(getdyingunit()))]),0)call
forgroupbj(pa(1160785988),function uf)endfunctionfunction wf takes nothing returns
nothingset xj=createtrigger()call
triggerregisteranyuniteventbj(xj,event_player_unit_death)call
triggeraddcondition(xj,condition(function rf))call triggeraddaction(xj,function
vf)endfunctionfunction xf takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(getunittypeid(getdyingunit())==1160785988))thenreturn falseendif
if(not(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive)))the
nreturn falseendifif(not(getowningplayer(getkillingunitbj())!=player(11)))then
return falseendifif(not(getowningplayer(getkillingunitbj())!=player(10)))then
return falseendifreturn trueendfunctionfunction yf takes nothing returns boolean
return(isunitally(getkillingunitbj(),getowningplayer(getdyingunit()))==true)
endfunctionfunction zf takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==2))thenreturn
falseendifreturn trueendfunctionfunction dg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==3))thenreturn
falseendifreturn trueendfunctionfunction eg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==4))thenreturn
falseendifreturn trueendfunctionfunction fg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==5))thenreturn
falseendifreturn trueendfunctionfunction gg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==6))thenreturn
falseendifreturn trueendfunctionfunction hg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==7))thenreturn
falseendifreturn trueendfunctionfunction ig takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]==8))thenreturn
falseendifreturn trueendfunctionfunction jg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]>8))thenreturn
falseendifreturn trueendfunctionfunction kg takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(0))endfunctionfunction mg takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(1))
endfunctionfunction ng takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(2))endfunctionfunction og takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(3))
endfunctionfunction pg takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(4))endfunctionfunction qg takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(5))
endfunctionfunction rg takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(6))endfunctionfunction sg takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(7))
endfunctionfunction tg takes nothing returns boolean
return(getowningplayer(getdyingunit())==player(8))endfunctionfunction ug takes
nothing returns booleanreturn(getowningplayer(getdyingunit())==player(9))
endfunctionfunction vg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>6))thenreturn
falseendifreturn trueendfunctionfunction wg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>4))thenreturn
falseendifif(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]<7))then
return falseendifreturn trueendfunctionfunction xg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]>2))thenreturn
falseendifif(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]<5))then
return falseendifreturn trueendfunctionfunction yg takes nothing returns boolean
if(not(y[getconvertedplayerid(getowningplayer(getdyingunit()))]==2))thenreturn
falseendifreturn trueendfunctionfunction zg takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(("|
cff7777aa"+(getplayername(getowningplayer(getkillingunitbj()))+"|r"))+(" just
killed "+(("|cff7777aa"+("orochimaru"+"|r"))+" !!!"))))if(yf())thenreturnelsecall
donothing()endifset
y[getconvertedplayerid(getowningplayer(getkillingunitbj()))]=(y[getconvertedplayer
id(getowningplayer(getkillingunitbj()))]+1)if(zf())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has attained a |cff7777aadouble kill|r! |cffffcc00+100 gold|r"))call
adjustplayerstatebj(100,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(fi)elseendifif(dg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" has attained a |cff32cd32triple kill|r! |cffffcc00+150 gold|r"))call
adjustplayerstatebj(150,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(eg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is now on a |cffff0000killing spree|r! |cffffcc00+200 gold|r"))call
adjustplayerstatebj(200,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(gi)elseendifif(fg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+"
is |cff995500wicked sick|r! |cffffcc00+250 gold|r"))call
adjustplayerstatebj(250,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(gg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cff000000unstoppable|r! |cffffcc00+300 gold|r"))call
adjustplayerstatebj(300,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(hg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cff999999divine|r! |cffffcc00+350 gold|r"))call
adjustplayerstatebj(350,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(hi)elseendifif(ig())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cffffffffgodlike|r! |cffffcc00+400 gold|r"))call
adjustplayerstatebj(400,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(jg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+" is |cffffcc00owning|r! somebody stop it!!!"))elseendifset
w[getconvertedplayerid(getowningplayer(getdyingunit()))]=(w[getconvertedplayerid(g
etowningplayer(getdyingunit()))]+1)if(kg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,2,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(mg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,3,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(ng())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,4,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(og())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,5,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(pg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,6,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(qg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,8,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(rg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,9,i2s((w[getconvertedplayeri
d(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(sg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,10,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(tg())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,11,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(ug())thencall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,12,i2s((w[getconvertedplayer
id(getowningplayer(getdyingunit()))]+0)))elsecall donothing()endifif(vg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the freaking super streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+300 gold|r"))))
call
adjustplayerstatebj(300,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(wg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the super streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+200 gold|r"))))
call
adjustplayerstatebj(200,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(xg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the streak of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+100 gold|r"))))
call
adjustplayerstatebj(100,getowningplayer(getkillingunitbj()),player_state_resource_
gold)elseendifif(yg())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has ended the double kill of
"+(getplayername(getowningplayer(getdyingunit()))+"! |cffffcc00+50 gold|r"))))call
adjustplayerstatebj(50,getowningplayer(getkillingunitbj()),player_state_resource_g
old)elseendifendfunctionfunction ag takes nothing returns nothingset
yj=createtrigger()call triggerregisteranyuniteventbj(yj,event_player_unit_death)
call triggeraddcondition(yj,condition(function xf))call
triggeraddaction(yj,function zg)endfunctionfunction ag takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction
bg takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction bg takes nothing returns booleanreturn
getbooleanand(ag(),bg())endfunctionfunction cg takes nothing returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1164666213))th
enreturn falseendifif(not(d[getconvertedplayerid(gettriggerplayer())]==0))then
return falseendifif(not(countunitsingroup(ra(gettriggerplayer(),condition(function
bg)))==0))thenreturn falseendifreturn trueendfunctionfunction cg takes nothing
returns booleanreturn(isplayerally(gettriggerplayer(),player(10))==true)
endfunctionfunction dg takes nothing returns boolean
return(isplayerally(gettriggerplayer(),player(11))==true)endfunctionfunction eg
takes nothing returns boolean
return(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])!=true)
endfunctionfunction fg takes nothing returns boolean
return(countunitsingroup(pa(1160785988))==0)endfunctionfunction gg takes nothing
returns booleanif(not getbooleanand(eg(),fg()))thenreturn falseendifreturn true
endfunctionfunction hg takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction ig takes nothing returns nothingif(cg())thencall
reviveheroloc(ye,getrandomlocinrect(cg),true)elsecall
reviveheroloc(ye,getrandomlocinrect(dg),true)endifcall
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(j4[getconvertedplayerid
(gettriggerplayer())]),0)if(gg())thenif(dg())thenset ig=dgelseset ig=cgendifcall
reviveheroloc(j4[getconvertedplayerid(gettriggerplayer())],getrectcenter(ig),true)
elseendifcall forgroupbj(pa(1160785988),function hg)endfunctionfunction lg takes
nothing returns nothingset zj=createtrigger()call
triggerregisterplayerchatevent(zj,player(0),"-oro",true)call
triggerregisterplayerchatevent(zj,player(1),"-oro",true)call
triggerregisterplayerchatevent(zj,player(2),"-oro",true)call
triggerregisterplayerchatevent(zj,player(3),"-oro",true)call
triggerregisterplayerchatevent(zj,player(4),"-oro",true)call
triggerregisterplayerchatevent(zj,player(5),"-oro",true)call
triggerregisterplayerchatevent(zj,player(6),"-oro",true)call
triggerregisterplayerchatevent(zj,player(7),"-oro",true)call
triggerregisterplayerchatevent(zj,player(8),"-oro",true)call
triggerregisterplayerchatevent(zj,player(9),"-oro",true)call
triggeraddcondition(zj,condition(function cg))call triggeraddaction(zj,function
ig)endfunctionfunction jg takes nothing returns boolean
if(not(isunittype(getenteringunit(),unit_type_hero)==true))thenreturn falseendif
return trueendfunctionfunction kg takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
createtexttaglocbj("trigstr_2226",getrectcenter(bi),50.00,10,100,100,100,0)call
settexttaglifespanbj(getlastcreatedtexttag(),5)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),0.00,0.00,100,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),100.00,0.00,0.00,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),0.00,100.00,0.00,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),100.00,100.00,100.00,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),0.00,0.00,100,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),100.00,0.00,0.00,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),0.00,100.00,0.00,0)call uz(0.50)call
settexttagcolorbj(getlastcreatedtexttag(),100.00,100.00,100.00,0)call uz(1.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction lg takes nothing returns
nothingset dk=createtrigger()call triggerregisterenterrectsimple(dk,bi)call
triggeraddcondition(dk,condition(function jg))call triggeraddaction(dk,function
kg)endfunctionfunction mg takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getenumunit(),1))==1227895617)endfunction
function ng takes nothing returns nothingif(mg())thencall donothing()elsecall
unitadditembyidswapped(1227895617,getenumunit())endifendfunctionfunction og takes
nothing returns nothingcall forgroupbj(pa(1747989070),function ng)endfunction
function pg takes nothing returns nothingset ek=createtrigger()call
triggerregistertimereventperiodic(ek,getrandomreal(30.00,60.00))call
triggeraddaction(ek,function og)endfunctionfunction qg takes nothing returns
booleanif(not(getitemtypeid(getmanipulateditem())!=1227895617))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())==1747989070))thenreturn false
endifreturn trueendfunctionfunction rg takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getmanipulatingunit()))endfunction
function sg takes nothing returns nothingcall
unitremoveitemswapped(getmanipulateditem(),getmanipulatingunit())call
displaytexttoforce(wa(condition(function rg)),"ryounins are only allowed to carry
rations !")endfunctionfunction tg takes nothing returns nothingset
fk=createtrigger()call
triggerregisteranyuniteventbj(fk,event_player_unit_pickup_item)call
triggeraddcondition(fk,condition(function qg))call triggeraddaction(fk,function
sg)endfunctionfunction ug takes nothing
returns nothingcall
createitemloc(1227895602,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the one tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction vg
takes nothing returns nothingset gk=createtrigger()call
triggerregistertimereventsingle(gk,getrandomreal(600.00,3600.00))call
triggeraddaction(gk,function ug)endfunctionfunction wg takes nothing returns
nothingcall createitemloc(1227895603,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the two tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction xg
takes nothing returns nothingset hk=createtrigger()call
triggerregistertimereventsingle(hk,getrandomreal(600.00,3600.00))call
triggeraddaction(hk,function wg)endfunctionfunction yg takes nothing returns
nothingcall createitemloc(1227895604,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the three tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction zg
takes nothing returns nothingset ik=createtrigger()call
triggerregistertimereventsingle(ik,getrandomreal(600.00,3600.00))call
triggeraddaction(ik,function yg)endfunctionfunction d6 takes nothing returns
nothingcall createitemloc(1227895605,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the four tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction e6
takes nothing returns nothingset jk=createtrigger()call
triggerregistertimereventsingle(jk,getrandomreal(600.00,3600.00))call
triggeraddaction(jk,function d6)endfunctionfunction f6 takes nothing returns
nothingcall createitemloc(1227895606,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the five tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction g6
takes nothing returns nothingset kk=createtrigger()call
triggerregistertimereventsingle(kk,getrandomreal(600.00,3600.00))call
triggeraddaction(kk,function f6)endfunctionfunction h6 takes nothing returns
nothingcall createitemloc(1227895601,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the six tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction i6
takes nothing returns nothingset mk=createtrigger()call
triggerregistertimereventsingle(mk,getrandomreal(600.00,3600.00))call
triggeraddaction(mk,function h6)endfunctionfunction j6 takes nothing returns
nothingcall createitemloc(1227895607,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the seven tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction k6
takes nothing returns nothingset nk=createtrigger()call
triggerregistertimereventsingle(nk,getrandomreal(600.00,3600.00))call
triggeraddaction(nk,function j6)endfunctionfunction m6 takes nothing returns
nothingcall createitemloc(1227895608,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the eight tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction n6
takes nothing returns nothingset ok=createtrigger()call
triggerregistertimereventsingle(ok,getrandomreal(600.00,3600.00))call
triggeraddaction(ok,function m6)endfunctionfunction o6 takes nothing returns
nothingcall createitemloc(1227895609,getrandomlocinrect(getplayablemaprect()))call
displaytexttoforce(getplayersall(),"the essence of the nine tailed demon has
appeared !")call disabletrigger(gettriggeringtrigger())endfunctionfunction p6
takes nothing returns nothingset pk=createtrigger()call
triggerregistertimereventsingle(pk,getrandomreal(600.00,3600.00))call
triggeraddaction(pk,function o6)endfunctionfunction q6 takes nothing returns
booleanif(not(getunittypeid(getenteringunit())==1752395634))thenreturn falseendif
return trueendfunctionfunction r6 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
s6 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
t6 takes nothing returns boolean
if(not(of[getconvertedplayerid(getowningplayer(getenteringunit()))]>=4))thenreturn
falseendifreturn trueendfunctionfunction u6 takes nothing returns nothing
if(t6())thenset of[getconvertedplayerid(getowningplayer(getenteringunit()))]=4call
displaytexttoforce(wa(condition(function s6)),"you already have a maximum of 4
striker counters !")call
adjustplayerstatebj(450,getowningplayer(getenteringunit()),player_state_resource_g
old)call removeunit(getenteringunit())elseset
of[getconvertedplayerid(getowningplayer(getenteringunit()))]=(of[getconvertedplaye
rid(getowningplayer(getenteringunit()))]+1)call
displaytexttoforce(wa(condition(function r6)),"you have bought another striker
counter.")call removeunit(getenteringunit())endifendfunctionfunction v6 takes
nothing returns nothingset qk=createtrigger()call
triggerregisterenterrectsimple(qk,qh)call triggerregisterenterrectsimple(qk,rh)
call triggeraddcondition(qk,condition(function q6))call
triggeraddaction(qk,function u6)endfunctionfunction w6 takes nothing returns
nothingcall modifygatebj(bj_gateoperation_close,lz)endfunctionfunction x6 takes
nothing returns nothingset rk=createtrigger()call
triggerregistertimereventperiodic(rk,getrandomreal(30.00,75.00))call
triggeraddaction(rk,function w6)endfunctionfunction y6 takes nothing returns
nothingcall modifygatebj(bj_gateoperation_close,kz)endfunctionfunction z6 takes
nothing returns nothingset sk=createtrigger()call
triggerregistertimereventperiodic(sk,getrandomreal(30.00,75.00))call
triggeraddaction(sk,function y6)endfunctionfunction a6 takes nothing returns
nothingcall questmessagebj(getplayersall(),bj_questmessage_updated,"the legendary
onbaa has been sighted in the north-south tunnel passage!")call
createnunitsatloc(1,1848652099,player(player_neutral_aggressive),getrectcenter(ag)
,bj_unit_facing)call enabletrigger(uk)endfunctionfunction a6 takes nothing returns
nothingset tk=createtrigger()call
triggerregistertimereventsingle(tk,getrandomreal(1500.00,2700.00))call
triggeraddaction(tk,function a6)endfunctionfunction b6 takes nothing returns
booleanif(not(getunittypeid(getdyingunit())==1848652099))thenreturn falseendif
return trueendfunctionfunction b6 takes nothing returns boolean
if(not(isunitally(getkillingunitbj(),player(10))==true))thenreturn falseendif
return trueendfunctionfunction c6 takes nothing returns nothingcall
adjustplayerstatebj(500,getowningplayer(getkillingunitbj()),player_state_resource_
gold)call playsoundbj(hi)call displaytexttoforce(getplayersall(),("holy shit! the
legendary onbaa has been hunted down by
"+(getplayername(getowningplayer(getkillingunitbj()))+("! a reward of 500+ gold
will be given to "+(getplayername(getowningplayer(getkillingunitbj()))+"! village
reputation for the village +3 !")))))if(b6())thenset c7=(c7+3)elseset d7=(d7+3)
endifendfunctionfunction c6 takes nothing returns nothingset uk=createtrigger()
call disabletrigger(uk)call
triggerregisteranyuniteventbj(uk,event_player_unit_death)call
triggeraddcondition(uk,condition(function b6))call triggeraddaction(uk,function
c6)endfunctionfunction d6 takes nothing returns nothingcall disabletrigger(gq)call
disabletrigger(gettriggeringtrigger())endfunctionfunction e6 takes nothing returns
nothingset vk=createtrigger()call triggerregistertimereventsingle(vk,600.00)call
triggeraddaction(vk,function d6)endfunctionfunction f6 takes nothing returns
nothingcall
setforcealliancestatebj(ua(player(10)),ua(player(10)),bj_alliance_allied_vision)
call
setforcealliancestatebj(ua(player(11)),ua(player(11)),bj_alliance_allied_vision)
endfunctionfunction g6 takes nothing returns nothingset wk=createtrigger()call
triggerregistertimereventperiodic(wk,1.00)call triggeraddaction(wk,function f6)
endfunctionfunction h6 takes nothing returns booleanif(not(xd==4))thenreturn false
endifreturn trueendfunctionfunction i6 takes nothing returns boolean
if(not(xd==8))thenreturn falseendifreturn trueendfunctionfunction l6 takes nothing
returns booleanif(not(xd==12))thenreturn falseendifreturn trueendfunctionfunction
j6 takes nothing returns nothingif(h6())thencall
setplayerhandicapbj(player(10),(zd[1]-10.00))set
zd[1]=getplayerhandicapbj(player(10))call
questmessagebj(getplayersall(),bj_questmessage_completed,"a major part of konoha
has been destroyed, making many of its subjects homeless. the entire village will
suffer a 10% reduction in health.")elseendifif(i6())thencall
setplayerhandicapbj(player(10),(zd[1]-10.00))set
zd[1]=getplayerhandicapbj(player(10))call
questmessagebj(getplayersall(),bj_questmessage_completed,"a major part of konoha
has been destroyed, making many of its subjects homeless. the entire village will
suffer a 10% reduction in health.")elseendifif(l6())thencall
setplayerhandicapbj(player(10),(zd[1]-30.00))call
setplayerhandicapbj(player(0),(zd[3]-50.00))call
setplayerhandicapbj(player(1),(zd[3]-50.00))call
setplayerhandicapbj(player(2),(zd[3]-50.00))call
setplayerhandicapbj(player(3),(zd[3]-50.00))call
setplayerhandicapbj(player(4),(zd[3]-50.00))set
zd[1]=getplayerhandicapbj(player(10))set zd[3]=getplayerhandicapbj(player(0))call
questmessagebj(getplayersall(),bj_questmessage_completed,"the entire konoha has
been wiped out, leaving but a fragment or two standing in the wind. the entire
village will suffer a 30% reduction in health. all of its allies will take a heavy
50% reduction.")elseendifendfunctionfunction k6 takes nothing returns nothingset
xk=createtrigger()call triggeraddaction(xk,function j6)endfunctionfunction l6
takes nothing returns booleanif(not(yd==4))thenreturn falseendifreturn true
endfunctionfunction m6 takes nothing returns booleanif(not(yd==8))thenreturn false
endifreturn trueendfunctionfunction n6 takes nothing returns boolean
if(not(yd==12))thenreturn falseendifreturn trueendfunctionfunction o6 takes
nothing returns nothingif(l6())thencall setplayerhandicapbj(player(11),(zd[2]-
10.00))set zd[2]=getplayerhandicapbj(player(11))call
questmessagebj(getplayersall(),bj_questmessage_completed,"a major part of sound
union has been destroyed, making many of its subjects homeless. the entire village
will suffer a 10% reduction in health.")elseendifif(m6())thencall
setplayerhandicapbj(player(11),(zd[2]-10.00))set
zd[2]=getplayerhandicapbj(player(11))call
questmessagebj(getplayersall(),bj_questmessage_completed,"a major part of sound
union has been destroyed, making many of its subjects homeless. the entire village
will suffer a 10% reduction in health.")elseendifif(n6())thencall
setplayerhandicapbj(player(11),(zd[2]-30.00))call
setplayerhandicapbj(player(5),(zd[4]-50.00))call
setplayerhandicapbj(player(6),(zd[4]-50.00))call
setplayerhandicapbj(player(7),(zd[4]-50.00))call
setplayerhandicapbj(player(8),(zd[4]-50.00))call
setplayerhandicapbj(player(9),(zd[4]-50.00))set
zd[2]=getplayerhandicapbj(player(11))set zd[4]=getplayerhandicapbj(player(5))call
questmessagebj(getplayersall(),bj_questmessage_completed,"the entire sound union
has been wiped out, leaving but a fragment or two standing in the wind. the entire
village will suffer a 30% reduction in health. all of its allies will take a heavy
50% reduction.")elseendifendfunctionfunction p6 takes nothing returns nothingset
yk=createtrigger()call triggeraddaction(yk,function o6)endfunctionfunction q6
takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1751674741))thenreturn falseendifreturn true
endfunctionfunction r6 takes nothing returns nothingset xd=(xd+1)call
triggerexecute(xk)endfunctionfunction s6 takes nothing returns nothingset
zk=createtrigger()call
triggerregisterplayeruniteventsimple(zk,player(10),event_player_unit_death)call
triggeraddcondition(zk,condition(function q6))call triggeraddaction(zk,function
r6)endfunctionfunction t6 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1752461175))thenreturn falseendifreturn true
endfunctionfunction u6 takes nothing returns nothingset xd=(xd+1)call
triggerexecute(xk)endfunctionfunction v6 takes nothing returns nothingset
ak=createtrigger()call
triggerregisterplayeruniteventsimple(ak,player(10),event_player_unit_death)call
triggeraddcondition(ak,condition(function t6))call triggeraddaction(ak,function
u6)endfunctionfunction w6 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1751674741))thenreturn falseendifreturn true
endfunctionfunction x6 takes nothing returns nothingset yd=(yd+1)call
triggerexecute(yk)endfunctionfunction y6 takes nothing returns nothingset
ak=createtrigger()call
triggerregisterplayeruniteventsimple(ak,player(11),event_player_unit_death)call
triggeraddcondition(ak,condition(function w6))call triggeraddaction(ak,function
x6)endfunctionfunction z6 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1752461175))thenreturn falseendifreturn true
endfunctionfunction dh takes nothing returns nothingset yd=(yd+1)call
triggerexecute(yk)endfunctionfunction eh takes nothing returns nothingset
bk=createtrigger()call
triggerregisterplayeruniteventsimple(bk,player(11),event_player_unit_death)call
triggeraddcondition(bk,condition(function z6))call triggeraddaction(bk,function
dh)endfunctionfunction fh takes nothing returns nothingcall
setunitinvulnerable(mz,false)endfunctionfunction gh takes nothing returns nothing
set bk=createtrigger()call triggerregisterunitevent(bk,dz,event_unit_death)call
triggeraddaction(bk,function fh)endfunctionfunction hh takes nothing returns
nothingcall setunitinvulnerable(nz,false)call setunitinvulnerable(oz,false)call
setunitinvulnerable(yy,false)endfunctionfunction ih takes nothing returns nothing
set ck=createtrigger()call triggerregisterunitevent(ck,mz,event_unit_death)call
triggeraddaction(ck,function hh)endfunctionfunction jh takes nothing returns
booleanif(not(isunitalivebj(oz)==true))thenreturn falseendifreturn trueendfunction
function kh takes nothing returns nothingif(jh())thenreturnelsecall
setunitinvulnerable(cy,false)call setunitinvulnerable(yy,false)call
setunitinvulnerable(cy,false)call setunitinvulnerable(ay,false)call
setunitinvulnerable(wy,false)endifendfunctionfunction mh takes nothing returns
nothingset ck=createtrigger()call triggerregisterunitevent(ck,nz,event_unit_death)
call triggeraddaction(ck,function kh)endfunctionfunction nh takes nothing returns
booleanif(not(isunitalivebj(nz)==true))thenreturn falseendifreturn trueendfunction
function oh takes nothing returns nothingif(nh())thenreturnelsecall
setunitinvulnerable(cy,false)call setunitinvulnerable(yy,false)call
setunitinvulnerable(cy,false)call setunitinvulnerable(ay,false)call
setunitinvulnerable(wy,false)endifendfunctionfunction ph takes nothing returns
nothingset dk=createtrigger()call triggerregisterunitevent(dk,oz,event_unit_death)
call triggeraddaction(dk,function oh)endfunctionfunction qh takes nothing returns
booleanif(not(isunitalivebj(qz)==true))thenreturn falseendifreturn trueendfunction
function rh takes nothing returns nothingif(qh())thenreturnelsecall
setunitinvulnerable(dy,false)call setunitinvulnerable(hy,false)call
setunitinvulnerable(gy,false)call setunitinvulnerable(wy,false)call
setunitinvulnerable(iy,false)endifendfunctionfunction sh takes nothing returns
nothingset ek=createtrigger()call triggerregisterunitevent(ek,pz,event_unit_death)
call triggeraddaction(ek,function rh)endfunctionfunction th takes nothing returns
booleanif(not(isunitalivebj(pz)==true))thenreturn falseendifreturn trueendfunction
function uh takes nothing returns nothingif(th())thenreturnelsecall
setunitinvulnerable(dy,false)call setunitinvulnerable(hy,false)call
setunitinvulnerable(gy,false)call setunitinvulnerable(wy,false)call
setunitinvulnerable(iy,false)endifendfunctionfunction vh takes nothing returns
nothingset fk=createtrigger()call triggerregisterunitevent(fk,qz,event_unit_death)
call triggeraddaction(fk,function uh)endfunctionfunction wh takes nothing returns
booleanif(not(isunitalivebj(sz)==true))thenreturn falseendifreturn trueendfunction
function xh takes nothing returns nothingif(wh())thenreturnelsecall
setunitinvulnerable(iy,false)call setunitinvulnerable(fy,false)call
setunitinvulnerable(ey,false)call setunitinvulnerable(xy,false)call
setunitinvulnerable(ay,false)endifendfunctionfunction yh takes nothing returns
nothingset gk=createtrigger()call triggerregisterunitevent(gk,rz,event_unit_death)
call triggeraddaction(gk,function xh)endfunctionfunction zh takes nothing returns
booleanif(not(isunitalivebj(rz)==true))thenreturn falseendifreturn trueendfunction
function ah takes nothing returns nothingif(zh())thenreturnelsecall
setunitinvulnerable(iy,false)call setunitinvulnerable(fy,false)call
setunitinvulnerable(ey,false)call setunitinvulnerable(xy,false)call
setunitinvulnerable(ay,false)endifendfunctionfunction ah takes nothing returns
nothingset hk=createtrigger()call triggerregisterunitevent(hk,sz,event_unit_death)
call triggeraddaction(hk,function ah)endfunctionfunction bh takes nothing returns
nothingcall setunitinvulnerable(uz,false)endfunctionfunction bh takes nothing
returns nothingset ik=createtrigger()call
triggerregisterunitevent(ik,tz,event_unit_death)call triggeraddaction(ik,function
bh)endfunctionfunction ch takes nothing returns nothingcall
setunitinvulnerable(pz,false)call setunitinvulnerable(qz,false)call
setunitinvulnerable(yy,false)call setunitinvulnerable(vy,false)endfunctionfunction
ch takes nothing returns nothingset lk=createtrigger()call
triggerregisterunitevent(lk,uz,event_unit_death)call triggeraddaction(lk,function
ch)endfunctionfunction dh takes nothing returns nothingcall
setunitinvulnerable(wy,false)endfunctionfunction eh takes nothing returns nothing
set jk=createtrigger()call triggerregisterunitevent(jk,yz,event_unit_death)call
triggeraddaction(jk,function dh)endfunctionfunction fh takes nothing returns
nothingcall setunitinvulnerable(sz,false)call setunitinvulnerable(rz,false)call
setunitinvulnerable(vy,false)endfunctionfunction gh takes nothing returns nothing
set kk=createtrigger()call triggerregisterunitevent(kk,wy,event_unit_death)call
triggeraddaction(kk,function fh)endfunctionfunction hh takes nothing returns
nothingcall setunitinvulnerable(ez,false)endfunctionfunction ih takes nothing
returns nothingset lk=createtrigger()call
triggerregisterunitevent(lk,zy,event_unit_death)call triggeraddaction(lk,function
hh)endfunctionfunction lh takes nothing returns nothingcall
setunitinvulnerable(gz,false)call setunitinvulnerable(fz,false)call
setunitinvulnerable(xy,false)endfunctionfunction jh takes nothing returns nothing
set mk=createtrigger()call triggerregisterunitevent(mk,ez,event_unit_death)call
triggeraddaction(mk,function lh)endfunctionfunction kh takes nothing returns
booleanif(not(isunitalivebj(fz)==true))thenreturn falseendifreturn trueendfunction
function lh takes nothing returns nothingif(kh())thenreturnelsecall
setunitinvulnerable(ty,false)call setunitinvulnerable(jy,false)call
setunitinvulnerable(qy,false)call setunitinvulnerable(sy,false)call
setunitinvulnerable(ry,false)endifendfunctionfunction mh takes nothing returns
nothingset nk=createtrigger()call triggerregisterunitevent(nk,gz,event_unit_death)
call triggeraddaction(nk,function lh)endfunctionfunction nh takes nothing returns
booleanif(not(isunitalivebj(gz)==true))thenreturn falseendifreturn trueendfunction
function oh takes nothing returns nothingif(nh())thenreturnelsecall
setunitinvulnerable(ty,false)call setunitinvulnerable(jy,false)call
setunitinvulnerable(qy,false)call setunitinvulnerable(sy,false)call
setunitinvulnerable(ry,false)endifendfunctionfunction ph takes nothing returns
nothingset ok=createtrigger()call triggerregisterunitevent(ok,fz,event_unit_death)
call triggeraddaction(ok,function oh)endfunctionfunction qh takes nothing returns
booleanif(not(isunitalivebj(iz)==true))thenreturn falseendifreturn trueendfunction
function rh takes nothing returns nothingif(qh())thenreturnelsecall
setunitinvulnerable(jy,false)call setunitinvulnerable(uy,false)call
setunitinvulnerable(ly,false)call setunitinvulnerable(my,false)call
setunitinvulnerable(ky,false)endifendfunctionfunction sh takes nothing returns
nothingset pk=createtrigger()call triggerregisterunitevent(pk,hz,event_unit_death)
call triggeraddaction(pk,function rh)endfunctionfunction th takes nothing returns
booleanif(not(isunitalivebj(hz)==true))thenreturn falseendifreturn trueendfunction
function uh takes nothing returns nothingif(th())thenreturnelsecall
setunitinvulnerable(jy,false)call setunitinvulnerable(uy,false)call
setunitinvulnerable(ly,false)call setunitinvulnerable(my,false)call
setunitinvulnerable(ky,false)endifendfunctionfunction vh takes nothing returns
nothingset qk=createtrigger()call triggerregisterunitevent(qk,iz,event_unit_death)
call triggeraddaction(qk,function uh)endfunctionfunction wh takes nothing returns
booleanif(not(isunitalivebj(jz)==true))thenreturn falseendifreturn trueendfunction
function xh takes nothing returns nothingif(wh())thenreturnelsecall
setunitinvulnerable(uy,false)call setunitinvulnerable(by,false)call
setunitinvulnerable(oy,false)call setunitinvulnerable(ny,false)call
setunitinvulnerable(py,false)endifendfunctionfunction yh takes nothing returns
nothingset rk=createtrigger()call triggerregisterunitevent(rk,kz,event_unit_death)
call triggeraddaction(rk,function xh)endfunctionfunction zh takes nothing returns
booleanif(not(isunitalivebj(kz)==true))thenreturn falseendifreturn trueendfunction
function di takes nothing returns nothingif(zh())thenreturnelsecall
setunitinvulnerable(uy,false)call setunitinvulnerable(by,false)call
setunitinvulnerable(oy,false)call setunitinvulnerable(ny,false)call
setunitinvulnerable(py,false)endifendfunctionfunction ei takes nothing returns
nothingset sk=createtrigger()call triggerregisterunitevent(sk,jz,event_unit_death)
call triggeraddaction(sk,function di)endfunctionfunction fi takes nothing returns
nothingcall setunitinvulnerable(wz,false)endfunctionfunction gi takes nothing
returns nothingset tk=createtrigger()call
triggerregisterunitevent(tk,vz,event_unit_death)call triggeraddaction(tk,function
fi)endfunctionfunction hi takes nothing returns nothingcall
setunitinvulnerable(hz,false)call setunitinvulnerable(iz,false)call
setunitinvulnerable(xy,false)call setunitinvulnerable(az,false)endfunctionfunction
ii takes nothing returns nothingset uk=createtrigger()call
triggerregisterunitevent(uk,wz,event_unit_death)call triggeraddaction(uk,function
hi)endfunctionfunction ji takes nothing returns nothingcall
setunitinvulnerable(zz,false)endfunctionfunction ki takes nothing returns nothing
set vk=createtrigger()call triggerregisterunitevent(vk,xz,event_unit_death)call
triggeraddaction(vk,function ji)endfunctionfunction mi takes nothing returns
nothingcall setunitinvulnerable(kz,false)call setunitinvulnerable(jz,false)call
setunitinvulnerable(az,false)endfunctionfunction ni takes nothing returns nothing
set wk=createtrigger()call triggerregisterunitevent(wk,zz,event_unit_death)call
triggeraddaction(wk,function mi)endfunctionfunction oi takes nothing returns
booleanreturn(e>3)endfunctionfunction pi takes nothing returns nothingset
e=getrandomint(1,10)if(oi())thencall donothing()elsereturnendifcall
modifygatebj(bj_gateoperation_open,kz)endfunctionfunction qi takes nothing returns
nothingset xk=createtrigger()call
triggerregistertimereventperiodic(xk,getrandomreal(15.00,75.00))call
triggeraddaction(xk,function pi)endfunctionfunction ri takes nothing returns
booleanif(not(unithasitemoftypebj(gettriggerunit(),1803121518)==true))thenreturn
falseendifreturn trueendfunctionfunction si takes nothing returns nothingcall
modifygatebj(bj_gateoperation_open,lz)call uz(1.60)call
modifygatebj(bj_gateoperation_close,lz)endfunctionfunction ti takes nothing
returns nothingset yk=createtrigger()call
triggerregisterunitinrangesimple(yk,256,lz)call
triggeraddcondition(yk,condition(function ri))call triggeraddaction(yk,function
si)endfunctionfunction ui takes nothing returns boolean
if(not(unithasitemoftypebj(gettriggerunit(),1803121518)==true))thenreturn false
endifreturn trueendfunctionfunction vi takes nothing returns nothingcall
modifygatebj(bj_gateoperation_open,kz)call uz(0.40)call
modifygatebj(bj_gateoperation_open,kz)call uz(0.40)call
modifygatebj(bj_gateoperation_open,kz)call uz(0.40)call
modifygatebj(bj_gateoperation_open,kz)call uz(0.40)call
modifygatebj(bj_gateoperation_close,kz)endfunctionfunction wi takes nothing
returns nothingset zk=createtrigger()call
triggerregisterunitinrangesimple(zk,256,jz)call
triggeraddcondition(zk,condition(function ui))call triggeraddaction(zk,function
vi)endfunctionfunction xi takes nothing returns booleanif(not(kf<=0.00))thenreturn
falseendifreturn trueendfunctionfunction yi takes nothing returns nothing
if(xi())thencall disabletrigger(gettriggeringtrigger())elsecall
setwaterbasecolorbj(100,kf,kf,0)set kf=(kf-5.00)endifendfunctionfunction zi takes
nothing returns nothingset dm=createtrigger()call
triggerregistertimereventperiodic(dm,75.00)call triggeraddaction(dm,function yi)
endfunctionfunction ai takes nothing returns booleanif(not(md==true))thenreturn
falseendifreturn trueendfunctionfunction ai takes nothing returns boolean
return(getplayerslotstate(getfilterplayer())==player_slot_state_playing)
endfunctionfunction bi takes nothing returns boolean
return(getplayercontroller(getfilterplayer())==map_control_user)endfunction
function bi takes nothing returns booleanreturn getbooleanand(ai(),bi())
endfunctionfunction ci takes nothing returns nothingcall
createnunitsatloc(1,1853056353,getenumplayer(),getrectcenter(xi),bj_unit_facing)
endfunctionfunction ci takes nothing returns boolean
return(getplayerslotstate(getfilterplayer())==player_slot_state_playing)
endfunctionfunction di takes nothing returns boolean
return(getplayercontroller(getfilterplayer())==map_control_user)endfunction
function ei takes nothing returns booleanreturn getbooleanand(ci(),di())
endfunctionfunction fi takes nothing returns nothingcall
setplayerstatebj(getenumplayer(),player_state_resource_lumber,1)endfunction
function gi takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1853056353)endfunctionfunction hi takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652105)
endfunctionfunction ii takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652106)endfunctionfunction li takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652102)
endfunctionfunction ji takes nothing returns booleanreturn
getbooleanand(ii(),li())endfunctionfunction ki takes nothing returns booleanreturn
getbooleanand(hi(),ji())endfunctionfunction li takes nothing returns booleanreturn
getbooleanand(gi(),ki())endfunctionfunction mi takes nothing returns nothingcall
pauseunitbj(true,getenumunit())endfunctionfunction ni takes nothing returns
nothingcall pancameratotimedlocforplayer(getenumplayer(),getrectcenter(xi),0)
endfunctionfunction oi takes nothing returns nothingif(ai())thencall
disabletrigger(zn)call disabletrigger(vn)elsecall disabletrigger(yn)call
disabletrigger(un)endifcall
questmessagebj(getplayersall(),bj_questmessage_updated,"striker system is now in
effect!")call playsoundbj(xi)call
createnunitsatloc(1,1848652102,player(player_neutral_passive),getrectcenter(ai),bj
_unit_facing)call
createnunitsatloc(1,1848652105,player(player_neutral_passive),getrectcenter(ai),bj
_unit_facing)call
createnunitsatloc(1,1848652106,player(player_neutral_passive),getrectcenter(bi),bj
_unit_facing)call forforce(wa(condition(function bi)),function ci)call
forforce(wa(condition(function ei)),function fi)call
forgroupbj(fa(getplayablemaprect(),condition(function li)),function mi)call
forforce(getplayersall(),function ni)call uz(2.00)call
questmessagebj(getplayersall(),bj_questmessage_completed,"choose your striker...")
call displaytexttoforce(getplayersall(),"trigstr_7583")call enabletrigger(fm)call
enabletrigger(bm)set hf=32set if=32set mf[1]=1747989297set mf[2]=1747989077set
mf[3]=1747989072set mf[4]=1747989301set mf[5]=1747989073set mf[6]=1747989296set
mf[7]=1747989057set mf[8]=1747989079set mf[9]=1747989304set mf[10]=1747989076set
mf[11]=1747989061set mf[12]=1747989064set mf[13]=1747989298set mf[14]=1747989081
set mf[15]=1747989078set mf[16]=1747989303set mf[17]=1747989065set
mf[18]=1747989071set mf[19]=1747989082set mf[20]=1747989074set mf[21]=1747989058
set mf[22]=1747989299set mf[23]=1747989059set mf[24]=1747989300set
mf[25]=1747989049set mf[26]=1747989066set mf[27]=1747989062set mf[28]=1747989302
set mf[29]=1747989063set mf[30]=1747989080set mf[31]=1747989060set
mf[32]=1747989318set bj_forloopaindex=1set bj_forloopaindexend=32loopexitwhen
bj_forloopaindex>bj_forloopaindexendset lf[getforloopindexa()]=getforloopindexa()
set bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction pi takes nothing
returns nothingset em=createtrigger()call
triggerregistertimereventsingle(em,100.00)call triggeraddaction(em,function oi)
endfunctionfunction qi takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1853056353)endfunctionfunction ri takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652105)
endfunctionfunction si takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652106)endfunctionfunction ti takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652102)
endfunctionfunction ui takes nothing returns booleanreturn
getbooleanand(si(),ti())endfunctionfunction vi takes nothing returns booleanreturn
getbooleanand(ri(),ui())endfunctionfunction wi takes nothing returns booleanreturn
getbooleanand(qi(),vi())endfunctionfunction xi takes nothing returns nothingcall
pauseunitbj(true,getenumunit())endfunctionfunction yi takes nothing returns
nothingcall forgroupbj(fa(getplayablemaprect(),condition(function wi)),function
xi)endfunctionfunction zi takes nothing returns nothingset fm=createtrigger()call
disabletrigger(fm)call triggerregistertimereventperiodic(fm,1.00)call
triggeraddaction(fm,function yi)endfunctionfunction dl takes nothing returns
booleanif(not(isunittype(getenteringunit(),unit_type_hero)==true))thenreturn false
endifreturn trueendfunctionfunction el takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1160785974))thenreturn falseendifreturn
trueendfunctionfunction fl takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1311780952))thenreturn falseendifreturn
trueendfunctionfunction gl takes nothing returns nothingcall
setunitpositionloc(getenteringunit(),getrectcenter(oi))if(el())thencall
unitdamagetargetbj(az,getenteringunit(),99999.00,attack_type_chaos,damage_type_nor
mal)call triggerexecute(gj)elseendifif(fl())thencall
unitdamagetargetbj(az,getenteringunit(),99999.00,attack_type_chaos,damage_type_nor
mal)call triggerexecute(vq)elseendifendfunctionfunction hl takes nothing returns
nothingset gm=createtrigger()call disabletrigger(gm)call
triggerregisterenterrectsimple(gm,ug)call
triggeraddcondition(gm,condition(function dl))call triggeraddaction(gm,function
gl)endfunctionfunction il takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendif
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])!=1160785986))th
enreturn falseendif
if(not(getplayerstate(gettriggerplayer(),player_state_resource_gold)>499))then
return falseendifreturn trueendfunctionfunction jl takes nothing returns nothing
call
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction kl takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction ml takes nothing returns booleanif(not(ld==true))thenreturn
falseendifreturn trueendfunctionfunction nl takes nothing returns boolean
if(not(ld==true))thenreturn falseendifreturn trueendfunctionfunction ol takes
nothing returns nothingcall uz(2.00)call
unitdamagetargetbj(az,j4[getconvertedplayerid(gettriggerplayer())],99999.00,attack
_type_chaos,damage_type_normal)call
forgroupbj(sa(gettriggerplayer(),1328558134),function jl)call
forgroupbj(sa(gettriggerplayer(),1160785973),function kl)call
questmessagebj(getplayersall(),bj_questmessage_secret,(getplayername(gettriggerpla
yer())+" has suicided !!! an extra fee of 150 gold is deducted !"))call
adjustplayerstatebj(-150,gettriggerplayer(),player_state_resource_gold)
if(ml())thencall triggerexecute(gj)elseendifif(nl())thencall triggerexecute(vq)
elseendifendfunctionfunction pl takes nothing returns nothingset
hm=createtrigger()call
triggerregisterplayerchatevent(hm,player(0),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(1),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(2),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(3),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(4),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(5),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(6),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(7),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(8),"-suicide",true)call
triggerregisterplayerchatevent(hm,player(9),"-suicide",true)call
triggeraddcondition(hm,condition(function il))call triggeraddaction(hm,function
ol)endfunctionfunction ql takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652085))thenreturn falseendif
if(not(isunitenemy(getenteringunit(),player(10))==true))thenreturn falseendif
return trueendfunctionfunction rl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(10))==true)endfunctionfunction sl takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction tl takes nothing returns booleanreturn
getbooleanand(rl(),sl())endfunctionfunction ul takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction vl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(10))==true)endfunctionfunction wl takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction xl takes nothing returns booleanreturn
getbooleanand(vl(),wl())endfunctionfunction yl takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction zl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(10))==true)endfunctionfunction al takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction al takes nothing returns booleanreturn
getbooleanand(zl(),al())endfunctionfunction bl takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction bl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(10))==true)endfunctionfunction cl takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction cl takes nothing returns booleanreturn
getbooleanand(bl(),cl())endfunctionfunction dl takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction el takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(10))==true)endfunctionfunction fl takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction gl takes nothing returns booleanreturn
getbooleanand(el(),fl())endfunctionfunction hl takes nothing returns nothingcall
explodeunitbj(getenumunit())endfunctionfunction il takes nothing returns nothing
call displaytexttoforce(getplayersall(),"an enemy courier was caught trying to
infiltrate the enemy village and has been executed!")call
unitdamagetargetbj(az,getenteringunit(),99999.00,attack_type_chaos,damage_type_nor
mal)set bj_wantdestroygroup=truecall forgroupbj(fa(ni,condition(function
tl)),function ul)call triggersleepaction(0.50)set bj_wantdestroygroup=truecall
forgroupbj(fa(ni,condition(function xl)),function yl)call triggersleepaction(1.00)
set bj_wantdestroygroup=truecall forgroupbj(fa(ni,condition(function al)),function
bl)call triggersleepaction(1.00)set bj_wantdestroygroup=truecall
forgroupbj(fa(ni,condition(function cl)),function dl)set bj_wantdestroygroup=true
call forgroupbj(fa(ni,condition(function gl)),function hl)endfunctionfunction ll
takes nothing returns nothingset im=createtrigger()call
triggerregisterenterrectsimple(im,ni)call triggerregisterenterrectsimple(im,pi)
call triggerregisterenterrectsimple(im,si)call
triggeraddcondition(im,condition(function ql))call triggeraddaction(im,function
il)endfunctionfunction jl takes nothing returns nothingcall
displaytexttoforce(getplayersall(),"|cffffcc00no invasion|r mode has been
activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")call disabletrigger(aw)call disabletrigger(bw)call disabletrigger(zw)
call disabletrigger(aw)endfunctionfunction kl takes nothing returns nothingset
jm=createtrigger()call triggerregisterplayerchatevent(jm,player(0),"-no
invasion",true)call triggerregisterplayerchatevent(jm,player(0),"-nv",true)call
triggeraddaction(jm,function jl)endfunctionfunction ll takes nothing returns
booleanif(not(getunittypeid(getenteringunit())==1848652085))thenreturn falseendif
return trueendfunctionfunction ml takes nothing returns nothingcall
unitapplytimedlifebj(100.00,1112820806,getenteringunit())call
setunitmovespeed(getenteringunit(),2000.00)endfunctionfunction nl takes nothing
returns nothingset km=createtrigger()call triggerregisterenterrectsimple(km,ji)
call triggerregisterenterrectsimple(km,ki)call
triggeraddcondition(km,condition(function ll))call triggeraddaction(km,function
ml)endfunctionfunction ol takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652085))thenreturn falseendif
if(not(isunitenemy(getenteringunit(),player(11))==true))thenreturn falseendif
return trueendfunctionfunction pl takes
nothing returns booleanreturn(isunitenemy(getfilterunit(),player(11))==true)
endfunctionfunction ql takes nothing returns boolean
return(getunittypeid(getfilterunit())==1848652085)endfunctionfunction rl takes
nothing returns booleanreturn getbooleanand(pl(),ql())endfunctionfunction sl takes
nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction tl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(11))==true)endfunctionfunction ul takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction vl takes nothing returns booleanreturn
getbooleanand(tl(),ul())endfunctionfunction wl takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction xl takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(11))==true)endfunctionfunction yl takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction zl takes nothing returns booleanreturn
getbooleanand(xl(),yl())endfunctionfunction d1 takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction e1 takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(11))==true)endfunctionfunction f1 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction g1 takes nothing returns booleanreturn
getbooleanand(e1(),f1())endfunctionfunction i1 takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction j1 takes nothing returns boolean
return(isunitenemy(getfilterunit(),player(11))==true)endfunctionfunction m1 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652085)
endfunctionfunction n1 takes nothing returns booleanreturn
getbooleanand(j1(),m1())endfunctionfunction o1 takes nothing returns nothingcall
explodeunitbj(getenumunit())endfunctionfunction p1 takes nothing returns nothing
call displaytexttoforce(getplayersall(),"an enemy courier was caught trying to
infiltrate the enemy village and has been executed!")call
unitdamagetargetbj(az,getenteringunit(),99999.00,attack_type_chaos,damage_type_nor
mal)set bj_wantdestroygroup=truecall forgroupbj(fa(mi,condition(function
rl)),function sl)call uz(0.50)set bj_wantdestroygroup=truecall
forgroupbj(fa(mi,condition(function vl)),function wl)call uz(1.00)set
bj_wantdestroygroup=truecall forgroupbj(fa(mi,condition(function zl)),function d1)
call uz(1.00)set bj_wantdestroygroup=truecall forgroupbj(fa(mi,condition(function
g1)),function i1)set bj_wantdestroygroup=truecall
forgroupbj(fa(mi,condition(function n1)),function o1)endfunctionfunction q1 takes
nothing returns nothingset mm=createtrigger()call
triggerregisterenterrectsimple(mm,mi)call triggerregisterenterrectsimple(mm,qi)
call triggerregisterenterrectsimple(mm,ri)call
triggeraddcondition(mm,condition(function ol))call triggeraddaction(mm,function
p1)endfunctionfunction r1 takes nothing returns boolean
if(not(gettriggerplayer()==getowningplayer(h7)))thenreturn falseendifreturn true
endfunctionfunction s1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1667786099),getenumuni
t())endfunctionfunction t1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction u1 takes
nothing returns booleanif(not(y7==1))thenreturn falseendifreturn trueendfunction
function v1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187749),getenumuni
t())endfunctionfunction w1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction x1 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction y1 takes
nothing returns booleanif(not(y7==2))thenreturn falseendifreturn trueendfunction
function z1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1701734259),getenumuni
t())endfunctionfunction a1 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction a1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction b1 takes
nothing returns booleanif(not(y7==7))thenreturn falseendifreturn trueendfunction
function b1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187750),getenumuni
t())endfunctionfunction c1 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction c1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction d1 takes
nothing returns booleanif(not(y7==11))thenreturn falseendifreturn trueendfunction
function e1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735222898),getenumuni
t())endfunctionfunction f1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction g1 takes
nothing returns booleanif(not(y7==12))thenreturn falseendifreturn trueendfunction
function h1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1785753204),getenumuni
t())endfunctionfunction i1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction l1 takes
nothing returns booleanif(not(y7==13))thenreturn falseendifreturn trueendfunction
function j1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1227895385),getenumuni
t())endfunctionfunction k1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction l1 takes
nothing returns booleanif(not(y7==16))thenreturn falseendifreturn trueendfunction
function m1 takes nothing returns nothingcall removeunit(getenumunit())endfunction
function n1 takes nothing returns booleanif(not(y7==17))thenreturn falseendif
return trueendfunctionfunction o1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532402),getenumuni
t())endfunctionfunction p1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction q1 takes
nothing returns booleanif(not(y7==8))thenreturn falseendifreturn trueendfunction
function r1 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735356530),getenumuni
t())endfunctionfunction s1 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction t1 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction u1 takes
nothing returns booleanif(not(y7==18))thenreturn falseendifreturn trueendfunction
function v1 takes nothing returns nothingcall removeunit(getenumunit())endfunction
function w1 takes nothing returns booleanif(not(y7==3))thenreturn falseendifreturn
trueendfunctionfunction x1 takes nothing returns nothingif(u1())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function s1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function t1)))call
disabletrigger(yx)elseendifif(y1())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function v1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function w1)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1747988792),function x1)call
disabletrigger(fx)call disabletrigger(gx)elseendifif(b1())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function z1)set
bj_wantdestroygroup=truecall forgroupbj(pa(1747988793),function a1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a1)))call
disabletrigger(jx)call disabletrigger(lx)elseendifif(d1())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function b1)set
bj_wantdestroygroup=truecall forgroupbj(pa(1865429071),function c1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c1)))call
disabletrigger(hx)call disabletrigger(ix)elseendifif(g1())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function e1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function f1)))call
disabletrigger(cx)elseendifif(l1())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function h1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function i1)))call
disabletrigger(ax)elseendifif(l1())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function j1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function k1)))call
disabletrigger(cx)elseendifif(n1())thencall disabletrigger(bx)call
disabletrigger(ax)set n8=pa(m8)set bj_wantdestroygroup=truecall
forgroupbj(n8,function m1)call destroygroup(n8)set n8=nullelseendifif(q1())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function o1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function p1)))call
disabletrigger(zx)elseendifif(u1())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function r1)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function s1)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1751672179),function t1)call
disabletrigger(dx)call disabletrigger(ex)elseendifif(w1())thenset n8=pa(m8)set
bj_wantdestroygroup=truecall forgroupbj(n8,function v1)call destroygroup(n8)set
n8=nullcall disabletrigger(bx)call
disabletrigger(bx)elseendifset c7=(c7-3)call playsoundbj(ki)set b7=0call
displaytexttoforce(getplayersall(),"konoha has been shamed by the failure of a
mission ! they will pay a penalty of |cffffcc00350 gold|r each...")set h7=nullset
v7[getconvertedplayerid(gettriggerplayer())]="you have no missions at the moment."
set e7="no missions."set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
350,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction y1 takes nothing
returns nothingset nm=createtrigger()call
triggerregisterplayereventleave(nm,player(0))call
triggerregisterplayereventleave(nm,player(1))call
triggerregisterplayereventleave(nm,player(2))call
triggerregisterplayereventleave(nm,player(3))call
triggerregisterplayereventleave(nm,player(4))call
triggeraddcondition(nm,condition(function r1))call triggeraddaction(nm,function
x1)endfunctionfunction z1 takes nothing returns boolean
if(not(gettriggerplayer()==getowningplayer(l7)))thenreturn falseendifreturn true
endfunctionfunction dj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1635412082),getenumuni
t())endfunctionfunction ej takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fj takes
nothing returns booleanif(not(r8==1))thenreturn falseendifreturn trueendfunction
function gj takes nothing returns nothingcall removeunit(getenumunit())endfunction
function hj takes nothing returns booleanif(not(r8==2))thenreturn falseendifreturn
trueendfunctionfunction ij takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1836020340),getenumuni
t())endfunctionfunction jj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction kj takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction mj takes
nothing returns booleanif(not(r8==3))thenreturn falseendifreturn trueendfunction
function nj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1818584167),getenumuni
t())endfunctionfunction oj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction pj takes
nothing returns booleanif(not(r8==6))thenreturn falseendifreturn trueendfunction
function qj takes nothing returns nothingcall removeunit(getenumunit())endfunction
function rj takes nothing returns booleanif(not(r8==7))thenreturn falseendifreturn
trueendfunctionfunction sj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1668180078),getenumuni
t())endfunctionfunction tj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction uj takes
nothing returns booleanif(not(r8==11))thenreturn falseendifreturn trueendfunction
function vj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1684760183),getenumuni
t())endfunctionfunction wj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction xj takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction yj takes
nothing returns booleanif(not(r8==12))thenreturn falseendifreturn trueendfunction
function zj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532403),getenumuni
t())endfunctionfunction aj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction aj takes
nothing returns booleanif(not(r8==16))thenreturn falseendifreturn trueendfunction
function bj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532401),getenumuni
t())endfunctionfunction bj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction cj takes
nothing returns booleanif(not(r8==13))thenreturn falseendifreturn trueendfunction
function cj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1835496555),getenumuni
t())endfunctionfunction dj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction ej takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction fj takes
nothing returns booleanif(not(r8==17))thenreturn falseendifreturn trueendfunction
function gj takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1803119982),getenumuni
t())endfunctionfunction hj takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction ij takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction lj takes
nothing returns booleanif(not(r8==8))thenreturn falseendifreturn trueendfunction
function jj takes nothing returns nothingcall removeunit(getenumunit())endfunction
function kj takes nothing returns booleanif(not(r8==18))thenreturn falseendif
return trueendfunctionfunction lj takes nothing returns nothingif(fj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function dj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ej)))call
disabletrigger(qy)elseendifif(hj())thenset w8=pa(t8)set bj_wantdestroygroup=true
call forgroupbj(w8,function gj)call destroygroup(w8)set w8=nullcall
disabletrigger(ny)call disabletrigger(my)elseendifif(mj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function ij)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jj)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1747988805),function kj)call
disabletrigger(iy)call disabletrigger(ey)elseendifif(pj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function nj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function oj)))call
disabletrigger(uy)elseendifif(rj())thenset w8=pa(t8)set bj_wantdestroygroup=true
call forgroupbj(w8,function qj)call destroygroup(w8)set w8=nullcall
disabletrigger(oy)call disabletrigger(my)elseendifif(uj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function sj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function tj)))call
disabletrigger(sy)elseendifif(yj())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function vj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function wj)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1747988802),function xj)call
disabletrigger(zx)call disabletrigger(hy)elseendifif(aj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function zj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function aj)))call
disabletrigger(ry)elseendifif(cj())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function bj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bj)))call
disabletrigger(ty)elseendifif(fj())thenset bj_wantdestroygroup=truecall
forgroupbj(ha(getplayablemaprect()),function cj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dj)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1747988803),function ej)call
disabletrigger(gy)call disabletrigger(ky)elseendifif(lj())thenset
bj_wantdestroygroup=truecall forgroupbj(ha(getplayablemaprect()),function gj)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hj)))set
bj_wantdestroygroup=truecall forgroupbj(pa(1865429075),function ij)call
disabletrigger(jy)call disabletrigger(fy)elseendifif(kj())thenset w8=pa(t8)set
bj_wantdestroygroup=truecall forgroupbj(w8,function jj)call destroygroup(w8)set
w8=nullcall disabletrigger(py)call disabletrigger(my)elseendifset d7=(d7-3)call
playsoundbj(ki)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"sound has been
shamed by the failure of a mission ! they will pay a penalty of |cffffcc00350
gold|r each...")set l7=nullset v7[getconvertedplayerid(gettriggerplayer())]="you
have no missions at the moment."set f7="no missions."set bj_forloopaindex=6set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(-350,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction mj takes nothing
returns nothingset om=createtrigger()call
triggerregisterplayereventleave(om,player(5))call
triggerregisterplayereventleave(om,player(6))call
triggerregisterplayereventleave(om,player(7))call
triggerregisterplayereventleave(om,player(8))call
triggerregisterplayereventleave(om,player(9))call
triggeraddcondition(om,condition(function z1))call triggeraddaction(om,function
lj)endfunctionfunction nj takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction oj takes nothing
returns nothingcall displaytimedtexttoforce(wa(condition(function
nj)),1.00,"trigstr_9322")endfunctionfunction pj takes nothing returns nothingset
pm=createtrigger()call triggerregisterplayerchatevent(pm,player(0),"-clear",true)
call triggerregisterplayerchatevent(pm,player(1),"-clear",true)call
triggerregisterplayerchatevent(pm,player(2),"-clear",true)call
triggerregisterplayerchatevent(pm,player(3),"-clear",true)call
triggerregisterplayerchatevent(pm,player(4),"-clear",true)call
triggerregisterplayerchatevent(pm,player(5),"-clear",true)call
triggerregisterplayerchatevent(pm,player(6),"-clear",true)call
triggerregisterplayerchatevent(pm,player(7),"-clear",true)call
triggerregisterplayerchatevent(pm,player(8),"-clear",true)call
triggerregisterplayerchatevent(pm,player(9),"-clear",true)call
triggeraddaction(pm,function oj)endfunctionfunction qj takes nothing returns
nothingcall createquestbj(bj_questtype_req_discovered,"goal of the
game","trigstr_8817","replaceabletextures\\commandbuttons\\btnambush.blp")call
createquestbj(bj_questtype_req_discovered,"new troops spawning","in naruto wars
9.0, there is a new style of troop spawning. whenever any village has its
frontmost defender attacked by an enemy troop, it will unleash an extra wave of
troops to that assigned lane. there is a cooldown so that this does not occur
every few seconds. this is why at times, a certain army in a lane is larger than
another. note: this only starts occuring after 15 minutes into the
game.","replaceabletextures\\commandbuttons\\btnshockwave.blp")call
createquestbj(bj_questtype_req_discovered,"missions","trigstr_9103","replaceablete
xtures\\commandbuttons\\btnacolyte.blp")call
createquestbj(bj_questtype_req_discovered,"mission
commands","trigstr_9320","replaceabletextures\\commandbuttons\\btnavatar.blp")call
createquestbj(bj_questtype_req_discovered,"invasions","trigstr_2308","replaceablet
extures\\commandbuttons\\btnberserk.blp")call
createquestbj(bj_questtype_req_discovered,"striker
system","trigstr_7593","replaceabletextures\\commandbuttons\\btnchaoswolfrider.blp
")call createquestbj(bj_questtype_opt_discovered,"the river gates","along the
river cutting through the terrain, two gates are closed at all times and only open
at random intervals. till today, few have been able to judge their exact opening
timings. however, a key can be bought to open the gates at any time one comes
across them. this key can be bought from the quest master. note: the gate closes
exactly 1.6 seconds after being opened by someone with a key. to reopen it, simply
step away and return to
it.","replaceabletextures\\commandbuttons\\btnblood&ghostkey.blp")call
createquestbj(bj_questtype_opt_discovered,"the river itself","the river cutting
through the land can only be accessed through specific points where there are
proper openings! you cannot walk up and down a river at any point unless there are
signposts or other obvious entrances nearby. note: the river will slowly turn red
over time as more and more shinobi sacrifice themselves to feed the fat
fishes.","replaceabletextures\\commandbuttons\\btnsummonwaterelemental.blp")call
createquestbj(bj_questtype_opt_discovered,"essences of
bijyuu","trigstr_012","replaceabletextures\\commandbuttons\\btnspiritofvengeance.b
lp")call createquestbj(bj_questtype_opt_discovered,"locker room","near the middle
of your village is a group of box-like entities. these are usable lockers that can
be bought for 300 gold at the shinobi academy, courtesy of the village educational
system. the lockers will be solely owned by you and privacy is guaranteed, but
take note not to stuff permanent items into them or you might find great
difficulty in removing
them...","replaceabletextures\\commandbuttons\\btndustofappearance.blp")call
createquestbj(bj_questtype_opt_discovered,"game
commands","trigstr_8858","replaceabletextures\\commandbuttons\\btnbookofthedead.bl
p")call createquestbj(bj_questtype_opt_discovered,"game commands
2","trigstr_8860","replaceabletextures\\commandbuttons\\btnbansheeadept.blp")call
createquestbj(bj_questtype_opt_discovered,"game
modes","trigstr_8862","replaceabletextures\\commandbuttons\\btnbookofsummoning.blp
")call
createquestbj(bj_questtype_opt_discovered,"credits","trigstr_8813","replaceabletex
tures\\commandbuttons\\btnacorn.blp")call
createquestbj(bj_questtype_opt_discovered,"author's
note","trigstr_9419","replaceabletextures\\commandbuttons\\btnenchantedgemstone.bl
p")endfunctionfunction rj takes nothing returns nothingset qm=createtrigger()call
triggerregistertimereventsingle(qm,2.00)call triggeraddaction(qm,function qj)
endfunctionfunction sj takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1966092338))thenreturn falseendifreturn
trueendfunctionfunction tj takes nothing returns boolean
return(isunitally(getattacker(),player(10))==true)endfunctionfunction uj takes
nothing returns booleanreturn(isunitally(getattacker(),player(10))==true)
endfunctionfunction vj takes nothing returns nothingif(tj())thencall
explodeunitbj(getattacker())elsecall donothing()endifif(uj())thencall
displaytexttoforce(getplayersall(),(("|
cff32cd32"+getplayername(getowningplayer(getattacker())))+" has been punished for
attacking his own hidden village !|r"))elsecall donothing()endifendfunction
function wj takes nothing returns nothingset rm=createtrigger()call
triggerregisteranyuniteventbj(rm,event_player_unit_attacked)call
triggeraddcondition(rm,condition(function sj))call triggeraddaction(rm,function
vj)endfunctionfunction xj takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1970956082))thenreturn falseendifreturn
trueendfunctionfunction yj takes nothing returns boolean
return(isunitally(getattacker(),player(11))==true)endfunctionfunction zj takes
nothing returns booleanreturn(isunitally(getattacker(),player(11))==true)
endfunctionfunction dk takes nothing returns nothingif(yj())thencall
explodeunitbj(getattacker())elsecall donothing()endifif(zj())thencall
displaytexttoforce(getplayersall(),(("|
cff32cd32"+getplayername(getowningplayer(getattacker())))+" has been punished for
attacking his own hidden village !|r"))elsecall donothing()endifendfunction
function ek takes nothing returns nothingset sm=createtrigger()call
triggerregisteranyuniteventbj(sm,event_player_unit_attacked)call
triggeraddcondition(sm,condition(function xj))call triggeraddaction(sm,function
dk)endfunctionfunction fk takes nothing returns boolean
if(not(getowningplayer(getattackedunitbj())!=player(bj_player_neutral_victim)))the
nreturn falseendif
if(not(getowningplayer(getattackedunitbj())!=player(bj_player_neutral_extra)))then
return falseendif
if(not(getowningplayer(getattackedunitbj())!=player(player_neutral_passive)))then
return falseendif
if(not(isplayerally(getowningplayer(getattacker()),getowningplayer(getattackedunit
bj()))==true))thenreturn falseendif
if(not(getunitlifepercent(getattackedunitbj())>25.00))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1848651861))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1853254450))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1853254763))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1853254775))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1853254706))thenreturn falseendif
if(not(getunittypeid(getattackedunitbj())!=1853253996))thenreturn falseendif
if(not(unithasbuffbj(getattackedunitbj(),1112896364)!=true))thenreturn falseendif
if(not(unithasbuffbj(getattackedunitbj(),1110454324)!=true))thenreturn falseendif
return trueendfunctionfunction gk takes nothing returns nothingcall
issueimmediateorderbj(getattacker(),"stop")endfunctionfunction hk takes nothing
returns nothingset tm=createtrigger()call
triggerregisteranyuniteventbj(tm,event_player_unit_attacked)call
triggeraddcondition(tm,condition(function fk))call triggeraddaction(tm,function
gk)endfunctionfunction ik takes nothing returns boolean
return(getunittypeid(getattackedunitbj())==1747988818)endfunctionfunction jk takes
nothing returns booleanreturn(getunittypeid(getattackedunitbj())==1752395892)
endfunctionfunction kk takes nothing returns boolean
return(getunittypeid(getattackedunitbj())==1747988819)endfunctionfunction mk takes
nothing returns booleanreturn(getunittypeid(getattackedunitbj())==1747988567)
endfunctionfunction nk takes nothing returns booleanreturn getbooleanor(kk(),mk())
endfunctionfunction ok takes nothing returns booleanreturn getbooleanor(jk(),nk())
endfunctionfunction pk takes nothing returns booleanif(not
getbooleanor(ik(),ok()))thenreturn falseendifreturn trueendfunctionfunction qk
takes nothing returns boolean
if(not(isunitally(getattacker(),getowningplayer(getattackedunitbj()))==true))then
return falseendifif(not(getunitlifepercent(getattackedunitbj())>10.00))thenreturn
falseendifreturn trueendfunctionfunction rk takes nothing returns nothing
if(qk())thencall issueimmediateorderbj(getattacker(),"stop")elseendifendfunction
function sk takes nothing returns nothingset um=createtrigger()call
triggerregisteranyuniteventbj(um,event_player_unit_attacked)call
triggeraddcondition(um,condition(function pk))call triggeraddaction(um,function
rk)endfunctionfunction tk takes nothing returns nothingcall
displaytexttoforce(getplayersall(),"|cffffcc00no protection|r mode has been
activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")call disabletrigger(tm)call disabletrigger(gettriggeringtrigger())
endfunctionfunction uk takes nothing returns nothingset vm=createtrigger()call
triggerregisterplayerchatevent(vm,player(0),"-no protect",true)call
triggerregisterplayerchatevent(vm,player(0),"-nt",true)call
triggeraddaction(vm,function tk)endfunctionfunction vk takes nothing returns
nothingcall displaytexttoforce(getplayersall(),"|cffffcc00random strikers|r mode
has been activated !")call enabletrigger(am)call
disabletrigger(gettriggeringtrigger())endfunctionfunction wk takes nothing returns
nothingset wm=createtrigger()call
triggerregisterplayerchatevent(wm,player(0),"-randomst",true)call
triggerregisterplayerchatevent(wm,player(0),"-rs",true)call
triggeraddaction(wm,function vk)endfunctionfunction xk takes nothing returns
booleanreturn(e>3)endfunctionfunction yk takes nothing returns nothingset
e=getrandomint(1,10)if(xk())thencall donothing()elsereturnendifcall
modifygatebj(bj_gateoperation_open,lz)endfunctionfunction zk takes nothing returns
nothingset xm=createtrigger()call
triggerregistertimereventperiodic(xm,getrandomreal(15.00,75.00))call
triggeraddaction(xm,function yk)endfunctionfunction ak takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction ak takes
nothing returns booleanreturn(getfilterplayer()==gettriggerplayer())endfunction
function bk takes nothing returns boolean
if(not(getplayerslotstate(k4[1])==player_slot_state_playing))thenreturn falseendif
if(not(getplayercontroller(k4[1])==map_control_user))thenreturn falseendifreturn
trueendfunctionfunction bk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ck takes nothing
returns booleanif(not(getplayerslotstate(k4[2])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[2])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction ck takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction dk takes nothing
returns booleanif(not(getplayerslotstate(k4[3])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[3])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction ek takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction fk takes nothing
returns booleanif(not(getplayerslotstate(k4[4])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[4])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction gk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction hk takes nothing
returns booleanif(not(getplayerslotstate(k4[5])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[5])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction ik takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction lk takes nothing
returns booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction jk
takes nothing returns boolean
if(not(getplayerslotstate(k4[6])==player_slot_state_playing))thenreturn falseendif
if(not(getplayercontroller(k4[6])==map_control_user))thenreturn falseendifreturn
trueendfunctionfunction kk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction lk takes nothing
returns booleanif(not(getplayerslotstate(k4[7])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[7])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction mk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction nk takes nothing
returns booleanif(not(getplayerslotstate(k4[8])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[8])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction ok takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction pk takes nothing
returns booleanif(not(getplayerslotstate(k4[9])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[9])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction qk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction rk takes nothing
returns booleanif(not(getplayerslotstate(k4[10])==player_slot_state_playing))then
return falseendifif(not(getplayercontroller(k4[10])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction sk takes nothing returns nothingcall
displaytexttoforce(wa(condition(function ak)),"striker list:")if(bk())thencall
displaytexttoforce(wa(condition(function ak)),(getunitname(nf[1])+("
("+(getplayername(player(0))+")"))))elseendifif(ck())thencall
displaytexttoforce(wa(condition(function bk)),(getunitname(nf[2])+("
("+(getplayername(player(1))+")"))))elseendifif(dk())thencall
displaytexttoforce(wa(condition(function ck)),(getunitname(nf[3])+("
("+(getplayername(player(2))+")"))))elseendifif(fk())thencall
displaytexttoforce(wa(condition(function ek)),(getunitname(nf[4])+("
("+(getplayername(player(3))+")"))))elseendifif(hk())thencall
displaytexttoforce(wa(condition(function gk)),(getunitname(nf[5])+("
("+(getplayername(player(4))+")"))))elseendifcall
displaytexttoforce(wa(condition(function ik)),"================================")
if(jk())thencall displaytexttoforce(wa(condition(function
lk)),(getunitname(nf[6])+(" ("+(getplayername(player(5))+")"))))elseendif
if(lk())thencall displaytexttoforce(wa(condition(function
kk)),(getunitname(nf[7])+(" ("+(getplayername(player(6))+")"))))elseendif
if(nk())thencall displaytexttoforce(wa(condition(function
mk)),(getunitname(nf[8])+(" ("+(getplayername(player(7))+")"))))elseendif
if(pk())thencall displaytexttoforce(wa(condition(function
ok)),(getunitname(nf[9])+(" ("+(getplayername(player(8))+")"))))elseendif
if(rk())thencall displaytexttoforce(wa(condition(function
qk)),(getunitname(nf[10])+(" ("+(getplayername(player(9))+")"))))elseendif
endfunctionfunction tk takes nothing returns nothingset ym=createtrigger()call
disabletrigger(ym)call
triggerregisterplayerchatevent(ym,player(0),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(1),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(2),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(3),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(4),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(5),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(6),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(7),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(8),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(9),"-strikers",true)call
triggerregisterplayerchatevent(ym,player(0),"-st",true)call
triggerregisterplayerchatevent(ym,player(1),"-st",true)call
triggerregisterplayerchatevent(ym,player(2),"-st",true)call
triggerregisterplayerchatevent(ym,player(3),"-st",true)call
triggerregisterplayerchatevent(ym,player(4),"-st",true)call
triggerregisterplayerchatevent(ym,player(5),"-st",true)call
triggerregisterplayerchatevent(ym,player(6),"-st",true)call
triggerregisterplayerchatevent(ym,player(7),"-st",true)call
triggerregisterplayerchatevent(ym,player(8),"-st",true)call
triggerregisterplayerchatevent(ym,player(9),"-st",true)call
triggeraddaction(ym,function sk)endfunctionfunction uk takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction vk takes
nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction wk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xk takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction yk takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction zk takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction dl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction el takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction fl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction gl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction hl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction il takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction jl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction kl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction ml takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction nl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ol takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction pl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction ql takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction rl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction sl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction tl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction ul takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction
vl takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction wl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction yl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction zl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction al takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction al takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction bl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction bl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction cl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction cl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction dl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction el takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction fl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction gl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction hl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction il takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction ll takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction jl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction kl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ll takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction ml takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction nl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction ol takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction pl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction ql takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction rl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction sl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction tl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction ul takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction vl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction wl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction yl takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction zl takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction dm takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction em takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction fm takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction gm takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction hm takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction im takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction jm takes nothing returns nothing
if(vk())thencall displaytexttoforce(wa(condition(function
uk)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"summons 3
powerful anbu warriors to aid him. lasts for 6 seconds. each anbu warrior deals
65-85 damage.")))elseendifif(xk())thencall
displaytexttoforce(wa(condition(function
wk)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"gives 25%
movement speed boost as well as 15% faster attack speed. aoe of 900. lasts for 8
seconds.")))elseendifif(zk())thencall displaytexttoforce(wa(condition(function
yk)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"summons an
umbrella covering an aoe of 500, dealing 15-30 damage at lightning quick attack
speed. lasts 4 seconds with 500 hit points.")))elseendifif(el())thencall
displaytexttoforce(wa(condition(function
dl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"lasts 7
seconds, dealing 65-85 damage per hit. sends victims flying up into the air for 5
seconds at a chance of 40%.")))elseendifif(gl())thencall
displaytexttoforce(wa(condition(function
fl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"in an aoe
of 900, heals all allies for 15 health per second. lasts for 9 seconds.")))else
endifif(il())thencall displaytexttoforce(wa(condition(function
hl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 400
damage to everyone within an aoe of 400.")))elseendifif(kl())thencall
displaytexttoforce(wa(condition(function
jl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 75
damage every 0.75 second to an aoe of 700, for 5 seconds.")))elseendifif(nl())then
call displaytexttoforce(wa(condition(function
ml)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 150
damage to all nearby enemies within an aoe of 300 and stunning them for 1.5
seconds.")))elseendifif(pl())thencall displaytexttoforce(wa(condition(function
ol)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 50
to 75 damage. further burns target for 75 chakra, with an extra 38 damage to
health.")))elseendifif(rl())thencall displaytexttoforce(wa(condition(function
ql)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"controls
an enemy unit permanently, waiting 2 seconds again before controlling a 2nd
unit.")))elseendifif(tl())thencall displaytexttoforce(wa(condition(function
sl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 18
damage every 0.26 seconds to an aoe of 450 for as long as 7 seconds.")))elseendif
if(vl())thencall displaytexttoforce(wa(condition(function
ul)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"randomly
sleeps a group of enemies within 900 aoe for 10 to 15 seconds. lasts for 7
seconds.")))elseendifif(xl())thencall displaytexttoforce(wa(condition(function
wl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 50
to 75 damage. 35% chance of dishing out a 5 times critical attack.")))elseendif
if(zl())thencall displaytexttoforce(wa(condition(function
yl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 500
damage to a random enemy within 1000 aoe. requires 5 seconds.")))elseendif
if(al())thencall displaytexttoforce(wa(condition(function
al)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 20
to 25 damage at very fast attacking speed. 60% chance of stunning enemy for 0.5
second.")))elseendifif(bl())thencall displaytexttoforce(wa(condition(function
bl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"affected
enemies in an aoe of 500 drop 40% in damage for 5 seconds.")))elseendif
if(cl())thencall displaytexttoforce(wa(condition(function
cl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"slow down
60% in movement speed for all enemies in an aoe of 700. lasts for 5 seconds.")))
elseendifif(el())thencall displaytexttoforce(wa(condition(function
dl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"attacks
enemies with 7 clones that deal 50% damage of the original, which deals 50 to 75
damage.")))elseendifif(gl())thencall displaytexttoforce(wa(condition(function
fl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+("
= "+"deals 200 damage to an aoe of 400, stunning enemies for 1 second as well as
pushing them back.")))elseendifif(il())thencall
displaytexttoforce(wa(condition(function
hl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 65-
85 damage per attack. has a splash damage of 50% covering an aoe of 500. lasts for
7 seconds.")))elseendifif(jl())thencall displaytexttoforce(wa(condition(function
ll)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"reveals an
area for as long as 15 seconds. aoe of 3000. can see hidden units.")))elseendif
if(ll())thencall displaytexttoforce(wa(condition(function
kl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 200
damage to one target and bouncing on to other targets nearby for up to 12 times,
each time damaging 10% less.")))elseendifif(nl())thencall
displaytexttoforce(wa(condition(function
ml)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"deals 100
damage to an aoe of 500 range per second for up to 5 seconds.")))elseendif
if(pl())thencall displaytexttoforce(wa(condition(function
ol)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"heals 225
health.")))elseendifif(rl())thencall displaytexttoforce(wa(condition(function
ql)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"destroys
almost any clones and summons in a 750 aoe instantly. any nets or holding traps
are also removed instantly.")))elseendifif(tl())thencall
displaytexttoforce(wa(condition(function
sl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"regain 250
of your chakra.")))elseendifif(vl())thencall
displaytexttoforce(wa(condition(function
ul)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"heals you
for 150 health, which will bounce on to nearby units up to 6 times, each time
healing 25% less.")))elseendifif(xl())thencall
displaytexttoforce(wa(condition(function
wl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"summons 50
weapons in an aoe of 750 to damage enemies for 5 seconds. each weapon deals 1-5
damage.")))elseendifif(zl())thencall displaytexttoforce(wa(condition(function
yl)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"heals 120
health and 150 chakra.")))elseendifif(em())thencall
displaytexttoforce(wa(condition(function
dm)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"disables
all attacks and jutsu in an aoe of 700 for 6 seconds.")))elseendifif(gm())thencall
displaytexttoforce(wa(condition(function
fm)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"all nearby
allies are inspired and gain a bonus of 35% in damage for 5 seconds. aoe of
750.")))elseendifif(im())thencall displaytexttoforce(wa(condition(function
hm)),(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+(" = "+"disables
all enemy jutsu in an aoe of 600 for 8 seconds.")))elseendifendfunctionfunction km
takes nothing returns nothingset zm=createtrigger()call disabletrigger(zm)call
triggerregisterplayerchatevent(zm,player(0),"-ss",true)call
triggerregisterplayerchatevent(zm,player(1),"-ss",true)call
triggerregisterplayerchatevent(zm,player(2),"-ss",true)call
triggerregisterplayerchatevent(zm,player(3),"-ss",true)call
triggerregisterplayerchatevent(zm,player(4),"-ss",true)call
triggerregisterplayerchatevent(zm,player(5),"-ss",true)call
triggerregisterplayerchatevent(zm,player(6),"-ss",true)call
triggerregisterplayerchatevent(zm,player(7),"-ss",true)call
triggerregisterplayerchatevent(zm,player(8),"-ss",true)call
triggerregisterplayerchatevent(zm,player(9),"-ss",true)call
triggeraddaction(zm,function jm)endfunctionfunction mm takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction nm takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction om takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction pm takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction qm takes nothing returns
booleanif(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))then
return falseendifreturn trueendfunctionfunction rm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(nf[getforloopindexa()])))>1))thenreturn
falseendifreturn trueendfunctionfunction sm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction tm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(nf[getforloopindexa()])))>1))thenreturn
falseendifreturn trueendfunctionfunction um takes nothing returns boolean
return(isunitally(getlastcreatedunit(),player(10))==true)endfunctionfunction vm
takes nothing returns booleanif(not(jf[getforloopindexa()]==0))thenreturn false
endif
if(not(getplayerslotstate(k4[getforloopindexa()])==player_slot_state_playing))then
return falseendif
if(not(getplayercontroller(k4[getforloopindexa()])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction wm takes nothing returns boolean
if(not(md==true))thenreturn falseendifreturn trueendfunctionfunction xm takes
nothing returns boolean
return(getplayerslotstate(getfilterplayer())==player_slot_state_playing)
endfunctionfunction ym takes nothing returns boolean
return(getplayercontroller(getfilterplayer())==map_control_user)endfunction
function zm takes nothing returns booleanreturn getbooleanand(xm(),ym())
endfunctionfunction am takes nothing returns nothingcall
setplayerstatebj(getenumplayer(),player_state_resource_lumber,0)endfunction
function am takes nothing returns nothingcall
pancameratotimedlocforplayer(getenumplayer(),getunitloc(j4[getconvertedplayerid(ge
tenumplayer())]),0)endfunctionfunction bm takes nothing returns nothingcall
forgroupbj(pa(1848652102),function mm)call forgroupbj(pa(1848652105),function nm)
call forgroupbj(pa(1848652106),function om)set a8=pa(1853056353)call
forgroupbj(a8,function pm)call destroygroup(a8)set a8=nullset bj_forloopaindex=1
set bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexend
if(vm())thencall
adjustplayerstatebj(225,k4[getforloopindexa()],player_state_resource_gold)set
of[getforloopindexa()]=4set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()if(qm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(rm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(sm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(tm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(um())thencall
setunitowner(getlastcreatedunit(),player(10),true)elsecall
setunitowner(getlastcreatedunit(),player(11),true)endifcall
questmessagebj(getplayersall(),bj_questmessage_failed,(getplayername(k4[getforloop
indexa()])+(" has randomed "+(getunitname(nf[getforloopindexa()])+" as a partner !
+225 gold"))))call uz(3.00)elseendifset bj_forloopaindex=bj_forloopaindex+1endloop
call disabletrigger(bm)call disabletrigger(fm)call enabletrigger(cm)call
enabletrigger(vn)call enabletrigger(bn)call enabletrigger(bn)call
enabletrigger(an)call enabletrigger(an)call enabletrigger(zn)call
enabletrigger(yn)call enabletrigger(xn)call enabletrigger(wn)call
enabletrigger(cn)call enabletrigger(kn)call enabletrigger(tn)call
enabletrigger(sn)call enabletrigger(rn)call enabletrigger(qn)call
enabletrigger(pn)call enabletrigger(on)call enabletrigger(nn)call
enabletrigger(mn)call enabletrigger(un)call enabletrigger(ym)call
enabletrigger(zm)call enabletrigger(bm)call pauseallunitsbj(false)if(wm())thencall
enabletrigger(zn)call enabletrigger(vn)elsecall enabletrigger(yn)call
enabletrigger(un)endifcall displaytexttoforce(getplayersall(),"returning to
game...")call forforce(wa(condition(function zm)),function am)call
forforce(getplayersall(),function am)call uz(10.00)call
questmessagebj(getplayersall(),bj_questmessage_updated,"in this new version, there
is a new style of troop spawning. when a village has its frontmost defender
attacked by an enemy troop, it will unleash an extra wave of troops to that
attacked lane. there is a cooldown so that this does not occur every few seconds.
this is why at times, a certain army in a lane is larger than another. this only
starts after 10 minutes into the game.")endfunctionfunction bm takes nothing
returns nothingset am=createtrigger()call
triggerregistertimereventsingle(am,120.00)call triggeraddaction(am,function bm)
endfunctionfunction cm takes nothing returns booleanif(not(md==true))thenreturn
falseendifreturn trueendfunctionfunction cm takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1853056353)endfunctionfunction dm takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652105)
endfunctionfunction em takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1848652106)
endfunctionfunction fm takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652102)endfunctionfunction gm takes
nothing returns booleanreturn getbooleanand(em(),fm())endfunctionfunction hm takes
nothing returns booleanreturn getbooleanand(dm(),gm())endfunctionfunction im takes
nothing returns booleanreturn getbooleanand(cm(),hm())endfunctionfunction lm takes
nothing returns nothingcall pauseunitbj(true,getenumunit())endfunctionfunction jm
takes nothing returns nothingcall
pancameratotimedlocforplayer(getenumplayer(),getrectcenter(xi),0)endfunction
function km takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction lm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(nf[getforloopindexa()])))>1))thenreturn
falseendifreturn trueendfunctionfunction mm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction nm takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(nf[getforloopindexa()])))>1))thenreturn
falseendifreturn trueendfunctionfunction om takes nothing returns boolean
return(isunitally(getlastcreatedunit(),player(10))==true)endfunctionfunction pm
takes nothing returns booleanif(not(jf[getforloopindexa()]==0))thenreturn false
endif
if(not(getplayerslotstate(k4[getforloopindexa()])==player_slot_state_playing))then
return falseendif
if(not(getplayercontroller(k4[getforloopindexa()])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction qm takes nothing returns boolean
if(not(md==true))thenreturn falseendifreturn trueendfunctionfunction rm takes
nothing returns boolean
return(getplayerslotstate(getfilterplayer())==player_slot_state_playing)
endfunctionfunction sm takes nothing returns boolean
return(getplayercontroller(getfilterplayer())==map_control_user)endfunction
function tm takes nothing returns booleanreturn getbooleanand(rm(),sm())
endfunctionfunction um takes nothing returns nothingcall
setplayerstatebj(getenumplayer(),player_state_resource_lumber,0)endfunction
function vm takes nothing returns nothingcall
pancameratotimedlocforplayer(getenumplayer(),getunitloc(j4[getconvertedplayerid(ge
tenumplayer())]),0)endfunctionfunction wm takes nothing returns nothingcall
disabletrigger(em)call disabletrigger(am)if(cm())thencall disabletrigger(zn)call
disabletrigger(vn)elsecall disabletrigger(yn)call disabletrigger(un)endifcall
questmessagebj(getplayersall(),bj_questmessage_updated,"random strikers in
effect...")call playsoundbj(xi)call
forgroupbj(fa(getplayablemaprect(),condition(function im)),function lm)call
forforce(getplayersall(),function jm)call uz(2.00)call enabletrigger(fm)call
enabletrigger(bm)set hf=32set if=32set mf[1]=1747989297set mf[2]=1747989077set
mf[3]=1747989072set mf[4]=1747989301set mf[5]=1747989073set mf[6]=1747989296set
mf[7]=1747989057set mf[8]=1747989079set mf[9]=1747989304set mf[10]=1747989076set
mf[11]=1747989061set mf[12]=1747989064set mf[13]=1747989298set mf[14]=1747989081
set mf[15]=1747989078set mf[16]=1747989303set mf[17]=1747989065set
mf[18]=1747989071set mf[19]=1747989082set mf[20]=1747989074set mf[21]=1747989058
set mf[22]=1747989299set mf[23]=1747989059set mf[24]=1747989300set
mf[25]=1747989049set mf[26]=1747989066set mf[27]=1747989062set mf[28]=1747989302
set mf[29]=1747989063set mf[30]=1747989080set mf[31]=1747989060set
mf[32]=1747989318set bj_forloopaindex=1set bj_forloopaindexend=32loopexitwhen
bj_forloopaindex>bj_forloopaindexendset lf[getforloopindexa()]=getforloopindexa()
set bj_forloopaindex=bj_forloopaindex+1endloopset bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexend
if(pm())thencall
adjustplayerstatebj(225,k4[getforloopindexa()],player_state_resource_gold)set
of[getforloopindexa()]=4set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()if(km())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(lm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(mm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(nm())thencall
removeunit(nf[getforloopindexa()])set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],k4[getforloopindexa()],getrandomlocinrect(xi),bj_un
it_facing)set lf[ff]=ifset if=(if-1)set
nf[getforloopindexa()]=getlastcreatedunit()elseendifif(om())thencall
setunitowner(getlastcreatedunit(),player(10),true)elsecall
setunitowner(getlastcreatedunit(),player(11),true)endifcall
questmessagebj(getplayersall(),bj_questmessage_failed,(getplayername(k4[getforloop
indexa()])+(" has randomed "+(getunitname(nf[getforloopindexa()])+" as a partner !
+225 gold"))))call uz(3.00)elseendifset bj_forloopaindex=bj_forloopaindex+1endloop
call disabletrigger(bm)call disabletrigger(fm)call enabletrigger(cm)call
enabletrigger(vn)call enabletrigger(bn)call enabletrigger(bn)call
enabletrigger(an)call enabletrigger(an)call enabletrigger(zn)call
enabletrigger(yn)call enabletrigger(xn)call enabletrigger(wn)call
enabletrigger(cn)call enabletrigger(kn)call enabletrigger(tn)call
enabletrigger(sn)call enabletrigger(rn)call enabletrigger(qn)call
enabletrigger(pn)call enabletrigger(on)call enabletrigger(nn)call
enabletrigger(mn)call enabletrigger(un)call enabletrigger(ym)call
enabletrigger(zm)call enabletrigger(bm)call pauseallunitsbj(false)if(qm())thencall
enabletrigger(zn)call enabletrigger(vn)elsecall enabletrigger(yn)call
enabletrigger(un)endifcall displaytexttoforce(getplayersall(),"returning to
game...")call forforce(wa(condition(function tm)),function um)call
forforce(getplayersall(),function vm)call uz(10.00)call
questmessagebj(getplayersall(),bj_questmessage_updated,"in this new version, there
is a new style of troop spawning. when a village has its frontmost defender
attacked by an enemy troop, it will unleash an extra wave of troops to that
attacked lane. there is a cooldown so that this does not occur every few seconds.
this is why at times, a certain army in a lane is larger than another. this only
starts after 10 minutes into the game.")endfunctionfunction xm takes nothing
returns nothingset am=createtrigger()call disabletrigger(am)call
triggerregistertimereventsingle(am,95.00)call triggeraddaction(am,function wm)
endfunctionfunction ym takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==0))thenreturn
falseendifreturn trueendfunctionfunction zm takes nothing returns boolean
return(isunitally(getlastcreatedunit(),player(10))==true)endfunctionfunction dn
takes nothing returns nothingcall
adjustplayerstatebj(225,gettriggerplayer(),player_state_resource_gold)set
of[getconvertedplayerid(gettriggerplayer())]=4set ff=getrandomint(1,if)call
createnunitsatloc(1,mf[lf[ff]],gettriggerplayer(),getrandomlocinrect(xi),bj_unit_f
acing)set lf[ff]=ifset if=(if-1)set
nf[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()if(zm())thencall
setunitowner(getlastcreatedunit(),player(10),true)elsecall
setunitowner(getlastcreatedunit(),player(11),true)endifcall
questmessagebj(getplayersall(),bj_questmessage_failed,(getplayername(gettriggerpla
yer())+(" has randomed
"+(getunitname(nf[getconvertedplayerid(gettriggerplayer())])+" as a partner ! +225
gold"))))endfunctionfunction en takes nothing returns nothingset
bm=createtrigger()call disabletrigger(bm)call
triggerregisterplayerchatevent(bm,player(0),"-debug",true)call
triggerregisterplayerchatevent(bm,player(1),"-debug",true)call
triggerregisterplayerchatevent(bm,player(2),"-debug",true)call
triggerregisterplayerchatevent(bm,player(3),"-debug",true)call
triggerregisterplayerchatevent(bm,player(4),"-debug",true)call
triggerregisterplayerchatevent(bm,player(5),"-debug",true)call
triggerregisterplayerchatevent(bm,player(6),"-debug",true)call
triggerregisterplayerchatevent(bm,player(7),"-debug",true)call
triggerregisterplayerchatevent(bm,player(8),"-debug",true)call
triggerregisterplayerchatevent(bm,player(9),"-debug",true)call
triggeraddcondition(bm,condition(function ym))call triggeraddaction(bm,function
dn)endfunctionfunction fn takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
gn takes nothing returns boolean
return(isunitally(getenteringunit(),player(10))==true)endfunctionfunction hn takes
nothing returns boolean
if(not(nf[getconvertedplayerid(getowningplayer(getenteringunit()))]==null))then
return falseendif
if(not(jf[getconvertedplayerid(getowningplayer(getenteringunit()))]==0))thenreturn
falseendifreturn trueendfunctionfunction in takes nothing returns nothing
if(hn())thenset
nf[getconvertedplayerid(getowningplayer(getenteringunit()))]=getenteringunit()set
jf[getconvertedplayerid(getowningplayer(getenteringunit()))]=1call
removeunitfromallstock(getunittypeid(getenteringunit()))set
of[getconvertedplayerid(getowningplayer(getenteringunit()))]=4call
setplayerstatebj(getowningplayer(getenteringunit()),player_state_resource_lumber,0
)call
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getenteringunit(
)))+(" has chosen "+(getunitname(getenteringunit())+" as a partner !"))))
if(gn())thencall setunitowner(getenteringunit(),player(10),true)elsecall
setunitowner(getenteringunit(),player(11),true)endifelsecall
questmessagebj(wa(condition(function fn)),bj_questmessage_failed,"you already have
your striker !")call removeunit(getenteringunit())endifendfunctionfunction jn
takes nothing returns nothingset bm=createtrigger()call disabletrigger(bm)call
triggerregisterenterrectsimple(bm,xi)call triggeraddaction(bm,function in)
endfunctionfunction kn takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction mn takes nothing
returns nothingcall displaytexttoforce(wa(condition(function kn)),("you have
"+(i2s(of[getconvertedplayerid(gettriggerplayer())])+" striker counters left.")))
endfunctionfunction nn takes nothing returns nothingset cm=createtrigger()call
disabletrigger(cm)call triggerregisterplayerchatevent(cm,player(0),"-sc",true)call
triggerregisterplayerchatevent(cm,player(1),"-sc",true)call
triggerregisterplayerchatevent(cm,player(2),"-sc",true)call
triggerregisterplayerchatevent(cm,player(3),"-sc",true)call
triggerregisterplayerchatevent(cm,player(4),"-sc",true)call
triggerregisterplayerchatevent(cm,player(5),"-sc",true)call
triggerregisterplayerchatevent(cm,player(6),"-sc",true)call
triggerregisterplayerchatevent(cm,player(7),"-sc",true)call
triggerregisterplayerchatevent(cm,player(8),"-sc",true)call
triggerregisterplayerchatevent(cm,player(9),"-sc",true)call
triggeraddaction(cm,function mn)endfunctionfunction on takes nothing returns
nothingcall displaytexttoforce(getplayersall(),"|cffffcc00no bijyuu|r mode has
been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")call disabletrigger(cw)call disabletrigger(gettriggeringtrigger())
endfunctionfunction pn takes nothing returns nothingset cm=createtrigger()call
triggerregisterplayerchatevent(cm,player(0),"-no bijyuu",true)call
triggerregisterplayerchatevent(cm,player(0),"-nj",true)call
triggeraddaction(cm,function on)endfunctionfunction qn takes nothing returns
nothingcall displaytexttoforce(getplayersall(),"|cffffcc00mass bijyuu|r mode has
been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")call enabletrigger(cw)call disabletrigger(cw)call
disabletrigger(gettriggeringtrigger())endfunctionfunction rn takes nothing returns
nothingset dm=createtrigger()call
triggerregisterplayerchatevent(dm,player(0),"-mass bijyuu",true)call
triggerregisterplayerchatevent(dm,player(0),"-mj",true)call
triggeraddaction(dm,function qn)endfunctionfunction sn takes nothing returns
nothingcall displaytexttoforce(getplayersall(),"|cffffcc00village up|r mode has
been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")call triggerexecute(kn)call disabletrigger(gettriggeringtrigger())call
disabletrigger(ln)call disabletrigger(jn)endfunctionfunction tn takes nothing
returns nothingset em=createtrigger()call
triggerregisterplayerchatevent(em,player(0),"-village up",true)call
triggerregisterplayerchatevent(em,player(0),"-vu",true)call
triggeraddaction(em,function sn)endfunctionfunction un takes nothing returns
booleanreturn(getunittypeid(getdyingunit())==1747988818)endfunctionfunction vn
takes nothing returns booleanreturn(getunittypeid(getdyingunit())==1752395892)
endfunctionfunction wn takes nothing returns booleanif(not
getbooleanor(un(),vn()))thenreturn falseendifreturn trueendfunctionfunction xn
takes nothing returns boolean
return((countlivingplayerunitsoftypeid(1752395892,player(10))+countlivingplayeruni
tsoftypeid(1747988818,player(10)))<=6)endfunctionfunction yn takes nothing returns
boolean
return((countlivingplayerunitsoftypeid(1752395892,player(10))+countlivingplayeruni
tsoftypeid(1747988818,player(10)))<=6)endfunctionfunction zn takes nothing returns
booleanif(not(q7[1]==0))thenreturn falseendifreturn trueendfunctionfunction an
takes nothing returns boolean
return((countlivingplayerunitsoftypeid(1752395892,player(10))+countlivingplayeruni
tsoftypeid(1747988818,player(10)))<=6)endfunctionfunction an takes nothing returns
nothingcall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,14,i2s((countlivingplayeruni
tsoftypeid(1752395892,player(10))+countlivingplayerunitsoftypeid(1747988818,player
(10)))))if(xn())thencall unitremoveabilitybj(1098282348,vy)elsecall donothing()
endifif(zn())thenif(yn())thencall
questmessagebj(getplayersall(),bj_questmessage_completed,"the konoha base is now
vulnerable to attacks !!!")elsecall donothing()endifelseendifif(an())thenset
q7[1]=1elsecall donothing()endifendfunctionfunction bn takes nothing returns
nothingset fm=createtrigger()call
triggerregisteranyuniteventbj(fm,event_player_unit_death)call
triggeraddcondition(fm,condition(function wn))call triggeraddaction(fm,function
an)endfunctionfunction bn takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988818)endfunctionfunction cn takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1752395892)
endfunctionfunction cn takes nothing returns booleanif(not
getbooleanor(bn(),cn()))thenreturn falseendifreturn trueendfunctionfunction dn
takes nothing returns nothingcall
adjustplayerstatebj(225,getenumplayer(),player_state_resource_gold)endfunction
function en takes nothing returns boolean
if(not(isunitally(getkillingunitbj(),player(10))==true))thenreturn falseendif
return trueendfunctionfunction fn takes nothing returns nothingif(en())thencall
questmessagebj(getplayersall(),bj_questmessage_failed,("|
cffffcc00"+(getplayername(getowningplayer(getkillingunitbj()))+("|r "+" has
successfully prevented an anbu defender from falling into enemy hands!"))))else
call questmessagebj(getplayersall(),bj_questmessage_completed,("|
cffffcc00"+(getplayername(getowningplayer(getkillingunitbj()))+("|r "+(" has
successfully captured an enemy anbu defender! all sound allies receive "+("|
cffffcc00"+("225"+"|r gold!")))))))call forforce(ua(player(11)),function dn)endif
endfunctionfunction gn takes nothing returns nothingset gm=createtrigger()call
triggerregisteranyuniteventbj(gm,event_player_unit_death)call
triggeraddcondition(gm,condition(function cn))call triggeraddaction(gm,function
fn)endfunctionfunction hn takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988819)endfunctionfunction in takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988567)
endfunctionfunction ln takes nothing returns booleanif(not
getbooleanor(hn(),in()))thenreturn falseendifreturn trueendfunctionfunction jn
takes nothing returns nothingcall
adjustplayerstatebj(225,getenumplayer(),player_state_resource_gold)endfunction
function kn takes nothing returns boolean
if(not(isunitally(getkillingunitbj(),player(11))==true))thenreturn falseendif
return trueendfunctionfunction ln takes nothing returns nothingif(kn())thencall
questmessagebj(getplayersall(),bj_questmessage_failed,("|
cffffcc00"+(getplayername(getowningplayer(getkillingunitbj()))+("|r "+" has
successfully killed a fellow criminal defender before it dies to konoha side!"))))
elsecall questmessagebj(getplayersall(),bj_questmessage_completed,("|
cffffcc00"+(getplayername(getowningplayer(getkillingunitbj()))+("|r "+(" has
successfully captured an enemy criminal defender! all konoha allies receive "+("|
cffffcc00"+("225"+"|r gold!")))))))call forforce(ua(player(10)),function jn)endif
endfunctionfunction mn takes nothing returns nothingset hm=createtrigger()call
triggerregisteranyuniteventbj(hm,event_player_unit_death)call
triggeraddcondition(hm,condition(function ln))call triggeraddaction(hm,function
ln)endfunctionfunction nn takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988819)endfunctionfunction on takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988567)
endfunctionfunction pn takes nothing returns booleanif(not
getbooleanor(nn(),on()))thenreturn falseendifreturn trueendfunctionfunction qn
takes nothing returns boolean
return((countlivingplayerunitsoftypeid(1747988819,player(11))+countlivingplayeruni
tsoftypeid(1747988567,player(11)))<=6)endfunctionfunction rn takes nothing returns
boolean
return((countlivingplayerunitsoftypeid(1747988819,player(11))+countlivingplayeruni
tsoftypeid(1747988567,player(11)))<=6)endfunctionfunction sn takes nothing returns
booleanif(not(q7[2]==0))thenreturn falseendifreturn trueendfunctionfunction tn
takes nothing returns boolean
return((countlivingplayerunitsoftypeid(1747988819,player(11))+countlivingplayeruni
tsoftypeid(1747988567,player(11)))<=6)endfunctionfunction un takes nothing returns
nothingcall
multiboardsetitemvaluebj(getlastcreatedmultiboard(),3,15,i2s((countlivingplayeruni
tsoftypeid(1747988819,player(11))+countlivingplayerunitsoftypeid(1747988567,player
(11)))))if(qn())thencall unitremoveabilitybj(1098282348,ly)elsecall donothing()
endifif(sn())thenif(rn())thencall
questmessagebj(getplayersall(),bj_questmessage_completed,"the sound base is now
vulnerable to attacks !!!")elsecall donothing()endifelseendifif(tn())thenset
q7[2]=1elsecall donothing()endifendfunctionfunction vn takes nothing returns
nothingset im=createtrigger()call
triggerregisteranyuniteventbj(im,event_player_unit_death)call
triggeraddcondition(im,condition(function pn))call triggeraddaction(im,function
un)endfunctionfunction wn takes nothing returns boolean
return(getunittypeid(getdyingunit())==1869767017)endfunctionfunction xn takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852140645)
endfunctionfunction yn takes nothing returns boolean
return(getunittypeid(getdyingunit())==1853055597)endfunctionfunction zn takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852007777)
endfunctionfunction do takes nothing returns boolean
return(getunittypeid(getdyingunit())==1852007794)endfunctionfunction eo takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852010091)
endfunctionfunction fo takes nothing returns booleanreturn getbooleanor(do(),eo())
endfunctionfunction go takes nothing returns booleanreturn getbooleanor(zn(),fo())
endfunctionfunction ho takes nothing returns booleanreturn getbooleanor(yn(),go())
endfunctionfunction io takes nothing returns booleanreturn getbooleanor(xn(),ho())
endfunctionfunction jo takes nothing returns booleanif(not
getbooleanor(wn(),io()))thenreturn falseendifreturn trueendfunctionfunction ko
takes nothing returns booleanreturn(e==1)endfunctionfunction mo takes nothing
returns nothingset e=getrandomint(1,15)set ef=getunitloc(getdyingunit())
if(ko())thencall createitemloc(1735355492,ef)elsecall donothing()endifcall
removelocation(ef)endfunctionfunction no takes nothing returns nothingset
lm=createtrigger()call triggerregisteranyuniteventbj(lm,event_player_unit_death)
call triggeraddcondition(lm,condition(function jo))call
triggeraddaction(lm,function mo)endfunctionfunction oo takes nothing returns
nothingset bj_forloopaindex=1set bj_forloopaindexend=20loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
createitemloc(chooserandomitemexbj(8,item_type_powerup),getrandomlocinrect(getplay
ablemaprect()))set bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction
po takes nothing returns nothingset jm=createtrigger()call
triggerregistertimereventsingle(jm,60.00)call triggeraddaction(jm,function oo)
endfunctionfunction qo takes nothing returns nothingset bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
createitemloc(chooserandomitemexbj(8,item_type_powerup),getrandomlocinrect(getplay
ablemaprect()))set bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction
ro takes nothing returns nothingset km=createtrigger()call
triggerregistertimereventsingle(km,2100.00)call triggeraddaction(km,function qo)
endfunctionfunction so takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction to
takes nothing returns nothingset z=getunitmovespeed(getenumunit())endfunction
function uo takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction vo takes nothing
returns nothingset d8=ra(gettriggerplayer(),condition(function so))call
forgroupbj(d8,function to)call destroygroup(d8)set d8=nullcall
displaytimedtexttoforce(wa(condition(function uo)),10.00,("your shinobi movement
speed is : "+i2s(r2i(z))))endfunctionfunction wo takes nothing returns nothingset
lm=createtrigger()call triggerregisterplayerchatevent(lm,player(0),"-sp",true)call
triggerregisterplayerchatevent(lm,player(1),"-sp",true)call
triggerregisterplayerchatevent(lm,player(2),"-sp",true)call
triggerregisterplayerchatevent(lm,player(3),"-sp",true)call
triggerregisterplayerchatevent(lm,player(4),"-sp",true)call
triggerregisterplayerchatevent(lm,player(5),"-sp",true)call
triggerregisterplayerchatevent(lm,player(6),"-sp",true)call
triggerregisterplayerchatevent(lm,player(7),"-sp",true)call
triggerregisterplayerchatevent(lm,player(8),"-sp",true)call
triggerregisterplayerchatevent(lm,player(9),"-sp",true)call
triggerregisterplayerchatevent(lm,player(0),"-speed",true)call
triggerregisterplayerchatevent(lm,player(1),"-speed",true)call
triggerregisterplayerchatevent(lm,player(2),"-speed",true)call
triggerregisterplayerchatevent(lm,player(3),"-speed",true)call
triggerregisterplayerchatevent(lm,player(4),"-speed",true)call
triggerregisterplayerchatevent(lm,player(5),"-speed",true)call
triggerregisterplayerchatevent(lm,player(6),"-speed",true)call
triggerregisterplayerchatevent(lm,player(7),"-speed",true)call
triggerregisterplayerchatevent(lm,player(8),"-speed",true)call
triggerregisterplayerchatevent(lm,player(9),"-speed",true)call
triggeraddaction(lm,function vo)endfunctionfunction xo takes nothing returns
booleanreturn(getunittypeid(getdyingunit())==1751674741)endfunctionfunction yo
takes nothing returns booleanreturn(getunittypeid(getdyingunit())==1752461175)
endfunctionfunction zo takes nothing returns booleanif(not
getbooleanor(xo(),yo()))thenreturn falseendif
if(not(getowningplayer(getkillingunitbj())!=player(player_neutral_aggressive)))the
nreturn falseendifif(not(getowningplayer(getkillingunitbj())!=player(11)))then
return falseendifif(not(getowningplayer(getkillingunitbj())!=player(10)))then
return falseendifreturn trueendfunctionfunction ao takes nothing returns boolean
return(getowningplayer(getdyingunit())==getenumplayer())endfunctionfunction ao
takes nothing returns nothingif(ao())thencall
displaytexttoforce(getplayersall(),(getplayername(getowningplayer(getkillingunitbj
()))+(" has committed an act of vandalism "+"and will pay the ultimate price
including a fine of |cffffcc00750 gold|r for that!")))elsecall donothing()endif
endfunctionfunction bo takes nothing returns boolean
return(getowningplayer(getdyingunit())==getenumplayer())endfunctionfunction bo
takes nothing returns nothingif(bo())thencall adjustplayerstatebj(-
750,getowningplayer(getkillingunitbj()),player_state_resource_gold)elsecall
donothing()endifendfunctionfunction co takes nothing returns boolean
return(getowningplayer(getdyingunit())==getenumplayer())endfunctionfunction co
takes nothing returns nothingif(co())thencall explodeunitbj(getkillingunitbj())
elsecall donothing()endifendfunctionfunction do takes nothing returns nothingset
e8=ua(getowningplayer(getkillingunitbj()))call forforce(e8,function ao)call
forforce(e8,function bo)call forforce(e8,function co)call destroyforce(e8)set
e8=nullendfunctionfunction eo takes nothing returns nothingset mm=createtrigger()
call triggerregisteranyuniteventbj(mm,event_player_unit_death)call
triggeraddcondition(mm,condition(function zo))call triggeraddaction(mm,function
do)endfunctionfunction fo takes nothing returns boolean
if(not(getresearched()==1382378849))thenreturn falseendifreturn trueendfunction
function go takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction ho
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction io
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction lo
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction jo
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction ko
takes nothing returns booleanreturn getbooleanor(lo(),jo())endfunctionfunction lo
takes nothing returns booleanreturn getbooleanor(io(),ko())endfunctionfunction mo
takes nothing returns booleanreturn getbooleanor(ho(),lo())endfunctionfunction no
takes nothing returns booleanreturn getbooleanor(go(),mo())endfunctionfunction oo
takes nothing returns nothingcall
setplayertechresearchedswap(1382378849,1,getenumplayer())endfunctionfunction po
takes nothing returns nothingcall
setplayertechresearchedswap(1382378849,1,getenumplayer())endfunctionfunction qo
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction ro
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction so
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction to
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction uo
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction vo
takes nothing returns booleanreturn getbooleanor(to(),uo())endfunctionfunction wo
takes nothing returns booleanreturn getbooleanor(so(),vo())endfunctionfunction xo
takes nothing returns booleanreturn getbooleanor(ro(),wo())endfunctionfunction yo
takes nothing returns booleanreturn getbooleanor(qo(),xo())endfunctionfunction zo
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction d0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction e0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction f0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction g0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction h0
takes nothing returns booleanreturn getbooleanor(f0(),g0())endfunctionfunction i0
takes nothing returns booleanreturn getbooleanor(e0(),h0())endfunctionfunction j0
takes nothing returns booleanreturn getbooleanor(d0(),i0())endfunctionfunction
k0 takes nothing returns booleanreturn getbooleanor(zo(),j0())endfunctionfunction
m0 takes nothing returns nothingif(no())thencall forforce(ua(player(0)),function
oo)elsecall forforce(ua(player(5)),function po)endifif(yo())thencall
setplayertechresearchedswap(1382378849,3,player(10))elsecall
setplayertechresearchedswap(1382378849,3,player(11))endifif(k0())thencall
displaytexttoforce(getplayersall(),"konoha warriors have upgraded their village
armour !")elsecall displaytexttoforce(getplayersall(),"sound warriors have
upgraded their village armour !")endifreturnendfunctionfunction n0 takes nothing
returns nothingset nm=createtrigger()call
triggerregisteranyuniteventbj(nm,event_player_unit_research_finish)call
triggeraddcondition(nm,condition(function fo))call triggeraddaction(nm,function
m0)endfunctionfunction o0 takes nothing returns boolean
if(not(getresearched()==1382380407))thenreturn falseendifreturn trueendfunction
function p0 takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction q0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction r0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction s0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction t0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction u0
takes nothing returns booleanreturn getbooleanor(s0(),t0())endfunctionfunction v0
takes nothing returns booleanreturn getbooleanor(r0(),u0())endfunctionfunction w0
takes nothing returns booleanreturn getbooleanor(q0(),v0())endfunctionfunction x0
takes nothing returns booleanreturn getbooleanor(p0(),w0())endfunctionfunction y0
takes nothing returns nothingcall
setplayertechresearchedswap(1382380407,1,getenumplayer())endfunctionfunction z0
takes nothing returns nothingcall
setplayertechresearchedswap(1382380407,1,getenumplayer())endfunctionfunction a0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction a0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction b0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction b0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction c0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction c0
takes nothing returns booleanreturn getbooleanor(b0(),c0())endfunctionfunction d0
takes nothing returns booleanreturn getbooleanor(b0(),c0())endfunctionfunction e0
takes nothing returns booleanreturn getbooleanor(a0(),d0())endfunctionfunction f0
takes nothing returns booleanreturn getbooleanor(a0(),e0())endfunctionfunction g0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction h0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction i0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction l0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction j0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction k0
takes nothing returns booleanreturn getbooleanor(l0(),j0())endfunctionfunction l0
takes nothing returns booleanreturn getbooleanor(i0(),k0())endfunctionfunction m0
takes nothing returns booleanreturn getbooleanor(h0(),l0())endfunctionfunction n0
takes nothing returns booleanreturn getbooleanor(g0(),m0())endfunctionfunction o0
takes nothing returns nothingif(x0())thencall forforce(ua(player(0)),function y0)
elsecall forforce(ua(player(5)),function z0)endifif(f0())thencall
setplayertechresearchedswap(1382380407,3,player(10))elsecall
setplayertechresearchedswap(1382380407,3,player(11))endifif(n0())thencall
displaytexttoforce(getplayersall(),"konoha warriors have upgraded their village
swords !")elsecall displaytexttoforce(getplayersall(),"sound warriors have
upgraded their village swords !")endifreturnendfunctionfunction p0 takes nothing
returns nothingset om=createtrigger()call
triggerregisteranyuniteventbj(om,event_player_unit_research_finish)call
triggeraddcondition(om,condition(function o0))call triggeraddaction(om,function
o0)endfunctionfunction q0 takes nothing returns boolean
if(not(getresearched()==1382380397))thenreturn falseendifreturn trueendfunction
function r0 takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction s0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction t0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction u0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction v0
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction w0
takes nothing returns booleanreturn getbooleanor(u0(),v0())endfunctionfunction x0
takes nothing returns booleanreturn getbooleanor(t0(),w0())endfunctionfunction y0
takes nothing returns booleanreturn getbooleanor(s0(),x0())endfunctionfunction z0
takes nothing returns booleanreturn getbooleanor(r0(),y0())endfunctionfunction dp
takes nothing returns nothingcall
setplayertechresearchedswap(1382380397,1,getenumplayer())endfunctionfunction ep
takes nothing returns nothingcall
setplayertechresearchedswap(1382380397,1,getenumplayer())endfunctionfunction fp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction gp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction hp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction ip
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction jp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction kp
takes nothing returns booleanreturn getbooleanor(ip(),jp())endfunctionfunction mp
takes nothing returns booleanreturn getbooleanor(hp(),kp())endfunctionfunction np
takes nothing returns booleanreturn getbooleanor(gp(),mp())endfunctionfunction op
takes nothing returns booleanreturn getbooleanor(fp(),np())endfunctionfunction pp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(0))endfunctionfunction qp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(1))endfunctionfunction rp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(2))endfunctionfunction sp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(3))endfunctionfunction tp
takes nothing returns boolean
return(getowningplayer(getresearchingunit())==player(4))endfunctionfunction up
takes nothing returns booleanreturn getbooleanor(sp(),tp())endfunctionfunction vp
takes nothing returns booleanreturn getbooleanor(rp(),up())endfunctionfunction wp
takes nothing returns booleanreturn getbooleanor(qp(),vp())endfunctionfunction xp
takes nothing returns booleanreturn getbooleanor(pp(),wp())endfunctionfunction yp
takes nothing returns nothingif(z0())thencall forforce(ua(player(0)),function dp)
elsecall forforce(ua(player(5)),function ep)endifif(op())thencall
setplayertechresearchedswap(1382380397,3,player(10))elsecall
setplayertechresearchedswap(1382380397,3,player(11))endifif(xp())thencall
displaytexttoforce(getplayersall(),"konoha warriors have upgraded their village
kunai !")elsecall displaytexttoforce(getplayersall(),"sound warriors have upgraded
their village kunai !")endifreturnendfunctionfunction zp takes nothing returns
nothingset pm=createtrigger()call
triggerregisteranyuniteventbj(pm,event_player_unit_research_finish)call
triggeraddcondition(pm,condition(function q0))call triggeraddaction(pm,function
yp)endfunctionfunction ap takes nothing returns boolean
if(not(getresearched()==1382376290))thenreturn falseendifreturn trueendfunction
function ap takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(0)))thenreturn falseendif
return trueendfunctionfunction bp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(1)))thenreturn falseendif
return trueendfunctionfunction bp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(2)))thenreturn falseendif
return trueendfunctionfunction cp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(3)))thenreturn falseendif
return trueendfunctionfunction cp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(4)))thenreturn falseendif
return trueendfunctionfunction dp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(5)))thenreturn falseendif
return trueendfunctionfunction ep takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(6)))thenreturn falseendif
return trueendfunctionfunction fp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(7)))thenreturn falseendif
return trueendfunctionfunction gp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(8)))thenreturn falseendif
return trueendfunctionfunction
hp takes nothing returns boolean
if(not(getowningplayer(getresearchingunit())==player(9)))thenreturn falseendif
return trueendfunctionfunction ip takes nothing returns nothingif(ap())thencall
setunitowner(bz,player(0),true)elseendifif(bp())thencall
setunitowner(bz,player(1),true)elseendifif(bp())thencall
setunitowner(cz,player(2),true)elseendifif(cp())thencall
setunitowner(dz,player(3),true)elseendifif(cp())thencall
setunitowner(cz,player(4),true)elseendifif(dp())thencall
setunitowner(iz,player(5),true)elseendifif(ep())thencall
setunitowner(gz,player(6),true)elseendifif(fp())thencall
setunitowner(hz,player(7),true)elseendifif(gp())thencall
setunitowner(ez,player(8),true)elseendifif(hp())thencall
setunitowner(fz,player(9),true)elseendifendfunctionfunction lp takes nothing
returns nothingset qm=createtrigger()call
triggerregisteranyuniteventbj(qm,event_player_unit_research_finish)call
triggeraddcondition(qm,condition(function ap))call triggeraddaction(qm,function
ip)endfunctionfunction jp takes nothing returns boolean
if(not(getplayerstate(gettriggerplayer(),player_state_resource_gold)>=500))then
return falseendifreturn trueendfunctionfunction kp takes nothing returns nothing
call setunitpositionloc(getenumunit(),f8)endfunctionfunction lp takes nothing
returns nothingset f8=getunitloc(j4[getconvertedplayerid(gettriggerplayer())])call
displaytexttoforce(getplayersall(),"gatou's services have been engaged...")set
z7=pa(1852337507)call forgroupbj(z7,function kp)call destroygroup(z7)set z7=null
call removelocation(f8)set f8=nullcall adjustplayerstatebj(-
500,gettriggerplayer(),player_state_resource_gold)returnendfunctionfunction mp
takes nothing returns nothingset rm=createtrigger()call
triggerregisterplayerchatevent(rm,player(0),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(1),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(2),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(3),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(4),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(5),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(6),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(7),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(8),"-secret service",true)call
triggerregisterplayerchatevent(rm,player(9),"-secret service",true)call
triggeraddcondition(rm,condition(function jp))call triggeraddaction(rm,function
lp)endfunctionfunction np takes nothing returns nothingcall
setunitinvulnerable(getenumunit(),true)endfunctionfunction op takes nothing
returns nothingcall setunitinvulnerable(getenumunit(),true)endfunctionfunction pp
takes nothing returns nothingcall setunitinvulnerable(getenumunit(),true)
endfunctionfunction qp takes nothing returns nothingcall
setunitinvulnerable(getenumunit(),true)endfunctionfunction rp takes nothing
returns nothingcall setunitinvulnerable(getenumunit(),true)endfunctionfunction sp
takes nothing returns nothingcall setunitinvulnerable(getenumunit(),true)
endfunctionfunction tp takes nothing returns nothingcall
setplayerhandicapxpbj(getenumplayer(),200.00)endfunctionfunction up takes nothing
returns nothingcall setplayertechmaxallowedswap(1382380397,1,getenumplayer())
endfunctionfunction vp takes nothing returns nothingcall
setplayertechmaxallowedswap(1382380407,1,getenumplayer())endfunctionfunction wp
takes nothing returns nothingcall
setplayertechmaxallowedswap(1382378849,1,getenumplayer())endfunctionfunction xp
takes nothing returns nothingcall
setplayerflagbj(player_state_gives_bounty,true,getenumplayer())endfunctionfunction
yp takes nothing returns nothingcall
createfogmodifierradiuslocbj(true,getenumplayer(),fog_of_war_fogged,getrectcenter(
getplayablemaprect()),999999.00)endfunctionfunction zp takes nothing returns
nothingcall setplayermaxheroesallowed(1,getenumplayer())endfunctionfunction dq
takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"move",getrandomlocinrect(getplayablemaprect())
)endfunctionfunction eq takes nothing returns nothingcall
setplayerstatebj(getenumplayer(),player_state_resource_lumber,1)endfunction
function fq takes nothing returns nothingcall
setplayerstatebj(getenumplayer(),player_state_resource_food_cap,12)endfunction
function gq takes nothing returns booleanif(not(md==true))thenreturn falseendif
return trueendfunctionfunction hq takes nothing returns nothingcall
setplayerhandicapxpbj(getowningplayer(getenumunit()),90.00)endfunctionfunction iq
takes nothing returns nothingcall forgroupbj(pa(1752395892),function np)call
forgroupbj(pa(1751674741),function op)call forgroupbj(pa(1752461175),function pp)
call forgroupbj(pa(1747988567),function qp)call forgroupbj(pa(1747988819),function
rp)call forgroupbj(pa(1747988818),function sp)set hf=100.00set id=0set ie=0set
kf=100.00set ye=0set df=60.00set u4=ua(player(0))set v4=ua(player(5))set
k4[1]=player(0)set k4[2]=player(1)set k4[3]=player(2)set k4[4]=player(3)set
k4[5]=player(4)set k4[6]=player(5)set k4[7]=player(6)set k4[8]=player(7)set
k4[9]=player(8)set k4[10]=player(9)set xd=0set
zd[1]=getplayerhandicapbj(player(10))set zd[2]=getplayerhandicapbj(player(11))set
zd[3]=getplayerhandicapbj(player(0))set zd[4]=getplayerhandicapbj(player(5))set
yd=0call forforce(getplayersall(),function tp)call unitaddabilitybj(1098282348,vy)
call unitaddabilitybj(1098282348,ly)call forforce(getplayersall(),function up)call
forforce(getplayersall(),function vp)call forforce(getplayersall(),function wp)
call setplayertechmaxallowedswap(1382380397,3,player(10))call
setplayertechmaxallowedswap(1382380397,3,player(11))call
setplayertechmaxallowedswap(1382380407,3,player(10))call
setplayertechmaxallowedswap(1382380407,3,player(11))call
setplayertechmaxallowedswap(1382378849,3,player(10))call
setplayertechmaxallowedswap(1382378849,3,player(11))call enabletrigger(gq)call
setmapflag(map_lock_resource_trading,true)call
setmapflag(map_lock_alliance_changes,true)call forforce(getplayersall(),function
xp)call forforce(getplayersall(),function yp)call
forforce(getplayersall(),function zp)set x=0set b7=0set t9=0set u9=0set c7=0set
c7=0set d7=0set e7="no missions."set f7="no missions."set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendset
v7[getforloopindexa()]="you have no missions at the moment."set
bj_forloopaindex=bj_forloopaindex+1endloopset bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendset
cf[getforloopindexa()]=trueset bj_forloopaindex=bj_forloopaindex+1endloopset
bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendset jf[getforloopindexa()]=0set
bj_forloopaindex=bj_forloopaindex+1endloopset q7[1]=0set q7[2]=0call
flashquestdialogbuttonbj()call displaytexttoforce(getplayersall(),"trigstr_3878")
call playsoundbj(ni)set z7=pa(1852337507)set qe=azcall forgroupbj(z7,function dq)
call destroygroup(z7)set z7=nullcall forforce(getplayersall(),function eq)call
forforce(getplayersall(),function fq)set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendset
j4[getforloopindexa()]=nullset z8[getforloopindexa()]=0set
bj_forloopaindex=bj_forloopaindex+1endloopcall setgamespeed(map_speed_fastest)call
lockgamespeedbj()call setmapflag(map_fog_map_explored,true)call uz(105.00)call
setunitinvulnerable(tz,false)call setunitinvulnerable(dz,false)call
setunitinvulnerable(yz,false)call setunitinvulnerable(xz,false)call
setunitinvulnerable(vz,false)call setunitinvulnerable(zy,false)if(gq())thencall
enabletrigger(zn)call enabletrigger(vn)returnelseendifcall
forgroupbj(pa(1211118155),function hq)call enabletrigger(yn)call enabletrigger(un)
endfunctionfunction jq takes nothing returns nothingset sm=createtrigger()call
triggerregistertimereventsingle(sm,1.00)call triggeraddaction(sm,function iq)
endfunctionfunction kq takes nothing returns nothingcall enabletrigger(um)call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"extra troop spawning
now in effect...")call enabletrigger(wm)call enabletrigger(ym)call
enabletrigger(vm)call enabletrigger(xm)call enabletrigger(zm)endfunctionfunction
mq takes nothing returns nothingset tm=createtrigger()call
triggerregistertimereventsingle(tm,600.00)call triggeraddaction(tm,function kq)
endfunctionfunction nq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction oq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(dn)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction pq takes nothing returns
nothingset um=createtrigger()call disabletrigger(um)call
triggerregisterunitevent(um,yz,event_unit_damaged)call
triggerregisterunitevent(um,wy,event_unit_damaged)call
triggeraddcondition(um,condition(function nq))call triggeraddaction(um,function
oq)endfunctionfunction qq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction rq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(en)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction sq takes nothing returns
nothingset vm=createtrigger()call disabletrigger(vm)call
triggerregisterunitevent(vm,xz,event_unit_damaged)call
triggerregisterunitevent(vm,zz,event_unit_damaged)call
triggeraddcondition(vm,condition(function qq))call triggeraddaction(vm,function
rq)endfunctionfunction
tq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction uq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(fn)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction vq takes nothing returns
nothingset wm=createtrigger()call disabletrigger(wm)call
triggerregisterunitevent(wm,tz,event_unit_damaged)call
triggerregisterunitevent(wm,uz,event_unit_damaged)call
triggeraddcondition(wm,condition(function tq))call triggeraddaction(wm,function
uq)endfunctionfunction wq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction xq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(gn)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction yq takes nothing returns
nothingset xm=createtrigger()call disabletrigger(xm)call
triggerregisterunitevent(xm,vz,event_unit_damaged)call
triggerregisterunitevent(xm,wz,event_unit_damaged)call
triggeraddcondition(xm,condition(function wq))call triggeraddaction(xm,function
xq)endfunctionfunction zq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction aq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(hn)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction aq takes nothing returns
nothingset ym=createtrigger()call disabletrigger(ym)call
triggerregisterunitevent(ym,dz,event_unit_damaged)call
triggerregisterunitevent(ym,mz,event_unit_damaged)call
triggeraddcondition(ym,condition(function zq))call triggeraddaction(ym,function
aq)endfunctionfunction bq takes nothing returns boolean
if(not(isunittype(getattacker(),unit_type_hero)!=true))thenreturn falseendifreturn
trueendfunctionfunction bq takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call triggerexecute(in)call uz(35.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction cq takes nothing returns
nothingset zm=createtrigger()call disabletrigger(zm)call
triggerregisterunitevent(zm,zy,event_unit_damaged)call
triggerregisterunitevent(zm,ez,event_unit_damaged)call
triggeraddcondition(zm,condition(function bq))call triggeraddaction(zm,function
bq)endfunctionfunction cq takes nothing returns nothingset i8=getrectcenter(zg)
call createnunitsatloc(1,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(ah)call grouppointorderlocbj(ia(zg,player(10)),"attack",i8)
endfunctionfunction dq takes nothing returns nothingset dn=createtrigger()call
triggeraddaction(dn,function cq)endfunctionfunction eq takes nothing returns
nothingset j8=getrectcenter(yg)call
createnunitsatloc(1,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(bh)call grouppointorderlocbj(ia(yg,player(11)),"attack",j8)
endfunctionfunction fq takes nothing returns nothingset en=createtrigger()call
triggeraddaction(en,function eq)endfunctionfunction gq takes nothing returns
nothingset i8=getrectcenter(xg)call
createnunitsatloc(1,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(xh)call grouppointorderlocbj(ia(xg,player(10)),"attack",i8)
endfunctionfunction hq takes nothing returns nothingset fn=createtrigger()call
triggeraddaction(fn,function gq)endfunctionfunction iq takes nothing returns
nothingset j8=getrectcenter(vg)call
createnunitsatloc(1,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(zh)call grouppointorderlocbj(ia(vg,player(11)),"attack",j8)
endfunctionfunction lq takes nothing returns nothingset gn=createtrigger()call
triggeraddaction(gn,function iq)endfunctionfunction jq takes nothing returns
nothingset i8=getrectcenter(ag)call
createnunitsatloc(1,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(th)call grouppointorderlocbj(ia(ag,player(10)),"attack",i8)
endfunctionfunction kq takes nothing returns nothingset hn=createtrigger()call
triggeraddaction(hn,function jq)endfunctionfunction lq takes nothing returns
nothingset j8=getrectcenter(wg)call
createnunitsatloc(1,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(wh)call grouppointorderlocbj(ia(wg,player(11)),"attack",j8)
endfunctionfunction mq takes nothing returns nothingset in=createtrigger()call
triggeraddaction(in,function lq)endfunctionfunction nq takes nothing returns
booleanif(not(getunittypeid(getattacker())==1747989301))thenreturn falseendif
if(not(isunittype(getattackedunitbj(),unit_type_structure)!=true))thenreturn false
endifif(not(isunittype(getattackedunitbj(),unit_type_magic_immune)!=true))then
return falseendifreturn trueendfunctionfunction oq takes nothing returns boolean
if(not(e>5))thenreturn falseendifreturn trueendfunctionfunction pq takes nothing
returns nothingset e=getrandomint(1,10)if(oq())thencall
createnunitsatloc(1,1747989048,getowningplayer(getattacker()),getunitloc(getattack
er()),bj_unit_facing)set gf=getlastcreatedunit()call
unitapplytimedlifebj(3.00,1112820806,gf)call
issuetargetorderbj(gf,"cyclone",getattackedunitbj())elseendifendfunctionfunction
qq takes nothing returns nothingset jn=createtrigger()call disabletrigger(jn)call
triggerregisteranyuniteventbj(jn,event_player_unit_attacked)call
triggeraddcondition(jn,condition(function nq))call triggeraddaction(jn,function
pq)endfunctionfunction rq takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction sq takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
tq takes nothing returns booleanif(not getbooleanand(rq(),sq()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction uq takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction vq takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction wq takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xq takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
yq takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction zq takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction dr takes
nothing returns booleanreturn getbooleanand(yq(),zq())endfunctionfunction er takes
nothing returns booleanreturn getbooleanand(xq(),dr())endfunctionfunction fr takes
nothing returns booleanreturn getbooleanand(wq(),er())endfunctionfunction gr takes
nothing returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)
endfunctionfunction hr takes nothing returns nothingif(gr())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function ir takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction jr takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction kr takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction mr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction nr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function or takes nothing returns booleanreturn getbooleanand(mr(),nr())
endfunctionfunction pr takes nothing returns booleanreturn
getbooleanand(kr(),or())endfunctionfunction qr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction rr takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction tr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function
ur takes nothing returns booleanreturn getbooleanand(sr(),tr())endfunction
function vr takes nothing returns booleanreturn getbooleanand(rr(),ur())
endfunctionfunction wr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xr takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction yr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction zr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ar takes nothing returns booleanreturn getbooleanand(yr(),zr())
endfunctionfunction ar takes nothing returns booleanreturn
getbooleanand(xr(),ar())endfunctionfunction br takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction br takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction cr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction cr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function dr takes nothing returns booleanreturn getbooleanand(cr(),cr())
endfunctionfunction er takes nothing returns booleanreturn
getbooleanand(br(),dr())endfunctionfunction fr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction gr takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction hr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ir takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function lr takes nothing returns booleanreturn getbooleanand(hr(),ir())
endfunctionfunction jr takes nothing returns booleanreturn
getbooleanand(gr(),lr())endfunctionfunction kr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction lr takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction mr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction nr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function or takes nothing returns booleanreturn getbooleanand(mr(),nr())
endfunctionfunction pr takes nothing returns booleanreturn
getbooleanand(lr(),or())endfunctionfunction qr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction rr takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sr takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction tr takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ur takes nothing returns booleanreturn getbooleanand(sr(),tr())
endfunctionfunction vr takes nothing returns booleanreturn
getbooleanand(rr(),ur())endfunctionfunction wr takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xr takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction yr takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction zr takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction ds takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction es takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction fs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction gs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction hs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction is takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction js takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ks takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction ms takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction ns takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction os takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction ps takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction qs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction rs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction ss takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ts takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
us takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vs takes nothing returns booleanreturn getbooleanand(ts(),us())endfunctionfunction
ws takes nothing returns booleanreturn getbooleanand(ss(),vs())endfunctionfunction
xs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction ys takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction zs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction as takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction as takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction bs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction bs takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction cs takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function cs takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ds takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
es takes nothing returns booleanreturn getbooleanand(cs(),ds())endfunctionfunction
fs takes nothing returns booleanreturn getbooleanand(cs(),es())endfunctionfunction
gs takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hs takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
is takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ls takes nothing returns booleanreturn getbooleanand(hs(),is())endfunctionfunction
js takes nothing returns booleanreturn getbooleanand(gs(),ls())endfunctionfunction
ks takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn
falseendifreturn trueendfunctionfunction ls takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction ms takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ns takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function os takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ps takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
qs takes nothing returns booleanreturn getbooleanand(os(),ps())endfunctionfunction
rs takes nothing returns booleanreturn getbooleanand(ns(),qs())endfunctionfunction
ss takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ts takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction us takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction vs takes nothing returns boolean
if(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn falseendif
return trueendfunctionfunction ws takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xs takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction ys takes nothing returns nothing
if(xs())thenif(vs())thenset cf[getconvertedplayerid(gettriggerplayer())]=falseset
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(vq())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ir())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function fr))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function hr)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jr())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xr())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function pr)),function qr)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function vr)),function wr)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ar)),function br)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function er)),function fr)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function jr)),function kr)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function pr)),function qr)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function vr)),function wr)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yr())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zr())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ds())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(es())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(is())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(js())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call
uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ks())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ns())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function ms)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(os())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ps())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function ws))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ys())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(as())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(as())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bs())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ks())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function fs))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function js))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ls())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ms())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ss())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function rs))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ts())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(us())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getun
itloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function uq)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
ws)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction zs takes nothing returns nothingset kn=createtrigger()
call disabletrigger(kn)call
triggerregisterplayerselectioneventbj(kn,player(0),true)call
triggeraddcondition(kn,condition(function tq))call triggeraddaction(kn,function
ys)endfunctionfunction d5 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction e5 takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
f5 takes nothing returns booleanif(not getbooleanand(d5(),e5()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction g5 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction h5 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction i5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
j5 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
k5 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction m5 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction n5 takes
nothing returns booleanreturn getbooleanand(k5(),m5())endfunctionfunction o5 takes
nothing returns booleanreturn getbooleanand(j5(),n5())endfunctionfunction p5 takes
nothing returns booleanreturn getbooleanand(i5(),o5())endfunctionfunction q5 takes
nothing returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)
endfunctionfunction r5 takes nothing returns nothingif(q5())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function s5 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction t5 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction u5 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction v5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction w5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function x5 takes nothing returns booleanreturn getbooleanand(v5(),w5())
endfunctionfunction y5 takes nothing returns booleanreturn
getbooleanand(u5(),x5())endfunctionfunction z5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction a5 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction a5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction b5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function b5 takes nothing returns booleanreturn getbooleanand(a5(),b5())
endfunctionfunction c5 takes nothing returns booleanreturn
getbooleanand(a5(),b5())endfunctionfunction c5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction d5 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction e5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction f5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function g5 takes nothing returns booleanreturn getbooleanand(e5(),f5())
endfunctionfunction h5 takes nothing returns booleanreturn
getbooleanand(d5(),g5())endfunctionfunction i5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction l5 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction j5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction k5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function l5 takes nothing returns booleanreturn getbooleanand(j5(),k5())
endfunctionfunction m5 takes nothing returns booleanreturn
getbooleanand(l5(),l5())endfunctionfunction n5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction o5 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction p5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction q5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function r5 takes nothing returns booleanreturn getbooleanand(p5(),q5())
endfunctionfunction s5 takes nothing returns booleanreturn
getbooleanand(o5(),r5())endfunctionfunction t5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction u5 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction v5 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction w5 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function x5 takes nothing returns booleanreturn getbooleanand(v5(),w5())
endfunctionfunction y5 takes nothing returns booleanreturn
getbooleanand(u5(),x5())endfunctionfunction z5 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction dt takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction et takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ft takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function gt takes nothing returns booleanreturn getbooleanand(et(),ft())
endfunctionfunction ht takes nothing returns booleanreturn
getbooleanand(dt(),gt())endfunctionfunction it takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction jt takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction kt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction mt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction nt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction ot takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction pt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction qt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction rt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction st takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction tt takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ut takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction vt takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction wt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction xt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction yt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction zt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction at takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction at takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bt takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
bt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ct takes nothing returns booleanreturn getbooleanand(bt(),bt())endfunctionfunction
ct takes nothing returns booleanreturn getbooleanand(at(),ct())endfunctionfunction
dt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction et takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction ft takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction gt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ht takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction it takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction lt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction jt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kt takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
lt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
mt takes nothing returns booleanreturn getbooleanand(kt(),lt())endfunctionfunction
nt takes nothing returns booleanreturn getbooleanand(jt(),mt())endfunctionfunction
ot takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pt takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
qt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rt takes nothing returns booleanreturn getbooleanand(pt(),qt())endfunctionfunction
st takes nothing returns booleanreturn getbooleanand(ot(),rt())endfunctionfunction
tt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ut takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction vt takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction wt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xt takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
yt takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
zt takes nothing returns booleanreturn getbooleanand(xt(),yt())endfunctionfunction
du takes nothing returns booleanreturn getbooleanand(wt(),zt())endfunctionfunction
eu takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction fu takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction gu takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction hu takes nothing returns boolean
if(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn falseendif
return trueendfunctionfunction iu takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ju takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction ku takes nothing returns nothing
if(ju())thenif(hu())thenset cf[getconvertedplayerid(gettriggerplayer())]=falseset
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(h5())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(s5())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function p5))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function r5)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t5())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function y5)),function z5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function c5)),function c5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function h5)),function i5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function m5)),function n5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function s5)),function t5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function y5)),function z5)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ht)),function it)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ot())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(st())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ut())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function vt)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(at())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function ct))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(et())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ft())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ht())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(it())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(lt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function nt))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function st))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ut())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vt())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(eu())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function du))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fu())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gu())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function g5)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
iu)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction mu takes nothing returns nothingset mn=createtrigger()
call disabletrigger(mn)call
triggerregisterplayerselectioneventbj(mn,player(1),true)call
triggeraddcondition(mn,condition(function f5))call triggeraddaction(mn,function
ku)endfunctionfunction nu takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction ou takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
pu takes nothing returns booleanif(not getbooleanand(nu(),ou()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction qu takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ru takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction su takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction tu takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
uu takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
vu takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction wu takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction xu takes
nothing returns booleanreturn getbooleanand(vu(),wu())endfunctionfunction yu takes
nothing returns booleanreturn getbooleanand(uu(),xu())endfunctionfunction zu takes
nothing returns booleanreturn getbooleanand(tu(),yu())endfunctionfunction au takes
nothing returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)
endfunctionfunction au takes nothing returns nothingif(au())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function bu takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction bu takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction cu takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction cu takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction du takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function eu takes nothing returns booleanreturn getbooleanand(cu(),du())
endfunctionfunction fu takes nothing returns booleanreturn
getbooleanand(cu(),eu())endfunctionfunction gu takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction hu takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction iu takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction lu takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ju takes nothing returns booleanreturn getbooleanand(iu(),lu())
endfunctionfunction ku takes nothing returns booleanreturn
getbooleanand(hu(),ju())endfunctionfunction lu takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction mu takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nu takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ou takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pu takes nothing returns booleanreturn getbooleanand(nu(),ou())
endfunctionfunction qu takes nothing returns booleanreturn
getbooleanand(mu(),pu())endfunctionfunction ru takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction su takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction tu takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uu takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function
vu takes nothing returns booleanreturn getbooleanand(tu(),uu())endfunction
function wu takes nothing returns booleanreturn getbooleanand(su(),vu())
endfunctionfunction xu takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction yu takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zu takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ev takes nothing returns booleanreturn getbooleanand(zu(),dv())
endfunctionfunction fv takes nothing returns booleanreturn
getbooleanand(yu(),ev())endfunctionfunction gv takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction hv takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction iv takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction jv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kv takes nothing returns booleanreturn getbooleanand(iv(),jv())
endfunctionfunction mv takes nothing returns booleanreturn
getbooleanand(hv(),kv())endfunctionfunction nv takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ov takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction pv takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction qv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rv takes nothing returns booleanreturn getbooleanand(pv(),qv())
endfunctionfunction sv takes nothing returns booleanreturn
getbooleanand(ov(),rv())endfunctionfunction tv takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction uv takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction vv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction wv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction xv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction yv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction zv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction av takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction av takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction bv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction bv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction cv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction cv takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction dv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction ev takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction fv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction gv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction hv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction iv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function lv takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
jv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
kv takes nothing returns booleanreturn getbooleanand(lv(),jv())endfunctionfunction
lv takes nothing returns booleanreturn getbooleanand(iv(),kv())endfunctionfunction
mv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction nv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction ov takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction pv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction qv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction rv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction sv takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction tv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uv takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
vv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
wv takes nothing returns booleanreturn getbooleanand(uv(),vv())endfunctionfunction
xv takes nothing returns booleanreturn getbooleanand(tv(),wv())endfunctionfunction
yv takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zv takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
dw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ew takes nothing returns booleanreturn getbooleanand(zv(),dw())endfunctionfunction
fw takes nothing returns booleanreturn getbooleanand(yv(),ew())endfunctionfunction
gw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction hw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction iw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction jw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kw takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
mw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
nw takes nothing returns booleanreturn getbooleanand(kw(),mw())endfunctionfunction
ow takes nothing returns booleanreturn getbooleanand(jw(),nw())endfunctionfunction
pw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction qw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction rw takes nothing returns boolean
if(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn falseendif
return trueendfunctionfunction sw takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction tw takes
nothing returns boolean
if(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn falseendifreturn
trueendfunctionfunction uw takes nothing returns nothingif(tw())thenif(rw())then
set cf[getconvertedplayerid(gettriggerplayer())]=falseset
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(ru())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(su())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bu())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function zu))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function au)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bu())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fu)),function gu)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ku)),function lu)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function qu)),function ru)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wu)),function xu)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fv)),function gv)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function mv)),function nv)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function sv)),function tv)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(av())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(av())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function cv)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ev())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function lv))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ov())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sv())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function xv))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function fw))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hw())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(iw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function ow))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function qu)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
sw)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction vw takes nothing returns nothingset nn=createtrigger()
call disabletrigger(nn)call
triggerregisterplayerselectioneventbj(nn,player(2),true)call
triggeraddcondition(nn,condition(function pu))call triggeraddaction(nn,function
uw)endfunctionfunction ww takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction xw takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
yw takes nothing returns booleanif(not getbooleanand(ww(),xw()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction zw takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction aw takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn
falseendifreturn trueendfunctionfunction aw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction bw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bw takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
cw takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction cw takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction dw takes
nothing returns booleanreturn getbooleanand(cw(),cw())endfunctionfunction ew takes
nothing returns booleanreturn getbooleanand(bw(),dw())endfunctionfunction fw takes
nothing returns booleanreturn getbooleanand(bw(),ew())endfunctionfunction gw takes
nothing returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)
endfunctionfunction hw takes nothing returns nothingif(gw())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function iw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction lw takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction jw takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction kw takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction lw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function mw takes nothing returns booleanreturn getbooleanand(kw(),lw())
endfunctionfunction nw takes nothing returns booleanreturn
getbooleanand(jw(),mw())endfunctionfunction ow takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pw takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction qw takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction rw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sw takes nothing returns booleanreturn getbooleanand(qw(),rw())
endfunctionfunction tw takes nothing returns booleanreturn
getbooleanand(pw(),sw())endfunctionfunction uw takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction vw takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ww takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xw takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yw takes nothing returns booleanreturn getbooleanand(ww(),xw())
endfunctionfunction zw takes nothing returns booleanreturn
getbooleanand(vw(),yw())endfunctionfunction dx takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ex takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fx takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction gx takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hx takes nothing returns booleanreturn getbooleanand(fx(),gx())
endfunctionfunction jx takes nothing returns booleanreturn
getbooleanand(ex(),hx())endfunctionfunction kx takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction mx takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nx takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ox takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function px takes nothing returns booleanreturn getbooleanand(nx(),ox())
endfunctionfunction qx takes nothing returns booleanreturn
getbooleanand(mx(),px())endfunctionfunction rx takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sx takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction tx takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ux takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vx takes nothing returns booleanreturn getbooleanand(tx(),ux())
endfunctionfunction wx takes nothing returns booleanreturn
getbooleanand(sx(),vx())endfunctionfunction xx takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction yx takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zx takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ax takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ax takes nothing returns booleanreturn getbooleanand(zx(),ax())
endfunctionfunction bx takes nothing returns booleanreturn
getbooleanand(yx(),ax())endfunctionfunction bx takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction cx takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction cx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction dx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction ex takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction fx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction gx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction hx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction ix takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction lx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction jx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction kx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction lx takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction mx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction nx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction ox takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction px takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction qx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction rx takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sx takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
tx takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ux takes nothing returns booleanreturn getbooleanand(sx(),tx())endfunctionfunction
vx takes nothing returns booleanreturn getbooleanand(rx(),ux())endfunctionfunction
wx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction xx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction yx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction zx takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction dy takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction ey takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction fy takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction gy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hy takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
jy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ky takes nothing returns booleanreturn getbooleanand(hy(),jy())endfunctionfunction
my takes nothing returns booleanreturn getbooleanand(gy(),ky())endfunctionfunction
ny takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function oy takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
py takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
qy takes nothing returns booleanreturn getbooleanand(oy(),py())endfunctionfunction
ry takes nothing returns booleanreturn getbooleanand(ny(),qy())endfunctionfunction
sy takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ty takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction uy takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction vy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wy takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
xy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
yy takes nothing returns booleanreturn getbooleanand(wy(),xy())endfunctionfunction
zy takes nothing returns booleanreturn getbooleanand(vy(),yy())endfunctionfunction
ay takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ay takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction by takes nothing returns boolean
if(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn falseendif
return trueendfunctionfunction by takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction cy takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction cy takes nothing returns nothing
if(cy())thenif(by())thenset cf[getconvertedplayerid(gettriggerplayer())]=falseset
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(aw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(iw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function fw))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function hw)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(lw())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nw)),function ow)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function tw)),function uw)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zw)),function dx)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function jx)),function kx)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function qx)),function rx)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wx)),function xx)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function bx)),function bx)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ex())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(
j4[getconvertedplayerid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ix())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(lx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function lx)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ox())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(px())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function vx))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zx())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ey())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvert
edplayerid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function my))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function ry))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ty())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ay())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function zy))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ay())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function zw)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
by)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction dy takes nothing returns nothingset on=createtrigger()
call disabletrigger(on)call
triggerregisterplayerselectioneventbj(on,player(3),true)call
triggeraddcondition(on,condition(function yw))call triggeraddaction(on,function
cy)endfunctionfunction ey takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction fy takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
gy takes nothing returns booleanif(not getbooleanand(ey(),fy()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction hy takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction iy takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction ly takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction jy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ky takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
ly takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction my takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction ny takes
nothing returns booleanreturn getbooleanand(ly(),my())endfunctionfunction oy takes
nothing returns booleanreturn getbooleanand(ky(),ny())endfunctionfunction py takes
nothing returns booleanreturn getbooleanand(jy(),oy())endfunctionfunction qy takes
nothing returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)
endfunctionfunction ry takes nothing returns nothingif(qy())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function sy takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction ty takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction uy takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction vy takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction wy takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xy takes nothing returns booleanreturn getbooleanand(vy(),wy())
endfunctionfunction yy takes nothing returns booleanreturn
getbooleanand(uy(),xy())endfunctionfunction zy takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction d2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction e2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction f2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function g2 takes nothing returns booleanreturn getbooleanand(e2(),f2())
endfunctionfunction i2 takes nothing returns booleanreturn
getbooleanand(d2(),g2())endfunctionfunction j2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction m2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction n2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction o2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function p2 takes nothing returns booleanreturn getbooleanand(n2(),o2())
endfunctionfunction q2 takes nothing returns booleanreturn
getbooleanand(m2(),p2())endfunctionfunction r2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction s2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction t2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction u2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function v2 takes nothing returns booleanreturn getbooleanand(t2(),u2())
endfunctionfunction w2 takes nothing returns booleanreturn
getbooleanand(s2(),v2())endfunctionfunction x2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction y2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction z2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction a2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function a2 takes nothing returns booleanreturn getbooleanand(z2(),a2())
endfunctionfunction b2 takes nothing returns booleanreturn
getbooleanand(y2(),a2())endfunctionfunction b2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction c2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction c2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction d2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function e2 takes nothing returns booleanreturn getbooleanand(c2(),d2())
endfunctionfunction f2 takes nothing returns booleanreturn
getbooleanand(c2(),e2())endfunctionfunction
g2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction h2 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction i2 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction l2 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function j2 takes nothing returns booleanreturn getbooleanand(i2(),l2())
endfunctionfunction k2 takes nothing returns booleanreturn
getbooleanand(h2(),j2())endfunctionfunction l2 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction m2 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction n2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction o2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction p2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction q2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction r2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction s2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction t2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction u2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction v2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction w2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction x2 takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction y2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction z2 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction dz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction ez takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction fz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction gz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hz takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
iz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
jz takes nothing returns booleanreturn getbooleanand(hz(),iz())endfunctionfunction
kz takes nothing returns booleanreturn getbooleanand(gz(),jz())endfunctionfunction
mz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction nz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction oz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction pz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction qz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction rz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction sz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction tz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uz takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
vz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
wz takes nothing returns booleanreturn getbooleanand(uz(),vz())endfunctionfunction
xz takes nothing returns booleanreturn getbooleanand(tz(),wz())endfunctionfunction
yz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zz takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
az takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
az takes nothing returns booleanreturn getbooleanand(zz(),az())endfunctionfunction
bz takes nothing returns booleanreturn getbooleanand(yz(),az())endfunctionfunction
bz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction cz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction cz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction dz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ez takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
fz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
gz takes nothing returns booleanreturn getbooleanand(ez(),fz())endfunctionfunction
hz takes nothing returns booleanreturn getbooleanand(dz(),gz())endfunctionfunction
iz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction lz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction jz takes nothing returns boolean
if(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn falseendif
return trueendfunctionfunction kz takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction lz takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction mz takes nothing returns nothing
if(lz())thenif(jz())thenset cf[getconvertedplayerid(gettriggerplayer())]=falseset
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(iy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ly())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sy())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set
tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)call
unitaddabilitybj(1093677622,tf)set uf=ka(900.00,getunitloc(sf),condition(function
py))set bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall forgroupbj(uf,function ry)call
triggersleepaction(0.30)set bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)
call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ty())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function yy)),function zy)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function i2)),function j2)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function q2)),function r2)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function w2)),function x2)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function b2)),function b2)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function f2)),function g2)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function k2)),function l2)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(n2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(o2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(p2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(q2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(r2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(s2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(v2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(w2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(y2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function x2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(z2())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ez())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call
uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function kz))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(oz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function xz))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function bz))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cz())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(iz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function hz))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(lz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function hy)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
kz)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction nz takes nothing returns nothingset pn=createtrigger()
call disabletrigger(pn)call
triggerregisterplayerselectioneventbj(pn,player(4),true)call
triggeraddcondition(pn,condition(function gy))call triggeraddaction(pn,function
mz)endfunctionfunction oz takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction pz takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
qz takes nothing returns booleanif(not getbooleanand(oz(),pz()))thenreturn false
endif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction rz takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction sz takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction tz takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction uz takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vz takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
wz takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction xz takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction yz takes
nothing returns booleanreturn getbooleanand(wz(),xz())endfunctionfunction zz takes
nothing returns booleanreturn getbooleanand(vz(),yz())endfunctionfunction d44
takes nothing returns booleanreturn getbooleanand(uz(),zz())endfunctionfunction
d74 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction d84 takes
nothing returns nothingif(d74())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function d94 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction dd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction de4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction df4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction
dg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function dh4 takes nothing returns booleanreturn getbooleanand(df4(),dg4())
endfunctionfunction di4 takes nothing returns booleanreturn
getbooleanand(de4(),dh4())endfunctionfunction dj4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction dk4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction dm4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dn4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function do4 takes nothing returns booleanreturn getbooleanand(dm4(),dn4())
endfunctionfunction dp4 takes nothing returns booleanreturn
getbooleanand(dk4(),do4())endfunctionfunction dq4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction dr4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ds4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function du4 takes nothing returns booleanreturn getbooleanand(ds4(),dt4())
endfunctionfunction dv4 takes nothing returns booleanreturn
getbooleanand(dr4(),du4())endfunctionfunction dw4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction dx4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction dy4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dz4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function da4 takes nothing returns booleanreturn getbooleanand(dy4(),dz4())
endfunctionfunction da4 takes nothing returns booleanreturn
getbooleanand(dx4(),da4())endfunctionfunction db4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction db4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction dc4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function dd4 takes nothing returns booleanreturn getbooleanand(dc4(),dc4())
endfunctionfunction de4 takes nothing returns booleanreturn
getbooleanand(db4(),dd4())endfunctionfunction d34 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction df4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction dg4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction d64 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function dh4 takes nothing returns booleanreturn getbooleanand(dg4(),d64())
endfunctionfunction di4 takes nothing returns booleanreturn
getbooleanand(df4(),dh4())endfunctionfunction dl4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction d14 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction dj4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction dk4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function dl4 takes nothing returns booleanreturn getbooleanand(dj4(),dk4())
endfunctionfunction dm4 takes nothing returns booleanreturn
getbooleanand(d14(),dl4())endfunctionfunction dn4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction do4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction d04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction dp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction dq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction dr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction ds4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction d54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction dt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction du4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction dv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction dw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction dx4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction dy4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction d24 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction dz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction d_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction e44 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction e74 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function e84 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
e94 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ed4 takes nothing returns booleanreturn getbooleanand(e84(),e94())endfunction
function ee4 takes nothing returns booleanreturn getbooleanand(e74(),ed4())
endfunctionfunction ef4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction eg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction eh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction ei4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ej4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction ek4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction em4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction en4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function eo4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ep4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
eq4 takes nothing returns booleanreturn getbooleanand(eo4(),ep4())endfunction
function er4 takes nothing returns booleanreturn getbooleanand(en4(),eq4())
endfunctionfunction es4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function et4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
eu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ev4 takes nothing returns booleanreturn getbooleanand(et4(),eu4())endfunction
function ew4 takes nothing returns booleanreturn getbooleanand(es4(),ev4())
endfunctionfunction ex4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ey4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction ez4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ea4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ea4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
eb4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
eb4 takes nothing returns booleanreturn getbooleanand(ea4(),eb4())endfunction
function ec4 takes nothing returns booleanreturn getbooleanand(ea4(),eb4())
endfunctionfunction ec4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ed4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction ee4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction e34 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ef4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction eg4 takes nothing returns nothing
if(ef4())thenif(ee4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(sz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tz())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(d94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function d44))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function d84)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(do4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function di4)),function dj4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function dp4)),function dq4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function dv4)),function dw4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function da4)),function db4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function de4)),function d34)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function di4)),function dl4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function dm4)),function dn4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(d04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ds4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(d54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[get
convertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(du4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function dx4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(d24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(dz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(d_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(e44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ef4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function ee4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(eg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(eh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ei4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ej4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ek4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(em4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ex4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function er4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function ew4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ey4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ez4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ec4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function ec4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ed4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function rz)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
e34)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction e64 takes nothing returns nothingset qn=createtrigger()
call disabletrigger(qn)call
triggerregisterplayerselectioneventbj(qn,player(5),true)call
triggeraddcondition(qn,condition(function qz))call triggeraddaction(qn,function
eg4)endfunctionfunction eh4 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction ei4 takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
el4 takes nothing returns booleanif(not getbooleanand(eh4(),ei4()))thenreturn
falseendif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction e14 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ej4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction ek4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction el4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function em4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
en4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction eo4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction e04 takes
nothing returns booleanreturn getbooleanand(en4(),eo4())endfunctionfunction ep4
takes nothing returns booleanreturn getbooleanand(em4(),e04())endfunctionfunction
eq4 takes nothing returns booleanreturn getbooleanand(el4(),ep4())endfunction
function er4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction es4 takes
nothing returns nothingif(er4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function e54 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction et4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction eu4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ev4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ew4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ex4 takes nothing returns booleanreturn getbooleanand(ev4(),ew4())
endfunctionfunction ey4 takes nothing returns booleanreturn
getbooleanand(eu4(),ex4())endfunctionfunction e24 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ez4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction e_4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction f44 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function f74 takes nothing returns booleanreturn getbooleanand(e_4(),f44())
endfunctionfunction f84 takes nothing returns booleanreturn
getbooleanand(ez4(),f74())endfunctionfunction f94 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction fd4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fe4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ff4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fg4 takes nothing returns booleanreturn getbooleanand(fe4(),ff4())
endfunctionfunction fh4 takes nothing returns booleanreturn
getbooleanand(fd4(),fg4())endfunctionfunction fi4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction fj4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction fm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fn4 takes nothing returns booleanreturn getbooleanand(fk4(),fm4())
endfunctionfunction fo4 takes nothing returns booleanreturn
getbooleanand(fj4(),fn4())endfunctionfunction fp4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction fq4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fr4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction fs4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ft4 takes nothing returns booleanreturn getbooleanand(fr4(),fs4())
endfunctionfunction fu4 takes nothing returns booleanreturn
getbooleanand(fq4(),ft4())endfunctionfunction fv4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction fw4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fx4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction fy4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fz4 takes nothing returns booleanreturn getbooleanand(fx4(),fy4())
endfunctionfunction fa4 takes nothing returns booleanreturn
getbooleanand(fw4(),fz4())endfunctionfunction fa4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction fb4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction fb4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction fc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fc4 takes nothing returns booleanreturn getbooleanand(fb4(),fc4())
endfunctionfunction fd4 takes nothing returns booleanreturn
getbooleanand(fb4(),fc4())endfunctionfunction fe4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction f34 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction ff4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction fg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn
falseendifreturn trueendfunctionfunction f64 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction fh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction fi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction fl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction f14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction fj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction fk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction fl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction fm4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction fn4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction fo4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction f04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction fp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction fq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction fr4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fs4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
f54 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ft4 takes nothing returns booleanreturn getbooleanand(fs4(),f54())endfunction
function fu4 takes nothing returns booleanreturn getbooleanand(fr4(),ft4())
endfunctionfunction fv4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction fw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction fx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction fy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction f24 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction fz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction f_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction g44 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function g74 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
g84 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
g94 takes nothing returns booleanreturn getbooleanand(g74(),g84())endfunction
function gd4 takes nothing returns booleanreturn getbooleanand(g44(),g94())
endfunctionfunction ge4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function gf4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
gg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
gh4 takes nothing returns booleanreturn getbooleanand(gf4(),gg4())endfunction
function gi4 takes nothing returns booleanreturn getbooleanand(ge4(),gh4())
endfunctionfunction gj4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction gk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction gm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction gn4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function go4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
gp4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
gq4 takes nothing returns booleanreturn getbooleanand(go4(),gp4())endfunction
function gr4 takes nothing returns booleanreturn getbooleanand(gn4(),gq4())
endfunctionfunction gs4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction gt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction gu4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction gv4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction gw4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction gx4 takes nothing returns nothing
if(gw4())thenif(gu4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(ej4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ek4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(e54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function eq4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function es4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(et4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerpl
ayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ey4)),function e24)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function f84)),function f94)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fh4)),function fi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fo4)),function fp4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fu4)),function fv4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fa4)),function fa4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function fd4)),function fe4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ff4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function fm4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function fu4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid
(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(fz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(f_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function gd4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function gi4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gk4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gs4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function gr4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function e14)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
gv4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction gy4 takes nothing returns nothingset rn=createtrigger()
call disabletrigger(rn)call
triggerregisterplayerselectioneventbj(rn,player(6),true)call
triggeraddcondition(rn,condition(function el4))call triggeraddaction(rn,function
gx4)endfunctionfunction gz4 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction ga4 takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
ga4 takes nothing returns booleanif(not getbooleanand(gz4(),ga4()))thenreturn
falseendif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction gb4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction gb4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction gc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction gc4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function gd4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
ge4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction g34 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction gf4 takes
nothing returns booleanreturn getbooleanand(ge4(),g34())endfunctionfunction gg4
takes nothing returns booleanreturn getbooleanand(gd4(),gf4())endfunctionfunction
g64 takes nothing returns booleanreturn getbooleanand(gc4(),gg4())endfunction
function gh4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction gi4 takes
nothing returns nothingif(gh4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function gl4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction g14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction gj4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction gk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction gl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function gm4 takes nothing returns booleanreturn getbooleanand(gk4(),gl4())
endfunctionfunction gn4 takes nothing returns booleanreturn
getbooleanand(gj4(),gm4())endfunctionfunction go4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction g04 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction gp4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction gq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function gr4 takes nothing returns booleanreturn getbooleanand(gp4(),gq4())
endfunctionfunction gs4 takes nothing returns booleanreturn
getbooleanand(g04(),gr4())endfunctionfunction g54 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction gt4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunction
function gu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
gv4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function gw4 takes nothing returns booleanreturn getbooleanand(gu4(),gv4())
endfunctionfunction gx4 takes nothing returns booleanreturn
getbooleanand(gt4(),gw4())endfunctionfunction gy4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction g24 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction gz4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction g_4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function h44 takes nothing returns booleanreturn getbooleanand(gz4(),g_4())
endfunctionfunction h74 takes nothing returns booleanreturn
getbooleanand(g24(),h44())endfunctionfunction h84 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction h94 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction hd4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction he4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hf4 takes nothing returns booleanreturn getbooleanand(hd4(),he4())
endfunctionfunction hg4 takes nothing returns booleanreturn
getbooleanand(h94(),hf4())endfunctionfunction hh4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction hi4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction hj4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction hk4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hm4 takes nothing returns booleanreturn getbooleanand(hj4(),hk4())
endfunctionfunction hn4 takes nothing returns booleanreturn
getbooleanand(hi4(),hm4())endfunctionfunction ho4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction hp4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction hq4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction hr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hs4 takes nothing returns booleanreturn getbooleanand(hq4(),hr4())
endfunctionfunction ht4 takes nothing returns booleanreturn
getbooleanand(hp4(),hs4())endfunctionfunction hu4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction hv4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction hw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction hx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction hy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction hz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction ha4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction ha4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction hb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction hb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction hc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction hc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction hd4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction he4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction h34 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction hf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction hg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction h64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction hh4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hi4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
hl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
h14 takes nothing returns booleanreturn getbooleanand(hi4(),hl4())endfunction
function hj4 takes nothing returns booleanreturn getbooleanand(hh4(),h14())
endfunctionfunction hk4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction hl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction hm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction hn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ho4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction h04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction hp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction hq4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hr4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
hs4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
h54 takes nothing returns booleanreturn getbooleanand(hr4(),hs4())endfunction
function ht4 takes nothing returns booleanreturn getbooleanand(hq4(),h54())
endfunctionfunction hu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hv4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
hw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
hx4 takes nothing returns booleanreturn getbooleanand(hv4(),hw4())endfunction
function hy4 takes nothing returns booleanreturn getbooleanand(hu4(),hx4())
endfunctionfunction h24 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction hz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction h_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction i44 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function i74 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
i84 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
i94 takes nothing returns booleanreturn getbooleanand(i74(),i84())endfunction
function id4 takes nothing returns booleanreturn getbooleanand(i44(),i94())
endfunctionfunction ie4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction if4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction ig4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction ih4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ii4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction ij4 takes nothing returns nothing
if(ii4())thenif(ig4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(gb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(gl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function g64))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function gi4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(g14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function gn4)),function go4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function gs4)),function g54)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function gx4)),function gy4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function h74)),function h84)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function hg4)),function hh4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function hn4)),function ho4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ht4)),function hu4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ha4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ha4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call
uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(he4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function hd4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(h34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(h64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function hj4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ho4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(h04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(h24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function ht4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function hy4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(hz4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(h_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ie4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function id4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(if4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function gb4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
ih4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction ik4 takes nothing returns nothingset sn=createtrigger()
call disabletrigger(sn)call
triggerregisterplayerselectioneventbj(sn,player(7),true)call
triggeraddcondition(sn,condition(function ga4))call triggeraddaction(sn,function
ij4)endfunctionfunction im4 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction in4 takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
io4 takes nothing returns booleanif(not getbooleanand(im4(),in4()))thenreturn
falseendif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction ip4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction iq4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction ir4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction is4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function it4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
iu4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction iv4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction iw4 takes
nothing returns booleanreturn getbooleanand(iu4(),iv4())endfunctionfunction ix4
takes nothing returns booleanreturn getbooleanand(it4(),iw4())endfunctionfunction
iy4 takes nothing returns booleanreturn getbooleanand(is4(),ix4())endfunction
function iz4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction ia4 takes
nothing returns nothingif(iz4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function ia4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction ib4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction ib4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ic4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ic4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function id4 takes nothing returns booleanreturn getbooleanand(ic4(),ic4())
endfunctionfunction ie4 takes nothing returns booleanreturn
getbooleanand(ib4(),id4())endfunctionfunction i34 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction if4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ig4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction i64 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ih4 takes nothing returns booleanreturn getbooleanand(ig4(),i64())
endfunctionfunction ii4 takes nothing returns booleanreturn
getbooleanand(if4(),ih4())endfunctionfunction il4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction i14 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ij4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ik4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function il4 takes nothing returns booleanreturn getbooleanand(ij4(),ik4())
endfunctionfunction im4 takes nothing returns booleanreturn
getbooleanand(i14(),il4())endfunctionfunction in4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction io4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction i04 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ip4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function iq4 takes nothing returns booleanreturn getbooleanand(i04(),ip4())
endfunctionfunction ir4 takes nothing returns booleanreturn
getbooleanand(io4(),iq4())endfunctionfunction is4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction i54 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction it4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction iu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function iv4 takes nothing returns booleanreturn getbooleanand(it4(),iu4())
endfunctionfunction iw4 takes nothing returns booleanreturn
getbooleanand(i54(),iv4())endfunctionfunction ix4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction iy4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction i24 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction iz4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function i_4 takes nothing returns booleanreturn getbooleanand(i24(),iz4())
endfunctionfunction j44 takes nothing returns booleanreturn
getbooleanand(iy4(),i_4())endfunctionfunction j74 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction j84 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction j94 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction jd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function je4 takes nothing returns booleanreturn getbooleanand(j94(),jd4())
endfunctionfunction jf4 takes nothing returns booleanreturn
getbooleanand(j84(),je4())endfunctionfunction jg4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction jh4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction ji4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction jj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction jk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction jm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction jn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction jo4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction jp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction jq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction jr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction js4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn
falseendifreturn trueendfunctionfunction jt4 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction ju4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction jv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction jw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction jx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction jy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction jz4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ja4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ja4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
jb4 takes nothing returns booleanreturn getbooleanand(ja4(),ja4())endfunction
function jb4 takes nothing returns booleanreturn getbooleanand(jz4(),jb4())
endfunctionfunction jc4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction jc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction jd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction je4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction j34 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction jf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction jg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction j64 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function jh4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ji4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
jl4 takes nothing returns booleanreturn getbooleanand(jh4(),ji4())endfunction
function j14 takes nothing returns booleanreturn getbooleanand(j64(),jl4())
endfunctionfunction jj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function jk4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
jl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
jm4 takes nothing returns booleanreturn getbooleanand(jk4(),jl4())endfunction
function jn4 takes nothing returns booleanreturn getbooleanand(jj4(),jm4())
endfunctionfunction jo4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction j04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction jp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction jq4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function jr4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
js4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
j54 takes nothing returns booleanreturn getbooleanand(jr4(),js4())endfunction
function jt4 takes nothing returns booleanreturn getbooleanand(jq4(),j54())
endfunctionfunction ju4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction jv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction jw4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction jx4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction jy4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction j24 takes nothing returns nothing
if(jy4())thenif(jw4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(iq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ir4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ia4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function iy4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function ia4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ib4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ie4)),function i34)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ii4)),function il4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function im4)),function in4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ir4)),function is4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function iw4)),function ix4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function j44)),function j74)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function jf4)),function jg4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ji4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(js4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ju4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function jt4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function jb4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(je4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(j34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function j14))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function jn4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(j04())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ju4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function jt4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(jv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function ip4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
jx4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction jz4 takes nothing returns nothingset tn=createtrigger()
call disabletrigger(tn)call
triggerregisterplayerselectioneventbj(tn,player(8),true)call
triggeraddcondition(tn,condition(function io4))call triggeraddaction(tn,function
j24)endfunctionfunction j_4 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1869636975)endfunctionfunction k44 takes
nothing returns boolean
return(getowningplayer(gettriggerunit())==gettriggerplayer())endfunctionfunction
k74 takes nothing returns booleanif(not getbooleanand(j_4(),k44()))thenreturn
falseendif
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction k84 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction k94 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction kd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction ke4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function kf4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
kg4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction kh4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction ki4 takes
nothing returns booleanreturn getbooleanand(kg4(),kh4())endfunctionfunction kj4
takes nothing returns booleanreturn getbooleanand(kf4(),ki4())endfunctionfunction
kk4 takes nothing returns booleanreturn getbooleanand(ke4(),kj4())endfunction
function km4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction kn4 takes
nothing returns nothingif(km4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function ko4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction kp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction kq4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction kr4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ks4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kt4 takes nothing returns booleanreturn getbooleanand(kr4(),ks4())
endfunctionfunction ku4 takes nothing returns booleanreturn
getbooleanand(kq4(),kt4())endfunctionfunction kv4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction kw4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction kx4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ky4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kz4 takes nothing returns booleanreturn getbooleanand(kx4(),ky4())
endfunctionfunction ka4 takes nothing returns booleanreturn
getbooleanand(kw4(),kz4())endfunctionfunction ka4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction kb4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction kb4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction kc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kc4 takes nothing returns booleanreturn getbooleanand(kb4(),kc4())
endfunctionfunction kd4 takes nothing returns booleanreturn
getbooleanand(kb4(),kc4())endfunctionfunction ke4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction k34 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction kf4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction kg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function k64 takes nothing returns booleanreturn getbooleanand(kf4(),kg4())
endfunctionfunction kh4 takes nothing returns booleanreturn
getbooleanand(k34(),k64())endfunctionfunction
ki4 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction kl4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction k14 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction kj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kk4 takes nothing returns booleanreturn getbooleanand(k14(),kj4())
endfunctionfunction kl4 takes nothing returns booleanreturn
getbooleanand(kl4(),kk4())endfunctionfunction km4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction kn4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ko4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction k04 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function kp4 takes nothing returns booleanreturn getbooleanand(ko4(),k04())
endfunctionfunction kq4 takes nothing returns booleanreturn
getbooleanand(kn4(),kp4())endfunctionfunction kr4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ks4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction k54 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction kt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ku4 takes nothing returns booleanreturn getbooleanand(k54(),kt4())
endfunctionfunction kv4 takes nothing returns booleanreturn
getbooleanand(ks4(),ku4())endfunctionfunction kw4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction kx4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction ky4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction k24 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction kz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction k_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction m44 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction m74 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction m84 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction m94 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction md4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction me4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction mf4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction mg4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction mh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction mi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction mj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction mk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction mm4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function mn4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
mo4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
mp4 takes nothing returns booleanreturn getbooleanand(mn4(),mo4())endfunction
function mq4 takes nothing returns booleanreturn getbooleanand(mm4(),mp4())
endfunctionfunction mr4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction ms4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction mt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction mu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction mv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction mw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction mx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction my4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function mz4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ma4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ma4 takes nothing returns booleanreturn getbooleanand(mz4(),ma4())endfunction
function mb4 takes nothing returns booleanreturn getbooleanand(my4(),ma4())
endfunctionfunction mb4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function mc4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
mc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
md4 takes nothing returns booleanreturn getbooleanand(mc4(),mc4())endfunction
function me4 takes nothing returns booleanreturn getbooleanand(mb4(),md4())
endfunctionfunction m34 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction mf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction mg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction m64 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function mh4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
mi4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ml4 takes nothing returns booleanreturn getbooleanand(mh4(),mi4())endfunction
function m14 takes nothing returns booleanreturn getbooleanand(m64(),ml4())
endfunctionfunction mj4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction mk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction ml4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction mm4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction mn4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction mo4 takes nothing returns nothing
if(mn4())thenif(ml4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(k94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ko4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function kk4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function kn4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ku4)),function kv4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ka4)),function ka4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function kd4)),function ke4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function kh4)),function ki4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function kl4)),function km4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function kq4)),function kr4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function kv4)),function kw4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ky4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(k24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(kz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(k_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m74())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(md4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(me4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function mf4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function mq4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ms4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function mb4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function me4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mf4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function m14))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function k84)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
mm4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction m04 takes nothing returns nothingset un=createtrigger()
call disabletrigger(un)call
triggerregisterplayerselectioneventbj(un,player(9),true)call
triggeraddcondition(un,condition(function k74))call triggeraddaction(un,function
mo4)endfunctionfunction mp4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction mq4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction mr4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction ms4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function m54 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
mt4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction
mu4 takes nothing returns booleanreturn(unitissleepingbj(getfilterunit())!=true)
endfunctionfunction mv4 takes nothing returns booleanreturn
getbooleanand(mt4(),mu4())endfunctionfunction mw4 takes nothing returns boolean
return getbooleanand(m54(),mv4())endfunctionfunction mx4 takes nothing returns
booleanreturn getbooleanand(ms4(),mw4())endfunctionfunction my4 takes nothing
returns booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)endfunction
function m24 takes nothing returns nothingif(my4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function mz4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction m_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction n44 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction n74 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction n84 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction n94 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nd4 takes nothing returns booleanreturn getbooleanand(n84(),n94())
endfunctionfunction ne4 takes nothing returns booleanreturn
getbooleanand(n74(),nd4())endfunctionfunction nf4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ng4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ni4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nj4 takes nothing returns booleanreturn getbooleanand(nh4(),ni4())
endfunctionfunction nk4 takes nothing returns booleanreturn
getbooleanand(ng4(),nj4())endfunctionfunction nm4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction nn4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction no4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction np4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nq4 takes nothing returns booleanreturn getbooleanand(no4(),np4())
endfunctionfunction nr4 takes nothing returns booleanreturn
getbooleanand(nn4(),nq4())endfunctionfunction ns4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction nt4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nu4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction nv4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nw4 takes nothing returns booleanreturn getbooleanand(nu4(),nv4())
endfunctionfunction nx4 takes nothing returns booleanreturn
getbooleanand(nt4(),nw4())endfunctionfunction ny4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction nz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction na4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction na4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nb4 takes nothing returns booleanreturn getbooleanand(na4(),na4())
endfunctionfunction nb4 takes nothing returns booleanreturn
getbooleanand(nz4(),nb4())endfunctionfunction nc4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction nc4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nd4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ne4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function n34 takes nothing returns booleanreturn getbooleanand(nd4(),ne4())
endfunctionfunction nf4 takes nothing returns booleanreturn
getbooleanand(nc4(),n34())endfunctionfunction ng4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction n64 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction nh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ni4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nl4 takes nothing returns booleanreturn getbooleanand(nh4(),ni4())
endfunctionfunction n14 takes nothing returns booleanreturn
getbooleanand(n64(),nl4())endfunctionfunction nj4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction nk4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction nl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction nm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction nn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction no4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction n04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction np4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction nq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction nr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction ns4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction n54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction nt4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction nu4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction nv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction nw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction nx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction ny4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction n24 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nz4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
n_4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
o44 takes nothing returns booleanreturn getbooleanand(nz4(),n_4())endfunction
function o74 takes
nothing returns booleanreturn getbooleanand(n24(),o44())endfunctionfunction o84
takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction o94 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction od4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction oe4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction of4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction og4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction oh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction oi4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function oj4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ok4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
om4 takes nothing returns booleanreturn getbooleanand(oj4(),ok4())endfunction
function on4 takes nothing returns booleanreturn getbooleanand(oi4(),om4())
endfunctionfunction oo4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function op4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
oq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
or4 takes nothing returns booleanreturn getbooleanand(op4(),oq4())endfunction
function os4 takes nothing returns booleanreturn getbooleanand(oo4(),or4())
endfunctionfunction ot4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ou4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction ov4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ow4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ox4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
oy4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
oz4 takes nothing returns booleanreturn getbooleanand(ox4(),oy4())endfunction
function oa4 takes nothing returns booleanreturn getbooleanand(ow4(),oz4())
endfunctionfunction oa4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ob4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction ob4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction oc4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction oc4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction od4 takes nothing returns nothing
if(oc4())thenif(ob4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(mr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(mz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function mx4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function m24)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(m_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(n44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ne4)),function nf4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nk4)),function nm4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nr4)),function ns4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nx4)),function ny4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nb4)),function nc4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function nf4)),function ng4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function n14)),function nj4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(no4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(n04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(np4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ns4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(n54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function nt4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(nx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ny4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(o84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function o74))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(o94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(od4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(oe4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(of4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(og4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(oh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ot4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())]
)))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function on4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function os4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ou4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ov4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(oa4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function oa4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ob4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function mq4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
oc4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction oe4 takes nothing returns nothingset vn=createtrigger()
call disabletrigger(vn)call
triggerregisterplayerchatevent(vn,player(0),"-aa",true)call
triggeraddcondition(vn,condition(function mp4))call triggeraddaction(vn,function
od4)endfunctionfunction o34 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction of4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction og4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction o64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction oh4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function oi4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
ol4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction o14 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction oj4 takes
nothing returns booleanreturn getbooleanand(ol4(),o14())endfunctionfunction ok4
takes nothing returns booleanreturn getbooleanand(oi4(),oj4())endfunctionfunction
ol4 takes nothing returns booleanreturn getbooleanand(oh4(),ok4())endfunction
function om4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction on4 takes
nothing returns nothingif(om4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function oo4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction o04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction op4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction oq4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction or4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function os4 takes nothing returns booleanreturn getbooleanand(oq4(),or4())
endfunctionfunction o54 takes nothing returns booleanreturn
getbooleanand(op4(),os4())endfunctionfunction ot4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ou4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ov4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ow4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ox4 takes nothing returns booleanreturn getbooleanand(ov4(),ow4())
endfunctionfunction oy4 takes nothing returns booleanreturn
getbooleanand(ou4(),ox4())endfunctionfunction o24 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction oz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction o_4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction p44 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function p74 takes nothing returns booleanreturn getbooleanand(o_4(),p44())
endfunctionfunction p84 takes nothing returns booleanreturn
getbooleanand(oz4(),p74())endfunctionfunction p94 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pd4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction pe4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction pf4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pg4 takes nothing returns booleanreturn getbooleanand(pe4(),pf4())
endfunctionfunction ph4 takes nothing returns booleanreturn
getbooleanand(pd4(),pg4())endfunctionfunction pi4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pj4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction pk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction pm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pn4 takes nothing returns booleanreturn getbooleanand(pk4(),pm4())
endfunctionfunction po4 takes nothing returns booleanreturn
getbooleanand(pj4(),pn4())endfunctionfunction pp4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pq4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction pr4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ps4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pt4 takes nothing returns booleanreturn getbooleanand(pr4(),ps4())
endfunctionfunction pu4 takes nothing returns booleanreturn
getbooleanand(pq4(),pt4())endfunctionfunction pv4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pw4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction px4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction py4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pz4 takes nothing returns booleanreturn getbooleanand(px4(),py4())
endfunctionfunction pa4 takes nothing returns booleanreturn
getbooleanand(pw4(),pz4())endfunctionfunction pa4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction pb4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction pb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction pc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction pc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction pd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction pe4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction p34 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction pf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction pg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction p64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ph4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction pi4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction pl4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction p14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction pj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction pk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction pl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction pm4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pn4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
po4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
p04 takes nothing returns booleanreturn getbooleanand(pn4(),po4())endfunction
function pp4 takes nothing returns booleanreturn getbooleanand(pm4(),p04())
endfunctionfunction pq4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction pr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction ps4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction p54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction pt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction pu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction pv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction pw4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function px4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
py4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
p24 takes nothing returns booleanreturn getbooleanand(px4(),py4())endfunction
function pz4 takes nothing returns booleanreturn getbooleanand(pw4(),p24())
endfunctionfunction p_4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function q44 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
q74 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
q84 takes nothing returns booleanreturn getbooleanand(q44(),q74())endfunction
function q94 takes nothing returns booleanreturn getbooleanand(p_4(),q84())
endfunctionfunction qd4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction qe4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction qf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction qg4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qh4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
qi4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
qj4 takes nothing returns booleanreturn getbooleanand(qh4(),qi4())endfunction
function qk4 takes nothing returns booleanreturn getbooleanand(qg4(),qj4())
endfunctionfunction qm4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction qn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction qo4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction qp4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction qq4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction qr4 takes nothing returns nothing
if(qq4())thenif(qo4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(og4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(o64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(oo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call
unitaddabilitybj(1093677622,tf)set uf=ka(900.00,getunitloc(sf),condition(function
ol4))set bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall forgroupbj(uf,function on4)call
triggersleepaction(0.30)set bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)
call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(o04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function o54)),function ot4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function oy4)),function o24)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function p84)),function p94)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ph4)),function pi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function po4)),function pp4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function pu4)),function pv4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function pa4)),function pa4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pe4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(p34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(p64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ph4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function pi4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(p14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call
uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function pp4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ps4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(p54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(pv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function pz4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function q94))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qe4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function qk4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function of4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
qp4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction qs4 takes nothing returns nothingset wn=createtrigger()
call disabletrigger(wn)call
triggerregisterplayerchatevent(wn,player(1),"-aa",true)call
triggeraddcondition(wn,condition(function o34))call triggeraddaction(wn,function
qr4)endfunctionfunction qt4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction qu4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction qv4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction qw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction qx4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function qy4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
qz4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction qa4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction qa4 takes
nothing returns booleanreturn getbooleanand(qz4(),qa4())endfunctionfunction qb4
takes nothing returns booleanreturn getbooleanand(qy4(),qa4())endfunctionfunction
qb4 takes nothing returns booleanreturn getbooleanand(qx4(),qb4())endfunction
function qc4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction qc4 takes
nothing returns nothingif(qc4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function qd4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction qe4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction q34 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction qf4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction qg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function q64 takes nothing returns booleanreturn getbooleanand(qf4(),qg4())
endfunctionfunction qh4
takes nothing returns booleanreturn getbooleanand(q34(),q64())endfunctionfunction
qi4 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ql4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction q14 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction qj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qk4 takes nothing returns booleanreturn getbooleanand(q14(),qj4())
endfunctionfunction ql4 takes nothing returns booleanreturn
getbooleanand(ql4(),qk4())endfunctionfunction qm4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction qn4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction qo4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction q04 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qp4 takes nothing returns booleanreturn getbooleanand(qo4(),q04())
endfunctionfunction qq4 takes nothing returns booleanreturn
getbooleanand(qn4(),qp4())endfunctionfunction qr4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction qs4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction q54 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction qt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qu4 takes nothing returns booleanreturn getbooleanand(q54(),qt4())
endfunctionfunction qv4 takes nothing returns booleanreturn
getbooleanand(qs4(),qu4())endfunctionfunction qw4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction qx4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction qy4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction q24 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qz4 takes nothing returns booleanreturn getbooleanand(qy4(),q24())
endfunctionfunction q_4 takes nothing returns booleanreturn
getbooleanand(qx4(),qz4())endfunctionfunction r44 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction r74 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction r84 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction r94 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rd4 takes nothing returns booleanreturn getbooleanand(r84(),r94())
endfunctionfunction re4 takes nothing returns booleanreturn
getbooleanand(r74(),rd4())endfunctionfunction rf4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction rg4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction rh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ri4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rj4 takes nothing returns booleanreturn getbooleanand(rh4(),ri4())
endfunctionfunction rk4 takes nothing returns booleanreturn
getbooleanand(rg4(),rj4())endfunctionfunction rm4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction rn4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction ro4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction rp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction rq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction rr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction rs4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction rt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction ru4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction rv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction rw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction rx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction ry4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction rz4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction ra4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction ra4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction rb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction rb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction rc4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rc4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
rd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
re4 takes nothing returns booleanreturn getbooleanand(rc4(),rd4())endfunction
function r34 takes nothing returns booleanreturn getbooleanand(rc4(),re4())
endfunctionfunction rf4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction rg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction r64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction rh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ri4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction rl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction r14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction rj4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rk4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
rl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rm4 takes nothing
returns booleanreturn getbooleanand(rk4(),rl4())endfunctionfunction rn4 takes
nothing returns booleanreturn getbooleanand(rj4(),rm4())endfunctionfunction ro4
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function r04 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
rp4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rq4 takes nothing returns booleanreturn getbooleanand(r04(),rp4())endfunction
function rr4 takes nothing returns booleanreturn getbooleanand(ro4(),rq4())
endfunctionfunction rs4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction r54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction rt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ru4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rv4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
rw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rx4 takes nothing returns booleanreturn getbooleanand(rv4(),rw4())endfunction
function ry4 takes nothing returns booleanreturn getbooleanand(ru4(),rx4())
endfunctionfunction r24 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction rz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction r_4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction s44 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction s74 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction s84 takes nothing returns nothing
if(s74())thenif(r_4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(qv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function qb4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function qc4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(qe4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function qh4)),function qi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ql4)),function qm4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function qq4)),function qr4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function qv4)),function qw4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function q_4)),function r44)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function re4)),function rf4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function rk4)),function rm4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ro4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rs4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ru4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit
_state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)
call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function ry4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ra4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ra4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function r34))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(r64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ri4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(r14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rs4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function rn4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function rr4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(r54())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(r24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function ry4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(rz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function qu4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
s44)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction s94 takes nothing returns nothingset xn=createtrigger()
call disabletrigger(xn)call
triggerregisterplayerchatevent(xn,player(2),"-aa",true)call
triggeraddcondition(xn,condition(function qt4))call triggeraddaction(xn,function
s84)endfunctionfunction sd4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction se4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction sf4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction sg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction sh4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function si4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
sj4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction sk4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction sm4 takes
nothing returns booleanreturn getbooleanand(sj4(),sk4())endfunctionfunction sn4
takes nothing returns booleanreturn getbooleanand(si4(),sm4())endfunctionfunction
so4 takes nothing returns booleanreturn getbooleanand(sh4(),sn4())endfunction
function sp4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction sq4 takes
nothing returns nothingif(sp4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function sr4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction ss4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction st4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction su4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction sv4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sw4 takes nothing returns booleanreturn getbooleanand(su4(),sv4())
endfunctionfunction sx4 takes nothing returns booleanreturn
getbooleanand(st4(),sw4())endfunctionfunction sy4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sa4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction sa4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sb4 takes nothing returns booleanreturn getbooleanand(sa4(),sa4())
endfunctionfunction sb4 takes nothing returns booleanreturn
getbooleanand(sz4(),sb4())endfunctionfunction sc4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sc4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sd4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction se4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function s34 takes nothing returns booleanreturn getbooleanand(sd4(),se4())
endfunctionfunction sf4 takes nothing returns booleanreturn
getbooleanand(sc4(),s34())endfunctionfunction sg4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction s64 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction si4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sl4 takes nothing returns booleanreturn getbooleanand(sh4(),si4())
endfunctionfunction s14 takes nothing returns booleanreturn
getbooleanand(s64(),sl4())endfunctionfunction sj4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sk4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sl4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction sm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sn4 takes nothing returns booleanreturn getbooleanand(sl4(),sm4())
endfunctionfunction so4 takes nothing returns booleanreturn
getbooleanand(sk4(),sn4())endfunctionfunction s04 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sp4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sq4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction sr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ss4 takes nothing returns booleanreturn getbooleanand(sq4(),sr4())
endfunctionfunction s54 takes nothing returns booleanreturn
getbooleanand(sp4(),ss4())endfunctionfunction st4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction su4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction sv4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction sw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sx4 takes nothing returns booleanreturn getbooleanand(sv4(),sw4())
endfunctionfunction sy4 takes nothing returns booleanreturn
getbooleanand(su4(),sx4())endfunctionfunction s24 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction sz4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction s_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction t44 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction t74 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction t84 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn
falseendifreturn trueendfunctionfunction t94 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction td4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction te4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction tf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction tg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction th4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction ti4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction tj4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction tk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction tm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction tn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction to4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction tp4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function tq4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
tr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ts4 takes nothing returns booleanreturn getbooleanand(tq4(),tr4())endfunction
function tt4 takes nothing returns booleanreturn getbooleanand(tp4(),ts4())
endfunctionfunction tu4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction tv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction tw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction tx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ty4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction tz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction ta4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction ta4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function tb4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
tb4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tc4 takes nothing returns booleanreturn getbooleanand(tb4(),tb4())endfunction
function tc4 takes nothing returns booleanreturn getbooleanand(ta4(),tc4())
endfunctionfunction td4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function te4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
t34 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tf4 takes nothing returns booleanreturn getbooleanand(te4(),t34())endfunction
function tg4 takes nothing returns booleanreturn getbooleanand(td4(),tf4())
endfunctionfunction t64 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction th4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction ti4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction tl4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function t14 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
tj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tk4 takes nothing returns booleanreturn getbooleanand(t14(),tj4())endfunction
function tl4 takes nothing returns booleanreturn getbooleanand(tl4(),tk4())
endfunctionfunction tm4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction tn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction to4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction t04 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction tp4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction tq4 takes nothing returns nothing
if(tp4())thenif(to4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(sf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function so4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function sq4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ss4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(sz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function
sx4)),function sy4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function sb4)),function sc4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function sf4)),function sg4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function s14)),function sj4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function so4)),function s04)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function s54)),function st4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function sy4)),function s24)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(s_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t74())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(td4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(te4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(th4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function ti4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(to4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function tt4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer(
))])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ty4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ta4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(t64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function tc4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function tg4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(th4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ti4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function tl4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function se4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
t04)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction tr4 takes nothing returns nothingset yn=createtrigger()
call disabletrigger(yn)call
triggerregisterplayerchatevent(yn,player(3),"-aa",true)call
triggeraddcondition(yn,condition(function sd4))call triggeraddaction(yn,function
tq4)endfunctionfunction ts4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction t54 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction tt4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction tu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction tv4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function tw4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
tx4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction ty4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction t24 takes
nothing returns booleanreturn getbooleanand(tx4(),ty4())endfunctionfunction tz4
takes nothing returns booleanreturn getbooleanand(tw4(),t24())endfunctionfunction
t_4 takes nothing returns booleanreturn getbooleanand(tv4(),tz4())endfunction
function u44 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction u74 takes
nothing returns nothingif(u44())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function u84 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction u94 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction ud4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ue4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uf4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ug4 takes nothing returns booleanreturn getbooleanand(ue4(),uf4())
endfunctionfunction uh4 takes nothing returns booleanreturn
getbooleanand(ud4(),ug4())endfunctionfunction ui4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction uj4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction uk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction um4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function un4 takes nothing returns booleanreturn getbooleanand(uk4(),um4())
endfunctionfunction uo4 takes nothing returns booleanreturn
getbooleanand(uj4(),un4())endfunctionfunction up4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction uq4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ur4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction us4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ut4 takes nothing returns booleanreturn getbooleanand(ur4(),us4())
endfunctionfunction uu4 takes nothing returns booleanreturn
getbooleanand(uq4(),ut4())endfunctionfunction uv4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_
type_normal)endfunctionfunction uw4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ux4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uy4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uz4 takes nothing returns booleanreturn getbooleanand(ux4(),uy4())
endfunctionfunction ua4 takes nothing returns booleanreturn
getbooleanand(uw4(),uz4())endfunctionfunction ua4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ub4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ub4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uc4 takes nothing returns booleanreturn getbooleanand(ub4(),uc4())
endfunctionfunction ud4 takes nothing returns booleanreturn
getbooleanand(ub4(),uc4())endfunctionfunction ue4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction u34 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction uf4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ug4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function u64 takes nothing returns booleanreturn getbooleanand(uf4(),ug4())
endfunctionfunction uh4 takes nothing returns booleanreturn
getbooleanand(u34(),u64())endfunctionfunction ui4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ul4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction u14 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uk4 takes nothing returns booleanreturn getbooleanand(u14(),uj4())
endfunctionfunction ul4 takes nothing returns booleanreturn
getbooleanand(ul4(),uk4())endfunctionfunction um4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction un4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction uo4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction u04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction up4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction uq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction ur4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction us4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction u54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction ut4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction uu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction uv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction uw4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction ux4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction uy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction u24 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction uz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction u_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction v44 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function v74 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
v84 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
v94 takes nothing returns booleanreturn getbooleanand(v74(),v84())endfunction
function vd4 takes nothing returns booleanreturn getbooleanand(v44(),v94())
endfunctionfunction ve4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction vf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction vg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction vh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction vi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction vj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction vk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction vm4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vn4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
vo4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vp4 takes nothing returns booleanreturn getbooleanand(vn4(),vo4())endfunction
function vq4 takes nothing returns booleanreturn getbooleanand(vm4(),vp4())
endfunctionfunction vr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vs4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
vt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vu4 takes nothing returns booleanreturn getbooleanand(vs4(),vt4())endfunction
function vv4 takes nothing returns booleanreturn getbooleanand(vr4(),vu4())
endfunctionfunction vw4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction vx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction vy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction vz4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function va4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
va4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vb4 takes nothing returns booleanreturn getbooleanand(va4(),va4())endfunction
function vb4 takes nothing returns booleanreturn getbooleanand(vz4(),vb4())
endfunctionfunction vc4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn
falseendifreturn trueendfunctionfunction vc4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction vd4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction ve4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction v34 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction vf4 takes nothing returns nothing
if(v34())thenif(vd4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(tt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(tu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function t_4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function u74)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(un4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function uh4)),function ui4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function uo4)),function up4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function uu4)),function uv4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ua4)),function ua4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ud4)),function ue4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function uh4)),function ui4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ul4)),function um4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(up4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ur4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(us4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ut4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ux4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function uw4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(uz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(u_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ve4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function vd4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function vq4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function vv4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vx4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function vb4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function t54)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
ve4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction vg4 takes nothing returns nothingset zn=createtrigger()
call disabletrigger(zn)call
triggerregisterplayerchatevent(zn,player(4),"-aa",true)call
triggeraddcondition(zn,condition(function ts4))call triggeraddaction(zn,function
vf4)endfunctionfunction v64 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return
falseendifreturn trueendfunctionfunction vh4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction vi4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction vl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction v14 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function vj4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
vk4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction vl4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction vm4 takes
nothing returns booleanreturn getbooleanand(vk4(),vl4())endfunctionfunction vn4
takes nothing returns booleanreturn getbooleanand(vj4(),vm4())endfunctionfunction
vo4 takes nothing returns booleanreturn getbooleanand(v14(),vn4())endfunction
function v04 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction vp4 takes
nothing returns nothingif(v04())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function vq4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction vr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction vs4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction v54 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction vt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vu4 takes nothing returns booleanreturn getbooleanand(v54(),vt4())
endfunctionfunction vv4 takes nothing returns booleanreturn
getbooleanand(vs4(),vu4())endfunctionfunction vw4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction vx4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction vy4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction v24 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vz4 takes nothing returns booleanreturn getbooleanand(vy4(),v24())
endfunctionfunction v_4 takes nothing returns booleanreturn
getbooleanand(vx4(),vz4())endfunctionfunction w44 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction w74 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction w84 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction w94 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wd4 takes nothing returns booleanreturn getbooleanand(w84(),w94())
endfunctionfunction we4 takes nothing returns booleanreturn
getbooleanand(w74(),wd4())endfunctionfunction wf4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction wg4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction wh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction wi4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wj4 takes nothing returns booleanreturn getbooleanand(wh4(),wi4())
endfunctionfunction wk4 takes nothing returns booleanreturn
getbooleanand(wg4(),wj4())endfunctionfunction wm4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction wn4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction wo4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction wp4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wq4 takes nothing returns booleanreturn getbooleanand(wo4(),wp4())
endfunctionfunction wr4 takes nothing returns booleanreturn
getbooleanand(wn4(),wq4())endfunctionfunction ws4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction wt4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction wu4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction wv4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ww4 takes nothing returns booleanreturn getbooleanand(wu4(),wv4())
endfunctionfunction wx4 takes nothing returns booleanreturn
getbooleanand(wt4(),ww4())endfunctionfunction wy4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction wz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction wa4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction wa4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wb4 takes nothing returns booleanreturn getbooleanand(wa4(),wa4())
endfunctionfunction wb4 takes nothing returns booleanreturn
getbooleanand(wz4(),wb4())endfunctionfunction wc4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction wc4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction wd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction we4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction w34 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction wf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction wg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction w64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction wh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction wi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction wl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction w14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction wj4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction wk4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction wl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction wm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction wn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn
trueendfunctionfunction wo4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction w04 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wp4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
wq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
wr4 takes nothing returns booleanreturn getbooleanand(wp4(),wq4())endfunction
function ws4 takes nothing returns booleanreturn getbooleanand(w04(),wr4())
endfunctionfunction w54 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction wt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction wu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction wv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction ww4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction wx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction wy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction w24 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function wz4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
w_4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
x44 takes nothing returns booleanreturn getbooleanand(wz4(),w_4())endfunction
function x74 takes nothing returns booleanreturn getbooleanand(w24(),x44())
endfunctionfunction x84 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function x94 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
xd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xe4 takes nothing returns booleanreturn getbooleanand(x94(),xd4())endfunction
function xf4 takes nothing returns booleanreturn getbooleanand(x84(),xe4())
endfunctionfunction xg4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction xh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction xi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction xj4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xk4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
xm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xn4 takes nothing returns booleanreturn getbooleanand(xk4(),xm4())endfunction
function xo4 takes nothing returns booleanreturn getbooleanand(xj4(),xn4())
endfunctionfunction xp4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction xq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction xr4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction xs4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xt4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction xu4 takes nothing returns nothing
if(xt4())thenif(xr4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(vi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function vo4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function vp4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(vr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function vv4)),function vw4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function v_4)),function w44)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function we4)),function wf4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wk4)),function wm4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wr4)),function ws4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wx4)),function wy4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function wb4)),function wc4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(we4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(w34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(w64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(w14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function wj4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(w54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function ws4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ww4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(wy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer()
)]),200.00,getunitfacing(j4[getconvertedplayerid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function x74))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function xf4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xh4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function xo4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function vh4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
xs4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction xv4 takes nothing returns nothingset an=createtrigger()
call disabletrigger(an)call
triggerregisterplayerchatevent(an,player(5),"-aa",true)call
triggeraddcondition(an,condition(function v64))call triggeraddaction(an,function
xu4)endfunctionfunction xw4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction xx4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction xy4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction xz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction xa4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function xa4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
xb4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction xb4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction xc4 takes
nothing returns booleanreturn getbooleanand(xb4(),xb4())endfunctionfunction xc4
takes nothing returns booleanreturn getbooleanand(xa4(),xc4())endfunctionfunction
xd4 takes nothing returns booleanreturn getbooleanand(xa4(),xc4())endfunction
function xe4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction x34 takes
nothing returns nothingif(xe4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function xf4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction xg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction x64 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction xh4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xi4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xl4 takes nothing returns booleanreturn getbooleanand(xh4(),xi4())
endfunctionfunction x14 takes nothing returns booleanreturn
getbooleanand(x64(),xl4())endfunctionfunction xj4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xk4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction xl4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xn4 takes nothing returns booleanreturn getbooleanand(xl4(),xm4())
endfunctionfunction xo4 takes nothing returns booleanreturn
getbooleanand(xk4(),xn4())endfunctionfunction x04 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xp4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction xq4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xs4 takes nothing returns booleanreturn getbooleanand(xq4(),xr4())
endfunctionfunction x54 takes nothing returns booleanreturn
getbooleanand(xp4(),xs4())endfunctionfunction xt4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xu4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction xv4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function xx4 takes nothing returns booleanreturn getbooleanand(xv4(),xw4())
endfunctionfunction xy4 takes nothing returns booleanreturn
getbooleanand(xu4(),xx4())endfunctionfunction x24 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction xz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction x_4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction y44 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function y74 takes nothing returns booleanreturn getbooleanand(x_4(),y44())
endfunctionfunction y84 takes nothing returns booleanreturn
getbooleanand(xz4(),y74())endfunctionfunction y94 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction yd4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ye4 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
yf4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yg4 takes nothing returns booleanreturn getbooleanand(ye4(),yf4())
endfunctionfunction yh4 takes nothing returns booleanreturn
getbooleanand(yd4(),yg4())endfunctionfunction yi4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction yj4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction yk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ym4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yn4 takes nothing returns booleanreturn getbooleanand(yk4(),ym4())
endfunctionfunction yo4 takes nothing returns booleanreturn
getbooleanand(yj4(),yn4())endfunctionfunction yp4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction yq4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction yr4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction ys4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction yt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction yu4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction yv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction yw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction yx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction yy4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction yz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ya4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction ya4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction yb4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction yb4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction yc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction yc4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction yd4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction ye4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function y34 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
yf4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
yg4 takes nothing returns booleanreturn getbooleanand(y34(),yf4())endfunction
function y64 takes nothing returns booleanreturn getbooleanand(ye4(),yg4())
endfunctionfunction yh4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction yi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction yl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction y14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction yj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction yk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction yl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction ym4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yn4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
yo4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
y04 takes nothing returns booleanreturn getbooleanand(yn4(),yo4())endfunction
function yp4 takes nothing returns booleanreturn getbooleanand(ym4(),y04())
endfunctionfunction yq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yr4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ys4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
y54 takes nothing returns booleanreturn getbooleanand(yr4(),ys4())endfunction
function yt4 takes nothing returns booleanreturn getbooleanand(yq4(),y54())
endfunctionfunction yu4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction yv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction yw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction yx4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function yy4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
y24 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
yz4 takes nothing returns booleanreturn getbooleanand(yy4(),y24())endfunction
function y_4 takes nothing returns booleanreturn getbooleanand(yx4(),yz4())
endfunctionfunction z44 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction z74 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction z84 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction z94 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction zd4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction ze4 takes nothing returns nothing
if(zd4())thenif(z84())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(xy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function xd4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function x34)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(xg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function x14)),function xj4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function xo4)),function x04)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function x54)),function xt4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function xy4)),function x24)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function y84)),function y94)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function yh4)),function yi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function yo4)),function yp4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yr4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ys4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yy4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ya4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function ya4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yb4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yc4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yd4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function y64))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(y14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function yp4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function yt4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yv4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(yw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(z44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function y_4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(z74())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function xx4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
z94)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction zf4 takes nothing returns nothingset an=createtrigger()
call disabletrigger(an)call
triggerregisterplayerchatevent(an,player(6),"-aa",true)call
triggeraddcondition(an,condition(function xw4))call triggeraddaction(an,function
ze4)endfunctionfunction zg4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction zh4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction zi4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction zj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction zk4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function zm4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
zn4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction zo4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction zp4 takes
nothing returns booleanreturn getbooleanand(zn4(),zo4())endfunctionfunction zq4
takes nothing returns booleanreturn getbooleanand(zm4(),zp4())endfunctionfunction
zr4 takes nothing returns booleanreturn getbooleanand(zk4(),zq4())endfunction
function zs4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction zt4 takes
nothing returns nothingif(zs4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function zu4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction zv4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction zw4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())])
)==true)endfunctionfunction zx4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
zy4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zz4 takes nothing returns booleanreturn getbooleanand(zx4(),zy4())
endfunctionfunction za4 takes nothing returns booleanreturn
getbooleanand(zw4(),zz4())endfunctionfunction za4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction zb4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zb4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction zc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zc4 takes nothing returns booleanreturn getbooleanand(zb4(),zc4())
endfunctionfunction zd4 takes nothing returns booleanreturn
getbooleanand(zb4(),zc4())endfunctionfunction ze4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction z34 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zf4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction zg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function z64 takes nothing returns booleanreturn getbooleanand(zf4(),zg4())
endfunctionfunction zh4 takes nothing returns booleanreturn
getbooleanand(z34(),z64())endfunctionfunction zi4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction zl4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction z14 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction zj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zk4 takes nothing returns booleanreturn getbooleanand(z14(),zj4())
endfunctionfunction zl4 takes nothing returns booleanreturn
getbooleanand(zl4(),zk4())endfunctionfunction zm4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction zn4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zo4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction z04 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zp4 takes nothing returns booleanreturn getbooleanand(zo4(),z04())
endfunctionfunction zq4 takes nothing returns booleanreturn
getbooleanand(zn4(),zp4())endfunctionfunction zr4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction zs4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction z54 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction zt4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zu4 takes nothing returns booleanreturn getbooleanand(z54(),zt4())
endfunctionfunction zv4 takes nothing returns booleanreturn
getbooleanand(zs4(),zu4())endfunctionfunction zw4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction zx4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction zy4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction z24 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function zz4 takes nothing returns booleanreturn getbooleanand(zy4(),z24())
endfunctionfunction z_4 takes nothing returns booleanreturn
getbooleanand(zx4(),zz4())endfunctionfunction a44 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction a74 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction a84 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction a94 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction ad4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction ae4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction af4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction ag4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction ah4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction ai4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction aj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ak4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction am4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction an4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction ao4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction ap4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction aq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction ar4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction as4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function at4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
au4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
av4 takes nothing returns booleanreturn getbooleanand(at4(),au4())endfunction
function aw4 takes nothing returns booleanreturn getbooleanand(as4(),av4())
endfunctionfunction ax4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction ay4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction az4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction aa4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction aa4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction ab4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction ab4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction ac4 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ac4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
ad4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ae4 takes nothing returns booleanreturn getbooleanand(ac4(),ad4())endfunction
function a34 takes nothing returns booleanreturn getbooleanand(ac4(),ae4())
endfunctionfunction af4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ag4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
a64 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ah4 takes nothing returns booleanreturn getbooleanand(ag4(),a64())endfunction
function ai4 takes nothing returns booleanreturn getbooleanand(af4(),ah4())
endfunctionfunction al4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction a14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction aj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction ak4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function al4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
am4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
an4 takes nothing returns booleanreturn getbooleanand(al4(),am4())endfunction
function ao4 takes nothing returns booleanreturn getbooleanand(ak4(),an4())
endfunctionfunction a04 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ap4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction aq4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction ar4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction as4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction a54 takes nothing returns nothing
if(as4())thenif(aq4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(zi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zu4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function zr4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function zt4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(zv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a74())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function za4)),function za4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zd4)),function ze4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zh4)),function zi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zl4)),function zm4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zq4)),function zr4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function zv4)),function zw4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function z_4)),function a44)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a94())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ad4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ae4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(af4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ag4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ah4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ai4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ak4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(an4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function am4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ao4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ap4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ar4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ax4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function aw4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ay4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(az4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aa4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aa4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ab4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ab4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(al4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function a34))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function ai4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a14())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function ao4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ap4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function zh4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
ar4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction at4 takes nothing returns nothingset bn=createtrigger()
call disabletrigger(bn)call
triggerregisterplayerchatevent(bn,player(7),"-aa",true)call
triggeraddcondition(bn,condition(function zg4))call triggeraddaction(bn,function
a54)endfunctionfunction au4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction av4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction aw4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction ax4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction ay4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function a24 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
az4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction a_4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction a44 takes
nothing returns booleanreturn getbooleanand(az4(),a_4())endfunctionfunction a74
takes nothing returns booleanreturn getbooleanand(a24(),a44())endfunctionfunction
a84 takes nothing returns booleanreturn getbooleanand(ay4(),a74())endfunction
function a94 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction ad4 takes
nothing returns nothingif(a94())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function ae4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction af4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction ag4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ah4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ai4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function aj4 takes nothing returns booleanreturn getbooleanand(ah4(),ai4())
endfunctionfunction ak4 takes nothing returns booleanreturn
getbooleanand(ag4(),aj4())endfunctionfunction am4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction an4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ao4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ap4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function aq4 takes nothing returns booleanreturn getbooleanand(ao4(),ap4())
endfunctionfunction ar4 takes nothing returns booleanreturn
getbooleanand(an4(),aq4())endfunctionfunction as4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction at4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction au4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction av4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function aw4 takes nothing returns booleanreturn getbooleanand(au4(),av4())
endfunctionfunction ax4 takes nothing returns booleanreturn
getbooleanand(at4(),aw4())endfunctionfunction ay4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction az4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction aa4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction aa4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ab4 takes nothing returns booleanreturn getbooleanand(aa4(),aa4())
endfunctionfunction ab4 takes nothing returns booleanreturn
getbooleanand(az4(),ab4())endfunctionfunction ac4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ac4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ad4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ae4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function a34 takes nothing returns booleanreturn getbooleanand(ad4(),ae4())
endfunctionfunction af4 takes nothing returns booleanreturn
getbooleanand(ac4(),a34())endfunctionfunction ag4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction a64 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction ah4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction ai4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function al4 takes nothing returns booleanreturn getbooleanand(ah4(),ai4())
endfunctionfunction a14 takes nothing returns booleanreturn
getbooleanand(a64(),al4())endfunctionfunction aj4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ak4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction al4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction am4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function an4 takes nothing returns booleanreturn getbooleanand(al4(),am4())
endfunctionfunction ao4 takes nothing returns booleanreturn
getbooleanand(ak4(),an4())endfunctionfunction a04 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction ap4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction aq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction ar4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction
as4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction a54 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction at4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction au4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction av4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction aw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction ax4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction ay4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction a24 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction az4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction a_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction b44 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction b74 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction b84 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction b94 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bd4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
be4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bf4 takes nothing returns booleanreturn getbooleanand(bd4(),be4())endfunction
function bg4 takes nothing returns booleanreturn getbooleanand(b94(),bf4())
endfunctionfunction bh4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction bi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction bj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction bk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction bm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction bn4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction bo4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction bp4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bq4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
br4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bs4 takes nothing returns booleanreturn getbooleanand(bq4(),br4())endfunction
function bt4 takes nothing returns booleanreturn getbooleanand(bp4(),bs4())
endfunctionfunction bu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bv4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
bw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bx4 takes nothing returns booleanreturn getbooleanand(bv4(),bw4())endfunction
function by4 takes nothing returns booleanreturn getbooleanand(bu4(),bx4())
endfunctionfunction bz4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ba4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction ba4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction bb4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bb4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
bc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bc4 takes nothing returns booleanreturn getbooleanand(bb4(),bc4())endfunction
function bd4 takes nothing returns booleanreturn getbooleanand(bb4(),bc4())
endfunctionfunction be4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction b34 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction bf4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction bg4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction b64 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction bh4 takes nothing returns nothing
if(b64())thenif(bf4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(aw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ax4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ae4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function a84))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function ad4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(af4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ap4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ak4)),function am4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ar4)),function as4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ax4)),function ay4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ab4)),function ac4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function af4)),function ag4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function a14)),function aj4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ao4)),function a04)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ar4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(as4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(at4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(au4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(av4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(aw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ax4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ay4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(az4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function a24)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(a_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b44())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b74())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b84())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function bg4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplaye
r())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function bt4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function by4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ba4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ba4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(be4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function bd4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function av4)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
bg4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction bi4 takes nothing returns nothingset bn=createtrigger()
call disabletrigger(bn)call
triggerregisterplayerchatevent(bn,player(8),"-aa",true)call
triggeraddcondition(bn,condition(function au4))call triggeraddaction(bn,function
bh4)endfunctionfunction bl4 takes nothing returns boolean
if(not(isunitalivebj(j4[getconvertedplayerid(gettriggerplayer())])==true))then
return falseendifreturn trueendfunctionfunction b14 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction bj4 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989057))th
enreturn falseendifreturn trueendfunctionfunction bk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989318))th
enreturn falseendifreturn trueendfunctionfunction bl4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function bm4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(sf))==true)endfunctionfunction
bn4 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction bo4 takes nothing returns boolean
return(unitissleepingbj(getfilterunit())!=true)endfunctionfunction b04 takes
nothing returns booleanreturn getbooleanand(bn4(),bo4())endfunctionfunction bp4
takes nothing returns booleanreturn getbooleanand(bm4(),b04())endfunctionfunction
bq4 takes nothing returns booleanreturn getbooleanand(bl4(),bp4())endfunction
function br4 takes nothing returns boolean
return(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction bs4 takes
nothing returns nothingif(br4())thencall
issuetargetorderbj(tf,"sleep",getenumunit())elsecall donothing()endifendfunction
function b54 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989066))th
enreturn falseendifreturn trueendfunctionfunction bt4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989049))th
enreturn falseendifreturn trueendfunctionfunction bu4 takes nothing returns
boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction bv4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction bw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bx4 takes nothing returns booleanreturn getbooleanand(bv4(),bw4())
endfunctionfunction by4 takes nothing returns booleanreturn
getbooleanand(bu4(),bx4())endfunctionfunction b24 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bz4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction b_4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction b44 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function b74 takes nothing returns booleanreturn getbooleanand(b_4(),b44())
endfunctionfunction b84 takes nothing returns booleanreturn
getbooleanand(bz4(),b74())endfunctionfunction b94 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bd4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction be4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction bf4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function
bg4 takes nothing returns booleanreturn getbooleanand(be4(),bf4())endfunction
function bh4 takes nothing returns booleanreturn getbooleanand(bd4(),bg4())
endfunctionfunction bi4 takes nothing returns nothingcall
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bj4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction bk4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction bm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bn4 takes nothing returns booleanreturn getbooleanand(bk4(),bm4())
endfunctionfunction bo4 takes nothing returns booleanreturn
getbooleanand(bj4(),bn4())endfunctionfunction bp4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bq4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction br4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction bs4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bt4 takes nothing returns booleanreturn getbooleanand(br4(),bs4())
endfunctionfunction bu4 takes nothing returns booleanreturn
getbooleanand(bq4(),bt4())endfunctionfunction bv4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bw4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction bx4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction by4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bz4 takes nothing returns booleanreturn getbooleanand(bx4(),by4())
endfunctionfunction ba4 takes nothing returns booleanreturn
getbooleanand(bw4(),bz4())endfunctionfunction ba4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction bb4 takes nothing
returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(nf[getconver
tedplayerid(gettriggerplayer())]))==true)endfunctionfunction bb4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction bc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bc4 takes nothing returns booleanreturn getbooleanand(bb4(),bc4())
endfunctionfunction bd4 takes nothing returns booleanreturn
getbooleanand(bb4(),bc4())endfunctionfunction be4 takes nothing returns nothing
call
unitdamagetargetbj(nf[getconvertedplayerid(gettriggerplayer())],getenumunit(),75.0
0,attack_type_normal,damage_type_normal)endfunctionfunction b34 takes nothing
returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989058))th
enreturn falseendifreturn trueendfunctionfunction bf4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989059))th
enreturn falseendifreturn trueendfunctionfunction bg4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989062))th
enreturn falseendifreturn trueendfunctionfunction b64 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989063))th
enreturn falseendifreturn trueendfunctionfunction bh4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989060))th
enreturn falseendifreturn trueendfunctionfunction bi4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989061))th
enreturn falseendifreturn trueendfunctionfunction bl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989064))th
enreturn falseendifreturn trueendfunctionfunction b14 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989065))th
enreturn falseendifreturn trueendfunctionfunction bj4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989071))th
enreturn falseendifreturn trueendfunctionfunction bk4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989072))th
enreturn falseendifreturn trueendfunctionfunction bl4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989073))th
enreturn falseendifreturn trueendfunctionfunction bm4 takes nothing returns
nothingcall
issuepointorderlocbj(getenumunit(),"selfdestruct",getunitloc(getenumunit()))
endfunctionfunction bn4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989074))th
enreturn falseendifreturn trueendfunctionfunction bo4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989077))th
enreturn falseendifreturn trueendfunctionfunction b04 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989297))th
enreturn falseendifreturn trueendfunctionfunction bp4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989079))th
enreturn falseendifreturn trueendfunctionfunction bq4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989304))th
enreturn falseendifreturn trueendfunctionfunction br4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function bs4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
b54 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
bt4 takes nothing returns booleanreturn getbooleanand(bs4(),b54())endfunction
function bu4 takes nothing returns booleanreturn getbooleanand(br4(),bt4())
endfunctionfunction bv4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989076))th
enreturn falseendifreturn trueendfunctionfunction bw4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989080))th
enreturn falseendifreturn trueendfunctionfunction bx4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989081))th
enreturn falseendifreturn trueendfunctionfunction by4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989082))th
enreturn falseendifreturn trueendfunctionfunction b24 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989296))th
enreturn falseendifreturn trueendfunctionfunction bz4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989298))th
enreturn falseendifreturn trueendfunctionfunction b_4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989078))th
enreturn falseendifreturn trueendfunctionfunction c44 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function c74 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
c84 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
c94 takes nothing returns booleanreturn getbooleanand(c74(),c84())endfunction
function cd4 takes nothing returns booleanreturn getbooleanand(c44(),c94())
endfunctionfunction ce4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function cf4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
cg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ch4 takes nothing returns booleanreturn getbooleanand(cf4(),cg4())endfunction
function ci4 takes nothing returns booleanreturn getbooleanand(ce4(),ch4())
endfunctionfunction cj4 takes nothing returns boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989300))th
enreturn falseendifreturn trueendfunctionfunction ck4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989301))th
enreturn falseendifreturn trueendfunctionfunction cm4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989299))th
enreturn falseendifreturn trueendfunctionfunction cn4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function co4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),gettriggerplayer())==true)endfunctionfunction
cp4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction cq4 takes nothing returns booleanreturn
getbooleanand(co4(),cp4())endfunctionfunction cr4 takes nothing returns boolean
return getbooleanand(cn4(),cq4())endfunctionfunction cs4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989302))th
enreturn falseendifreturn trueendfunctionfunction ct4 takes nothing returns
boolean
if(not(getunittypeid(nf[getconvertedplayerid(gettriggerplayer())])==1747989303))th
enreturn falseendifreturn trueendfunctionfunction cu4 takes nothing returns
booleanif(not(cf[getconvertedplayerid(gettriggerplayer())]==true))thenreturn false
endifreturn trueendfunctionfunction cv4 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction cw4 takes nothing
returns booleanif(not(of[getconvertedplayerid(gettriggerplayer())]>0))thenreturn
falseendifreturn trueendfunctionfunction cx4 takes nothing returns nothing
if(cw4())thenif(cu4())thenset cf[getconvertedplayerid(gettriggerplayer())]=false
set
of[getconvertedplayerid(gettriggerplayer())]=(of[getconvertedplayerid(gettriggerpl
ayer())]-1)if(bj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"silence",getuni
tloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b54())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))set sf=nf[getconvertedplayerid(gettriggerplayer())]
call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(sf),getunitloc(sf),getun
itloc(sf))set tf=getlastcreatedunit()call unitapplytimedlifebj(8.00,1112820806,tf)
call unitaddabilitybj(1093677622,tf)set
uf=ka(900.00,getunitloc(sf),condition(function bq4))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(uf,function bs4)call triggersleepaction(0.30)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(2)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bt4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"flamestrike",xz
(getunitloc(j4[getconvertedplayerid(gettriggerplayer())]),300.00,getunitfacing(j4[
getconvertedplayerid(gettriggerplayer())])))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b34())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"earthquake",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call playsoundbj(pi)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function by4)),function b24)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function b84)),function b94)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function bh4)),function bi4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function bo4)),function bp4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function bu4)),function bv4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function ba4)),function ba4)call uz(0.75)call
forgroupbj(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),cond
ition(function bd4)),function be4)call uz(0.75)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bf4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bg4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b64())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bh4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"mirrorimage")
call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bi4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"whirlwind")
call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b14())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+150.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"cloudoffog",get
unitloc(nf[getconvertedplayerid(gettriggerplayer())]))call uz(6.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bk4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"ward",getunitlo
c(nf[getconvertedplayerid(gettriggerplayer())]))call uz(4.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bl4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[
getconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedpla
yerid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"tranquility")
call uz(9.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bn4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"spiritwolf")
call uz(2.00)call forgroupbj(pa(1747989075),function bm4)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bo4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(8.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b04())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"summonwareagle
")call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bp4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bq4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(1.00)call
issuepointorderlocbj(nf[getconvertedplayerid(gettriggerplayer())],"farsight",getun
itloc(j4[getconvertedplayerid(gettriggerplayer())]))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bv4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"chainlightning",g
rouppickrandomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer()
)]),condition(function bu4))))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bw4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bx4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"holybolt",j4[getc
onvertedplayerid(gettriggerplayer())])call
setunitmanabj(j4[getconvertedplayerid(gettriggerplayer())],(getunitstateswap(unit_
state_mana,j4[getconvertedplayerid(gettriggerplayer())])+250.00))call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(by4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"roar")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b24())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"howlofterror")
call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(bz4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"dispel",j4[getcon
vertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(b_4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"healingwave",j4[g
etconvertedplayerid(gettriggerplayer())])call uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cj4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function cd4))))call uz(3.00)call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"charm",grouppickr
andomunit(ka(700.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),condi
tion(function ci4))))call uz(2.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ck4())thencall enabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call uz(7.00)call disabletrigger(jn)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cm4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stomp")call
uz(3.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(cs4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issuetargetorderbj(nf[getconvertedplayerid(gettriggerplayer())],"firebolt",grouppi
ckrandomunit(ka(1000.00,getunitloc(nf[getconvertedplayerid(gettriggerplayer())]),c
ondition(function cr4))))call uz(7.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifif(ct4())thencall
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],xz(getunitloc(j4[g
etconvertedplayerid(gettriggerplayer())]),200.00,getunitfacing(j4[getconvertedplay
erid(gettriggerplayer())])))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"locustswarm")
call uz(5.00)call
setunitpositionloc(nf[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect
(xi))call
issueimmediateorderbj(nf[getconvertedplayerid(gettriggerplayer())],"stop")else
endifcall uz(5.00)set cf[getconvertedplayerid(gettriggerplayer())]=trueelsecall
questmessagebj(wa(condition(function b14)),bj_questmessage_updated,"your striker
has not yet completed the cooldown. wait at least 5 seconds before you summon
again !")endifelsecall questmessagebj(wa(condition(function
cv4)),bj_questmessage_failed,"you do not have anymore strike counters left...")
endifendfunctionfunction
cy4 takes nothing returns nothingset cn=createtrigger()call disabletrigger(cn)
call triggerregisterplayerchatevent(cn,player(9),"-aa",true)call
triggeraddcondition(cn,condition(function bl4))call triggeraddaction(cn,function
cx4)endfunctionfunction cz4 takes nothing returns booleanreturn(e>=6)endfunction
function ca4 takes nothing returns nothingset e=getrandomint(1,10)if(cz4())then
call setunitpositionloc(zy,getrandomlocinrect(eg))elsecall
setunitpositionloc(zy,getrandomlocinrect(fg))endifendfunctionfunction ca4 takes
nothing returns nothingset cn=createtrigger()call
triggerregistertimereventsingle(cn,3.00)call triggeraddaction(cn,function ca4)
endfunctionfunction cb4 takes nothing returns nothingcall
adjustplayerstatebj(250,getenumplayer(),player_state_resource_gold)endfunction
function cb4 takes nothing returns booleanreturn(e>=6)endfunctionfunction cc4
takes nothing returns booleanreturn(e>=6)endfunctionfunction cc4 takes nothing
returns boolean
if(not(countlivingplayerunitsoftypeid(1311780915,player(player_neutral_aggressive)
)<1))thenreturn falseendifreturn trueendfunctionfunction cd4 takes nothing returns
nothingset xe=getdyingunit()call playsoundbj(hi)call
displaytexttoforce(getplayersall(),("holy shit! the great akatsuki leader has been
killed by "+(getheropropername(getkillingunitbj())+"! a reward of 500 gold will be
given. all allies will receive 250 gold.")))call
forforce(ua(getowningplayer(getkillingunitbj())),function cb4)call uz(300.00)call
playsoundbj(ji)call displaytexttoforce(getplayersall(),"the akatsuki leader is not
to be defeated so easily!!! he has returned! and he's stronger than ever!!!")call
reviveheroloc(xe,getrandomlocinrect(fg),false)set e=getrandomint(1,10)
if(cb4())thencall setunitpositionloc(xe,getrandomlocinrect(eg))elsecall
setunitpositionloc(xe,getrandomlocinrect(fg))endifcall
modifyherostat(bj_herostat_str,xe,bj_modifymethod_add,40)call
modifyherostat(bj_herostat_agi,xe,bj_modifymethod_add,40)call
modifyherostat(bj_herostat_int,xe,bj_modifymethod_add,40)call uz(2)if(cc4())then
call reviveheroloc(xe,getrandomlocinrect(fg),false)set e=getrandomint(1,10)
if(cc4())thencall setunitpositionloc(xe,getrandomlocinrect(eg))elsecall
setunitpositionloc(xe,getrandomlocinrect(fg))endifcall
modifyherostat(bj_herostat_str,xe,bj_modifymethod_add,40)call
modifyherostat(bj_herostat_agi,xe,bj_modifymethod_add,40)call
modifyherostat(bj_herostat_int,xe,bj_modifymethod_add,40)elseendifendfunction
function ce4 takes nothing returns nothingset dn=createtrigger()call
triggerregisterunitevent(dn,zy,event_unit_death)call triggeraddaction(dn,function
cd4)endfunctionfunction c34 takes nothing returns boolean
return(getowningplayer(getattacker())==player(5))endfunctionfunction cf4 takes
nothing returns booleanreturn(getowningplayer(getattacker())==player(6))
endfunctionfunction cg4 takes nothing returns boolean
return(getowningplayer(getattacker())==player(7))endfunctionfunction c64 takes
nothing returns booleanreturn(getowningplayer(getattacker())==player(8))
endfunctionfunction ch4 takes nothing returns boolean
return(getowningplayer(getattacker())==player(9))endfunctionfunction ci4 takes
nothing returns booleanreturn getbooleanor(c64(),ch4())endfunctionfunction cl4
takes nothing returns booleanreturn getbooleanor(cg4(),ci4())endfunctionfunction
c14 takes nothing returns booleanreturn getbooleanor(cf4(),cl4())endfunction
function cj4 takes nothing returns boolean
if(not(isunittype(getattackedunitbj(),unit_type_hero)==true))thenreturn falseendif
if(not(isunittype(getattacker(),unit_type_hero)==true))thenreturn falseendifif(not
getbooleanor(c34(),c14()))thenreturn falseendifreturn trueendfunctionfunction ck4
takes nothing returns booleanreturn(getowningplayer(getfilterunit())==player(10))
endfunctionfunction cl4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attackonce",getattacker())endfunctionfunction
cm4 takes nothing returns nothingset bj_wantdestroygroup=trueset
ef=getunitloc(getattackedunitbj())call
forgroupbj(ka(555.00,getunitloc(getattackedunitbj()),condition(function
ck4)),function cl4)call removelocation(ef)endfunctionfunction cn4 takes nothing
returns nothingset en=createtrigger()call
triggerregisteranyuniteventbj(en,event_player_unit_attacked)call
triggeraddcondition(en,condition(function cj4))call triggeraddaction(en,function
cm4)endfunctionfunction co4 takes nothing returns boolean
return(getowningplayer(getattacker())==player(0))endfunctionfunction c04 takes
nothing returns booleanreturn(getowningplayer(getattacker())==player(1))
endfunctionfunction cp4 takes nothing returns boolean
return(getowningplayer(getattacker())==player(2))endfunctionfunction cq4 takes
nothing returns booleanreturn(getowningplayer(getattacker())==player(3))
endfunctionfunction cr4 takes nothing returns boolean
return(getowningplayer(getattacker())==player(4))endfunctionfunction cs4 takes
nothing returns booleanreturn getbooleanor(cq4(),cr4())endfunctionfunction c54
takes nothing returns booleanreturn getbooleanor(cp4(),cs4())endfunctionfunction
ct4 takes nothing returns booleanreturn getbooleanor(c04(),c54())endfunction
function cu4 takes nothing returns boolean
if(not(isunittype(getattackedunitbj(),unit_type_hero)==true))thenreturn falseendif
if(not(isunittype(getattacker(),unit_type_hero)==true))thenreturn falseendifif(not
getbooleanor(co4(),ct4()))thenreturn falseendifreturn trueendfunctionfunction cv4
takes nothing returns booleanreturn(getowningplayer(getfilterunit())==player(11))
endfunctionfunction cw4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attackonce",getattacker())endfunctionfunction
cx4 takes nothing returns nothingset bj_wantdestroygroup=trueset
ef=getunitloc(getattackedunitbj())call
forgroupbj(ka(555.00,getunitloc(getattackedunitbj()),condition(function
cv4)),function cw4)call removelocation(ef)endfunctionfunction cy4 takes nothing
returns nothingset fn=createtrigger()call
triggerregisteranyuniteventbj(fn,event_player_unit_attacked)call
triggeraddcondition(fn,condition(function cu4))call triggeraddaction(fn,function
cx4)endfunctionfunction c24 takes nothing returns boolean
return(countunitsingroup(ia(bg,player(player_neutral_aggressive)))<=2)endfunction
function cz4 takes nothing returns boolean
return(countunitsingroup(ia(ch,player(player_neutral_aggressive)))<=1)endfunction
function c_4 takes nothing returns boolean
return(countunitsingroup(ia(ch,player(player_neutral_aggressive)))<=1)endfunction
function c44 takes nothing returns boolean
return(countunitsingroup(ia(cg,player(player_neutral_aggressive)))<=4)endfunction
function c74 takes nothing returns boolean
return(countunitsingroup(ia(ag,player(player_neutral_aggressive)))<=4)endfunction
function c84 takes nothing returns boolean
return(countunitsingroup(ia(bg,player(player_neutral_aggressive)))<=5)endfunction
function c94 takes nothing returns boolean
return(countunitsingroup(ia(dh,player(player_neutral_aggressive)))<=7)endfunction
function cd4 takes nothing returns boolean
return(countunitsingroup(ia(dh,player(player_neutral_aggressive)))<=7)endfunction
function ce4 takes nothing returns boolean
return(countunitsingroup(pa(1848652103))<=0)endfunctionfunction cf4 takes nothing
returns booleanif(not(e==1))thenreturn falseendifreturn trueendfunctionfunction
cg4 takes nothing returns nothingset bj_wantdestroygroup=trueset
ef=getrandomlocinrect(bg)if(c24())thencall
createnunitsatloc(1,1852140645,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(ch)
if(cz4())thencall
createnunitsatloc(1,1852140645,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(ch)
if(c_4())thencall
createnunitsatloc(1,1852140645,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(cg)
if(c44())thencall
createnunitsatloc(1,1869767017,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(ag)
if(c74())thencall
createnunitsatloc(1,1869767017,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(bg)
if(c84())thencall
createnunitsatloc(1,1853055597,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(dh)
if(c94())thencall
createnunitsatloc(1,1852007777,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set ef=getrandomlocinrect(dh)
if(cd4())thencall
createnunitsatloc(1,1852010091,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)set e=getrandomint(1,10)
if(cf4())thenset ef=getrandomlocinrect(ch)if(ce4())thencall
createnunitsatloc(1,1848652103,player(player_neutral_aggressive),ef,bj_unit_facing
)elsecall donothing()endifcall removelocation(ef)elseendifendfunctionfunction ch4
takes nothing returns nothingset gn=createtrigger()call
triggerregistertimereventperiodic(gn,getrandomreal(60.00,90.00))call
triggeraddaction(gn,function cg4)endfunctionfunction ci4 takes nothing returns
nothingcall issuepointorderlocbj(getenumunit(),"move",ef)endfunctionfunction cj4
takes nothing returns nothingset z7=pa(1852337507)set
ef=getrandomlocinrect(getplayablemaprect())call forgroupbj(z7,function ci4)call
removelocation(ef)call destroygroup(z7)set z7=nullendfunctionfunction ck4 takes
nothing returns nothingset hn=createtrigger()call
triggerregistertimereventperiodic(hn,getrandomreal(45.00,65.00))call
triggeraddaction(hn,function cj4)endfunctionfunction cm4 takes nothing returns
nothingcall
destructablerestorelife(getenumdestructable(),getdestructablemaxlife(getenumdestru
ctable()),true)endfunctionfunction cn4 takes nothing returns nothingcall
adjustplayerstatebj(9,player(0),player_state_resource_gold)call
adjustplayerstatebj(9,player(1),player_state_resource_gold)call
adjustplayerstatebj(9,player(2),player_state_resource_gold)call
adjustplayerstatebj(9,player(3),player_state_resource_gold)call
adjustplayerstatebj(9,player(4),player_state_resource_gold)call
adjustplayerstatebj(9,player(5),player_state_resource_gold)call
adjustplayerstatebj(9,player(6),player_state_resource_gold)call
adjustplayerstatebj(9,player(7),player_state_resource_gold)call
adjustplayerstatebj(9,player(8),player_state_resource_gold)call
adjustplayerstatebj(9,player(9),player_state_resource_gold)call
adjustplayerstatebj(9,player(10),player_state_resource_gold)call
adjustplayerstatebj(9,player(11),player_state_resource_gold)call
enumdestructablesinrectall(getplayablemaprect(),function cm4)endfunctionfunction
co4 takes nothing returns nothingset in=createtrigger()call
triggerregistertimereventperiodic(in,5.00)call triggeraddaction(in,function cn4)
endfunctionfunction cp4 takes nothing returns booleanreturn(md==true)endfunction
function cq4 takes nothing returns booleanreturn(md==true)endfunctionfunction cr4
takes nothing returns nothingcall setunitlifepercentbj(getenumunit(),50.00)
endfunctionfunction cs4 takes nothing returns nothingcall
setunitlifepercentbj(getenumunit(),50.00)endfunctionfunction ct4 takes nothing
returns nothingif(cp4())thencall displaytexttoforce(getplayersall(),"short game
has already been activated !")elsecall donothing()endifif(cq4())thenreturnelsecall
donothing()endifcall displaytexttoforce(getplayersall(),"|cffffcc00super short
game|r mode has been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")set md=truecall disabletrigger(jn)call disabletrigger(em)call
forgroupbj(sa(player(10),1752395892),function cr4)call
setunitlifepercentbj(vy,50.00)call setunitlifepercentbj(ly,50.00)call
forgroupbj(sa(player(11),1747988567),function cs4)endfunctionfunction cu4 takes
nothing returns nothingset ln=createtrigger()call
triggerregisterplayerchatevent(ln,player(0),"-short game",true)call
triggerregisterplayerchatevent(ln,player(0),"-sg",true)call
triggeraddaction(ln,function ct4)endfunctionfunction cv4 takes nothing returns
nothingcall
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"trigstr_6178")call
disabletrigger(ln)call disabletrigger(em)endfunctionfunction cw4 takes nothing
returns nothingset jn=createtrigger()call
triggerregisterplayerchatevent(jn,player(0),"-power game",true)call
triggerregisterplayerchatevent(jn,player(0),"-pg",true)call
triggeraddaction(jn,function cv4)endfunctionfunction cx4 takes nothing returns
nothingcall setplayerhandicapbj(player(10),200.00)call
setplayerhandicapbj(player(11),200.00)set zd[1]=getplayerhandicapbj(player(10))set
zd[2]=getplayerhandicapbj(player(11))endfunctionfunction cy4 takes nothing returns
nothingset kn=createtrigger()call triggeraddaction(kn,function cx4)endfunction
function cz4 takes nothing returns nothingcall
reviveheroloc(getenumunit(),getrectcenter(getplayablemaprect()),false)endfunction
function ca4 takes nothing returns nothingcall
reviveheroloc(getenumunit(),getrectcenter(getplayablemaprect()),false)endfunction
function ca4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction cb4
takes nothing returns nothingcall
setunitpositionloc(getenumunit(),getrectcenter(w4))endfunctionfunction cb4 takes
nothing returns nothingset m4=getherolevel(getenumunit())endfunctionfunction cc4
takes nothing returns nothingcall unitremoveitemfromslotswapped(1,getenumunit())
endfunctionfunction cc4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(2,getenumunit())endfunctionfunction cd4 takes
nothing returns nothingcall unitremoveitemfromslotswapped(3,getenumunit())
endfunctionfunction ce4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(4,getenumunit())endfunctionfunction c34 takes
nothing returns nothingcall unitremoveitemfromslotswapped(5,getenumunit())
endfunctionfunction cf4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(6,getenumunit())endfunctionfunction cg4 takes
nothing returns booleanreturn(m4<400)endfunctionfunction c64 takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction ch4 takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction ci4 takes nothing returns
nothingset w4=cgcall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(cg),t
rue)call forgroupbj(sa(gettriggerplayer(),1328558135),function cz4)call
forgroupbj(sa(gettriggerplayer(),1160785973),function ca4)call
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])set m4=0call
displaytexttoforce(getplayersall(),(getplayername(gettriggerplayer())+" has fled
the battlefield..."))set d8=ra(gettriggerplayer(),condition(function ca4))call
forgroupbj(d8,function cb4)call forgroupbj(d8,function cb4)call
forgroupbj(d8,function cc4)call forgroupbj(d8,function cc4)call
forgroupbj(d8,function cd4)call forgroupbj(d8,function ce4)call
forgroupbj(d8,function c34)call forgroupbj(d8,function cf4)call destroygroup(d8)
set d8=nullset m4=(m4*75)set m4=(m4+100)if(cg4())thenset m4=400elsecall
donothing()endifset h8=ia(getplayablemaprect(),gettriggerplayer())call
forgroupbj(h8,function c64)call uz(0.50)set
h8=ia(getplayablemaprect(),gettriggerplayer())call forgroupbj(h8,function ch4)call
destroygroup(h8)set h8=nullcall
adjustplayerstatebj(m4,player(0),player_state_resource_gold)call
adjustplayerstatebj(m4,player(1),player_state_resource_gold)call
adjustplayerstatebj(m4,player(2),player_state_resource_gold)call
adjustplayerstatebj(m4,player(3),player_state_resource_gold)call
adjustplayerstatebj(m4,player(4),player_state_resource_gold)call
displaytexttoforce(getplayersall(),("all allies of the deserter have gained
"+(i2s(m4)+" gold as compensation!")))returnendfunctionfunction cl4 takes nothing
returns nothingset ln=createtrigger()call
triggerregisterplayereventleave(ln,player(0))call
triggerregisterplayereventleave(ln,player(1))call
triggerregisterplayereventleave(ln,player(2))call
triggerregisterplayereventleave(ln,player(3))call
triggerregisterplayereventleave(ln,player(4))call triggeraddaction(ln,function
ci4)endfunctionfunction c14 takes nothing returns nothingcall
reviveheroloc(getenumunit(),getrectcenter(getplayablemaprect()),false)endfunction
function cj4 takes nothing returns nothingcall
reviveheroloc(getenumunit(),getrectcenter(getplayablemaprect()),false)endfunction
function ck4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction cl4
takes nothing returns nothingcall
setunitpositionloc(getenumunit(),getrectcenter(w4))endfunctionfunction cm4 takes
nothing returns nothingset m4=getherolevel(getenumunit())endfunctionfunction cn4
takes nothing returns nothingcall unitremoveitemfromslotswapped(1,getenumunit())
endfunctionfunction co4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(2,getenumunit())endfunctionfunction c04 takes
nothing returns nothingcall unitremoveitemfromslotswapped(3,getenumunit())
endfunctionfunction cp4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(4,getenumunit())endfunctionfunction cq4 takes
nothing returns nothingcall unitremoveitemfromslotswapped(5,getenumunit())
endfunctionfunction cr4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(6,getenumunit())endfunctionfunction cs4 takes
nothing returns booleanreturn(m4<400)endfunctionfunction c54 takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction ct4 takes nothing returns
nothingcall removeunit(getenumunit())endfunctionfunction cu4 takes nothing returns
nothingset w4=dgcall
reviveheroloc(q[getconvertedplayerid(gettriggerplayer())],getrandomlocinrect(dg),t
rue)call forgroupbj(sa(gettriggerplayer(),1328558135),function c14)call
forgroupbj(sa(gettriggerplayer(),1160785973),function cj4)call
destroytimerdialogbj(l[getconvertedplayerid(gettriggerplayer())])set m4=0call
displaytexttoforce(getplayersall(),(getplayername(gettriggerplayer())+" has fled
the battlefield..."))set d8=ra(gettriggerplayer(),condition(function ck4))call
forgroupbj(d8,function cl4)call forgroupbj(d8,function cm4)call
forgroupbj(d8,function cn4)call forgroupbj(d8,function co4)call
forgroupbj(d8,function c04)call forgroupbj(d8,function cp4)call
forgroupbj(d8,function cq4)call forgroupbj(d8,function cr4)call destroygroup(d8)
set d8=nullset m4=(m4*75)set m4=(m4+100)if(cs4())thenset m4=400elsecall
donothing()endifcall adjustplayerstatebj(m4,player(5),player_state_resource_gold)
call adjustplayerstatebj(m4,player(6),player_state_resource_gold)call
adjustplayerstatebj(m4,player(7),player_state_resource_gold)call
adjustplayerstatebj(m4,player(8),player_state_resource_gold)call
adjustplayerstatebj(m4,player(9),player_state_resource_gold)set
h8=ia(getplayablemaprect(),gettriggerplayer())call forgroupbj(h8,function c54)call
uz(0.50)set h8=ia(getplayablemaprect(),gettriggerplayer())call
forgroupbj(h8,function ct4)call destroygroup(h8)set h8=nullcall
displaytexttoforce(getplayersall(),("all allies of the deserter have gained
"+(i2s(m4)+" gold as compensation!")))returnendfunctionfunction
cv4 takes nothing returns nothingset mn=createtrigger()call
triggerregisterplayereventleave(mn,player(5))call
triggerregisterplayereventleave(mn,player(6))call
triggerregisterplayereventleave(mn,player(7))call
triggerregisterplayereventleave(mn,player(8))call
triggerregisterplayereventleave(mn,player(9))call triggeraddaction(mn,function
cu4)endfunctionfunction cw4 takes nothing returns nothingcall
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 customdefeatbj(player(5),"you have been
overrun~!!!")call customdefeatbj(player(6),"you have been overrun~!!!")call
customdefeatbj(player(7),"you have been overrun~!!!")call
customdefeatbj(player(8),"you have been overrun~!!!")call
customdefeatbj(player(9),"you have been overrun~!!!")endfunctionfunction cx4 takes
nothing returns nothingset nn=createtrigger()call
triggerregisterunitevent(nn,ly,event_unit_death)call triggeraddaction(nn,function
cw4)endfunctionfunction cy4 takes nothing returns nothingcall
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(0),"you have been
overrun~!!!")call customdefeatbj(player(1),"you have been overrun~!!!")call
customdefeatbj(player(2),"you have been overrun~!!!")call
customdefeatbj(player(3),"you have been overrun~!!!")call
customdefeatbj(player(4),"you have been overrun~!!!")endfunctionfunction c24 takes
nothing returns nothingset on=createtrigger()call
triggerregisterunitevent(on,vy,event_unit_death)call triggeraddaction(on,function
cy4)endfunctionfunction cz4 takes nothing returns nothingcall
setplayermaxheroesallowed(1,getenumplayer())endfunctionfunction c_4 takes nothing
returns nothingcall
pancameratotimedlocforplayer(getenumplayer(),getrectcenter(ug),0)endfunction
function d44 takes nothing returns boolean
return(getplayercontroller(getfilterplayer())==map_control_user)endfunction
function d74 takes nothing returns boolean
return(getplayerslotstate(getfilterplayer())==player_slot_state_playing)
endfunctionfunction d84 takes nothing returns booleanreturn
getbooleanand(d44(),d74())endfunctionfunction d94 takes nothing returns nothingset
md=falseset ld=falseset ld=falseset a7=0set a7=0set b7=0set h9=0set de=0set id=0
call forforce(getplayersall(),function cz4)call forforce(getplayersall(),function
c_4)set sd=91set kf=91set td[1]=1215324524set td[2]=1215130471set td[3]=1214344551
set td[4]=1214409837set td[5]=1433168227set td[6]=1432646245set td[7]=1315007587
set td[8]=1315858291set td[9]=1315074932set td[10]=1331850337set td[11]=1332109682
set td[12]=1333027688set td[13]=1332963428set td[14]=1315988077set
td[15]=1315334514set td[16]=1164666213set td[17]=1432580716set td[18]=1164799855
set td[19]=1315074670set td[20]=1164207469set td[21]=1165451634set
td[22]=1316252014set td[23]=1432642913set td[24]=1316122466set td[25]=1315990632
set td[26]=1211117634set td[27]=1429221429set td[28]=1311780932set
td[29]=1311780931set td[30]=1429221430set td[31]=1328558133set td[32]=1211117644
set td[33]=1429221431set td[34]=1211117652set td[35]=1311780933set
td[36]=1429221441set td[37]=1211117653set td[38]=1328558134set td[39]=1311780934
set td[40]=1429221444set td[41]=1429221443set td[42]=1311780935set
td[43]=1211117654set td[44]=1311780939set td[45]=1429221442set td[46]=1211117656
set td[47]=1311780937set td[48]=1311780940set td[49]=1211117874set
td[50]=1328558152set td[51]=1311780938set td[52]=1311780942set td[53]=1429221446
set td[54]=1328558153set td[55]=1215722344set td[56]=1211117617set
td[57]=1211117892set td[58]=1311780946set td[59]=1211117877set td[60]=1311780945
set td[61]=1160785970set td[62]=1429221448set td[63]=1429221447set
td[64]=1311781168set td[65]=1160785974set td[66]=1311780953set td[67]=1160785977
set td[68]=1311780952set td[69]=1429221450set td[70]=1311781170set
td[71]=1311781172set td[72]=1429221452set td[73]=1328558164set td[74]=1311781174
set td[75]=1211117900set td[76]=1160785976set td[77]=1211117910set
td[78]=1160785986set td[79]=1160785987set td[80]=1211118131set td[81]=1211118134
set td[82]=1211118133set td[83]=1211118135set td[84]=1311781186set
td[85]=1311781188set td[86]=1211118155set td[87]=1328558166set td[88]=1311781195
set td[89]=1311781196set td[90]=1211118407set td[91]=1311781197set
bj_forloopaindex=1set bj_forloopaindexend=87loopexitwhen
bj_forloopaindex>bj_forloopaindexendset lf[getforloopindexa()]=getforloopindexa()
set bj_forloopaindex=bj_forloopaindex+1endloopset zd=wa(condition(function d84))
endfunctionfunction dd4 takes nothing returns nothingset pn=createtrigger()call
triggeraddaction(pn,function d94)endfunctionfunction de4 takes nothing returns
booleanif(not(md==true))thenreturn falseendifreturn trueendfunctionfunction df4
takes nothing returns nothingif(de4())thencall disabletrigger(vn)call
disabletrigger(zn)call enabletrigger(do)call enabletrigger(xn)call
displaytexttoforce(getplayersall(),"the ninjas from both sound union and konoha
alliance have become more experienced and skilled after such a long war!")return
elseendifcall disabletrigger(un)call disabletrigger(yn)call enabletrigger(wn)call
enabletrigger(eo)call displaytexttoforce(getplayersall(),"the ninjas from both
sound union and konoha alliance have become more experienced and skilled after
such a long war!")endfunctionfunction dg4 takes nothing returns nothingset
qn=createtrigger()call triggerregistertimereventsingle(qn,2100.00)call
triggeraddaction(qn,function df4)endfunctionfunction dh4 takes nothing returns
booleanreturn(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction di4
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dj4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction dk4 takes
nothing returns booleanreturn getbooleanand(di4(),dj4())endfunctionfunction dm4
takes nothing returns booleanreturn getbooleanand(dh4(),dk4())endfunctionfunction
dn4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction do4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dp4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction dq4 takes
nothing returns booleanreturn getbooleanand(do4(),dp4())endfunctionfunction dr4
takes nothing returns booleanreturn getbooleanand(dn4(),dq4())endfunctionfunction
ds4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dt4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction du4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction dv4 takes
nothing returns booleanreturn getbooleanand(dt4(),du4())endfunctionfunction dw4
takes nothing returns booleanreturn getbooleanand(ds4(),dv4())endfunctionfunction
dx4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dy4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dz4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction da4 takes
nothing returns booleanreturn getbooleanand(dy4(),dz4())endfunctionfunction da4
takes nothing returns booleanreturn getbooleanand(dx4(),da4())endfunctionfunction
db4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction db4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dc4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction dc4 takes
nothing returns booleanreturn getbooleanand(db4(),dc4())endfunctionfunction dd4
takes nothing returns booleanreturn getbooleanand(db4(),dc4())endfunctionfunction
de4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction d34 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction df4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction dg4 takes
nothing returns booleanreturn getbooleanand(d34(),df4())endfunctionfunction d64
takes nothing returns booleanreturn getbooleanand(de4(),dg4())endfunctionfunction
dh4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction di4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dl4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction d14 takes
nothing returns booleanreturn getbooleanand(di4(),dl4())endfunctionfunction dj4
takes nothing returns booleanreturn getbooleanand(dh4(),d14())endfunctionfunction
dk4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dl4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dm4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction dn4 takes
nothing returns booleanreturn getbooleanand(dl4(),dm4())endfunctionfunction do4
takes nothing returns booleanreturn getbooleanand(dk4(),dn4())endfunctionfunction
d04 takes nothing returns nothingset i8=getrectcenter(uh)set
b9=fa(th,condition(function dm4))call groupremovegroup(e9,b9)call
grouppointorderlocbj(b9,"attack",i8)set i8=getrectcenter(ag)set
c9=fa(th,condition(function dr4))call groupremovegroup(e9,c9)call
grouppointorderlocbj(c9,"attack",i8)set i8=getrectcenter(vh)set
c9=fa(uh,condition(function dw4))call groupremovegroup(e9,c9)call
grouppointorderlocbj(c9,"attack",i8)set i8=getrectcenter(th)set
d9=fa(uh,condition(function da4))call groupremovegroup(e9,d9)call
grouppointorderlocbj(d9,"attack",i8)set i8=getrectcenter(wh)set
e9=fa(vh,condition(function dd4))call groupremovegroup(e9,e9)call
grouppointorderlocbj(e9,"attack",i8)set i8=getrectcenter(uh)set
f9=fa(vh,condition(function d64))call groupremovegroup(e9,f9)call
grouppointorderlocbj(f9,"attack",i8)set i8=getrectcenter(wg)set
g9=fa(wh,condition(function dj4))call groupremovegroup(e9,g9)call
grouppointorderlocbj(g9,"attack",i8)set i8=getrectcenter(vh)set
h9=fa(wh,condition(function do4))call groupremovegroup(e9,h9)call
grouppointorderlocbj(h9,"attack",i8)endfunctionfunction dp4 takes nothing returns
nothingset rn=createtrigger()call triggerregistertimereventperiodic(rn,2.00)call
triggeraddaction(rn,function d04)endfunctionfunction dq4 takes nothing returns
booleanreturn(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dr4
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ds4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction d54 takes
nothing returns booleanreturn getbooleanand(dr4(),ds4())endfunctionfunction dt4
takes nothing returns booleanreturn getbooleanand(dq4(),d54())endfunctionfunction
du4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dv4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction dw4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction dx4 takes
nothing returns booleanreturn getbooleanand(dv4(),dw4())endfunctionfunction dy4
takes nothing returns booleanreturn getbooleanand(du4(),dx4())endfunctionfunction
d24 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction dz4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction d_4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction e44 takes
nothing returns booleanreturn getbooleanand(dz4(),d_4())endfunctionfunction e74
takes nothing returns booleanreturn getbooleanand(d24(),e44())endfunctionfunction
e84 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction e94 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ed4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction ee4 takes
nothing returns booleanreturn getbooleanand(e94(),ed4())endfunctionfunction ef4
takes nothing returns booleanreturn getbooleanand(e84(),ee4())endfunctionfunction
eg4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction eh4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ei4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction ej4 takes
nothing returns booleanreturn getbooleanand(eh4(),ei4())endfunctionfunction ek4
takes nothing returns booleanreturn getbooleanand(eg4(),ej4())endfunctionfunction
em4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction en4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction eo4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction ep4 takes
nothing returns booleanreturn getbooleanand(en4(),eo4())endfunctionfunction eq4
takes nothing returns booleanreturn getbooleanand(em4(),ep4())endfunctionfunction
er4 takes nothing returns nothingset i8=getrectcenter(yh)set
x9=fa(xh,condition(function dt4))call groupremovegroup(e9,x9)call
grouppointorderlocbj(x9,"attack",i8)set i8=getrectcenter(xg)set
y9=fa(xh,condition(function dy4))call groupremovegroup(e9,y9)call
grouppointorderlocbj(y9,"attack",i8)set i8=getrectcenter(zh)set
z9=fa(yh,condition(function e74))call groupremovegroup(e9,z9)call
grouppointorderlocbj(z9,"attack",i8)set i8=getrectcenter(xh)set
a9=fa(yh,condition(function ef4))call groupremovegroup(e9,a9)call
grouppointorderlocbj(a9,"attack",i8)set i8=getrectcenter(vg)set
a9=fa(zh,condition(function ek4))call groupremovegroup(e9,a9)call
grouppointorderlocbj(a9,"attack",i8)set i8=getrectcenter(yh)set
b9=fa(zh,condition(function eq4))call groupremovegroup(e9,b9)call
grouppointorderlocbj(b9,"attack",i8)endfunctionfunction es4 takes nothing returns
nothingset sn=createtrigger()call triggerregistertimereventperiodic(sn,2.00)call
triggeraddaction(sn,function er4)endfunctionfunction et4 takes nothing returns
booleanreturn(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction eu4
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ev4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction ew4 takes
nothing returns booleanreturn getbooleanand(eu4(),ev4())endfunctionfunction ex4
takes nothing returns booleanreturn getbooleanand(et4(),ew4())endfunctionfunction
ey4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652089)endfunctionfunction ez4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ea4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction ea4 takes
nothing returns booleanreturn getbooleanand(ez4(),ea4())endfunctionfunction eb4
takes nothing returns booleanreturn getbooleanand(ey4(),ea4())endfunctionfunction
eb4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction ec4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ec4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction ed4 takes
nothing returns booleanreturn getbooleanand(ec4(),ec4())endfunctionfunction ee4
takes nothing returns booleanreturn getbooleanand(eb4(),ed4())endfunctionfunction
e34 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652089)endfunctionfunction ef4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction eg4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction e64 takes
nothing returns booleanreturn getbooleanand(ef4(),eg4())endfunctionfunction eh4
takes nothing returns booleanreturn getbooleanand(e34(),e64())endfunctionfunction
ei4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction el4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction e14 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction ej4 takes
nothing returns booleanreturn getbooleanand(el4(),e14())endfunctionfunction ek4
takes nothing returns booleanreturn getbooleanand(ei4(),ej4())endfunctionfunction
el4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652089)endfunctionfunction em4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction en4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction eo4 takes
nothing returns booleanreturn getbooleanand(em4(),en4())endfunctionfunction e04
takes nothing returns booleanreturn getbooleanand(el4(),eo4())endfunctionfunction
ep4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1752395892)endfunctionfunction eq4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction er4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(10))endfunctionfunction es4 takes
nothing returns booleanreturn getbooleanand(eq4(),er4())endfunctionfunction e54
takes nothing returns booleanreturn getbooleanand(ep4(),es4())endfunctionfunction
et4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1848652089)endfunctionfunction eu4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1747988567)
endfunctionfunction ev4 takes nothing returns boolean
return(getowningplayer(getfilterunit())==player(11))endfunctionfunction ew4 takes
nothing returns booleanreturn getbooleanand(eu4(),ev4())endfunctionfunction ex4
takes nothing returns booleanreturn getbooleanand(et4(),ew4())endfunctionfunction
ey4 takes nothing returns nothingset i8=getrectcenter(ah)set
p9=fa(ah,condition(function ex4))call groupremovegroup(e9,p9)call
grouppointorderlocbj(p9,"attack",i8)set i8=getrectcenter(zg)set
q9=fa(ah,condition(function eb4))call groupremovegroup(e9,q9)call
grouppointorderlocbj(q9,"attack",i8)set i8=getrectcenter(bh)set
r9=fa(ah,condition(function ee4))call groupremovegroup(e9,r9)call
grouppointorderlocbj(r9,"attack",i8)set i8=getrectcenter(ah)set
s9=fa(ah,condition(function eh4))call groupremovegroup(e9,s9)call
grouppointorderlocbj(s9,"attack",i8)set i8=getrectcenter(bh)set
t9=fa(bh,condition(function ek4))call groupremovegroup(e9,t9)call
grouppointorderlocbj(t9,"attack",i8)set
i8=getrectcenter(ah)set u9=fa(bh,condition(function e04))call
groupremovegroup(e9,u9)call grouppointorderlocbj(u9,"attack",i8)set
i8=getrectcenter(yg)set v9=fa(bh,condition(function e54))call
groupremovegroup(e9,v9)call grouppointorderlocbj(v9,"attack",i8)set
i8=getrectcenter(bh)set w9=fa(bh,condition(function ex4))call
groupremovegroup(e9,w9)call grouppointorderlocbj(w9,"attack",i8)endfunction
function e24 takes nothing returns nothingset tn=createtrigger()call
triggerregistertimereventperiodic(tn,2.00)call triggeraddaction(tn,function ey4)
endfunctionfunction ez4 takes nothing returns nothingset i8=getrectcenter(ag)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(zg)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(xg)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(th)call grouppointorderlocbj(ia(ag,player(10)),"attack",i8)set
i8=getrectcenter(xh)call grouppointorderlocbj(ia(xg,player(10)),"attack",i8)set
i8=getrectcenter(ah)call grouppointorderlocbj(ia(zg,player(10)),"attack",i8)
endfunctionfunction e_4 takes nothing returns nothingset un=createtrigger()call
disabletrigger(un)call triggerregistertimereventperiodic(un,30.00)call
triggeraddaction(un,function ez4)endfunctionfunction f44 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function f74 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)!=true)endfunctionfunction f84
takes nothing returns booleanreturn getbooleanand(f44(),f74())endfunctionfunction
f94 takes nothing returns nothingcall
setunitmovespeed(getenumunit(),(getunitmovespeed(getenumunit())+100.00))
endfunctionfunction fd4 takes nothing returns nothingset i8=getrectcenter(ag)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(zg)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(xg)call
createnunitsatloc(2,1751543663,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1751871081,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1752328550,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988528,player(10),i8,bj_unit_facing)set
i8=getrectcenter(th)call grouppointorderlocbj(ia(ag,player(10)),"attack",i8)set
i8=getrectcenter(xh)call grouppointorderlocbj(ia(xg,player(10)),"attack",i8)set
i8=getrectcenter(ah)call grouppointorderlocbj(ia(zg,player(10)),"attack",i8)call
forgroupbj(ra(player(10),condition(function f84)),function f94)endfunctionfunction
fe4 takes nothing returns nothingset vn=createtrigger()call disabletrigger(vn)call
triggerregistertimereventperiodic(vn,27.00)call triggeraddaction(vn,function fd4)
endfunctionfunction ff4 takes nothing returns nothingset i8=getrectcenter(ag)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(xg)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(zg)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(th)call grouppointorderlocbj(ia(ag,player(10)),"attack",i8)set
i8=getrectcenter(xh)call grouppointorderlocbj(ia(xg,player(10)),"attack",i8)set
i8=getrectcenter(ah)call grouppointorderlocbj(ia(zg,player(10)),"attack",i8)
endfunctionfunction fg4 takes nothing returns nothingset wn=createtrigger()call
disabletrigger(wn)call triggerregistertimereventperiodic(wn,27.00)call
triggeraddaction(wn,function ff4)endfunctionfunction fh4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function fi4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)!=true)endfunctionfunction fj4
takes nothing returns booleanreturn getbooleanand(fh4(),fi4())endfunctionfunction
fk4 takes nothing returns nothingcall
setunitmovespeed(getenumunit(),(getunitmovespeed(getenumunit())+100.00))
endfunctionfunction fm4 takes nothing returns nothingset i8=getrectcenter(ag)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(xg)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(zg)call
createnunitsatloc(2,1747988547,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988548,player(10),i8,bj_unit_facing)call
createnunitsatloc(1,1747988549,player(10),i8,bj_unit_facing)call
createnunitsatloc(2,1747988553,player(10),i8,bj_unit_facing)set
i8=getrectcenter(th)call grouppointorderlocbj(ia(ag,player(10)),"attack",i8)set
i8=getrectcenter(xh)call grouppointorderlocbj(ia(xg,player(10)),"attack",i8)set
i8=getrectcenter(ah)call grouppointorderlocbj(ia(zg,player(10)),"attack",i8)call
forgroupbj(ra(player(10),condition(function fj4)),function fk4)endfunctionfunction
fn4 takes nothing returns nothingset xn=createtrigger()call disabletrigger(xn)call
triggerregistertimereventperiodic(xn,24.00)call triggeraddaction(xn,function fm4)
endfunctionfunction fo4 takes nothing returns nothingset j8=getrectcenter(wg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(vg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(yg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(wh)call grouppointorderlocbj(ia(wg,player(11)),"attack",j8)set
j8=getrectcenter(zh)call grouppointorderlocbj(ia(vg,player(11)),"attack",j8)set
j8=getrectcenter(bh)call grouppointorderlocbj(ia(yg,player(11)),"attack",j8)
endfunctionfunction fp4 takes nothing returns nothingset yn=createtrigger()call
disabletrigger(yn)call triggerregistertimereventperiodic(yn,30.00)call
triggeraddaction(yn,function fo4)endfunctionfunction fq4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)endfunction
function fr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)!=true)endfunctionfunction fs4
takes nothing returns booleanreturn getbooleanand(fq4(),fr4())endfunctionfunction
ft4 takes nothing returns nothingcall
setunitmovespeed(getenumunit(),(getunitmovespeed(getenumunit())+100.00))
endfunctionfunction fu4 takes nothing returns nothingset j8=getrectcenter(wg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(vg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(yg)call
createnunitsatloc(2,1747988530,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988531,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988532,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988555,player(11),j8,bj_unit_facing)set
j8=getrectcenter(wh)call grouppointorderlocbj(ia(wg,player(11)),"attack",j8)set
j8=getrectcenter(zh)call grouppointorderlocbj(ia(vg,player(11)),"attack",j8)set
j8=getrectcenter(bh)call grouppointorderlocbj(ia(yg,player(11)),"attack",j8)call
forgroupbj(ra(player(11),condition(function fs4)),function ft4)endfunctionfunction
fv4 takes nothing returns nothingset zn=createtrigger()call disabletrigger(zn)call
triggerregistertimereventperiodic(zn,27.00)call triggeraddaction(zn,function fu4)
endfunctionfunction fw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
fx4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)!=true)endfunctionfunction fy4
takes nothing returns booleanreturn getbooleanand(fw4(),fx4())endfunctionfunction
fz4 takes nothing returns nothingcall
setunitmovespeed(getenumunit(),(getunitmovespeed(getenumunit())+100.00))
endfunctionfunction fa4 takes nothing returns nothingset j8=getrectcenter(wg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(vg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(yg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(wh)call grouppointorderlocbj(ia(wg,player(11)),"attack",j8)set
j8=getrectcenter(zh)call grouppointorderlocbj(ia(vg,player(11)),"attack",j8)set
j8=getrectcenter(bh)call grouppointorderlocbj(ia(yg,player(11)),"attack",j8)call
forgroupbj(ra(player(11),condition(function fy4)),function fz4)endfunctionfunction
fa4 takes nothing returns nothingset do=createtrigger()call disabletrigger(do)call
triggerregistertimereventperiodic(do,24.00)call triggeraddaction(do,function fa4)
endfunctionfunction fb4 takes nothing returns nothingset j8=getrectcenter(wg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(vg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(yg)call
createnunitsatloc(2,1747988550,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988551,player(11),j8,bj_unit_facing)call
createnunitsatloc(1,1747988552,player(11),j8,bj_unit_facing)call
createnunitsatloc(2,1747988554,player(11),j8,bj_unit_facing)set
j8=getrectcenter(wh)call grouppointorderlocbj(ia(wg,player(11)),"attack",j8)set
j8=getrectcenter(zh)call grouppointorderlocbj(ia(vg,player(11)),"attack",j8)set
j8=getrectcenter(bh)call grouppointorderlocbj(ia(yg,player(11)),"attack",j8)
endfunctionfunction fb4 takes nothing returns nothingset eo=createtrigger()call
disabletrigger(eo)call triggerregistertimereventperiodic(eo,27.00)call
triggeraddaction(eo,function fb4)endfunctionfunction fc4 takes nothing returns
booleanif(not(isunitalivebj(pg)==true))thenreturn falseendifreturn trueendfunction
function fc4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==1)endfunctionfunction fd4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682244,pg)==2)
endfunctionfunction fe4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==3)endfunctionfunction f34 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682244,pg)==4)
endfunctionfunction ff4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==5)endfunctionfunction fg4 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
f64 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fh4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
fi4 takes nothing returns booleanreturn getbooleanand(f64(),fh4())endfunction
function fl4 takes nothing returns booleanreturn getbooleanand(fg4(),fi4())
endfunctionfunction f14 takes nothing returns booleanif(not(tg==1))thenreturn
falseendifreturn trueendfunctionfunction fj4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fk4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
fl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
fm4 takes nothing returns booleanreturn getbooleanand(fk4(),fl4())endfunction
function fn4 takes nothing returns booleanreturn getbooleanand(fj4(),fm4())
endfunctionfunction fo4 takes nothing returns boolean
if(not(countunitsingroup(ka(500.00,getunitloc(pg),condition(function
fn4)))>0))thenreturn falseendifreturn trueendfunctionfunction f04 takes nothing
returns nothingif(fo4())thenif(fc4())thenset sg=20elsecall donothing()endif
if(fd4())thenset sg=10elsecall donothing()endifif(fe4())thenset sg=7elsecall
donothing()endifif(f34())thenset sg=5elsecall donothing()endifif(ff4())thenset
sg=4elsecall donothing()endifset tg=getrandomint(1,sg)if(f14())thencall
disabletrigger(gettriggeringtrigger())call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),bj_unit_facing)
call unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
issuetargetorderbj(getlastcreatedunit(),"drain",grouppickrandomunit(ka(500.00,getu
nitloc(pg),condition(function fl4))))call uz(3.00)call
enabletrigger(gettriggeringtrigger())elseendifelseendifendfunctionfunction fp4
takes nothing returns nothingset fo=createtrigger()call disabletrigger(fo)call
triggerregistertimereventperiodic(fo,3.00)call
triggeraddcondition(fo,condition(function fc4))call triggeraddaction(fo,function
f04)endfunctionfunction fq4 takes nothing returns boolean
if(not(isunitalivebj(pg)==true))thenreturn falseendifreturn trueendfunction
function fr4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==1)endfunctionfunction fs4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682244,pg)==2)
endfunctionfunction f54 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==3)endfunctionfunction ft4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682244,pg)==4)
endfunctionfunction fu4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682244,pg)==5)endfunctionfunction fv4 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
fw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function fx4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
fy4 takes nothing returns booleanreturn getbooleanand(fw4(),fx4())endfunction
function f24 takes nothing returns booleanreturn getbooleanand(fv4(),fy4())
endfunctionfunction fz4 takes nothing returns booleanif(not(tg==1))thenreturn
falseendifreturn trueendfunctionfunction f_4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function g44 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
g74 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
g84 takes nothing returns booleanreturn getbooleanand(g44(),g74())endfunction
function g94 takes nothing returns booleanreturn getbooleanand(f_4(),g84())
endfunctionfunction gd4 takes nothing returns boolean
if(not(countunitsingroup(ka(500.00,getunitloc(pg),condition(function
g94)))>0))thenreturn falseendifreturn trueendfunctionfunction ge4 takes nothing
returns nothingif(gd4())thenif(fr4())thenset sg=20elsecall donothing()endif
if(fs4())thenset sg=10elsecall donothing()endifif(f54())thenset sg=7elsecall
donothing()endifif(ft4())thenset sg=5elsecall donothing()endifif(fu4())thenset
sg=4elsecall donothing()endifset tg=getrandomint(1,sg)if(fz4())thencall
disabletrigger(gettriggeringtrigger())call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),bj_unit_facing)
call unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
issuepointorderlocbj(getlastcreatedunit(),"breathoffire",getunitloc(grouppickrando
munit(ka(500.00,getunitloc(pg),condition(function f24)))))call uz(5.00)call
enabletrigger(gettriggeringtrigger())elseendifelseendifendfunctionfunction gf4
takes nothing returns nothingset go=createtrigger()call disabletrigger(go)call
triggerregistertimereventperiodic(go,2.00)call
triggeraddcondition(go,condition(function fq4))call triggeraddaction(go,function
ge4)endfunctionfunction gg4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093682244))thenreturn falseendifreturn true
endfunctionfunction gh4 takes nothing returns nothingset pg=getlearningunit()call
enabletrigger(fo)call enabletrigger(go)endfunctionfunction gi4 takes
nothing returns nothingset ho=createtrigger()call disabletrigger(ho)call
triggerregisteranyuniteventbj(ho,event_player_hero_skill)call
triggeraddcondition(ho,condition(function gg4))call triggeraddaction(ho,function
gh4)endfunctionfunction gj4 takes nothing returns boolean
if(not(getspellabilityid()==1093682245))thenreturn falseendifreturn true
endfunctionfunction gk4 takes nothing returns nothingcall
cameraseteqnoiseforplayer(getenumplayer(),3)endfunctionfunction gm4 takes nothing
returns booleanreturn(getunitabilitylevelswapped(1093682245,pg)==1)endfunction
function gn4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682245,pg)==2)endfunctionfunction go4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682245,pg)==3)
endfunctionfunction gp4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682245,pg)==4)endfunctionfunction gq4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682245,pg)==5)
endfunctionfunction gr4 takes nothing returns nothingset pg=getspellabilityunit()
call uz(0.50)call setunitinvulnerable(pg,true)call pauseunitbj(true,pg)call
createnunitsatloc(1,1747989320,getowningplayer(pg),getunitloc(pg),bj_unit_facing)
call forforce(getplayersall(),function gk4)call playsoundbj(yi)call
unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())if(gm4())thenset rg=5.00
elsecall donothing()endifif(gn4())thenset rg=10.00elsecall donothing()endif
if(go4())thenset rg=15.00elsecall donothing()endifif(gp4())thenset rg=20.00else
call donothing()endifif(gq4())thenset rg=25.00elsecall donothing()endifset qg=0.00
call uz(0.50)call enabletrigger(ko)endfunctionfunction gs4 takes nothing returns
nothingset io=createtrigger()call disabletrigger(io)call
triggerregisteranyuniteventbj(io,event_player_unit_spell_effect)call
triggeraddcondition(io,condition(function gj4))call triggeraddaction(io,function
gr4)endfunctionfunction gt4 takes nothing returns boolean
if(not(getspellabilityid()==1093682241))thenreturn falseendifreturn true
endfunctionfunction gu4 takes nothing returns nothingcall
unitapplytimedlifebj(2.00,1112820806,getenumunit())endfunctionfunction gv4 takes
nothing returns nothingcall setunitabilitylevelswapped(1093682241,getenumunit(),1)
endfunctionfunction gw4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==1))thenreturn falseendifreturn
trueendfunctionfunction gx4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),2)endfunctionfunction gy4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==2))thenreturn falseendifreturn
trueendfunctionfunction gz4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),3)endfunctionfunction ga4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==3))thenreturn falseendifreturn
trueendfunctionfunction ga4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),4)endfunctionfunction gb4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==4))thenreturn falseendifreturn
trueendfunctionfunction gb4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),5)endfunctionfunction gc4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==5))thenreturn falseendifreturn
trueendfunctionfunction gc4 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"impale",xz(getunitloc(pg),200.00,(getunitfacin
g(pg)+rg)))endfunctionfunction gd4 takes nothing returns nothingcall
unitapplytimedlifebj(2.00,1112820806,getenumunit())endfunctionfunction ge4 takes
nothing returns nothingcall setunitabilitylevelswapped(1093682241,getenumunit(),1)
endfunctionfunction g34 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==1))thenreturn falseendifreturn
trueendfunctionfunction gf4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),2)endfunctionfunction gg4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==2))thenreturn falseendifreturn
trueendfunctionfunction g64 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),3)endfunctionfunction gh4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==3))thenreturn falseendifreturn
trueendfunctionfunction gi4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),4)endfunctionfunction gl4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==4))thenreturn falseendifreturn
trueendfunctionfunction g14 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),5)endfunctionfunction gj4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==5))thenreturn falseendifreturn
trueendfunctionfunction gk4 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"impale",xz(getunitloc(pg),200.00,(getunitfacin
g(pg)+rg)))endfunctionfunction gl4 takes nothing returns nothingcall
unitapplytimedlifebj(2.00,1112820806,getenumunit())endfunctionfunction gm4 takes
nothing returns nothingcall setunitabilitylevelswapped(1093682241,getenumunit(),1)
endfunctionfunction gn4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==1))thenreturn falseendifreturn
trueendfunctionfunction go4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),2)endfunctionfunction g04
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==2))thenreturn falseendifreturn
trueendfunctionfunction gp4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),3)endfunctionfunction gq4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==3))thenreturn falseendifreturn
trueendfunctionfunction gr4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),4)endfunctionfunction gs4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==4))thenreturn falseendifreturn
trueendfunctionfunction g54 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),5)endfunctionfunction gt4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==5))thenreturn falseendifreturn
trueendfunctionfunction gu4 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"impale",xz(getunitloc(pg),200.00,(getunitfacin
g(pg)+rg)))endfunctionfunction gv4 takes nothing returns nothingcall
unitapplytimedlifebj(2.00,1112820806,getenumunit())endfunctionfunction gw4 takes
nothing returns nothingcall setunitabilitylevelswapped(1093682241,getenumunit(),1)
endfunctionfunction gx4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==1))thenreturn falseendifreturn
trueendfunctionfunction gy4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),2)endfunctionfunction g24
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==2))thenreturn falseendifreturn
trueendfunctionfunction gz4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),3)endfunctionfunction g_4
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==3))thenreturn falseendifreturn
trueendfunctionfunction h44 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),4)endfunctionfunction h74
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==4))thenreturn falseendifreturn
trueendfunctionfunction h84 takes nothing returns nothingcall
setunitabilitylevelswapped(1093682241,getenumunit(),5)endfunctionfunction h94
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682241,pg)==5))thenreturn falseendifreturn
trueendfunctionfunction hd4 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"impale",xz(getunitloc(pg),200.00,(getunitfacin
g(pg)+rg)))endfunctionfunction he4 takes nothing returns nothingset
pg=getspellabilityunit()call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),getunitfacing(pg
))call forgroupbj(sa(getowningplayer(pg),1747988791),function gu4)if(gw4())then
call forgroupbj(sa(getowningplayer(pg),1747988791),function gv4)elseendif
if(gy4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gx4)else
endifif(ga4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gz4)
elseendifif(gb4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function
ga4)elseendifif(gc4())thencall
forgroupbj(sa(getowningplayer(pg),1747988791),function gb4)elseendifset
rg=getrandomreal(-25.00,25.00)call
forgroupbj(sa(getowningplayer(pg),1747988791),function gc4)call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),getunitfacing(pg
))call forgroupbj(sa(getowningplayer(pg),1747988791),function gd4)if(g34())then
call forgroupbj(sa(getowningplayer(pg),1747988791),function ge4)elseendif
if(gg4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gf4)else
endifif(gh4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function g64)
elseendifif(gl4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function
gi4)elseendifif(gj4())thencall
forgroupbj(sa(getowningplayer(pg),1747988791),function g14)elseendifset
rg=getrandomreal(-100.00,100.00)call
forgroupbj(sa(getowningplayer(pg),1747988791),function gk4)call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),getunitfacing(pg
))call
forgroupbj(sa(getowningplayer(pg),1747988791),function gl4)if(gn4())thencall
forgroupbj(sa(getowningplayer(pg),1747988791),function gm4)elseendifif(g04())then
call forgroupbj(sa(getowningplayer(pg),1747988791),function go4)elseendif
if(gq4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gp4)else
endifif(gs4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gr4)
elseendifif(gt4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function
g54)elseendifset rg=getrandomreal(-75.00,75.00)call
forgroupbj(sa(getowningplayer(pg),1747988791),function gu4)call
createnunitsatloc(1,1747988791,getowningplayer(pg),getunitloc(pg),getunitfacing(pg
))call forgroupbj(sa(getowningplayer(pg),1747988791),function gv4)if(gx4())then
call forgroupbj(sa(getowningplayer(pg),1747988791),function gw4)elseendif
if(g24())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gy4)else
endifif(g_4())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function gz4)
elseendifif(h74())thencall forgroupbj(sa(getowningplayer(pg),1747988791),function
h44)elseendifif(h94())thencall
forgroupbj(sa(getowningplayer(pg),1747988791),function h84)elseendifset
rg=getrandomreal(-25.00,25.00)call
forgroupbj(sa(getowningplayer(pg),1747988791),function hd4)endfunctionfunction hf4
takes nothing returns nothingset jo=createtrigger()call disabletrigger(jo)call
triggerregisteranyuniteventbj(jo,event_player_unit_spell_effect)call
triggeraddcondition(jo,condition(function gt4))call triggeraddaction(jo,function
he4)endfunctionfunction hg4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
hh4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hi4 takes nothing returns booleanreturn getbooleanand(hg4(),hh4())
endfunctionfunction hj4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
hk4 takes nothing returns booleanreturn getbooleanand(hi4(),hj4())endfunction
function hm4 takes nothing returns nothingcall
unitdamagetargetbj(pg,getenumunit(),rg,attack_type_chaos,damage_type_normal)
endfunctionfunction hn4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ho4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function hp4 takes nothing returns booleanreturn getbooleanand(hn4(),ho4())
endfunctionfunction hq4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pg))==true)endfunctionfunction
hr4 takes nothing returns booleanreturn getbooleanand(hp4(),hq4())endfunction
function hs4 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),25.00,anglebetweenpo
ints(getunitloc(pg),getunitloc(getenumunit()))))endfunctionfunction ht4 takes
nothing returns booleanreturn(qg>=400.00)endfunctionfunction hu4 takes nothing
returns booleanreturn(qg>=400.00)endfunctionfunction hv4 takes nothing returns
booleanreturn(qg>=400.00)endfunctionfunction hw4 takes nothing returns nothingset
qg=(qg+25.00)call forgroupbj(ka(400.00,getunitloc(pg),condition(function
hk4)),function hm4)call forgroupbj(ka(400.00,getunitloc(pg),condition(function
hr4)),function hs4)if(ht4())thencall disabletrigger(gettriggeringtrigger())else
call donothing()endifif(hu4())thencall triggerexecute(mo)elsecall donothing()endif
if(hv4())thenreturnelsecall donothing()endifendfunctionfunction hx4 takes nothing
returns nothingset ko=createtrigger()call disabletrigger(ko)call
triggerregistertimereventperiodic(ko,0.03)call triggeraddaction(ko,function hw4)
endfunctionfunction hy4 takes nothing returns nothingcall
cameraclearnoiseforplayer(getenumplayer())endfunctionfunction hz4 takes nothing
returns nothingcall setunitinvulnerable(pg,false)call pauseunitbj(false,pg)call
forforce(getplayersall(),function hy4)endfunctionfunction ha4 takes nothing
returns nothingset mo=createtrigger()call disabletrigger(mo)call
triggeraddaction(mo,function hz4)endfunctionfunction ha4 takes nothing returns
booleanif(not(getunittypeid(getattackedunitbj())==1211118407))thenreturn false
endifif(not(unithasbuffbj(getattackedunitbj(),1110455095)==true))thenreturn false
endifreturn trueendfunctionfunction hb4 takes nothing returns boolean
return(getrandomint(1,100)<=5)endfunctionfunction hb4 takes nothing returns
booleanif(not(og==1))thenreturn falseendifreturn trueendfunctionfunction hc4 takes
nothing returns booleanreturn(getrandomint(1,100)<=10)endfunctionfunction hc4
takes nothing returns booleanif(not(og==2))thenreturn falseendifreturn true
endfunctionfunction hd4 takes nothing returns boolean
return(getrandomint(1,100)<=15)endfunctionfunction he4 takes nothing returns
booleanif(not(og==3))thenreturn falseendifreturn trueendfunctionfunction h34 takes
nothing returns booleanreturn(getrandomint(1,100)<=20)endfunctionfunction hf4
takes nothing returns booleanif(not(og==4))thenreturn falseendifreturn true
endfunctionfunction hg4 takes nothing returns boolean
return(getrandomint(1,100)<=25)endfunctionfunction h64 takes nothing returns
booleanif(not(og==5))thenreturn falseendifreturn trueendfunctionfunction hh4 takes
nothing returns nothingset
og=getunitabilitylevelswapped(1093682232,getattackedunitbj())if(hb4())then
if(hb4())thencall donothing()elsereturnendifelseendifif(hc4())thenif(hc4())then
call donothing()elsereturnendifelseendifif(he4())thenif(hd4())thencall donothing()
elsereturnendifelseendifif(hf4())thenif(h34())thencall donothing()elsereturnendif
elseendifif(h64())thenif(hg4())thencall donothing()elsereturnendifelseendifcall
createnunitsatloc(1,1966092376,getowningplayer(getattackedunitbj()),getunitloc(get
attackedunitbj()),bj_unit_facing)call disabletrigger(gettriggeringtrigger())call
unitapplytimedlifebj(25.00,1112820806,getlastcreatedunit())call uz(3.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction hi4 takes nothing returns
nothingset no=createtrigger()call disabletrigger(no)call
triggerregisteranyuniteventbj(no,event_player_unit_attacked)call
triggeraddcondition(no,condition(function ha4))call triggeraddaction(no,function
hh4)endfunctionfunction hl4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093682232))thenreturn falseendifreturn true
endfunctionfunction h14 takes nothing returns nothingcall enabletrigger(no)
endfunctionfunction hj4 takes nothing returns nothingset oo=createtrigger()call
disabletrigger(oo)call triggerregisteranyuniteventbj(oo,event_player_hero_skill)
call triggeraddcondition(oo,condition(function hl4))call
triggeraddaction(oo,function h14)endfunctionfunction hk4 takes nothing returns
booleanif(not(getspellabilityid()==1093682231))thenreturn falseendifreturn true
endfunctionfunction hl4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682231,jg)==1))thenreturn falseendifreturn
trueendfunctionfunction hm4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682231,jg)==2))thenreturn falseendifreturn
trueendfunctionfunction hn4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682231,jg)==3))thenreturn falseendifreturn
trueendfunctionfunction ho4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682231,jg)==4))thenreturn falseendifreturn
trueendfunctionfunction h04 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093682231,jg)==5))thenreturn falseendifreturn
trueendfunctionfunction hp4 takes nothing returns nothingcall
unitapplytimedlifebj(mg,1112820806,getenumunit())endfunctionfunction hq4 takes
nothing returns booleanif(not(ng==false))thenreturn falseendifreturn true
endfunctionfunction hr4 takes nothing returns nothingset jg=getspellabilityunit()
set ng=falsecall enabletrigger(so)if(hl4())thenset kg=2set mg=25.00elseendif
if(hm4())thenset kg=4set mg=30.00elseendifif(hn4())thenset kg=6set mg=35.00else
endifif(ho4())thenset kg=8set mg=40.00elseendifif(h04())thenset kg=10set mg=45.00
elseendifcall pauseunitbj(true,jg)call setunitinvulnerable(jg,true)call
setunitscalepercent(jg,1.00,1.00,1.00)call
createnunitsatloc(kg,1966092376,getowningplayer(jg),getunitloc(jg),bj_unit_facing)
call forgroupbj(sa(getowningplayer(jg),1966092376),function hp4)call
selectgroupforplayerbj(sa(getowningplayer(jg),1966092376),getowningplayer(jg))call
uz(mg)call disabletrigger(so)if(hq4())thencall pauseunitbj(false,jg)call
setunitinvulnerable(jg,false)call setunitscalepercent(jg,155.00,155.00,155.00)else
endifendfunctionfunction hs4 takes nothing returns nothingset po=createtrigger()
call disabletrigger(po)call
triggerregisteranyuniteventbj(po,event_player_unit_spell_effect)call
triggeraddcondition(po,condition(function hk4))call triggeraddaction(po,function
hr4)endfunctionfunction h54 takes nothing returns boolean
if(not(getspellabilityid()==1093682228))thenreturn falseendifreturn true
endfunctionfunction ht4 takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_melee,damage_type_normal)
endfunctionfunction hu4 takes nothing returns nothingcall disabletrigger(so)set
ng=truecall pauseunitbj(false,jg)call setunitinvulnerable(jg,false)call
setunitpositionloc(jg,getunitloc(getspellabilityunit()))call
setunitscalepercent(jg,155.00,155.00,155.00)call
forgroupbj(sa(getowningplayer(jg),1966092376),function ht4)endfunctionfunction hv4
takes nothing returns nothingset qo=createtrigger()call disabletrigger(qo)call
triggerregisteranyuniteventbj(qo,event_player_unit_spell_effect)call
triggeraddcondition(qo,condition(function h54))call triggeraddaction(qo,function
hu4)endfunctionfunction hw4 takes nothing returns boolean
if(not(getspellabilityid()==1093682233))thenreturn falseendifreturn true
endfunctionfunction hx4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682233,getspellabilityunit())==1)endfunction
function hy4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682233,getspellabilityunit())==2)endfunction
function h24 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682233,getspellabilityunit())==3)endfunction
function hz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682233,getspellabilityunit())==4)endfunction
function h_4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682233,getspellabilityunit())==5)endfunction
function i44 takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_melee,damage_type_normal)
endfunctionfunction i74 takes nothing returns nothingset
kg=countlivingplayerunitsoftypeid(1966092376,getowningplayer(getspellabilityunit()
))if(hx4())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())+(i2r(kg)*15.00)))elsecall donothing()endifif(hy4())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())+(i2r(kg)*30.00)))elsecall donothing()endifif(h24())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())+(i2r(kg)*45.00)))elsecall donothing()endifif(hz4())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())+(i2r(kg)*60.00)))elsecall donothing()endifif(h_4())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())+(i2r(kg)*75.00)))elsecall donothing()endifcall
forgroupbj(sa(getowningplayer(jg),1966092376),function i44)endfunctionfunction i84
takes nothing returns nothingset ro=createtrigger()call disabletrigger(ro)call
triggerregisteranyuniteventbj(ro,event_player_unit_spell_effect)call
triggeraddcondition(ro,condition(function hw4))call triggeraddaction(ro,function
i74)endfunctionfunction i94 takes nothing returns boolean
if(not(countunitsingroup(sa(getowningplayer(jg),1966092376))<1))thenreturn false
endifreturn trueendfunctionfunction id4 takes nothing returns nothingif(i94())then
call pauseunitbj(false,jg)call setunitinvulnerable(jg,false)call
setunitscalepercent(jg,155.00,155.00,155.00)call
unitdamagetargetbj(az,jg,99999.00,attack_type_melee,damage_type_normal)call
disabletrigger(gettriggeringtrigger())set ng=trueelseendifendfunctionfunction ie4
takes nothing returns nothingset so=createtrigger()call disabletrigger(so)call
triggerregistertimereventperiodic(so,0.30)call triggeraddaction(so,function id4)
endfunctionfunction if4 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1966092373)endfunctionfunction ig4 takes
nothing returns boolean
if(not(countunitsingroup(ka(350.00,getunitloc(dg),condition(function
if4)))>0))thenreturn falseendifreturn trueendfunctionfunction ih4 takes nothing
returns nothingif(ig4())thencall unitaddabilitybj(1093682001,dg)elsecall
unitremoveabilitybj(1093682001,dg)endifendfunctionfunction ii4 takes nothing
returns nothingset to=createtrigger()call disabletrigger(to)call
triggerregistertimereventperiodic(to,1.00)call triggeraddaction(to,function ih4)
endfunctionfunction ij4 takes nothing returns boolean
if(not(getspellabilityid()==1093682250))thenreturn falseendifreturn true
endfunctionfunction ik4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682250,dg)==1)endfunctionfunction im4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682250,dg)==2)
endfunctionfunction in4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682250,dg)==3)endfunctionfunction io4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093682250,dg)==4)
endfunctionfunction ip4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093682250,dg)==5)endfunctionfunction iq4 takes
nothing returns booleanif(not(e==1))thenreturn falseendifreturn trueendfunction
function ir4 takes nothing returns booleanif(not(e==2))thenreturn falseendifreturn
trueendfunctionfunction is4 takes nothing returns booleanif(not(e==3))thenreturn
falseendifreturn trueendfunctionfunction it4 takes nothing returns boolean
if(not(e==4))thenreturn falseendifreturn trueendfunctionfunction iu4 takes nothing
returns booleanif(not(e==5))thenreturn falseendifreturn trueendfunctionfunction
iv4 takes nothing returns nothingset dg=getspellabilityunit()if(ik4())thenset
eg=10.00elsecall donothing()endifif(im4())thenset eg=15.00elsecall donothing()
endifif(in4())thenset eg=20.00elsecall donothing()endifif(io4())thenset eg=25.00
elsecall donothing()endifif(ip4())thenset eg=30.00elsecall donothing()endifset
e=getrandomint(1,5)if(iq4())thencall
createnunitsatloc(1,1966092371,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())elseendif
if(ir4())thencall
createnunitsatloc(1,1966092374,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())call
createnunitsatloc(1,1966092374,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())call
createnunitsatloc(1,1966092374,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())elseendif
if(is4())thencall
createnunitsatloc(1,1966092373,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())elseendif
if(it4())thencall
createnunitsatloc(1,1966092372,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())elseendif
if(iu4())thencall
createnunitsatloc(1,1966092375,getowningplayer(dg),getunitloc(dg),bj_unit_facing)
call unitapplytimedlifebj(eg,1112820806,getlastcreatedunit())elseendifendfunction
function iw4 takes nothing returns nothingset uo=createtrigger()call
disabletrigger(uo)call
triggerregisteranyuniteventbj(uo,event_player_unit_spell_effect)call
triggeraddcondition(uo,condition(function ij4))call triggeraddaction(uo,function
iv4)endfunctionfunction ix4 takes nothing returns boolean
if(not(getspellabilityid()==1093681974))thenreturn falseendifreturn true
endfunctionfunction iy4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681974,sf)==1)endfunctionfunction iz4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681974,sf)==2)
endfunctionfunction ia4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681974,sf)==3)endfunctionfunction ia4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681974,sf)==4)
endfunctionfunction ib4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681974,sf)==5)endfunctionfunction ib4 takes
nothing returns boolean
if(not(getunitstateswap(unit_state_life,getspelltargetunit())<=xf))thenreturn
falseendifreturn trueendfunctionfunction ic4 takes nothing returns nothingset
sf=getspellabilityunit()if(iy4())thenset xf=150.00elsecall donothing()endif
if(iz4())thenset xf=200.00elsecall donothing()endifif(ia4())thenset xf=250.00else
call donothing()endifif(ia4())thenset xf=300.00elsecall donothing()endif
if(ib4())thenset xf=350.00elsecall donothing()endifif(ib4())thencall
unitdamagetargetbj(sf,getspelltargetunit(),99999.00,attack_type_melee,damage_type_
normal)elseendifendfunctionfunction ic4 takes nothing returns nothingset
vo=createtrigger()call
triggerregisteranyuniteventbj(vo,event_player_unit_spell_effect)call
triggeraddcondition(vo,condition(function ix4))call triggeraddaction(vo,function
ic4)endfunctionfunction id4 takes nothing returns boolean
if(not(getspellabilityid()==1093681991))thenreturn falseendifreturn true
endfunctionfunction ie4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681991,vf)==1)endfunctionfunction i34 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681991,vf)==2)
endfunctionfunction if4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681991,vf)==3)endfunctionfunction ig4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681991,vf)==4)
endfunctionfunction i64 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681991,vf)==5)endfunctionfunction ih4 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction ii4 takes
nothing returns nothingset vf=getspellabilityunit()call
setunitinvulnerable(vf,true)call pauseunitbj(true,vf)call
moverecttoloc(ci,getunitloc(vf))if(ie4())thenset wf=3.00elsecall donothing()endif
if(i34())thenset wf=4.00elsecall donothing()endifif(if4())thenset wf=5.00elsecall
donothing()endifif(ig4())thenset wf=6.00elsecall donothing()endifif(i64())thenset
wf=7.00elsecall donothing()endifcall
createnunitsatloc(1,1747989316,getowningplayer(vf),getunitloc(vf),bj_unit_facing)
call unitapplytimedlifebj(wf,1112820806,getlastcreatedunit())call
enabletrigger(xo)call uz(wf)call disabletrigger(xo)call
setunitinvulnerable(vf,false)call pauseunitbj(false,vf)call
forgroupbj(pa(1747989317),function ih4)endfunctionfunction il4 takes nothing
returns nothingset wo=createtrigger()call
triggerregisteranyuniteventbj(wo,event_player_unit_spell_effect)call
triggeraddcondition(wo,condition(function id4))call triggeraddaction(wo,function
ii4)endfunctionfunction i14 takes
nothing returns booleanif(not(isunitalivebj(vf)==true))thenreturn falseendif
return trueendfunctionfunction ij4 takes nothing returns nothingcall
createnunitsatloc(1,1747989317,getowningplayer(vf),getunitloc(vf),bj_unit_facing)
call unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
setunitpositionloc(vf,getrandomlocinrect(ci))call
createnunitsatloc(1,1747989317,getowningplayer(vf),getunitloc(vf),bj_unit_facing)
endfunctionfunction ik4 takes nothing returns nothingset xo=createtrigger()call
disabletrigger(xo)call triggerregistertimereventperiodic(xo,1.00)call
triggeraddcondition(xo,condition(function i14))call triggeraddaction(xo,function
ij4)endfunctionfunction il4 takes nothing returns boolean
if(not(getspellabilityid()==1093681988))thenreturn falseendifreturn true
endfunctionfunction im4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681988,vf)==1)endfunctionfunction in4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681988,vf)==2)
endfunctionfunction io4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681988,vf)==3)endfunctionfunction i04 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681988,vf)==4)
endfunctionfunction ip4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681988,vf)==5)endfunctionfunction iq4 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction ir4 takes
nothing returns nothingset vf=getspellabilityunit()if(im4())thenset wf=4.00else
call donothing()endifif(in4())thenset wf=5.00elsecall donothing()endif
if(io4())thenset wf=6.00elsecall donothing()endifif(i04())thenset wf=7.00elsecall
donothing()endifif(ip4())thenset wf=8.00elsecall donothing()endifcall
createnunitsatloc(1,1747989315,getowningplayer(vf),getunitloc(vf),bj_unit_facing)
call unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
issueimmediateorderbj(getlastcreatedunit(),"stomp")call enabletrigger(zo)call
uz(wf)call disabletrigger(zo)call forgroupbj(pa(1747989315),function iq4)
endfunctionfunction is4 takes nothing returns nothingset yo=createtrigger()call
triggerregisteranyuniteventbj(yo,event_player_unit_spell_effect)call
triggeraddcondition(yo,condition(function il4))call triggeraddaction(yo,function
ir4)endfunctionfunction i54 takes nothing returns boolean
if(not(isunitalivebj(vf)==true))thenreturn falseendifreturn trueendfunction
function it4 takes nothing returns nothingcall
createnunitsatloc(1,1747989315,getowningplayer(vf),getunitloc(vf),bj_unit_facing)
call unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
issueimmediateorderbj(getlastcreatedunit(),"stomp")endfunctionfunction iu4 takes
nothing returns nothingset zo=createtrigger()call disabletrigger(zo)call
triggerregistertimereventperiodic(zo,1.30)call
triggeraddcondition(zo,condition(function i54))call triggeraddaction(zo,function
it4)endfunctionfunction iv4 takes nothing returns boolean
if(not(getspellabilityid()==1093679426))thenreturn falseendifreturn true
endfunctionfunction iw4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679426,mf)==1)endfunctionfunction ix4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679426,mf)==1)
endfunctionfunction iy4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679426,mf)==2)endfunctionfunction i24 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679426,mf)==2)
endfunctionfunction iz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679426,mf)==3)endfunctionfunction i_4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679426,mf)==3)
endfunctionfunction l44 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679426,mf)==4)endfunctionfunction l74 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679426,mf)==4)
endfunctionfunction l84 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679426,mf)==5)endfunctionfunction l94 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679426,mf)==5)
endfunctionfunction ld4 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())set mf=getspellabilityunit()if(iw4())thenset
nf=10.00elsecall donothing()endifif(ix4())thenset rf=400.00elsecall donothing()
endifif(iy4())thenset nf=15.00elsecall donothing()endifif(i24())thenset rf=500.00
elsecall donothing()endifif(iz4())thenset nf=20.00elsecall donothing()endif
if(i_4())thenset rf=600.00elsecall donothing()endifif(l44())thenset nf=25.00else
call donothing()endifif(l74())thenset rf=700.00elsecall donothing()endif
if(l84())thenset nf=30.00elsecall donothing()endifif(l94())thenset rf=800.00else
call donothing()endifcall uz(0.20)call
createnunitsatloc(1,1747989313,getowningplayer(mf),xz(getunitloc(mf),50.00,getunit
facing(mf)),getunitfacing(mf))set of=getlastcreatedunit()set qf=100.00set pf=0.00
call setunitpathing(of,false)call enabletrigger(bo)returnendfunctionfunction le4
takes nothing returns nothingset ao=createtrigger()call
triggerregisteranyuniteventbj(ao,event_player_unit_spell_effect)call
triggeraddcondition(ao,condition(function iv4))call triggeraddaction(ao,function
ld4)endfunctionfunction lf4 takes nothing returns boolean
if(not(getspellabilityid()==1093681985))thenreturn falseendifreturn true
endfunctionfunction lg4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681985,sf)==1)endfunctionfunction lh4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681985,sf)==2)
endfunctionfunction li4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681985,sf)==3)endfunctionfunction lj4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681985,sf)==4)
endfunctionfunction lk4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681985,sf)==5)endfunctionfunction lm4 takes
nothing returns nothingset sf=getspellabilityunit()if(lg4())thenset tf=3.00else
call donothing()endifif(lh4())thenset tf=4.00elsecall donothing()endif
if(li4())thenset tf=5.00elsecall donothing()endifif(lj4())thenset tf=6.00elsecall
donothing()endifif(lk4())thenset tf=7.00elsecall donothing()endifcall uz(0.20)call
createnunitsatloc(1,1747989314,getowningplayer(sf),xz(getunitloc(sf),50.00,getunit
facing(sf)),getunitfacing(sf))set uf=getlastcreatedunit()call
unitapplytimedlifebj(tf,1112820806,uf)endfunctionfunction ln4 takes nothing
returns nothingset ao=createtrigger()call
triggerregisteranyuniteventbj(ao,event_player_unit_spell_effect)call
triggeraddcondition(ao,condition(function lf4))call triggeraddaction(ao,function
lm4)endfunctionfunction lo4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(mf))==true)endfunctionfunction
lp4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
lq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function lr4 takes nothing returns booleanreturn getbooleanand(lp4(),lq4())
endfunctionfunction ls4 takes nothing returns booleanreturn
getbooleanand(lo4(),lr4())endfunctionfunction lt4 takes nothing returns nothing
call unitdamagetargetbj(mf,getenumunit(),nf,attack_type_chaos,damage_type_normal)
endfunctionfunction lu4 takes nothing returns booleanreturn(pf>=rf)endfunction
function lv4 takes nothing returns booleanreturn(pf>=rf)endfunctionfunction lw4
takes nothing returns booleanreturn(pf>=rf)endfunctionfunction lx4 takes nothing
returns nothingset qf=(qf+15.00)call
setunitpositionloc(of,xz(getunitloc(of),20.00,getunitfacing(of)))call
setunitscalepercent(of,qf,qf,qf)call
forgroupbj(ka(250.00,getunitloc(of),condition(function ls4)),function lt4)set
pf=(pf+20.00)if(lu4())thencall triggerexecute(bo)elsecall donothing()endif
if(lv4())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(lw4())thenreturnelsecall donothing()endifendfunctionfunction ly4 takes nothing
returns nothingset bo=createtrigger()call disabletrigger(bo)call
triggerregistertimereventperiodic(bo,0.03)call triggeraddaction(bo,function lx4)
endfunctionfunction lz4 takes nothing returns nothingcall
issuepointorderlocbj(of,"selfdestruct",getunitloc(of))call removeunit(of)call
resetunitanimation(mf)call triggersleepaction(0.50)call enabletrigger(ao)return
endfunctionfunction la4 takes nothing returns nothingset bo=createtrigger()call
triggeraddaction(bo,function lz4)endfunctionfunction la4 takes nothing returns
booleanif(not(getlearnedskillbj()==1093681738))thenreturn falseendifreturn true
endfunctionfunction lb4 takes nothing returns nothingset wf=getlearningunit()call
enabletrigger(eo)call enabletrigger(co)call enabletrigger(do)endfunctionfunction
lb4 takes nothing returns nothingset co=createtrigger()call disabletrigger(co)call
triggerregisteranyuniteventbj(co,event_player_hero_skill)call
triggeraddcondition(co,condition(function la4))call triggeraddaction(co,function
lb4)endfunctionfunction lc4 takes nothing returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1211118155))th
enreturn falseendifreturn trueendfunctionfunction lc4 takes nothing returns
nothingset bf=trueendfunctionfunction ld4 takes nothing returns nothingset
co=createtrigger()call disabletrigger(co)call
triggerregisterplayerchatevent(co,player(0),"-keep",true)call
triggerregisterplayerchatevent(co,player(1),"-keep",true)call
triggerregisterplayerchatevent(co,player(2),"-keep",true)call
triggerregisterplayerchatevent(co,player(3),"-keep",true)call
triggerregisterplayerchatevent(co,player(4),"-keep",true)call
triggerregisterplayerchatevent(co,player(5),"-keep",true)call
triggerregisterplayerchatevent(co,player(6),"-keep",true)call
triggerregisterplayerchatevent(co,player(7),"-keep",true)call
triggerregisterplayerchatevent(co,player(8),"-keep",true)call
triggerregisterplayerchatevent(co,player(9),"-keep",true)call
triggeraddcondition(co,condition(function lc4))call triggeraddaction(co,function
lc4)endfunctionfunction le4 takes nothing returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1211118155))th
enreturn falseendifreturn trueendfunctionfunction l34 takes nothing returns
nothingset bf=falseendfunctionfunction lf4 takes nothing returns nothingset
do=createtrigger()call disabletrigger(do)call
triggerregisterplayerchatevent(do,player(0),"-release",true)call
triggerregisterplayerchatevent(do,player(1),"-release",true)call
triggerregisterplayerchatevent(do,player(2),"-release",true)call
triggerregisterplayerchatevent(do,player(3),"-release",true)call
triggerregisterplayerchatevent(do,player(4),"-release",true)call
triggerregisterplayerchatevent(do,player(5),"-release",true)call
triggerregisterplayerchatevent(do,player(6),"-release",true)call
triggerregisterplayerchatevent(do,player(7),"-release",true)call
triggerregisterplayerchatevent(do,player(8),"-release",true)call
triggerregisterplayerchatevent(do,player(9),"-release",true)call
triggeraddcondition(do,condition(function le4))call triggeraddaction(do,function
l34)endfunctionfunction lg4 takes nothing returns boolean
if(not(distancebetweenpoints(getunitloc(getspellabilityunit()),getunitloc(wf))<=95
0.00))thenreturn falseendifif(not(getspellabilityunit()!=wf))thenreturn falseendif
if(not(getspellabilityid()!=1098347112))thenreturn falseendif
if(not(getspellabilityid()!=1093678648))thenreturn falseendif
if(not(getspellabilityid()!=1095329647))thenreturn falseendif
if(not(getspellabilityid()!=1093682245))thenreturn falseendif
if(not(getspellabilityid()!=1095329911))thenreturn falseendif
if(not(getspellabilityid()!=1095330156))thenreturn falseendif
if(not(getspellabilityid()!=1093682250))thenreturn falseendif
if(not(getspellabilityid()!=1095328886))thenreturn falseendif
if(not(getspellabilityid()!=1095332727))thenreturn falseendif
if(not(getspellabilityid()!=1095329842))thenreturn falseendif
if(not(getspellabilityid()!=1095331122))thenreturn falseendif
if(not(getspellabilityid()!=1095262582))thenreturn falseendif
if(not(getspellabilityid()!=1095332961))thenreturn falseendif
if(not(getspellabilityid()!=1093677364))thenreturn falseendif
if(not(getspellabilityid()!=1093677362))thenreturn falseendif
if(not(getspellabilityid()!=1093679155))thenreturn falseendif
if(not(getspellabilityid()!=1095328363))thenreturn falseendif
if(not(getspellabilityid()!=1093677366))thenreturn falseendif
if(not(getspellabilityid()!=1093681717))thenreturn falseendif
if(not(getspellabilityid()!=1093679431))thenreturn falseendif
if(not(getspellabilityid()!=1095331949))thenreturn falseendif
if(not(getspellabilityid()!=1093677361))thenreturn falseendif
if(not(getspellabilityid()!=1093677880))thenreturn falseendif
if(not(getspellabilityid()!=1093681496))thenreturn falseendif
if(not(getspellabilityid()!=1095333995))thenreturn falseendif
if(not(getspellabilityid()!=1097888359))thenreturn falseendif
if(not(getspellabilityid()!=1095329402))thenreturn falseendif
if(not(getspellabilityid()!=1093677124))thenreturn falseendif
if(not(getspellabilityid()!=1093678667))thenreturn falseendif
if(not(getspellabilityid()!=1093678665))thenreturn falseendif
if(not(getspellabilityid()!=1093677391))thenreturn falseendif
if(not(getspellabilityid()!=1095328620))thenreturn falseendif
if(not(getspellabilityid()!=1093678411))thenreturn falseendif
if(not(getspellabilityid()!=1095333238))thenreturn falseendif
if(not(getspellabilityid()!=1095332976))thenreturn falseendif
if(not(getspellabilityid()!=1095331121))thenreturn falseendif
if(not(getspellabilityid()!=1095329841))thenreturn falseendif
if(not(getspellabilityid()!=1095332460))thenreturn falseendif
if(not(bf==false))thenreturn falseendif
if(not(getspellabilityid()!=1093678919))thenreturn falseendif
if(not(isunittype(getspellabilityunit(),unit_type_hero)==true))thenreturn false
endifif(not(getspellabilityid()!=1093679439))thenreturn falseendif
if(not(getspellabilityid()!=1095263859))thenreturn falseendif
if(not(getspellabilityid()!=1093678662))thenreturn falseendif
if(not(getspellabilityid()!=1093678932))thenreturn falseendif
if(not(getspellabilityid()!=1093679441))thenreturn falseendif
if(not(getspellabilityid()!=1093678927))thenreturn falseendif
if(not(getspellabilityid()!=1093678408))thenreturn falseendif
if(not(getspellabilityid()!=1093679425))thenreturn falseendif
if(not(getspellabilityid()!=1095069029))thenreturn falseendif
if(not(getspellabilityid()!=1093678917))thenreturn falseendif
if(not(getspellabilityid()!=1093679446))thenreturn falseendif
if(not(getspellabilityid()!=1093678391))thenreturn falseendif
if(not(getspellabilityid()!=1095660655))thenreturn falseendif
if(not(getspellabilityid()!=1093679169))thenreturn falseendif
if(not(getspellabilityid()!=1093681483))thenreturn falseendif
if(not(getspellabilityid()!=1095656562))thenreturn falseendif
if(not(getspellabilityid()!=1095656806))thenreturn falseendif
if(not(getspellabilityid()!=1094937968))thenreturn falseendif
if(not(getspellabilityid()!=1093679154))thenreturn falseendif
if(not(getspellabilityid()!=1093678166))thenreturn falseendif
if(not(getspellabilityid()!=1095726963))thenreturn falseendif
if(not(getspellabilityid()!=1093678135))thenreturn falseendif
if(not(getspellabilityid()!=1094935651))thenreturn falseendif
if(not(getspellabilityid()!=1093678418))thenreturn falseendif
if(not(getspellabilityid()!=1093678412))thenreturn falseendif
if(not(getspellabilityid()!=1093679159))thenreturn falseendif
if(not(getspellabilityid()!=1093677389))thenreturn falseendif
if(not(getspellabilityid()!=1093678901))thenreturn falseendif
if(not(getspellabilityid()!=1093679448))thenreturn falseendif
if(not(getspellabilityid()!=1093677144))thenreturn falseendif
if(not(getspellabilityid()!=1093678918))thenreturn falseendif
if(not(getspellabilityid()!=1093678136))thenreturn falseendif
if(not(getspellabilityid()!=1093678659))thenreturn falseendif
if(not(getspellabilityid()!=1093678419))thenreturn falseendif
if(not(getspellabilityid()!=1093677633))thenreturn falseendif
if(not(getspellabilityid()!=1093677901))thenreturn falseendif
if(not(getspellabilityid()!=1093677896))thenreturn falseendif
if(not(getspellabilityid()!=1093679175))thenreturn falseendif
if(not(getspellabilityid()!=1093679174))thenreturn falseendif
if(not(getspellabilityid()!=1093679172))thenreturn falseendif
if(not(getspellabilityid()!=1093677137))thenreturn falseendif
if(not(getspellabilityid()!=1093678677))thenreturn falseendif
if(not(getspellabilityid()!=1093679173))thenreturn falseendif
if(not(getspellabilityid()!=1093681478))thenreturn falseendif
if(not(getspellabilityid()!=1093677903))thenreturn falseendif
if(not(getspellabilityid()!=1093678145))thenreturn falseendif
if(not(getspellabilityid()!=1093678414))thenreturn falseendif
if(not(getspellabilityid()!=1098344034))thenreturn falseendif
if(not(getspellabilityid()!=1093678390))thenreturn falseendif
if(not(getspellabilityid()!=1096971115))thenreturn falseendif
if(not(getspellabilityid()!=1093677624))thenreturn falseendif
if(not(getspellabilityid()!=1098015026))thenreturn falseendif
if(not(getspellabilityid()!=1093678155))thenreturn falseendif
if(not(getspellabilityid()!=1093677130))thenreturn falseendif
if(not(getspellabilityid()!=1095657058))thenreturn falseendif
if(not(getspellabilityid()!=1093677900))thenreturn falseendif
if(not(getspellabilityid()!=1093678938))thenreturn falseendif
if(not(getspellabilityid()!=1093678416))thenreturn falseendif
if(not(getspellabilityid()!=1093679426))thenreturn falseendif
if(not(getspellabilityid()!=1093678415))thenreturn falseendif
if(not(getspellabilityid()!=1093679190))thenreturn falseendif
if(not(getspellabilityid()!=1095722353))thenreturn falseendif
if(not(getspellabilityid()!=1093678158))thenreturn falseendif
if(not(getspellabilityid()!=1093678417))thenreturn falseendif
if(not(getspellabilityid()!=1097098598))thenreturn falseendif
if(not(getspellabilityid()!=1093679192))thenreturn falseendif
if(not(getspellabilityid()!=1093677872))thenreturn falseendif
if(not(getspellabilityid()!=1093677907))thenreturn falseendif
if(not(getspellabilityid()!=1093677645))thenreturn falseendif
if(not(getspellabilityid()!=1093679413))thenreturn falseendif
if(not(getspellabilityid()!=1098347111))thenreturn falseendif
if(not(getspellabilityid()!=1093679171))thenreturn falseendif
if(not(getspellabilityid()!=1093678925))thenreturn falseendif
if(not(getspellabilityid()!=1093678897))thenreturn falseendif
if(not(getspellabilityid()!=1093677132))thenreturn falseendif
if(not(getspellabilityid()!=1095656306))thenreturn falseendif
if(not(getspellabilityid()!=1093679436))thenreturn falseendif
if(not(getspellabilityid()!=1093677646))thenreturn falseendif
if(not(getspellabilityid()!=1093678678))thenreturn falseendif
if(not(getspellabilityid()!=1093679416))thenreturn falseendif
if(not(getspellabilityid()!=1094939494))thenreturn falseendif
if(not(getspellabilityid()!=1093678133))thenreturn falseendif
if(not(getspellabilityid()!=1093679410))thenreturn falseendif
if(not(getspellabilityid()!=1093678935))thenreturn falseendif
if(not(getspellabilityid()!=1097036393))thenreturn falseendif
if(not(getspellabilityid()!=1093679191))thenreturn falseendif
if(not(getspellabilityid()!=1093679183))thenreturn
falseendifif(not(getspellabilityid()!=1093678916))thenreturn falseendif
if(not(getspellabilityid()!=1093678409))thenreturn falseendif
if(not(getspellabilityid()!=1093681714))thenreturn falseendif
if(not(getspellabilityid()!=1093681489))thenreturn falseendif
if(not(getspellabilityid()!=1093681487))thenreturn falseendif
if(not(getspellabilityid()!=1094939247))thenreturn falseendif
if(not(getspellabilityid()!=1093679449))thenreturn falseendifreturn true
endfunctionfunction l64 takes nothing returns booleanreturn(af==1095268197)
endfunctionfunction lh4 takes nothing returns booleanreturn(af==1093677876)
endfunctionfunction li4 takes nothing returns booleanreturn(af==1095726955)
endfunctionfunction ll4 takes nothing returns booleanreturn(af==1094935148)
endfunctionfunction l14 takes nothing returns booleanreturn(af==1093678386)
endfunctionfunction lj4 takes nothing returns booleanreturn(af==1095660399)
endfunctionfunction lk4 takes nothing returns booleanreturn(af==1095660404)
endfunctionfunction ll4 takes nothing returns booleanreturn(af==1095724393)
endfunctionfunction lm4 takes nothing returns booleanreturn(af==1093677652)
endfunctionfunction ln4 takes nothing returns booleanreturn(af==1095721836)
endfunctionfunction lo4 takes nothing returns booleanreturn(af==1093681493)
endfunctionfunction l04 takes nothing returns booleanreturn(af==1096115042)
endfunctionfunction lp4 takes nothing returns booleanreturn(af==1095069026)
endfunctionfunction lq4 takes nothing returns booleanreturn(af==1095658866)
endfunctionfunction lr4 takes nothing returns booleanreturn(af==1095658867)
endfunctionfunction ls4 takes nothing returns booleanreturn(af==1093678151)
endfunctionfunction l54 takes nothing returns booleanreturn(af==1095264354)
endfunctionfunction lt4 takes nothing returns booleanreturn(af==1093678170)
endfunctionfunction lu4 takes nothing returns booleanreturn(af==1093679409)
endfunctionfunction lv4 takes nothing returns booleanreturn(af==1097035385)
endfunctionfunction lw4 takes nothing returns booleanreturn(af==1093679412)
endfunctionfunction lx4 takes nothing returns booleanreturn(af==1093678670)
endfunctionfunction ly4 takes nothing returns booleanreturn(af==1094935142)
endfunctionfunction l24 takes nothing returns booleanreturn(af==1095655778)
endfunctionfunction lz4 takes nothing returns booleanreturn(af==1095263347)
endfunctionfunction l_4 takes nothing returns booleanreturn(af==1093677397)
endfunctionfunction j44 takes nothing returns booleanreturn(af==1095660386)
endfunctionfunction j74 takes nothing returns booleanreturn(af==1096115809)
endfunctionfunction j84 takes nothing returns booleanreturn(af==1093681476)
endfunctionfunction j94 takes nothing returns booleanreturn(af==1093679447)
endfunctionfunction jd4 takes nothing returns booleanreturn(af==1093678920)
endfunctionfunction je4 takes nothing returns booleanreturn(af==1093677651)
endfunctionfunction jf4 takes nothing returns booleanreturn(af==1094936941)
endfunctionfunction jg4 takes nothing returns booleanreturn(af==1093678150)
endfunctionfunction jh4 takes nothing returns booleanreturn(af==1095725943)
endfunctionfunction ji4 takes nothing returns booleanreturn(af==1095657068)
endfunctionfunction jj4 takes nothing returns booleanreturn(af==1093678153)
endfunctionfunction jk4 takes nothing returns booleanreturn(af==1093677642)
endfunctionfunction jm4 takes nothing returns booleanreturn(af==1093679153)
endfunctionfunction jn4 takes nothing returns booleanreturn(af==1093678928)
endfunctionfunction jo4 takes nothing returns booleanreturn(af==1095725928)
endfunctionfunction jp4 takes nothing returns booleanreturn(af==1093677895)
endfunctionfunction jq4 takes nothing returns booleanreturn(af==1093677658)
endfunctionfunction jr4 takes nothing returns booleanreturn(af==1093681712)
endfunctionfunction js4 takes nothing returns booleanreturn(af==1093678934)
endfunctionfunction jt4 takes nothing returns booleanreturn(af==1093677125)
endfunctionfunction ju4 takes nothing returns booleanreturn(af==1093678131)
endfunctionfunction jv4 takes nothing returns booleanreturn(af==1093678134)
endfunctionfunction jw4 takes nothing returns booleanreturn(af==1094939447)
endfunctionfunction jx4 takes nothing returns booleanreturn(af==1093678132)
endfunctionfunction jy4 takes nothing returns booleanreturn(af==1093677875)
endfunctionfunction jz4 takes nothing returns booleanreturn(af==1096115299)
endfunctionfunction ja4 takes nothing returns booleanreturn(af==1093678403)
endfunctionfunction ja4 takes nothing returns booleanreturn(af==1095660393)
endfunctionfunction jb4 takes nothing returns booleanreturn(af==1094936172)
endfunctionfunction jb4 takes nothing returns booleanreturn(af==1095070833)
endfunctionfunction jc4 takes nothing returns booleanreturn(af==1093678933)
endfunctionfunction jc4 takes nothing returns booleanreturn(af==1093678424)
endfunctionfunction jd4 takes nothing returns booleanreturn(af==1095723128)
endfunctionfunction je4 takes nothing returns booleanreturn(af==1095267426)
endfunctionfunction j34 takes nothing returns booleanreturn(af==1093678164)
endfunctionfunction jf4 takes nothing returns booleanreturn(af==1095655798)
endfunctionfunction jg4 takes nothing returns booleanreturn(af==1093678915)
endfunctionfunction j64 takes nothing returns booleanreturn(af==1093678914)
endfunctionfunction jh4 takes nothing returns booleanreturn(af==1093678904)
endfunctionfunction ji4 takes nothing returns booleanreturn(af==1093678903)
endfunctionfunction jl4 takes nothing returns booleanreturn(af==1093678913)
endfunctionfunction j14 takes nothing returns booleanreturn(af==1093678921)
endfunctionfunction jj4 takes nothing returns booleanreturn(af==1093678163)
endfunctionfunction jk4 takes nothing returns booleanreturn(af==1097166450)
endfunctionfunction jl4 takes nothing returns booleanreturn(af==1096116589)
endfunctionfunction jm4 takes nothing returns booleanreturn(af==1093678137)
endfunctionfunction jn4 takes nothing returns booleanreturn(af==1097690722)
endfunctionfunction jo4 takes nothing returns booleanreturn(af==1093678402)
endfunctionfunction j04 takes nothing returns booleanreturn(af==1093677126)
endfunctionfunction jp4 takes nothing returns booleanreturn(af==1095660653)
endfunctionfunction jq4 takes nothing returns booleanreturn(af==1098019703)
endfunctionfunction jr4 takes nothing returns booleanreturn(af==1095723127)
endfunctionfunction js4 takes nothing returns booleanreturn(af==1093677108)
endfunctionfunction j54 takes nothing returns booleanreturn(af==1093677879)
endfunctionfunction jt4 takes nothing returns booleanreturn(af==1093677143)
endfunctionfunction ju4 takes nothing returns booleanreturn(af==1094939758)
endfunctionfunction jv4 takes nothing returns booleanreturn(af==1093677142)
endfunctionfunction jw4 takes nothing returns booleanreturn(af==1097099635)
endfunctionfunction jx4 takes nothing returns booleanreturn(af==1093677127)
endfunctionfunction jy4 takes nothing returns booleanreturn(af==1093677400)
endfunctionfunction j24 takes nothing returns booleanreturn(af==1094940517)
endfunctionfunction jz4 takes nothing returns booleanreturn(af==1093677912)
endfunctionfunction j_4 takes nothing returns booleanreturn(af==1093677136)
endfunctionfunction k44 takes nothing returns booleanreturn(af==1095656307)
endfunctionfunction k74 takes nothing returns booleanreturn(af==1093677131)
endfunctionfunction k84 takes nothing returns booleanreturn(af==1094935139)
endfunctionfunction k94 takes nothing returns booleanreturn(af==1095656038)
endfunctionfunction kd4 takes nothing returns booleanreturn(af==1095066220)
endfunctionfunction ke4 takes nothing returns booleanreturn(af==1093678130)
endfunctionfunction kf4 takes nothing returns booleanreturn(af==1095066994)
endfunctionfunction kg4 takes nothing returns booleanreturn(af==1097036403)
endfunctionfunction kh4 takes nothing returns booleanreturn(af==1095726967)
endfunctionfunction ki4 takes nothing returns booleanreturn(af==1093677129)
endfunctionfunction kj4 takes nothing returns booleanreturn(af==1093677873)
endfunctionfunction kk4 takes nothing returns booleanreturn(af==1096116590)
endfunctionfunction km4 takes nothing returns booleanreturn(af==1095658605)
endfunctionfunction kn4 takes nothing returns booleanreturn(af==1095660407)
endfunctionfunction ko4 takes nothing returns booleanreturn(af==1098019687)
endfunctionfunction kp4 takes nothing returns booleanreturn(af==1093679180)
endfunctionfunction kq4 takes nothing returns booleanreturn(af==1093677128)
endfunctionfunction kr4 takes nothing returns booleanreturn(af==1093678926)
endfunctionfunction ks4 takes nothing returns booleanreturn(af==1093681713)
endfunctionfunction kt4 takes nothing returns booleanreturn(af==1098343778)
endfunctionfunction ku4 takes nothing returns booleanreturn(af==1095263841)
endfunctionfunction kv4 takes nothing returns booleanreturn(af==1094936162)
endfunctionfunction kw4 takes nothing returns booleanreturn(af==1095067243)
endfunctionfunction kx4 takes nothing returns booleanreturn(af==1093677402)
endfunctionfunction ky4 takes nothing returns booleanreturn(af==1095263346)
endfunctionfunction kz4 takes nothing returns booleanreturn(af==1093679442)
endfunctionfunction ka4 takes nothing returns booleanreturn(af==1093679176)
endfunctionfunction ka4 takes nothing returns booleanreturn(af==1093679414)
endfunctionfunction kb4 takes nothing returns booleanreturn(af==1093677135)
endfunctionfunction kb4 takes nothing returns booleanreturn(af==1093678401)
endfunctionfunction kc4 takes nothing returns booleanreturn(af==1093678391)
endfunctionfunction kc4 takes nothing returns booleanreturn(af==1093677913)
endfunctionfunction
kd4 takes nothing returns booleanreturn(af==1097365348)endfunctionfunction ke4
takes nothing returns booleanreturn(af==1093678388)endfunctionfunction k34 takes
nothing returns booleanreturn(af==1093678129)endfunctionfunction kf4 takes nothing
returns booleanreturn(af==1095265652)endfunctionfunction kg4 takes nothing returns
booleanreturn(af==1095660392)endfunctionfunction k64 takes nothing returns boolean
return(af==1093677145)endfunctionfunction kh4 takes nothing returns boolean
return(af==1093678384)endfunctionfunction ki4 takes nothing returns boolean
return(af==1097688684)endfunctionfunction kl4 takes nothing returns boolean
return(af==1093677363)endfunctionfunction k14 takes nothing returns boolean
return(af==1095660409)endfunctionfunction kj4 takes nothing returns boolean
return(af==1093679160)endfunctionfunction kk4 takes nothing returns boolean
return(af==1093679161)endfunctionfunction kl4 takes nothing returns boolean
return(af==1093677914)endfunctionfunction km4 takes nothing returns boolean
return(af==1093681498)endfunctionfunction kn4 takes nothing returns boolean
return(af==1093681473)endfunctionfunction ko4 takes nothing returns boolean
return(af==1093681465)endfunctionfunction k04 takes nothing returns boolean
return(af==1093681475)endfunctionfunction kp4 takes nothing returns boolean
return(af==1093678167)endfunctionfunction kq4 takes nothing returns boolean
return(af==1093678657)endfunctionfunction kr4 takes nothing returns boolean
return(af==1093678924)endfunctionfunction ks4 takes nothing returns boolean
return(af==1093678930)endfunctionfunction k54 takes nothing returns boolean
return(af==1094937715)endfunctionfunction kt4 takes nothing returns boolean
return(af==1093678161)endfunctionfunction ku4 takes nothing returns boolean
return(af==1093678162)endfunctionfunction kv4 takes nothing returns boolean
return(af==1095657588)endfunctionfunction kw4 takes nothing returns boolean
return(af==1093678661)endfunctionfunction kx4 takes nothing returns boolean
return(af==1093677106)endfunctionfunction ky4 takes nothing returns boolean
return(af==1095262830)endfunctionfunction k24 takes nothing returns boolean
return(af==1093677105)endfunctionfunction kz4 takes nothing returns boolean
return(af==1093677625)endfunctionfunction k_4 takes nothing returns boolean
return(af==1095656814)endfunctionfunction l44 takes nothing returns boolean
return(af==1095660391)endfunctionfunction l74 takes nothing returns boolean
return(af==1093677890)endfunctionfunction l84 takes nothing returns boolean
return(af==1093677889)endfunctionfunction l94 takes nothing returns boolean
return(af==1093677881)endfunctionfunction ld4 takes nothing returns boolean
return(af==1093677111)endfunctionfunction le4 takes nothing returns boolean
return(af==1093678393)endfunctionfunction lf4 takes nothing returns boolean
return(af==1093679411)endfunctionfunction lg4 takes nothing returns boolean
return(af==1094939497)endfunctionfunction lh4 takes nothing returns boolean
return(af==1093678385)endfunctionfunction li4 takes nothing returns boolean
return(af==1093677636)endfunctionfunction lj4 takes nothing returns boolean
return(af==1095070568)endfunctionfunction lk4 takes nothing returns boolean
return(af==1098213478)endfunctionfunction lm4 takes nothing returns boolean
return(af==1098015081)endfunctionfunction ln4 takes nothing returns boolean
return(af==1095656296)endfunctionfunction lo4 takes nothing returns boolean
return(af==1093678156)endfunctionfunction lp4 takes nothing returns boolean
return(af==1095726898)endfunctionfunction lq4 takes nothing returns boolean
return(af==1093678128)endfunctionfunction lr4 takes nothing returns boolean
return(af==1093677647)endfunctionfunction ls4 takes nothing returns boolean
return(af==1093678923)endfunctionfunction lt4 takes nothing returns boolean
return(af==1093678423)endfunctionfunction lu4 takes nothing returns boolean
return(af==1094939496)endfunctionfunction lv4 takes nothing returns boolean
return(af==1093678905)endfunctionfunction lw4 takes nothing returns boolean
return(af==1093681474)endfunctionfunction lx4 takes nothing returns boolean
return(af==1095725874)endfunctionfunction ly4 takes nothing returns boolean
return(af==1093681486)endfunctionfunction lz4 takes nothing returns boolean
return(af==1095068013)endfunctionfunction la4 takes nothing returns boolean
return(af==1097885490)endfunctionfunction la4 takes nothing returns boolean
return(af==1093679184)endfunctionfunction lb4 takes nothing returns boolean
return(af==1098019696)endfunctionfunction lb4 takes nothing returns boolean
return(af==1096115300)endfunctionfunction lc4 takes nothing returns boolean
return(af==1093681479)endfunctionfunction lc4 takes nothing returns boolean
return(af==1093679182)endfunctionfunction ld4 takes nothing returns boolean
return(af==1094936181)endfunctionfunction le4 takes nothing returns boolean
return(af==1094935394)endfunctionfunction l34 takes nothing returns boolean
return(af==1093678147)endfunctionfunction lf4 takes nothing returns boolean
return(af==1093678658)endfunctionfunction lg4 takes nothing returns boolean
return(af==1096117363)endfunctionfunction l64 takes nothing returns boolean
return(af==1093678931)endfunctionfunction lh4 takes nothing returns boolean
return(af==1093677897)endfunctionfunction li4 takes nothing returns boolean
return(af==1097033844)endfunctionfunction ll4 takes nothing returns boolean
return(af==1093677138)endfunctionfunction l14 takes nothing returns boolean
return(af==1093677648)endfunctionfunction lj4 takes nothing returns boolean
return(af==1093677617)endfunctionfunction lk4 takes nothing returns boolean
return(af==1093679408)endfunctionfunction ll4 takes nothing returns boolean
return(af==1093677388)endfunctionfunction lm4 takes nothing returns boolean
return(af==1093678649)endfunctionfunction ln4 takes nothing returns boolean
return(af==1093679438)endfunctionfunction lo4 takes nothing returns boolean
return(af==1093679440)endfunctionfunction l04 takes nothing returns boolean
return(af==1098018657)endfunctionfunction lp4 takes nothing returns boolean
return(af==1095267427)endfunctionfunction lq4 takes nothing returns boolean
return(af==1094935147)endfunctionfunction lr4 takes nothing returns boolean
return(af==1093677910)endfunctionfunction ls4 takes nothing returns boolean
return(af==1095656294)endfunctionfunction l54 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call unitremoveabilitybj(af,wf)set
af=getspellabilityid()call unitaddabilitybj(af,wf)if(l64())thencall
setunitabilitylevelswapped(1095268197,wf,5)elsecall donothing()endifif(lh4())then
call setunitabilitylevelswapped(1093677876,wf,5)elsecall donothing()endif
if(li4())thencall setunitabilitylevelswapped(1095726955,wf,5)elsecall donothing()
endifif(ll4())thencall setunitabilitylevelswapped(1094935148,wf,5)elsecall
donothing()endifif(l14())thencall setunitabilitylevelswapped(1093678386,wf,5)else
call donothing()endifif(lj4())thencall setunitabilitylevelswapped(1095660399,wf,5)
elsecall donothing()endifif(lk4())thencall
setunitabilitylevelswapped(1095660404,wf,5)elsecall donothing()endifif(ll4())then
call setunitabilitylevelswapped(1095724393,wf,3)elsecall donothing()endif
if(lm4())thencall setunitabilitylevelswapped(1093677652,wf,3)elsecall donothing()
endifif(ln4())thencall setunitabilitylevelswapped(1095721836,wf,5)elsecall
donothing()endifif(lo4())thencall setunitabilitylevelswapped(1093681493,wf,5)else
call donothing()endifif(l04())thencall setunitabilitylevelswapped(1096115042,wf,5)
elsecall donothing()endifif(lp4())thencall
setunitabilitylevelswapped(1095069026,wf,5)elsecall donothing()endifif(lq4())then
call setunitabilitylevelswapped(1095658866,wf,5)elsecall donothing()endif
if(lr4())thencall setunitabilitylevelswapped(1095658867,wf,5)elsecall donothing()
endifif(ls4())thencall setunitabilitylevelswapped(1093678151,wf,5)elsecall
donothing()endifif(l54())thencall setunitabilitylevelswapped(1095264354,wf,5)else
call donothing()endifif(lt4())thencall setunitabilitylevelswapped(1093678170,wf,5)
elsecall donothing()endifif(lu4())thencall
setunitabilitylevelswapped(1093679409,wf,5)elsecall donothing()endifif(lv4())then
call setunitabilitylevelswapped(1097035385,wf,5)elsecall donothing()endif
if(lw4())thencall setunitabilitylevelswapped(1093679412,wf,5)elsecall donothing()
endifif(lx4())thencall setunitabilitylevelswapped(1093678670,wf,5)elsecall
donothing()endifif(ly4())thencall setunitabilitylevelswapped(1094935142,wf,5)else
call donothing()endifif(l24())thencall setunitabilitylevelswapped(1095655778,wf,3)
elsecall donothing()endifif(lz4())thencall
setunitabilitylevelswapped(1095263347,wf,3)elsecall donothing()endifif(l_4())then
call setunitabilitylevelswapped(1093677397,wf,5)elsecall donothing()endif
if(j44())thencall setunitabilitylevelswapped(1095660386,wf,5)elsecall donothing()
endifif(j74())thencall setunitabilitylevelswapped(1096115809,wf,5)elsecall
donothing()endifif(j84())thencall setunitabilitylevelswapped(1093681476,wf,5)else
call donothing()endifif(j94())thencall setunitabilitylevelswapped(1093679447,wf,5)
elsecall donothing()endifif(jd4())thencall
setunitabilitylevelswapped(1093678920,wf,5)elsecall donothing()endifif(je4())then
call setunitabilitylevelswapped(1093677651,wf,5)elsecall donothing()endif
if(jf4())thencall setunitabilitylevelswapped(1094936941,wf,5)elsecall donothing()
endifif(jg4())thencall setunitabilitylevelswapped(1093678150,wf,5)elsecall
donothing()endifif(jh4())thencall setunitabilitylevelswapped(1095725943,wf,5)else
call donothing()endifif(ji4())thencall
setunitabilitylevelswapped(1095657068,wf,5)elsecall donothing()endifif(jj4())then
call setunitabilitylevelswapped(1093678153,wf,5)elsecall donothing()endif
if(jk4())thencall setunitabilitylevelswapped(1093677642,wf,5)elsecall donothing()
endifif(jm4())thencall setunitabilitylevelswapped(1093679153,wf,5)elsecall
donothing()endifif(jn4())thencall setunitabilitylevelswapped(1093678928,wf,5)else
call donothing()endifif(jo4())thencall setunitabilitylevelswapped(1095725928,wf,5)
elsecall donothing()endifif(jp4())thencall
setunitabilitylevelswapped(1093677895,wf,5)elsecall donothing()endifif(jq4())then
call setunitabilitylevelswapped(1093677658,wf,5)elsecall donothing()endif
if(jr4())thencall setunitabilitylevelswapped(1093681712,wf,5)elsecall donothing()
endifif(js4())thencall setunitabilitylevelswapped(1093678934,wf,5)elsecall
donothing()endifif(jt4())thencall setunitabilitylevelswapped(1093677125,wf,5)else
call donothing()endifif(ju4())thencall setunitabilitylevelswapped(1093678131,wf,5)
elsecall donothing()endifif(jv4())thencall
setunitabilitylevelswapped(1093678134,wf,5)elsecall donothing()endifif(jw4())then
call setunitabilitylevelswapped(1094939447,wf,5)elsecall donothing()endif
if(jx4())thencall setunitabilitylevelswapped(1093678132,wf,5)elsecall donothing()
endifif(jy4())thencall setunitabilitylevelswapped(1093677875,wf,3)elsecall
donothing()endifif(jz4())thencall setunitabilitylevelswapped(1096115299,wf,5)else
call donothing()endifif(ja4())thencall setunitabilitylevelswapped(1093678403,wf,5)
elsecall donothing()endifif(ja4())thencall
setunitabilitylevelswapped(1095660393,wf,5)elsecall donothing()endifif(jb4())then
call setunitabilitylevelswapped(1094936172,wf,5)elsecall donothing()endif
if(jb4())thencall setunitabilitylevelswapped(1095070833,wf,5)elsecall donothing()
endifif(jc4())thencall setunitabilitylevelswapped(1093678933,wf,5)elsecall
donothing()endifif(jc4())thencall setunitabilitylevelswapped(1093678424,wf,5)else
call donothing()endifif(jd4())thencall setunitabilitylevelswapped(1095723128,wf,5)
elsecall donothing()endifif(je4())thencall
setunitabilitylevelswapped(1095267426,wf,5)elsecall donothing()endifif(j34())then
call setunitabilitylevelswapped(1093678164,wf,5)elsecall donothing()endif
if(jf4())thencall setunitabilitylevelswapped(1095655798,wf,3)elsecall donothing()
endifif(jg4())thencall setunitabilitylevelswapped(1093678915,wf,5)elsecall
donothing()endifif(j64())thencall setunitabilitylevelswapped(1093678914,wf,5)else
call donothing()endifif(jh4())thencall setunitabilitylevelswapped(1093678904,wf,5)
elsecall donothing()endifif(ji4())thencall
setunitabilitylevelswapped(1093678903,wf,5)elsecall donothing()endifif(jl4())then
call setunitabilitylevelswapped(1093678913,wf,5)elsecall donothing()endif
if(j14())thencall setunitabilitylevelswapped(1093678921,wf,5)elsecall donothing()
endifif(jj4())thencall setunitabilitylevelswapped(1093678163,wf,5)elsecall
donothing()endifif(jk4())thencall setunitabilitylevelswapped(1097166450,wf,5)else
call donothing()endifif(jl4())thencall setunitabilitylevelswapped(1096116589,wf,5)
elsecall donothing()endifif(jm4())thencall
setunitabilitylevelswapped(1093678137,wf,5)elsecall donothing()endifif(jn4())then
call setunitabilitylevelswapped(1097690722,wf,5)elsecall donothing()endif
if(jo4())thencall setunitabilitylevelswapped(1093678402,wf,5)elsecall donothing()
endifif(j04())thencall setunitabilitylevelswapped(1093677126,wf,5)elsecall
donothing()endifif(jp4())thencall setunitabilitylevelswapped(1095660653,wf,3)else
call donothing()endifif(jq4())thencall setunitabilitylevelswapped(1098019703,wf,5)
elsecall donothing()endifif(jr4())thencall
setunitabilitylevelswapped(1095723127,wf,5)elsecall donothing()endifif(js4())then
call setunitabilitylevelswapped(1093677108,wf,5)elsecall donothing()endif
if(j54())thencall setunitabilitylevelswapped(1093677879,wf,5)elsecall donothing()
endifif(jt4())thencall setunitabilitylevelswapped(1093677143,wf,5)elsecall
donothing()endifif(ju4())thencall setunitabilitylevelswapped(1094939758,wf,5)else
call donothing()endifif(jv4())thencall setunitabilitylevelswapped(1093677142,wf,5)
elsecall donothing()endifif(jw4())thencall
setunitabilitylevelswapped(1097099635,wf,5)elsecall donothing()endifif(jx4())then
call setunitabilitylevelswapped(1093677127,wf,5)elsecall donothing()endif
if(jy4())thencall setunitabilitylevelswapped(1093677400,wf,5)elsecall donothing()
endifif(j24())thencall setunitabilitylevelswapped(1094940517,wf,5)elsecall
donothing()endifif(jz4())thencall setunitabilitylevelswapped(1093677912,wf,5)else
call donothing()endifif(j_4())thencall setunitabilitylevelswapped(1093677136,wf,5)
elsecall donothing()endifif(k44())thencall
setunitabilitylevelswapped(1095656307,wf,5)elsecall donothing()endifif(k74())then
call setunitabilitylevelswapped(1093677131,wf,5)elsecall donothing()endif
if(k84())thencall setunitabilitylevelswapped(1094935139,wf,5)elsecall donothing()
endifif(k94())thencall setunitabilitylevelswapped(1095656038,wf,5)elsecall
donothing()endifif(kd4())thencall setunitabilitylevelswapped(1095066220,wf,5)else
call donothing()endifif(ke4())thencall setunitabilitylevelswapped(1093678130,wf,5)
elsecall donothing()endifif(kf4())thencall
setunitabilitylevelswapped(1095066994,wf,5)elsecall donothing()endifif(kg4())then
call setunitabilitylevelswapped(1097036403,wf,5)elsecall donothing()endif
if(kh4())thencall setunitabilitylevelswapped(1095726967,wf,5)elsecall donothing()
endifif(ki4())thencall setunitabilitylevelswapped(1093677129,wf,5)elsecall
donothing()endifif(kj4())thencall setunitabilitylevelswapped(1093677873,wf,5)else
call donothing()endifif(kk4())thencall setunitabilitylevelswapped(1096116590,wf,3)
elsecall donothing()endifif(km4())thencall
setunitabilitylevelswapped(1095658605,wf,5)elsecall donothing()endifif(kn4())then
call setunitabilitylevelswapped(1095660407,wf,3)elsecall donothing()endif
if(ko4())thencall setunitabilitylevelswapped(1098019687,wf,3)elsecall donothing()
endifif(kp4())thencall setunitabilitylevelswapped(1093679180,wf,3)elsecall
donothing()endifif(kq4())thencall setunitabilitylevelswapped(1093677128,wf,5)else
call donothing()endifif(kr4())thencall setunitabilitylevelswapped(1093678926,wf,5)
elsecall donothing()endifif(ks4())thencall
setunitabilitylevelswapped(1093681713,wf,5)elsecall donothing()endifif(kt4())then
call setunitabilitylevelswapped(1098343778,wf,5)elsecall donothing()endif
if(ku4())thencall setunitabilitylevelswapped(1095263841,wf,5)elsecall donothing()
endifif(kv4())thencall setunitabilitylevelswapped(1094936162,wf,3)elsecall
donothing()endifif(kw4())thencall setunitabilitylevelswapped(1095067243,wf,5)else
call donothing()endifif(kx4())thencall setunitabilitylevelswapped(1093677402,wf,5)
elsecall donothing()endifif(ky4())thencall
setunitabilitylevelswapped(1095263346,wf,5)elsecall donothing()endifif(kz4())then
call setunitabilitylevelswapped(1093679442,wf,5)elsecall donothing()endif
if(ka4())thencall setunitabilitylevelswapped(1093679176,wf,5)elsecall donothing()
endifif(ka4())thencall setunitabilitylevelswapped(1093679414,wf,5)elsecall
donothing()endifif(kb4())thencall setunitabilitylevelswapped(1093677135,wf,5)else
call donothing()endifif(kb4())thencall setunitabilitylevelswapped(1093678401,wf,5)
elsecall donothing()endifif(kc4())thencall
setunitabilitylevelswapped(1093678391,wf,5)elsecall donothing()endifif(kc4())then
call setunitabilitylevelswapped(1093677913,wf,5)elsecall donothing()endif
if(kd4())thencall setunitabilitylevelswapped(1097365348,wf,5)elsecall donothing()
endifif(ke4())thencall setunitabilitylevelswapped(1093678388,wf,5)elsecall
donothing()endifif(k34())thencall setunitabilitylevelswapped(1093678129,wf,5)else
call donothing()endifif(kf4())thencall setunitabilitylevelswapped(1095265652,wf,5)
elsecall donothing()endifif(kg4())thencall
setunitabilitylevelswapped(1095660392,wf,5)elsecall donothing()endifif(k64())then
call setunitabilitylevelswapped(1093677145,wf,5)elsecall donothing()endif
if(kh4())thencall setunitabilitylevelswapped(1093678384,wf,5)elsecall donothing()
endifif(ki4())thencall setunitabilitylevelswapped(1097688684,wf,5)elsecall
donothing()endifif(kl4())thencall setunitabilitylevelswapped(1093677363,wf,5)else
call donothing()endifif(k14())thencall setunitabilitylevelswapped(1095660409,wf,5)
elsecall donothing()endifif(kj4())thencall
setunitabilitylevelswapped(1093679160,wf,5)elsecall donothing()endifif(kk4())then
call setunitabilitylevelswapped(1093679161,wf,5)elsecall donothing()endif
if(kl4())thencall setunitabilitylevelswapped(1093677914,wf,5)elsecall donothing()
endifif(km4())thencall setunitabilitylevelswapped(1093681498,wf,5)elsecall
donothing()endifif(kn4())thencall setunitabilitylevelswapped(1093681473,wf,5)else
call donothing()endifif(ko4())thencall setunitabilitylevelswapped(1093681465,wf,5)
elsecall donothing()endifif(k04())thencall
setunitabilitylevelswapped(1093681475,wf,5)elsecall donothing()endifif(kp4())then
call setunitabilitylevelswapped(1093678167,wf,5)elsecall donothing()endif
if(kq4())thencall setunitabilitylevelswapped(1093678657,wf,5)elsecall donothing()
endifif(kr4())thencall setunitabilitylevelswapped(1093678924,wf,3)elsecall
donothing()endifif(ks4())thencall setunitabilitylevelswapped(1093678930,wf,5)else
call donothing()endifif(k54())thencall setunitabilitylevelswapped(1094937715,wf,5)
elsecall donothing()endifif(kt4())thencall
setunitabilitylevelswapped(1093678161,wf,5)elsecall donothing()endifif(ku4())then
call
setunitabilitylevelswapped(1093678162,wf,5)elsecall donothing()endifif(kv4())then
call setunitabilitylevelswapped(1095657588,wf,3)elsecall donothing()endif
if(kw4())thencall setunitabilitylevelswapped(1093678661,wf,5)elsecall donothing()
endifif(kx4())thencall setunitabilitylevelswapped(1093677106,wf,5)elsecall
donothing()endifif(ky4())thencall setunitabilitylevelswapped(1095262830,wf,5)else
call donothing()endifif(k24())thencall setunitabilitylevelswapped(1093677105,wf,5)
elsecall donothing()endifif(kz4())thencall
setunitabilitylevelswapped(1093677625,wf,5)elsecall donothing()endifif(k_4())then
call setunitabilitylevelswapped(1095656814,wf,5)elsecall donothing()endif
if(l44())thencall setunitabilitylevelswapped(1095660391,wf,5)elsecall donothing()
endifif(l74())thencall setunitabilitylevelswapped(1093677890,wf,3)elsecall
donothing()endifif(l84())thencall setunitabilitylevelswapped(1093677889,wf,5)else
call donothing()endifif(l94())thencall setunitabilitylevelswapped(1093677881,wf,5)
elsecall donothing()endifif(ld4())thencall
setunitabilitylevelswapped(1093677111,wf,5)elsecall donothing()endifif(le4())then
call setunitabilitylevelswapped(1093678393,wf,5)elsecall donothing()endif
if(lf4())thencall setunitabilitylevelswapped(1093679411,wf,5)elsecall donothing()
endifif(lg4())thencall setunitabilitylevelswapped(1094939497,wf,5)elsecall
donothing()endifif(lh4())thencall setunitabilitylevelswapped(1093678385,wf,5)else
call donothing()endifif(li4())thencall setunitabilitylevelswapped(1093677636,wf,5)
elsecall donothing()endifif(lj4())thencall
setunitabilitylevelswapped(1095070568,wf,5)elsecall donothing()endifif(lk4())then
call setunitabilitylevelswapped(1098213478,wf,5)elsecall donothing()endif
if(lm4())thencall setunitabilitylevelswapped(1098015081,wf,5)elsecall donothing()
endifif(ln4())thencall setunitabilitylevelswapped(1095656296,wf,5)elsecall
donothing()endifif(lo4())thencall setunitabilitylevelswapped(1093678156,wf,5)else
call donothing()endifif(lp4())thencall setunitabilitylevelswapped(1095726898,wf,5)
elsecall donothing()endifif(lq4())thencall
setunitabilitylevelswapped(1093678128,wf,5)elsecall donothing()endifif(lr4())then
call setunitabilitylevelswapped(1093677647,wf,5)elsecall donothing()endif
if(ls4())thencall setunitabilitylevelswapped(1093678923,wf,5)elsecall donothing()
endifif(lt4())thencall setunitabilitylevelswapped(1093678423,wf,5)elsecall
donothing()endifif(lu4())thencall setunitabilitylevelswapped(1094939496,wf,5)else
call donothing()endifif(lv4())thencall setunitabilitylevelswapped(1093678905,wf,5)
elsecall donothing()endifif(lw4())thencall
setunitabilitylevelswapped(1093681474,wf,5)elsecall donothing()endifif(lx4())then
call setunitabilitylevelswapped(1095725874,wf,5)elsecall donothing()endif
if(ly4())thencall setunitabilitylevelswapped(1093681486,wf,5)elsecall donothing()
endifif(lz4())thencall setunitabilitylevelswapped(1095068013,wf,5)elsecall
donothing()endifif(la4())thencall setunitabilitylevelswapped(1097885490,wf,5)else
call donothing()endifif(la4())thencall setunitabilitylevelswapped(1093679184,wf,5)
elsecall donothing()endifif(lb4())thencall
setunitabilitylevelswapped(1098019696,wf,3)elsecall donothing()endifif(lb4())then
call setunitabilitylevelswapped(1096115300,wf,3)elsecall donothing()endif
if(lc4())thencall setunitabilitylevelswapped(1093681479,wf,5)elsecall donothing()
endifif(lc4())thencall setunitabilitylevelswapped(1093679182,wf,5)elsecall
donothing()endifif(ld4())thencall setunitabilitylevelswapped(1094936181,wf,5)else
call donothing()endifif(le4())thencall setunitabilitylevelswapped(1094935394,wf,5)
elsecall donothing()endifif(l34())thencall
setunitabilitylevelswapped(1093678147,wf,5)elsecall donothing()endifif(lf4())then
call setunitabilitylevelswapped(1093678658,wf,5)elsecall donothing()endif
if(lg4())thencall setunitabilitylevelswapped(1096117363,wf,5)elsecall donothing()
endifif(l64())thencall setunitabilitylevelswapped(1093678931,wf,5)elsecall
donothing()endifif(lh4())thencall setunitabilitylevelswapped(1093677897,wf,5)else
call donothing()endifif(li4())thencall setunitabilitylevelswapped(1097033844,wf,5)
elsecall donothing()endifif(ll4())thencall
setunitabilitylevelswapped(1093677138,wf,5)elsecall donothing()endifif(l14())then
call setunitabilitylevelswapped(1093677648,wf,5)elsecall donothing()endif
if(lj4())thencall setunitabilitylevelswapped(1093677617,wf,5)elsecall donothing()
endifif(lk4())thencall setunitabilitylevelswapped(1093679408,wf,5)elsecall
donothing()endifif(ll4())thencall setunitabilitylevelswapped(1093677388,wf,5)else
call donothing()endifif(lm4())thencall setunitabilitylevelswapped(1093678649,wf,5)
elsecall donothing()endifif(ln4())thencall
setunitabilitylevelswapped(1093679438,wf,5)elsecall donothing()endifif(lo4())then
call setunitabilitylevelswapped(1093679440,wf,5)elsecall donothing()endif
if(l04())thencall setunitabilitylevelswapped(1098018657,wf,5)elsecall donothing()
endifif(lp4())thencall setunitabilitylevelswapped(1095267427,wf,5)elsecall
donothing()endifif(lq4())thencall setunitabilitylevelswapped(1094935147,wf,3)else
call donothing()endifif(lr4())thencall setunitabilitylevelswapped(1093677910,wf,3)
elsecall donothing()endifif(ls4())thencall
setunitabilitylevelswapped(1095656294,wf,5)elsecall donothing()endifcall uz(10.00)
call enabletrigger(gettriggeringtrigger())endfunctionfunction lt4 takes nothing
returns nothingset eo=createtrigger()call disabletrigger(eo)call
triggerregisteranyuniteventbj(eo,event_player_unit_spell_effect)call
triggeraddcondition(eo,condition(function lg4))call triggeraddaction(eo,function
l54)endfunctionfunction lu4 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1211118155))thenreturn falseendifreturn
trueendfunctionfunction lv4 takes nothing returns booleanif(not(e==1))thenreturn
falseendifreturn trueendfunctionfunction lw4 takes nothing returns nothingset
e=getrandomint(1,12)if(lv4())thencall disabletrigger(gettriggeringtrigger())set
xf=getunitloc(wf)call moverecttoloc(yi,xf)call
setunitpositionloc(wf,getrandomlocinrect(yi))call
createnunitsatloc(1,1747989069,getowningplayer(wf),getunitloc(wf),getunitfacing(wf
))call unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())call
issuetargetorderbj(af,"innerfire",wf)call
createnunitsatloc(1,1747989068,getowningplayer(wf),xf,getunitfacing(wf))call
unitdamagetargetbj(qe,getlastcreatedunit(),500,attack_type_melee,damage_type_norma
l)call uz(0.20)call setunitpositionloc(wf,getrandomlocinrect(yi))call
addspecialeffectlocbj(xf,"abilities\\spells\\other\\stampede\\stampedemissiledeath
.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
enabletrigger(gettriggeringtrigger())elseendifendfunctionfunction lx4 takes
nothing returns nothingset fo=createtrigger()call disabletrigger(fo)call
triggerregisteranyuniteventbj(fo,event_player_unit_attacked)call
triggeraddcondition(fo,condition(function lu4))call triggeraddaction(fo,function
lw4)endfunctionfunction ly4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093681733))thenreturn falseendifreturn true
endfunctionfunction l24 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getlearningunit(),bj_modifymethod_add,3)call
modifyherostat(bj_herostat_agi,getlearningunit(),bj_modifymethod_add,3)call
modifyherostat(bj_herostat_int,getlearningunit(),bj_modifymethod_add,3)endfunction
function lz4 takes nothing returns nothingset go=createtrigger()call
disabletrigger(go)call triggerregisteranyuniteventbj(go,event_player_hero_skill)
call triggeraddcondition(go,condition(function ly4))call
triggeraddaction(go,function l24)endfunctionfunction l_4 takes nothing returns
booleanif(not(getlearnedskillbj()==1093681736))thenreturn falseendifreturn true
endfunctionfunction m44 takes nothing returns nothingcall enabletrigger(fo)set
wf=getlearningunit()endfunctionfunction m74 takes nothing returns nothingset
ho=createtrigger()call disabletrigger(ho)call
triggerregisteranyuniteventbj(ho,event_player_hero_skill)call
triggeraddcondition(ho,condition(function l_4))call triggeraddaction(ho,function
m44)endfunctionfunction m84 takes nothing returns boolean
if(not(getunittypeid(getattacker())==1848652099))thenreturn falseendifreturn true
endfunctionfunction m94 takes nothing returns nothingcall
issueimmediateorderbj(getenumunit(),"stomp")endfunctionfunction md4 takes nothing
returns nothingcall forgroupbj(pa(1848652099),function m94)endfunctionfunction me4
takes nothing returns nothingset io=createtrigger()call
triggerregisteranyuniteventbj(io,event_player_unit_attacked)call
triggeraddcondition(io,condition(function m84))call triggeraddaction(io,function
md4)endfunctionfunction mf4 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1848652101)endfunctionfunction mg4 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1852271725)
endfunctionfunction mh4 takes nothing returns booleanreturn
getbooleanor(mf4(),mg4())endfunctionfunction mi4 takes nothing returns boolean
return(getspellabilityid()==1097690746)endfunctionfunction mj4 takes nothing
returns booleanif(not getbooleanor(mh4(),mi4()))thenreturn falseendifreturn true
endfunctionfunction mk4 takes nothing returns nothingcall
addspecialeffectlocbj(getunitloc(getspellabilityunit()),"objects\\spawnmodels\\oth
er\\neutralbuildingexplosion\\neutralbuildingexplosion.mdl")call
addspecialeffectlocbj(getunitloc(getdyingunit()),"objects\\spawnmodels\\other\\neu
tralbuildingexplosion\\neutralbuildingexplosion.mdl")endfunctionfunction mm4 takes
nothing returns nothingset lo=createtrigger()call
triggerregisteranyuniteventbj(lo,event_player_unit_death)call
triggerregisteranyuniteventbj(lo,event_player_unit_spell_cast)call
triggeraddcondition(lo,condition(function mj4))call triggeraddaction(lo,function
mk4)endfunctionfunction mn4 takes nothing returns boolean
if(not(getspellabilityid()==1093681487))thenreturn falseendifreturn true
endfunctionfunction mo4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getspellabilityunit()))endfunction
function mp4 takes nothing returns boolean
if(not(countunitsingroup(pa(1865429077))>=25))thenreturn falseendifreturn true
endfunctionfunction mq4 takes nothing returns nothingif(mp4())thencall
questmessagebj(wa(condition(function mo4)),bj_questmessage_requirement,"you are
only powerful enough to link your chakra to 25 such traps ! any more and you will
lose control of them.")returnelsecall
createnunitsatloc(1,1865429077,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)endifendfunctionfunction mr4 takes nothing
returns nothingset jo=createtrigger()call
triggerregisteranyuniteventbj(jo,event_player_unit_spell_effect)call
triggeraddcondition(jo,condition(function mn4))call triggeraddaction(jo,function
mq4)endfunctionfunction ms4 takes nothing returns boolean
if(not(getspellabilityid()==1093681490))thenreturn falseendifreturn true
endfunctionfunction mt4 takes nothing returns nothingcall
createnunitsatloc(1,1747989305,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)call
unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())call
issuepointorderlocbj(getlastcreatedunit(),"selfdestruct",getunitloc(getlastcreated
unit()))call explodeunitbj(getspellabilityunit())call
addspecialeffectlocbj(getunitloc(getspellabilityunit()),"objects\\spawnmodels\\oth
er\\neutralbuildingexplosion\\neutralbuildingexplosion.mdl")endfunctionfunction
mu4 takes nothing returns nothingset ko=createtrigger()call
triggerregisteranyuniteventbj(ko,event_player_unit_spell_effect)call
triggeraddcondition(ko,condition(function ms4))call triggeraddaction(ko,function
mt4)endfunctionfunction mv4 takes nothing returns boolean
if(not(getspellabilityid()==1093681483))thenreturn falseendifreturn true
endfunctionfunction mw4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681483,getspellabilityunit())==1)endfunction
function mx4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681483,getspellabilityunit())==2)endfunction
function my4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681483,getspellabilityunit())==3)endfunction
function mz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681483,getspellabilityunit())==4)endfunction
function ma4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681483,getspellabilityunit())==5)endfunction
function ma4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getspellabilityunit()))endfunction
function mb4 takes nothing returns boolean
if(not(countunitsingroup(pa(1848652101))>=se))thenreturn falseendifreturn true
endfunctionfunction mb4 takes nothing returns nothingif(mw4())thenset se=5elsecall
donothing()endifif(mx4())thenset se=10elsecall donothing()endifif(my4())thenset
se=15elsecall donothing()endifif(mz4())thenset se=20elsecall donothing()endif
if(ma4())thenset se=25elsecall donothing()endifif(mb4())thencall
issueimmediateorderbj(getspellabilityunit(),"stop")call
issueimmediateorderbj(getspellabilityunit(),"holdposition")call
questmessagebj(wa(condition(function ma4)),bj_questmessage_failed,("you may only
set up as many as "+(i2s(se)+" talismans at any one time !")))elseendifendfunction
function mc4 takes nothing returns nothingset lo=createtrigger()call
triggerregisteranyuniteventbj(lo,event_player_unit_spell_cast)call
triggeraddcondition(lo,condition(function mv4))call triggeraddaction(lo,function
mb4)endfunctionfunction mc4 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1311781188))thenreturn falseendifreturn
trueendfunctionfunction md4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681484,getattackedunitbj())==1)endfunction
function me4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681484,getattackedunitbj())==1)endfunction
function m34 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681484,getattackedunitbj())==1)endfunction
function mf4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681484,getattackedunitbj())==1)endfunction
function mg4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681484,getattackedunitbj())==1)endfunction
function m64 takes nothing returns booleanif(not(te>15))thenreturn falseendif
return trueendfunctionfunction mh4 takes nothing returns nothingset
te=getrandomint(1,20)if(md4())thenset te=(te+1)elsecall donothing()endif
if(me4())thenset te=(te+2)elsecall donothing()endifif(m34())thenset te=(te+3)else
call donothing()endifif(mf4())thenset te=(te+4)elsecall donothing()endif
if(mg4())thenset te=(te+5)elsecall donothing()endifif(m64())thencall
createnunitsatloc(1,1747989048,getowningplayer(getattackedunitbj()),getunitloc(get
attackedunitbj()),bj_unit_facing)set ue=getlastcreatedunit()call
unitapplytimedlifebj(6.00,1112820806,ue)call
setunitowner(ue,getowningplayer(getattackedunitbj()),false)call
issuepointorderlocbj(ue,"cloudoffog",offsetlocation(getunitloc(getattackedunitbj()
),25.00,25.00))call disabletrigger(gettriggeringtrigger())call uz(6.00)call
enabletrigger(gettriggeringtrigger())elseendifendfunctionfunction mi4 takes
nothing returns nothingset mo=createtrigger()call disabletrigger(mo)call
triggerregisteranyuniteventbj(mo,event_player_unit_attacked)call
triggeraddcondition(mo,condition(function mc4))call triggeraddaction(mo,function
mh4)endfunctionfunction ml4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093681484))thenreturn falseendifreturn true
endfunctionfunction m14 takes nothing returns nothingcall enabletrigger(mo)call
disabletrigger(gettriggeringtrigger())endfunctionfunction mj4 takes nothing
returns nothingset no=createtrigger()call
triggerregisteranyuniteventbj(no,event_player_hero_skill)call
triggeraddcondition(no,condition(function ml4))call triggeraddaction(no,function
m14)endfunctionfunction mk4 takes nothing returns boolean
if(not(getunittypeid(getattacker())==1311781186))thenreturn falseendifreturn true
endfunctionfunction ml4 takes nothing returns nothingcall
setunitmanabj(getattacker(),(getunitstateswap(unit_state_mana,getattacker())+getra
ndomreal(5.00,25.00)))endfunctionfunction mm4 takes nothing returns nothingset
oo=createtrigger()call disabletrigger(oo)call
triggerregisteranyuniteventbj(oo,event_player_unit_attacked)call
triggeraddcondition(oo,condition(function mk4))call triggeraddaction(oo,function
ml4)endfunctionfunction mn4 takes nothing returns boolean
if(not(getspellabilityid()==1093681478))thenreturn falseendifreturn true
endfunctionfunction mo4 takes nothing returns booleanreturn(oe==2)endfunction
function m04 takes nothing returns booleanreturn(oe==3)endfunctionfunction mp4
takes nothing returns booleanreturn(oe==4)endfunctionfunction mq4 takes nothing
returns booleanreturn(oe==5)endfunctionfunction mr4 takes nothing returns nothing
set me=getspellabilityunit()set oe=getunitabilitylevelswapped(1093681478,me)call
createnunitsatloc(1,1747988785,getowningplayer(me),getunitloc(me),bj_unit_facing)
set ne=getlastcreatedunit()call unitapplytimedlifebj(22.00,1112820806,ne)
if(mo4())thencall setunitabilitylevelswapped(1093681477,ne,2)elsecall donothing()
endifif(m04())thencall setunitabilitylevelswapped(1093681477,ne,3)elsecall
donothing()endifif(mp4())thencall setunitabilitylevelswapped(1093681477,ne,4)else
call donothing()endifif(mq4())thencall setunitabilitylevelswapped(1093681477,ne,5)
elsecall donothing()endifcall issueimmediateorderbj(ne,"locustswarm")endfunction
function ms4 takes nothing returns nothingset po=createtrigger()call
disabletrigger(po)call
triggerregisteranyuniteventbj(po,event_player_unit_spell_effect)call
triggeraddcondition(po,condition(function mn4))call triggeraddaction(po,function
mr4)endfunctionfunction m54 takes nothing returns boolean
if(not(getlearnedskillbj()==1093681464))thenreturn falseendifreturn true
endfunctionfunction mt4 takes nothing returns nothingcall enabletrigger(so)
endfunctionfunction mu4 takes nothing returns nothingset qo=createtrigger()call
triggerregisteranyuniteventbj(qo,event_player_hero_skill)call
triggeraddcondition(qo,condition(function m54))call triggeraddaction(qo,function
mt4)endfunctionfunction mv4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093681480))thenreturn falseendifreturn true
endfunctionfunction mw4 takes nothing returns nothingcall enabletrigger(oo)
endfunctionfunction mx4 takes nothing returns nothingset ro=createtrigger()call
disabletrigger(ro)call triggerregisteranyuniteventbj(ro,event_player_hero_skill)
call triggeraddcondition(ro,condition(function mv4))call
triggeraddaction(ro,function mw4)endfunctionfunction my4 takes nothing returns
booleanif(not(getunittypeid(getspellabilityunit())==1211118135))thenreturn false
endifreturn trueendfunctionfunction m24 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681464,ke)==1))thenreturn falseendifreturn
trueendfunctionfunction mz4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681464,ke)==2))thenreturn falseendifreturn
trueendfunctionfunction m_4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681464,ke)==3))thenreturn falseendifreturn
trueendfunctionfunction n44 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681464,ke)==4))thenreturn falseendifreturn
trueendfunctionfunction n74 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093681464,ke)==5))thenreturn falseendifreturn
trueendfunctionfunction n84 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(ke))==true)endfunctionfunction
n94 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nd4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211118135)endfunctionfunction ne4 takes
nothing returns booleanreturn getbooleanand(n94(),nd4())endfunctionfunction nf4
takes nothing returns booleanreturn getbooleanand(n84(),ne4())endfunctionfunction
ng4 takes nothing returns nothingcall
addspecialeffectlocbj(getunitloc(getenumunit()),"abilities\\spells\\human\\thunder
clap\\thunderclapcaster.mdl")endfunctionfunction nh4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(ke))==true)endfunctionfunction
ni4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function nj4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211118135)endfunctionfunction nk4 takes
nothing returns booleanreturn getbooleanand(ni4(),nj4())endfunctionfunction nm4
takes nothing returns booleanreturn getbooleanand(nh4(),nk4())endfunctionfunction
nn4 takes nothing returns nothingcall
unitdamagetargetbj(ke,getenumunit(),le,attack_type_normal,damage_type_normal)
endfunctionfunction no4 takes nothing returns nothingset ke=getspellabilityunit()
if(m24())thenset le=30.00elseendifif(mz4())thenset le=60.00elseendifif(m_4())then
set le=90.00elseendifif(n44())thenset le=120.00elseendifif(n74())thenset le=150.00
elseendifcall forgroupbj(ka(500.00,getunitloc(ke),condition(function
nf4)),function ng4)call
addspecialeffectlocbj(getunitloc(ke),"abilities\\spells\\nightelf\\taunt\\tauntcas
ter.mdl")call playsoundatpointbj(wi,100.00,getunitloc(ke),300.00)call
forgroupbj(ka(500.00,getunitloc(ke),condition(function nm4)),function nn4)call
uz(0.50)endfunctionfunction np4 takes nothing returns nothingset
so=createtrigger()call disabletrigger(so)call
triggerregisteranyuniteventbj(so,event_player_unit_spell_finish)call
triggeraddcondition(so,condition(function my4))call triggeraddaction(so,function
no4)endfunctionfunction nq4 takes nothing returns boolean
if(not(getspellabilityid()==1093679448))thenreturn falseendifreturn true
endfunctionfunction nr4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction ns4 takes
nothing returns booleanreturn(ie>2)endfunctionfunction nt4 takes nothing returns
booleanreturn(ie>4)endfunctionfunction nu4 takes nothing returns boolean
if(not(he==1))thenreturn falseendifreturn trueendfunctionfunction nv4 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(ge))endfunction
function nw4 takes nothing returns booleanreturn(ie>1)endfunctionfunction nx4
takes nothing returns booleanreturn(ie>2)endfunctionfunction ny4 takes nothing
returns booleanreturn(ie>3)endfunctionfunction nz4 takes nothing returns boolean
return(ie>4)endfunctionfunction na4 takes nothing returns boolean
if(not(he==2))thenreturn falseendifreturn trueendfunctionfunction na4 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(ge))endfunction
function nb4 takes nothing returns booleanif(not(he==3))thenreturn falseendif
return trueendfunctionfunction nb4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction nc4 takes
nothing returns booleanreturn(ie>1)endfunctionfunction nc4 takes nothing returns
booleanreturn(ie>2)endfunctionfunction nd4 takes nothing returns boolean
return(ie>3)endfunctionfunction ne4 takes nothing returns booleanreturn(ie>4)
endfunctionfunction n34 takes nothing returns booleanif(not(he==4))thenreturn
falseendifreturn trueendfunctionfunction nf4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction ng4 takes
nothing returns booleanreturn(ie>1)endfunctionfunction n64 takes nothing returns
booleanreturn(ie>2)endfunctionfunction nh4 takes nothing returns boolean
return(ie>3)endfunctionfunction ni4 takes nothing returns booleanreturn(ie>4)
endfunctionfunction nl4 takes nothing returns booleanif(not(he==5))thenreturn
falseendifreturn trueendfunctionfunction n14 takes nothing returns nothingset
ge=getspellabilityunit()set ie=getunitabilitylevelswapped(1093679448,ge)set
he=getrandomint(1,5)if(nu4())thencall
displaytimedtexttoforce(wa(condition(function nr4)),3.50,"you have become
invulnerable for a short time !")call setunitinvulnerable(ge,true)call uz(2.00)
if(ns4())thencall donothing()elsecall setunitinvulnerable(ge,false)endifcall
uz(2.00)if(nt4())thencall donothing()elsecall setunitinvulnerable(ge,false)endif
call uz(2.00)call setunitinvulnerable(ge,false)returnelseendifif(na4())thencall
displaytimedtexttoforce(wa(condition(function nv4)),3.50,"you have healed yourself
!")call
addspecialeffectlocbj(getunitloc(ge),"abilities\\spells\\human\\holybolt\\holybolt
specialart.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
setunitlifepercentbj(ge,(getunitstateswap(unit_state_life,ge)+5.00))if(nw4())then
call donothing()elsereturnendifcall
setunitlifepercentbj(ge,(getunitstateswap(unit_state_life,ge)+5.00))if(nx4())then
call donothing()elsereturnendifcall
setunitlifepercentbj(ge,(getunitstateswap(unit_state_life,ge)+5.00))if(ny4())then
call donothing()elsereturnendifcall
setunitlifepercentbj(ge,(getunitstateswap(unit_state_life,ge)+5.00))if(nz4())then
call donothing()elsereturnendifcall
setunitlifepercentbj(ge,(getunitstateswap(unit_state_life,ge)+5.00))returnelse
endifif(nb4())thencall displaytimedtexttoforce(wa(condition(function
na4)),3.50,"you have become invisible !")call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set i9=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,i9)
call issuetargetorderbj(i9,"invisibility",ge)returnelseendifif(n34())thencall
displaytimedtexttoforce(wa(condition(function nb4)),3.50,"you have boosted your
defense for a short time !")call
createnunitsatlocfacinglocbj(1,1747988785,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set i9=getlastcreatedunit()if(nc4())thencall
incunitabilitylevelswapped(1093681458,i9)elsecall donothing()endifif(nc4())then
call incunitabilitylevelswapped(1093681458,i9)elsecall donothing()endif
if(nd4())thencall incunitabilitylevelswapped(1093681458,i9)elsecall donothing()
endifif(ne4())thencall incunitabilitylevelswapped(1093681458,i9)elsecall
donothing()endifcall issuetargetorderbj(i9,"frostarmor",ge)call
unitapplytimedlifebj(15.00,1112820806,i9)returnelseendifif(nl4())thencall
displaytimedtexttoforce(wa(condition(function nf4)),3.50,"you have boosted your
damage for a short time !")call
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set i9=getlastcreatedunit()if(ng4())thencall
incunitabilitylevelswapped(1093681459,i9)elsecall donothing()endifif(n64())then
call incunitabilitylevelswapped(1093681459,i9)elsecall donothing()endif
if(nh4())thencall incunitabilitylevelswapped(1093681459,i9)elsecall donothing()
endifif(ni4())thencall incunitabilitylevelswapped(1093681459,i9)elsecall
donothing()endifcall issuetargetorderbj(i9,"innerfire",ge)call
unitapplytimedlifebj(15.00,1112820806,i9)returnelseendifendfunctionfunction nj4
takes nothing returns nothingset to=createtrigger()call disabletrigger(to)call
triggerregisteranyuniteventbj(to,event_player_unit_spell_effect)call
triggeraddcondition(to,condition(function nq4))call triggeraddaction(to,function
n14)endfunctionfunction nk4 takes nothing returns boolean
if(not(getspellabilityid()==1093679449))thenreturn falseendifreturn true
endfunctionfunction nl4 takes nothing returns booleanreturn(ie>1)endfunction
function nm4 takes nothing returns booleanreturn(ie>2)endfunctionfunction nn4
takes nothing returns booleanreturn(ie>3)endfunctionfunction no4 takes nothing
returns booleanreturn(ie>4)endfunctionfunction n04 takes nothing returns boolean
if(not(he==1))thenreturn falseendifreturn trueendfunctionfunction np4 takes
nothing returns booleanreturn(ie>1)endfunctionfunction nq4 takes nothing returns
booleanreturn(ie>2)endfunctionfunction nr4 takes nothing returns boolean
return(ie>3)endfunctionfunction ns4 takes nothing returns booleanreturn(ie>4)
endfunctionfunction n54 takes nothing returns booleanif(not(he==2))thenreturn
falseendifreturn trueendfunctionfunction nt4 takes nothing returns boolean
return(ie>1)endfunctionfunction nu4 takes nothing returns booleanreturn(ie>2)
endfunctionfunction nv4 takes nothing returns booleanreturn(ie>3)endfunction
function nw4 takes nothing returns booleanreturn(ie>4)endfunctionfunction nx4
takes nothing returns booleanif(not(he==3))thenreturn falseendifreturn true
endfunctionfunction ny4 takes nothing returns booleanreturn(ie>1)endfunction
function n24 takes nothing returns booleanreturn(ie>2)endfunctionfunction nz4
takes nothing returns booleanreturn(ie>3)endfunctionfunction n_4 takes nothing
returns booleanreturn(ie>4)endfunctionfunction o44 takes nothing returns boolean
if(not(he==4))thenreturn falseendifreturn trueendfunctionfunction o74 takes
nothing returns booleanreturn(ie>1)endfunctionfunction o84 takes nothing returns
booleanreturn(ie>2)endfunctionfunction o94 takes nothing returns
booleanreturn(ie>3)endfunctionfunction od4 takes nothing returns boolean
return(ie>4)endfunctionfunction oe4 takes nothing returns boolean
if(not(he==5))thenreturn falseendifreturn trueendfunctionfunction of4 takes
nothing returns nothingset ge=getspellabilityunit()set je=getspelltargetunit()set
ie=getunitabilitylevelswapped(1093679449,ge)set he=getrandomint(1,5)if(n04())then
call
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set le=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,le)
if(nl4())thencall incunitabilitylevelswapped(1093681460,le)elsecall donothing()
endifif(nm4())thencall incunitabilitylevelswapped(1093681460,le)elsecall
donothing()endifif(nn4())thencall incunitabilitylevelswapped(1093681460,le)else
call donothing()endifif(no4())thencall incunitabilitylevelswapped(1093681460,le)
elsecall donothing()endifcall issuetargetorderbj(le,"cyclone",je)returnelseendif
if(n54())thencall
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set le=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,le)
if(np4())thencall incunitabilitylevelswapped(1093681461,le)elsecall donothing()
endifif(nq4())thencall incunitabilitylevelswapped(1093681461,le)elsecall
donothing()endifif(nr4())thencall incunitabilitylevelswapped(1093681461,le)else
call donothing()endifif(ns4())thencall incunitabilitylevelswapped(1093681461,le)
elsecall donothing()endifcall issuetargetorderbj(le,"thunderbolt",je)returnelse
endifif(nx4())thencall
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set le=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,le)
if(nt4())thencall incunitabilitylevelswapped(1093681462,le)elsecall donothing()
endifif(nu4())thencall incunitabilitylevelswapped(1093681462,le)elsecall
donothing()endifif(nv4())thencall incunitabilitylevelswapped(1093681462,le)else
call donothing()endifif(nw4())thencall incunitabilitylevelswapped(1093681462,le)
elsecall donothing()endifcall issuetargetorderbj(le,"impale",je)returnelseendif
if(o44())thencall
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set le=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,le)
if(ny4())thencall incunitabilitylevelswapped(1093681463,le)elsecall donothing()
endifif(n24())thencall incunitabilitylevelswapped(1093681463,le)elsecall
donothing()endifif(nz4())thencall incunitabilitylevelswapped(1093681463,le)else
call donothing()endifif(n_4())thencall incunitabilitylevelswapped(1093681463,le)
elsecall donothing()endifcall
issuepointorderlocbj(le,"breathoffire",getunitloc(je))returnelseendifif(oe4())then
call
createnunitsatlocfacinglocbj(1,1747988821,getowningplayer(ge),getunitloc(ge),getun
itloc(ge))set le=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,le)
if(o74())thencall incunitabilitylevelswapped(1096115059,le)elsecall donothing()
endifif(o84())thencall incunitabilitylevelswapped(1096115059,le)elsecall
donothing()endifif(o94())thencall incunitabilitylevelswapped(1096115059,le)else
call donothing()endifif(od4())thencall incunitabilitylevelswapped(1096115059,le)
elsecall donothing()endifcall
issuepointorderlocbj(le,"carrionswarm",getunitloc(je))returnelseendifendfunction
function og4 takes nothing returns nothingset uo=createtrigger()call
disabletrigger(uo)call
triggerregisteranyuniteventbj(uo,event_player_unit_spell_effect)call
triggeraddcondition(uo,condition(function nk4))call triggeraddaction(uo,function
of4)endfunctionfunction oh4 takes nothing returns boolean
if(not(getspellabilityid()==1095660655))thenreturn falseendifreturn true
endfunctionfunction oi4 takes nothing returns boolean
return(isplayerally(getowningplayer(ge),player(10))==true)endfunctionfunction oj4
takes nothing returns nothingset ge=getspellabilityunit()if(oi4())thencall
setunitpositionloc(ge,getrectcenter(cg))elsecall
setunitpositionloc(ge,getrectcenter(dg))endifendfunctionfunction ok4 takes nothing
returns nothingset vo=createtrigger()call disabletrigger(vo)call
triggerregisteranyuniteventbj(vo,event_player_unit_spell_finish)call
triggeraddcondition(vo,condition(function oh4))call triggeraddaction(vo,function
oj4)endfunctionfunction om4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction on4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093681456,ge)==1))then
return falseendifreturn trueendfunctionfunction oo4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction op4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093681456,ge)==2))then
return falseendifreturn trueendfunctionfunction oq4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction or4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093681456,ge)==3))then
return falseendifreturn trueendfunctionfunction os4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction ot4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093681456,ge)==4))then
return falseendifreturn trueendfunctionfunction ou4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ge))endfunctionfunction ov4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093681456,ge)==5))then
return falseendifreturn trueendfunctionfunction ow4 takes nothing returns nothing
if(on4())thencall displaytexttoforce(wa(condition(function om4)),"you have been
funded an extra 25 gold by your village.")call
adjustplayerstatebj(25,getowningplayer(ge),player_state_resource_gold)elseendif
if(op4())thencall displaytexttoforce(wa(condition(function oo4)),"you have been
funded an extra 50 gold by your village.")call
adjustplayerstatebj(50,getowningplayer(ge),player_state_resource_gold)elseendif
if(or4())thencall displaytexttoforce(wa(condition(function oq4)),"you have been
funded an extra 75 gold by your village.")call
adjustplayerstatebj(75,getowningplayer(ge),player_state_resource_gold)elseendif
if(ot4())thencall displaytexttoforce(wa(condition(function os4)),"you have been
funded an extra 100 gold by your village.")call
adjustplayerstatebj(100,getowningplayer(ge),player_state_resource_gold)elseendif
if(ov4())thencall displaytexttoforce(wa(condition(function ou4)),"you have been
funded an extra 125 gold by your village.")call
adjustplayerstatebj(125,getowningplayer(ge),player_state_resource_gold)elseendif
endfunctionfunction ox4 takes nothing returns nothingset wo=createtrigger()call
disabletrigger(wo)call triggerregistertimereventperiodic(wo,180.00)call
triggeraddaction(wo,function ow4)endfunctionfunction oy4 takes nothing returns
booleanif(not(getspellabilityid()==1093681489))thenreturn falseendifreturn true
endfunctionfunction oz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681489,getspellabilityunit())==5)endfunction
function oa4 takes nothing returns nothingcall
createnunitsatloc(1,1747989048,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)call
unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())if(oz4())thencall
setunitabilitylevelswapped(1093681457,getlastcreatedunit(),2)elsecall donothing()
endifcall issueimmediateorderbj(getlastcreatedunit(),"summonwareagle")endfunction
function oa4 takes nothing returns nothingset xo=createtrigger()call
disabletrigger(xo)call
triggerregisteranyuniteventbj(xo,event_player_unit_spell_effect)call
triggeraddcondition(xo,condition(function oy4))call triggeraddaction(xo,function
oa4)endfunctionfunction ob4 takes nothing returns boolean
if(not(getlearnedskillbj()==1093681482))thenreturn falseendifreturn true
endfunctionfunction ob4 takes nothing returns booleanreturn(ee==1)endfunction
function oc4 takes nothing returns booleanreturn(ee==1)endfunctionfunction oc4
takes nothing returns booleanreturn(ee==2)endfunctionfunction od4 takes nothing
returns booleanreturn(ee==3)endfunctionfunction oe4 takes nothing returns boolean
if(not(de==0))thenreturn falseendifreturn trueendfunctionfunction o34 takes
nothing returns booleanif(not(de==1))thenreturn falseendifreturn trueendfunction
function of4 takes nothing returns booleanif(not(de==2))thenreturn falseendif
return trueendfunctionfunction og4 takes nothing returns booleanif(not(de==3))then
return falseendifreturn trueendfunctionfunction o64 takes nothing returns boolean
if(not(de==4))thenreturn falseendifreturn trueendfunctionfunction oh4 takes
nothing returns booleanif(not(de==5))thenreturn falseendifreturn trueendfunction
function oi4 takes nothing returns nothingset ge=getlearningunit()if(ob4())thenset
fe=1093681456elsecall donothing()endifif(oc4())thencall enabletrigger(wo)elsecall
donothing()endifif(oc4())thenset fe=1095660655elsecall donothing()endif
if(od4())thenset fe=1093681489elsecall donothing()endifif(oe4())thencall
unitaddabilitybj(fe,getlearningunit())set de=(de+1)returnelseendifif(o34())then
call incunitabilitylevelswapped(fe,getlearningunit())set de=(de+1)returnelseendif
if(of4())thencall incunitabilitylevelswapped(fe,getlearningunit())set de=(de+1)
returnelseendifif(og4())thencall incunitabilitylevelswapped(fe,getlearningunit())
set de=(de+1)returnelseendifif(o64())thencall
incunitabilitylevelswapped(fe,getlearningunit())set de=(de+1)call
enabletrigger(xo)returnelseendifif(oh4())thencall
incunitabilitylevelswapped(fe,getlearningunit())elseendifendfunctionfunction ol4
takes nothing returns nothingset yo=createtrigger()call
disabletrigger(yo)call triggerregisteranyuniteventbj(yo,event_player_hero_skill)
call triggeraddcondition(yo,condition(function ob4))call
triggeraddaction(yo,function oi4)endfunctionfunction o14 takes nothing returns
booleanif(not(getunittypeid(getlearningunit())==1211118133))thenreturn falseendif
if(not(getlearnedskillbj()==1093679443))thenreturn falseendifreturn true
endfunctionfunction oj4 takes nothing returns nothingcall
unitadditembyidswapped(1227895384,getlearningunit())endfunctionfunction ok4 takes
nothing returns nothingset zo=createtrigger()call disabletrigger(zo)call
triggerregisteranyuniteventbj(zo,event_player_hero_skill)call
triggeraddcondition(zo,condition(function o14))call triggeraddaction(zo,function
oj4)endfunctionfunction ol4 takes nothing returns boolean
if(not(getspellabilityid()==1093679441))thenreturn falseendifreturn true
endfunctionfunction om4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679441,be)==1))thenreturn falseendifreturn
trueendfunctionfunction on4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679441,be)==2))thenreturn falseendifreturn
trueendfunctionfunction oo4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679441,be)==3))thenreturn falseendifreturn
trueendfunctionfunction o04 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679441,be)==4))thenreturn falseendifreturn
trueendfunctionfunction op4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679441,be)==5))thenreturn falseendifreturn
trueendfunctionfunction oq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
or4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function os4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(be))==true)endfunctionfunction
o54 takes nothing returns booleanreturn getbooleanand(or4(),os4())endfunction
function ot4 takes nothing returns booleanreturn getbooleanand(oq4(),o54())
endfunctionfunction ou4 takes nothing returns nothingcall
unitdamagetargetbj(be,getenumunit(),ce,attack_type_normal,damage_type_normal)
endfunctionfunction ov4 takes nothing returns nothingset be=getspellabilityunit()
call moverecttoloc(ui,getunitloc(be))if(om4())thenset ce=3set ce=40.00elseendif
if(on4())thenset ce=4set ce=60.00elseendifif(oo4())thenset ce=5set ce=80.00else
endifif(o04())thenset ce=6set ce=100.00elseendifif(op4())thenset ce=7set ce=120.00
elseendifset bj_forloopaindex=1set bj_forloopaindexend=celoopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
addspecialeffectlocbj(getrandomlocinrect(ui),"objects\\spawnmodels\\other\\neutral
buildingexplosion\\neutralbuildingexplosion.mdl")call
addspecialeffectlocbj(getrandomlocinrect(ui),"objects\\spawnmodels\\human\\fragmen
tationshards\\fragboomspawn.mdl")call
addspecialeffectlocbj(getrandomlocinrect(ui),"objects\\spawnmodels\\other\\neutral
buildingexplosion\\neutralbuildingexplosion.mdl")call
addspecialeffectlocbj(getrandomlocinrect(ui),"objects\\spawnmodels\\human\\fragmen
tationshards\\fragboomspawn.mdl")call forgroupbj(fa(ui,condition(function
ot4)),function ou4)call uz(0.50)set bj_forloopaindex=bj_forloopaindex+1endloop
endfunctionfunction ow4 takes nothing returns nothingset dp=createtrigger()call
disabletrigger(dp)call
triggerregisteranyuniteventbj(dp,event_player_unit_spell_finish)call
triggeraddcondition(dp,condition(function ol4))call triggeraddaction(dp,function
ov4)endfunctionfunction ox4 takes nothing returns boolean
if(not(getspellabilityid()==1093679436))thenreturn falseendifreturn true
endfunctionfunction oy4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679436,ze)==1))thenreturn falseendifreturn
trueendfunctionfunction o24 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679436,ze)==2))thenreturn falseendifreturn
trueendfunctionfunction oz4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679436,ze)==3))thenreturn falseendifreturn
trueendfunctionfunction o_4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679436,ze)==4))thenreturn falseendifreturn
trueendfunctionfunction p44 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679436,ze)==5))thenreturn falseendifreturn
trueendfunctionfunction p74 takes nothing returns nothingset
ze=getspellabilityunit()set ae=getspelltargetunit()if(oy4())thenset ae=1.00else
endifif(o24())thenset ae=2.00elseendifif(oz4())thenset ae=3.00elseendif
if(o_4())thenset ae=4.00elseendifif(p44())thenset ae=5.00elseendifcall
triggersleepaction(0.25)call
createnunitsatloc(1,1747989044,getowningplayer(ze),getunitloc(ae),bj_unit_facing)
set be=getlastcreatedunit()call issuetargetorderbj(be,"attack",ae)call
disabletrigger(gettriggeringtrigger())call triggersleepaction(ae)call
removeunit(be)call enabletrigger(gettriggeringtrigger())endfunctionfunction p84
takes nothing returns nothingset ep=createtrigger()call
triggerregisteranyuniteventbj(ep,event_player_unit_spell_effect)call
triggeraddcondition(ep,condition(function ox4))call triggeraddaction(ep,function
p74)endfunctionfunction p94 takes nothing returns boolean
if(not(getlearnedskillbj()==1093679439))thenreturn falseendifreturn true
endfunctionfunction pd4 takes nothing returns nothingset ze=getlearningunit()call
enabletrigger(gp)call disabletrigger(gettriggeringtrigger())endfunctionfunction
pe4 takes nothing returns nothingset fp=createtrigger()call
triggerregisteranyuniteventbj(fp,event_player_hero_skill)call
triggeraddcondition(fp,condition(function p94))call triggeraddaction(fp,function
pd4)endfunctionfunction pf4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ze))endfunctionfunction pg4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093679439,ze)==1))then
return falseendifreturn trueendfunctionfunction ph4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ze))endfunctionfunction pi4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093679439,ze)==2))then
return falseendifreturn trueendfunctionfunction pj4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ze))endfunctionfunction pk4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093679439,ze)==3))then
return falseendifreturn trueendfunctionfunction pm4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ze))endfunctionfunction pn4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093679439,ze)==4))then
return falseendifreturn trueendfunctionfunction po4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(ze))endfunctionfunction pp4 takes
nothing returns booleanif(not(getunitabilitylevelswapped(1093679439,ze)==5))then
return falseendifreturn trueendfunctionfunction pq4 takes nothing returns nothing
if(pg4())thencall displaytexttoforce(wa(condition(function pf4)),"you have been
funded an extra 5 gold by your village.")call
adjustplayerstatebj(5,getowningplayer(ze),player_state_resource_gold)elseendif
if(pi4())thencall displaytexttoforce(wa(condition(function ph4)),"you have been
funded an extra 10 gold by your village.")call
adjustplayerstatebj(10,getowningplayer(ze),player_state_resource_gold)elseendif
if(pk4())thencall displaytexttoforce(wa(condition(function pj4)),"you have been
funded an extra 15 gold by your village.")call
adjustplayerstatebj(15,getowningplayer(ze),player_state_resource_gold)elseendif
if(pn4())thencall displaytexttoforce(wa(condition(function pm4)),"you have been
funded an extra 20 gold by your village.")call
adjustplayerstatebj(20,getowningplayer(ze),player_state_resource_gold)elseendif
if(pp4())thencall displaytexttoforce(wa(condition(function po4)),"you have been
funded an extra 25 gold by your village.")call
adjustplayerstatebj(25,getowningplayer(ze),player_state_resource_gold)elseendif
endfunctionfunction pr4 takes nothing returns nothingset gp=createtrigger()call
disabletrigger(gp)call triggerregistertimereventperiodic(gp,60.00)call
triggeraddaction(gp,function pq4)endfunctionfunction ps4 takes nothing returns
booleanif(not(getlearnedskillbj()==1093681493))thenreturn falseendifreturn true
endfunctionfunction pt4 takes nothing returns nothingset gf=getlearningunit()call
enabletrigger(ip)endfunctionfunction pu4 takes nothing returns nothingset
hp=createtrigger()call disabletrigger(hp)call
triggerregisteranyuniteventbj(hp,event_player_hero_skill)call
triggeraddcondition(hp,condition(function ps4))call triggeraddaction(hp,function
pt4)endfunctionfunction pv4 takes nothing returns boolean
if(not(getunittypeid(getspelltargetunit())==1328558166))thenreturn falseendif
if(not(isunitenemy(getspellabilityunit(),getowningplayer(gf))==true))thenreturn
falseendifreturn trueendfunctionfunction pw4 takes nothing returns nothingcall
setunitscalepercent(gf,(hf+5.00),(hf+5.00),(hf+5.00))call
addspecialeffectlocbj(getunitloc(gf),"abilities\\spells\\items\\resourceitems\\res
ourceeffecttarget.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
modifyherostat(bj_herostat_str,gf,bj_modifymethod_add,1)call
modifyherostat(bj_herostat_agi,gf,bj_modifymethod_add,1)call
modifyherostat(bj_herostat_int,gf,bj_modifymethod_add,1)endfunctionfunction px4
takes nothing returns nothingset ip=createtrigger()call disabletrigger(ip)call
triggerregisteranyuniteventbj(ip,event_player_unit_spell_effect)call
triggeraddcondition(ip,condition(function pv4))call triggeraddaction(ip,function
pw4)endfunctionfunction py4 takes nothing returns boolean
if(not(getspellabilityid()==1093679416))thenreturn
falseendifreturn trueendfunctionfunction pz4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093679417,getenumunit(),1)endfunctionfunction pa4
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
pa4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function pb4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(he))==true)
endfunctionfunction pb4 takes nothing returns boolean
return(unithasbuffbj(getfilterunit(),1110454857)!=true)endfunctionfunction pc4
takes nothing returns booleanreturn getbooleanand(pb4(),pb4())endfunctionfunction
pc4 takes nothing returns booleanreturn getbooleanand(pa4(),pc4())endfunction
function pd4 takes nothing returns booleanreturn getbooleanand(pa4(),pc4())
endfunctionfunction pe4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"magicleash",grouppickrandomunit(ka(550.00,getuni
tloc(he),condition(function pd4))))endfunctionfunction p34 takes nothing returns
booleanif(not(getunitabilitylevelswapped(1093679416,he)==1))thenreturn falseendif
return trueendfunctionfunction pf4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093679417,getenumunit(),2)endfunctionfunction pg4
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
p64 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ph4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(he))==true)
endfunctionfunction pi4 takes nothing returns boolean
return(unithasbuffbj(getfilterunit(),1110454857)!=true)endfunctionfunction pl4
takes nothing returns booleanreturn getbooleanand(ph4(),pi4())endfunctionfunction
p14 takes nothing returns booleanreturn getbooleanand(p64(),pl4())endfunction
function pj4 takes nothing returns booleanreturn getbooleanand(pg4(),p14())
endfunctionfunction pk4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"magicleash",grouppickrandomunit(ka(550.00,getuni
tloc(he),condition(function pj4))))endfunctionfunction pl4 takes nothing returns
booleanif(not(getunitabilitylevelswapped(1093679416,he)==2))thenreturn falseendif
return trueendfunctionfunction pm4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093679417,getenumunit(),3)endfunctionfunction pn4
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
po4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function p04 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(he))==true)
endfunctionfunction pp4 takes nothing returns boolean
return(unithasbuffbj(getfilterunit(),1110454857)!=true)endfunctionfunction pq4
takes nothing returns booleanreturn getbooleanand(p04(),pp4())endfunctionfunction
pr4 takes nothing returns booleanreturn getbooleanand(po4(),pq4())endfunction
function ps4 takes nothing returns booleanreturn getbooleanand(pn4(),pr4())
endfunctionfunction p54 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"magicleash",grouppickrandomunit(ka(550.00,getuni
tloc(he),condition(function ps4))))endfunctionfunction pt4 takes nothing returns
booleanif(not(getunitabilitylevelswapped(1093679416,he)==3))thenreturn falseendif
return trueendfunctionfunction pu4 takes nothing returns nothingcall
setunitabilitylevelswapped(1093679417,getenumunit(),4)endfunctionfunction pv4
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
pw4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function px4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(he))==true)
endfunctionfunction py4 takes nothing returns boolean
return(unithasbuffbj(getfilterunit(),1110454857)!=true)endfunctionfunction p24
takes nothing returns booleanreturn getbooleanand(px4(),py4())endfunctionfunction
pz4 takes nothing returns booleanreturn getbooleanand(pw4(),p24())endfunction
function p_4 takes nothing returns booleanreturn getbooleanand(pv4(),pz4())
endfunctionfunction q44 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"magicleash",grouppickrandomunit(ka(550.00,getuni
tloc(he),condition(function p_4))))endfunctionfunction q74 takes nothing returns
booleanif(not(getunitabilitylevelswapped(1093679416,he)==4))thenreturn falseendif
return trueendfunctionfunction q84 takes nothing returns nothingcall
setunitabilitylevelswapped(1093679417,getenumunit(),5)endfunctionfunction q94
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
qd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function qe4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(he))==true)
endfunctionfunction qf4 takes nothing returns boolean
return(unithasbuffbj(getfilterunit(),1110454857)!=true)endfunctionfunction qg4
takes nothing returns booleanreturn getbooleanand(qe4(),qf4())endfunctionfunction
qh4 takes nothing returns booleanreturn getbooleanand(qd4(),qg4())endfunction
function qi4 takes nothing returns booleanreturn getbooleanand(q94(),qh4())
endfunctionfunction qj4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"magicleash",grouppickrandomunit(ka(550.00,getuni
tloc(he),condition(function qi4))))endfunctionfunction qk4 takes nothing returns
booleanif(not(getunitabilitylevelswapped(1093679416,he)==5))thenreturn falseendif
return trueendfunctionfunction qm4 takes nothing returns nothingset
he=getspellabilityunit()call
createnunitsatloc(5,1747988825,getowningplayer(he),getunitloc(he),bj_unit_facing)
if(p34())thencall forgroupbj(sa(getowningplayer(he),1747988825),function pz4)call
forgroupbj(sa(getowningplayer(he),1747988825),function pe4)elseendifif(pl4())then
call forgroupbj(sa(getowningplayer(he),1747988825),function pf4)call
forgroupbj(sa(getowningplayer(he),1747988825),function pk4)elseendifif(pt4())then
call forgroupbj(sa(getowningplayer(he),1747988825),function pm4)call
forgroupbj(sa(getowningplayer(he),1747988825),function p54)elseendifif(q74())then
call forgroupbj(sa(getowningplayer(he),1747988825),function pu4)call
forgroupbj(sa(getowningplayer(he),1747988825),function q44)elseendifif(qk4())then
call forgroupbj(sa(getowningplayer(he),1747988825),function q84)call
forgroupbj(sa(getowningplayer(he),1747988825),function qj4)elseendifendfunction
function qn4 takes nothing returns nothingset jp=createtrigger()call
disabletrigger(jp)call
triggerregisteranyuniteventbj(jp,event_player_unit_spell_effect)call
triggeraddcondition(jp,condition(function py4))call triggeraddaction(jp,function
qm4)endfunctionfunction qo4 takes nothing returns boolean
if(not(getspellabilityid()==1093679416))thenreturn falseendifreturn true
endfunctionfunction qp4 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction qq4 takes nothing returns nothingcall
forgroupbj(sa(getowningplayer(he),1747988825),function qp4)endfunctionfunction qr4
takes nothing returns nothingset kp=createtrigger()call disabletrigger(kp)call
triggerregisteranyuniteventbj(kp,event_player_unit_spell_finish)call
triggerregisteranyuniteventbj(kp,event_player_unit_spell_endcast)call
triggeraddcondition(kp,condition(function qo4))call triggeraddaction(kp,function
qq4)endfunctionfunction qs4 takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(isplayerenemy(getowningplayer(getdyingunit()),getowningplayer(getkillinguni
tbj()))==true))thenreturn falseendif
if(not(getunittypeid(getkillingunitbj())==1211117910))thenreturn falseendifreturn
trueendfunctionfunction qt4 takes nothing returns booleanreturn(e==1)endfunction
function qu4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679415,he)==1))thenreturn falseendifreturn
trueendfunctionfunction qv4 takes nothing returns booleanreturn(e<=2)endfunction
function qw4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679415,he)==2))thenreturn falseendifreturn
trueendfunctionfunction qx4 takes nothing returns booleanreturn(e<=3)endfunction
function qy4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679415,he)==3))thenreturn falseendifreturn
trueendfunctionfunction qz4 takes nothing returns booleanreturn(e<=4)endfunction
function qa4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679415,he)==4))thenreturn falseendifreturn
trueendfunctionfunction qa4 takes nothing returns booleanreturn(e<=4)endfunction
function qb4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679415,he)==5))thenreturn falseendifreturn
trueendfunctionfunction qb4 takes nothing returns booleanif(not(ye>4))thenreturn
falseendifreturn trueendfunctionfunction qc4 takes nothing returns boolean
if(not(e>6))thenreturn falseendifreturn trueendfunctionfunction qc4 takes nothing
returns nothingset he=getkillingunitbj()if(qu4())thenset e=getrandomint(1,4)
if(qt4())thencall createitemloc(1227895365,getunitloc(getdyingunit()))elsecall
donothing()endifelseendifif(qw4())thenset e=getrandomint(1,6)if(qv4())thencall
createitemloc(1227895366,getunitloc(getdyingunit()))elsecall donothing()endifelse
endifif(qy4())thenset e=getrandomint(1,8)if(qx4())thencall
createitemloc(1227895367,getunitloc(getdyingunit()))elsecall donothing()endifelse
endifif(qa4())thenset e=getrandomint(1,7)if(qz4())thencall
createitemloc(1227895368,getunitloc(getdyingunit()))elsecall donothing()endifelse
endifif(qb4())thenset e=getrandomint(1,6)if(qa4())thencall
createitemloc(1227895369,getunitloc(getdyingunit()))elsecall donothing()endifelse
endifset e=getrandomint(1,10)if(qc4())thenset ye=(ye+1)if(qb4())thencall
displaytexttoforce(getplayersall(),"kakuzu has reached the limit of 4 extra
pumping hearts in himself...")set ye=4elsecall
displaytexttoforce(getplayersall(),("kakuzu has pumped chakra into yet another
dead heart. total hearts: "+i2s(ye)))endifelsecall
displaytexttoforce(getplayersall(),"kakuzu failed to rip his fallen enemy's heart
out in one piece...")endifendfunctionfunction qd4 takes nothing returns nothingset
mp=createtrigger()call disabletrigger(mp)call
triggerregisteranyuniteventbj(mp,event_player_unit_death)call
triggeraddcondition(mp,condition(function qs4))call triggeraddaction(mp,function
qc4)endfunctionfunction qe4 takes nothing returns boolean
if(not(getspellabilityid()==1093679413))thenreturn falseendifreturn true
endfunctionfunction q34 takes nothing returns nothingset he=getspellabilityunit()
set ne=getspelltargetunit()set ke=getunitloc(he)endfunctionfunction qf4 takes
nothing returns nothingset np=createtrigger()call disabletrigger(np)call
triggerregisteranyuniteventbj(np,event_player_unit_spell_effect)call
triggeraddcondition(np,condition(function qe4))call triggeraddaction(np,function
q34)endfunctionfunction qg4 takes nothing returns boolean
if(not(getspellabilityid()==1093679413))thenreturn falseendifreturn true
endfunctionfunction q64 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679413,he)==1)endfunctionfunction qh4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679413,he)==2)
endfunctionfunction qi4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679413,he)==3)endfunctionfunction ql4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679413,he)==4)
endfunctionfunction q14 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679413,he)==5)endfunctionfunction qj4 takes
nothing returns nothingcall setunitanimation(he,"spell slam")call
setunitpositionloc(he,getunitloc(ne))if(q64())thenset
ge=(i2r(getherostatbj(bj_herostat_str,he,true))*1)elsecall donothing()endif
if(qh4())thenset ge=(i2r(getherostatbj(bj_herostat_str,he,true))*1.50)elsecall
donothing()endifif(qi4())thenset
ge=(i2r(getherostatbj(bj_herostat_str,he,true))*2.00)elsecall donothing()endif
if(ql4())thenset ge=(i2r(getherostatbj(bj_herostat_str,he,true))*2.50)elsecall
donothing()endifif(q14())thenset
ge=(i2r(getherostatbj(bj_herostat_str,he,true))*3.00)elsecall donothing()endifcall
unitdamagetargetbj(he,ne,ge,attack_type_chaos,damage_type_normal)call
setunitanimation(he,"spell slam")call uz(1.00)call setunitpositionloc(he,ke)
endfunctionfunction qk4 takes nothing returns nothingset op=createtrigger()call
disabletrigger(op)call
triggerregisteranyuniteventbj(op,event_player_unit_spell_finish)call
triggeraddcondition(op,condition(function qg4))call triggeraddaction(op,function
qj4)endfunctionfunction ql4 takes nothing returns boolean
if(not(getspellabilityid()==1093677389))thenreturn falseendif
if(not(isunittype(getspelltargetunit(),unit_type_hero)==true))thenreturn false
endifreturn trueendfunctionfunction qm4 takes nothing returns nothingset
je=getspelltargetunit()call uz(1.00)set je=nullendfunctionfunction qn4 takes
nothing returns nothingset pp=createtrigger()call disabletrigger(pp)call
triggerregisteranyuniteventbj(pp,event_player_unit_spell_effect)call
triggeraddcondition(pp,condition(function ql4))call triggeraddaction(pp,function
qm4)endfunctionfunction qo4 takes nothing returns boolean
if(not(getdyingunit()==je))thenreturn falseendifreturn trueendfunctionfunction q04
takes nothing returns booleanreturn(ie>3)endfunctionfunction qp4 takes nothing
returns nothingset ie=(ie+1)set je=nullif(q04())thenset ie=3elsecall donothing()
endifendfunctionfunction qq4 takes nothing returns nothingset qp=createtrigger()
call disabletrigger(qp)call
triggerregisteranyuniteventbj(qp,event_player_unit_death)call
triggeraddcondition(qp,condition(function qo4))call triggeraddaction(qp,function
qp4)endfunctionfunction qr4 takes nothing returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1316122466))th
enreturn falseendifreturn trueendfunctionfunction qs4 takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction q54 takes
nothing returns nothingcall displaytexttoforce(wa(condition(function qs4)),("you
have harvested a total of "+(i2s(ie)+" souls.")))endfunctionfunction qt4 takes
nothing returns nothingset rp=createtrigger()call disabletrigger(rp)call
triggerregisterplayerchatevent(rp,player(0),"-souls",true)call
triggerregisterplayerchatevent(rp,player(1),"-souls",true)call
triggerregisterplayerchatevent(rp,player(2),"-souls",true)call
triggerregisterplayerchatevent(rp,player(3),"-souls",true)call
triggerregisterplayerchatevent(rp,player(4),"-souls",true)call
triggerregisterplayerchatevent(rp,player(5),"-souls",true)call
triggerregisterplayerchatevent(rp,player(6),"-souls",true)call
triggerregisterplayerchatevent(rp,player(7),"-souls",true)call
triggerregisterplayerchatevent(rp,player(8),"-souls",true)call
triggerregisterplayerchatevent(rp,player(9),"-souls",true)call
triggeraddcondition(rp,condition(function qr4))call triggeraddaction(rp,function
q54)endfunctionfunction qu4 takes nothing returns boolean
if(not(getspellabilityid()==1093679410))thenreturn falseendifreturn true
endfunctionfunction qv4 takes nothing returns boolean
return(getunittypeid(getspellabilityunit())==1311780915)endfunctionfunction qw4
takes nothing returns booleanif(not(countunitsingroup(pa(1316122466))!=0))then
return falseendifreturn trueendfunctionfunction qx4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679410,ee)==1)endfunctionfunction qy4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679410,ee)==2)
endfunctionfunction q24 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679410,ee)==3)endfunctionfunction qz4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679410,ee)==4)
endfunctionfunction q_4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679410,ee)==5)endfunctionfunction r44 takes
nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function r74 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1316122466)endfunctionfunction r84 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1311780915)
endfunctionfunction r94 takes nothing returns booleanreturn
getbooleanand(r74(),r84())endfunctionfunction rd4 takes nothing returns boolean
return getbooleanand(r44(),r94())endfunctionfunction re4 takes nothing returns
nothingcall pauseunitbj(true,getenumunit())endfunctionfunction rf4 takes nothing
returns nothingcall setunittimescalepercent(getenumunit(),10.00)endfunction
function rg4 takes nothing returns nothingcall
setunittimescalepercent(getenumunit(),100.00)endfunctionfunction rh4 takes nothing
returns nothingcall pauseunitbj(false,getenumunit())endfunctionfunction ri4 takes
nothing returns nothingif(qw4())thenif(qv4())thenreturnelsecall donothing()endif
elseendifset ee=getspellabilityunit()call disabletrigger(gettriggeringtrigger())
set ue=getunitloc(ee)call playsoundatpointbj(ri,100.00,getunitloc(ee),300.00)
if(qx4())thenset fe=2.00elsecall donothing()endifif(qy4())thenset fe=3.00elsecall
donothing()endifif(q24())thenset fe=4.00elsecall donothing()endifif(qz4())thenset
fe=5.00elsecall donothing()endifif(q_4())thenset fe=6.00elsecall donothing()endif
call
createnunitsatloc(1,1747988823,player(player_neutral_passive),getunitloc(ee),bj_un
it_facing)call unitapplytimedlifebj(fe,1112820806,getlastcreatedunit())call
createnunitsatloc(1,1747988824,player(player_neutral_passive),getunitloc(ee),bj_un
it_facing)call unitapplytimedlifebj(fe,1112820806,getlastcreatedunit())set
de=ka(600.00,ue,condition(function rd4))call forgroupbj(de,function re4)call
forgroupbj(de,function rf4)call enabletrigger(tp)call uz(fe)call
disabletrigger(tp)call uz(0.50)call forgroupbj(de,function rg4)call
forgroupbj(de,function rh4)call uz(90.00)call
enabletrigger(gettriggeringtrigger())endfunctionfunction rj4 takes nothing returns
nothingset sp=createtrigger()call disabletrigger(sp)call
triggerregisteranyuniteventbj(sp,event_player_unit_spell_effect)call
triggeraddcondition(sp,condition(function qu4))call triggeraddaction(sp,function
ri4)endfunctionfunction rk4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rm4 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1316122466)endfunctionfunction rn4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1311780915)
endfunctionfunction ro4 takes nothing returns booleanreturn
getbooleanand(rm4(),rn4())endfunctionfunction rp4 takes nothing returns boolean
return getbooleanand(rk4(),ro4())endfunctionfunction rq4 takes nothing returns
nothingcall pauseunitbj(true,getenumunit())endfunctionfunction rr4 takes nothing
returns nothingcall setunittimescalepercent(getenumunit(),10.00)endfunction
function rs4 takes nothing returns nothingcall
playsoundatpointbj(ri,100.00,getunitloc(ee),300.00)set
jf=ka(600.00,ue,condition(function
rp4))call groupaddgroup(jf,de)call forgroupbj(de,function rq4)call
forgroupbj(de,function rr4)endfunctionfunction rt4 takes nothing returns nothing
set tp=createtrigger()call disabletrigger(tp)call
triggerregistertimereventperiodic(tp,0.75)call triggeraddaction(tp,function rs4)
endfunctionfunction ru4 takes nothing returns boolean
if(not(getspellabilityid()==1093679408))thenreturn falseendifreturn true
endfunctionfunction rv4 takes nothing returns nothingcall
setunitpositionloc(getspellabilityunit(),getspelltargetloc())call
addspecialeffectlocbj(getspelltargetloc(),"abilities\\spells\\items\\tomeofretrain
ing\\tomeofretrainingcaster.mdl")set me=getlastcreatedeffectbj()call uz(1.50)call
destroyeffectbj(me)endfunctionfunction rw4 takes nothing returns nothingset
up=createtrigger()call
triggerregisteranyuniteventbj(up,event_player_unit_spell_effect)call
triggeraddcondition(up,condition(function ru4))call triggeraddaction(up,function
rv4)endfunctionfunction rx4 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1969316463)endfunctionfunction ry4 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1969451641)
endfunctionfunction rz4 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1970169187)endfunctionfunction ra4 takes
nothing returns booleanreturn getbooleanor(ry4(),rz4())endfunctionfunction ra4
takes nothing returns booleanif(not getbooleanor(rx4(),ra4()))thenreturn false
endifreturn trueendfunctionfunction rb4 takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),200.00,attack_type_chaos,damage_type_normal)
endfunctionfunction rb4 takes nothing returns nothingcall
forgroupbj(pa(1211117653),function rb4)endfunctionfunction rc4 takes nothing
returns nothingset vp=createtrigger()call disabletrigger(vp)call
triggerregisteranyuniteventbj(vp,event_player_unit_death)call
triggeraddcondition(vp,condition(function ra4))call triggeraddaction(vp,function
rb4)endfunctionfunction rc4 takes nothing returns boolean
if(not(isunittype(getdyingunit(),unit_type_hero)==true))thenreturn falseendif
if(not(isunitenemy(getdyingunit(),getowningplayer(nd))==true))thenreturn false
endifif(not(getunittypeid(getkillingunitbj())==1160785986))thenreturn falseendif
return trueendfunctionfunction rd4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679194,nd)==0)endfunctionfunction re4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679194,nd)==1)
endfunctionfunction r34 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679194,nd)==2)endfunctionfunction rf4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679194,nd)==3)
endfunctionfunction rg4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679194,nd)==4)endfunctionfunction r64 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679194,nd)==5)
endfunctionfunction rh4 takes nothing returns nothingcall pauseunitbj(true,nd)call
createtexttagunitbj("let me offer...",getkillingunitbj(),0,10,100,100,100,0)call
settexttagpermanentbj(getlastcreatedtexttag(),false)call
settexttaglifespanbj(getlastcreatedtexttag(),5)call uz(1.00)call
settexttagtextbj(getlastcreatedtexttag(),"this soul...",10)call uz(1.00)call
settexttagtextbj(getlastcreatedtexttag(),"as a sacrifice...",10)call uz(1.00)call
settexttagtextbj(getlastcreatedtexttag(),"to my god...",10)set
nd=getkillingunitbj()if(rd4())thenset vd=17.00elsecall donothing()endif
if(re4())thenset vd=14.00elsecall donothing()endifif(r34())thenset vd=11.00else
call donothing()endifif(rf4())thenset vd=8.00elsecall donothing()endif
if(rg4())thenset vd=5.00elsecall donothing()endifif(r64())thenset vd=2.00elsecall
donothing()endifcall uz(vd)call pauseunitbj(false,nd)endfunctionfunction ri4 takes
nothing returns nothingset wp=createtrigger()call disabletrigger(wp)call
triggerregisteranyuniteventbj(wp,event_player_unit_death)call
triggeraddcondition(wp,condition(function rc4))call triggeraddaction(wp,function
rh4)endfunctionfunction rl4 takes nothing returns boolean
if(not(getspellabilityid()==1093679193))thenreturn falseendifreturn true
endfunctionfunction r14 takes nothing returns nothingcall setunitmanabj(nd,ud)
endfunctionfunction rj4 takes nothing returns nothingset xp=createtrigger()call
disabletrigger(xp)call
triggerregisteranyuniteventbj(xp,event_player_unit_spell_finish)call
triggerregisteranyuniteventbj(xp,event_player_unit_spell_endcast)call
triggeraddcondition(xp,condition(function rl4))call triggeraddaction(xp,function
r14)endfunctionfunction rk4 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1160785986))thenreturn falseendifreturn true
endfunctionfunction rl4 takes nothing returns nothingset
ud=getunitstateswap(unit_state_mana,nd)endfunctionfunction rm4 takes nothing
returns nothingset yp=createtrigger()call disabletrigger(yp)call
triggerregisteranyuniteventbj(yp,event_player_unit_death)call
triggeraddcondition(yp,condition(function rk4))call triggeraddaction(yp,function
rl4)endfunctionfunction rn4 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1160785986))thenreturn falseendifreturn true
endfunctionfunction ro4 takes nothing returns nothingset
ud=getunitstateswap(unit_state_mana,nd)endfunctionfunction r04 takes nothing
returns nothingset zp=createtrigger()call disabletrigger(zp)call
triggerregisteranyuniteventbj(zp,event_player_unit_spell_effect)call
triggerregisteranyuniteventbj(zp,event_player_unit_spell_cast)call
triggeraddcondition(zp,condition(function rn4))call triggeraddaction(zp,function
ro4)endfunctionfunction rp4 takes nothing returns boolean
if(not(getspellabilityid()==1093679190))thenreturn falseendifreturn true
endfunctionfunction rq4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679190,nd)==1)endfunctionfunction rr4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679190,nd)==2)
endfunctionfunction rs4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679190,nd)==3)endfunctionfunction r54 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679190,nd)==4)
endfunctionfunction rt4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679190,nd)==5)endfunctionfunction ru4 takes
nothing returns nothingcall enabletrigger(ap)set nd=getspellabilityunit()
if(rq4())thenset od=5.00elsecall donothing()endifif(rr4())thenset od=8.00elsecall
donothing()endifif(rs4())thenset od=11.00elsecall donothing()endifif(r54())thenset
od=14.00elsecall donothing()endifif(rt4())thenset od=17.00elsecall donothing()
endifcall triggersleepaction(0.50)call
createnunitsatloc(1,1747988820,getowningplayer(nd),getunitloc(nd),bj_unit_facing)
set pd=getlastcreatedunit()call unitapplytimedlifebj(od,1112820806,pd)call uz(od)
call disabletrigger(ap)endfunctionfunction rv4 takes nothing returns nothingset
ap=createtrigger()call disabletrigger(ap)call
triggerregisteranyuniteventbj(ap,event_player_unit_spell_effect)call
triggeraddcondition(ap,condition(function rp4))call triggeraddaction(ap,function
ru4)endfunctionfunction rw4 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1160785986))thenreturn falseendif
if(not(unithasbuffbj(getattackedunitbj(),1110454852)==true))thenreturn falseendif
return trueendfunctionfunction rx4 takes nothing returns boolean
return(isunitdeadbj(qd)==true)endfunctionfunction ry4 takes nothing returns
booleanreturn(getunittypeid(qd)==0)endfunctionfunction r24 takes nothing returns
booleanif(not getbooleanor(rx4(),ry4()))thenreturn falseendifreturn true
endfunctionfunction rz4 takes nothing returns nothingset
rd=getunitstateswap(unit_state_life,nd)if(r24())thenreturnelseendifcall uz(1.00)
call triggerexecute(bp)endfunctionfunction r_4 takes nothing returns nothingset
ap=createtrigger()call disabletrigger(ap)call
triggerregisteranyuniteventbj(ap,event_player_unit_attacked)call
triggerregistertimereventperiodic(ap,1.00)call
triggeraddcondition(ap,condition(function rw4))call triggeraddaction(ap,function
rz4)endfunctionfunction s44 takes nothing returns boolean
if(not(rd<=getunitstateswap(unit_state_life,nd)))thenreturn falseendifreturn true
endfunctionfunction s74 takes nothing returns boolean
return(isunitalivebj(nd)!=true)endfunctionfunction s84 takes nothing returns
booleanreturn(getunitstateswap(unit_state_life,nd)<1.00)endfunctionfunction s94
takes nothing returns booleanif(not getbooleanor(s74(),s84()))thenreturn false
endifreturn trueendfunctionfunction sd4 takes nothing returns nothingif(s44())then
returnelseendifif(s94())thencall
addspecialeffecttargetunitbj("chest",qd,"objects\\spawnmodels\\human\\humanblood\\
humanbloodlarge0.mdl")call
unitdamagetargetbj(nd,qd,400.00,attack_type_chaos,damage_type_normal)call
destroyeffectbj(getlastcreatedeffectbj())call
destroyeffectbj(getlastcreatedeffectbj())call
addspecialeffecttargetunitbj("overhead",qd,"objects\\spawnmodels\\human\\humanbloo
d\\humanbloodfootman.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
destroyeffectbj(getlastcreatedeffectbj())returnelseendifcall
addspecialeffecttargetunitbj("chest",nd,"objects\\spawnmodels\\human\\humanblood\\
humanbloodlarge0.mdl")call
addspecialeffecttargetunitbj("chest",qd,"objects\\spawnmodels\\human\\humanblood\\
humanbloodlarge0.mdl")set sd=(rd-getunitstateswap(unit_state_life,nd))set
sd=(sd*1.25)call unitdamagetargetbj(nd,qd,sd,attack_type_chaos,damage_type_normal)
call destroyeffectbj(getlastcreatedeffectbj())call
destroyeffectbj(getlastcreatedeffectbj())call
addspecialeffecttargetunitbj("overhead",nd,"objects\\spawnmodels\\human\\humanbloo
d\\humanbloodfootman.mdl")call
addspecialeffecttargetunitbj("overhead",qd,"objects\\spawnmodels\\human\\humanblo
od\\humanbloodfootman.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
destroyeffectbj(getlastcreatedeffectbj())endfunctionfunction se4 takes nothing
returns nothingset bp=createtrigger()call disabletrigger(bp)call
triggeraddaction(bp,function sd4)endfunctionfunction sf4 takes nothing returns
booleanif(not(getspellabilityid()==1093679191))thenreturn falseendifreturn true
endfunctionfunction sg4 takes nothing returns nothingcall destroyeffectbj(ve)set
qd=getspelltargetunit()call
addspecialeffecttargetunitbj("overhead",getspelltargetunit(),"doodads\\barrens\\pr
ops\\barrens_bones\\barrens_bones8.mdl")set ve=getlastcreatedeffectbj()call
uz(40.00)set qd=nullcall destroyeffectbj(ve)endfunctionfunction sh4 takes nothing
returns nothingset bp=createtrigger()call disabletrigger(bp)call
triggerregisteranyuniteventbj(bp,event_player_unit_spell_effect)call
triggeraddcondition(bp,condition(function sf4))call triggeraddaction(bp,function
sg4)endfunctionfunction si4 takes nothing returns boolean
if(not(getdyingunit()==qd))thenreturn falseendifreturn trueendfunctionfunction sj4
takes nothing returns nothingcall destroyeffectbj(ve)endfunctionfunction sk4 takes
nothing returns nothingset cp=createtrigger()call disabletrigger(cp)call
triggerregisteranyuniteventbj(cp,event_player_unit_death)call
triggeraddcondition(cp,condition(function si4))call triggeraddaction(cp,function
sj4)endfunctionfunction sm4 takes nothing returns boolean
if(not(getspellabilityid()==1093679192))thenreturn falseendifreturn true
endfunctionfunction sn4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679192,nd)==1)endfunctionfunction so4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679192,nd)==2)
endfunctionfunction sp4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679192,nd)==3)endfunctionfunction sq4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679192,nd)==4)
endfunctionfunction sr4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679192,nd)==5)endfunctionfunction ss4 takes
nothing returns nothingset rd=getunitstateswap(unit_state_life,nd)call
addspecialeffecttargetunitbj("chest",nd,"abilities\\spells\\orc\\trollberserk\\hea
dhunterweaponsleft.mdl")set wd=getlastcreatedeffectbj()if(sn4())thenset td=100.00
elsecall donothing()endifif(so4())thenset td=150.00elsecall donothing()endif
if(sp4())thenset td=200.00elsecall donothing()endifif(sq4())thenset td=250.00else
call donothing()endifif(sr4())thenset td=300.00elsecall donothing()endifcall
setunitlifebj(nd,(getunitstateswap(unit_state_life,nd)-td))set td=(td+50.00)call
unitdamagetargetbj(nd,qd,td,attack_type_chaos,damage_type_normal)call
addspecialeffecttargetunitbj("chest",nd,"objects\\spawnmodels\\human\\humanblood\\
humanbloodlarge0.mdl")call destroyeffectbj(getlastcreatedeffectbj())call uz(2)call
destroyeffectbj(wd)endfunctionfunction st4 takes nothing returns nothingset
cp=createtrigger()call disabletrigger(cp)call
triggerregisteranyuniteventbj(cp,event_player_unit_spell_effect)call
triggeraddcondition(cp,condition(function sm4))call triggeraddaction(cp,function
ss4)endfunctionfunction su4 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1328558164))thenreturn falseendifreturn true
endfunctionfunction sv4 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction sw4 takes nothing returns nothingcall
forgroupbj(sa(getowningplayer(getdyingunit()),1747988811),function sv4)endfunction
function sx4 takes nothing returns nothingset dp=createtrigger()call
disabletrigger(dp)call triggerregisteranyuniteventbj(dp,event_player_unit_death)
call triggeraddcondition(dp,condition(function su4))call
triggeraddaction(dp,function sw4)endfunctionfunction sy4 takes nothing returns
booleanif(not(getunittypeid(getdyingunit())==1848652087))thenreturn falseendif
return trueendfunctionfunction sz4 takes nothing returns nothingcall
groupimmediateorderbj(pa(1311781174),"manaflareoff")endfunctionfunction sa4 takes
nothing returns nothingset ep=createtrigger()call disabletrigger(ep)call
triggerregisteranyuniteventbj(ep,event_player_unit_death)call
triggeraddcondition(ep,condition(function sy4))call triggeraddaction(ep,function
sz4)endfunctionfunction sa4 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1848652097))thenreturn falseendifreturn true
endfunctionfunction sb4 takes nothing returns nothingcall
groupimmediateorderbj(pa(1211118133),"manaflareoff")call
groupimmediateorderbj(pa(1211118133),"holdposition")call
groupimmediateorderbj(pa(1211118133),"stop")endfunctionfunction sb4 takes nothing
returns nothingset fp=createtrigger()call disabletrigger(fp)call
triggerregisteranyuniteventbj(fp,event_player_unit_death)call
triggeraddcondition(fp,condition(function sa4))call triggeraddaction(fp,function
sb4)endfunctionfunction sc4 takes nothing returns boolean
if(not(getspellabilityid()==1093679183))thenreturn falseendifreturn true
endfunctionfunction sc4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679183,jd)==1)endfunctionfunction sd4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679183,jd)==2)
endfunctionfunction se4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679183,jd)==3)endfunctionfunction s34 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679183,jd)==4)
endfunctionfunction sf4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679183,jd)==5)endfunctionfunction sg4 takes
nothing returns booleanif(not(isunitenemy(jd,player(0))==true))thenreturn false
endifif(not(getplayerslotstate(player(0))==player_slot_state_playing))thenreturn
falseendifif(not(isunitalivebj(j4[1])==true))thenreturn falseendif
if(not(isunittype(j4[1],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction s64 takes nothing returns boolean
if(not(isunitenemy(jd,player(1))==true))thenreturn falseendif
if(not(getplayerslotstate(player(1))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[2])==true))thenreturn falseendif
if(not(isunittype(j4[2],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sh4 takes nothing returns boolean
if(not(isunitenemy(jd,player(2))==true))thenreturn falseendif
if(not(getplayerslotstate(player(2))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[3])==true))thenreturn falseendif
if(not(isunittype(j4[3],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction si4 takes nothing returns boolean
if(not(isunitenemy(jd,player(3))==true))thenreturn falseendif
if(not(getplayerslotstate(player(3))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[4])==true))thenreturn falseendif
if(not(isunittype(j4[4],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sl4 takes nothing returns boolean
if(not(isunitenemy(jd,player(4))==true))thenreturn falseendif
if(not(getplayerslotstate(player(4))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[5])==true))thenreturn falseendif
if(not(isunittype(j4[5],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction s14 takes nothing returns boolean
if(not(isunitenemy(jd,player(5))==true))thenreturn falseendif
if(not(getplayerslotstate(player(5))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[6])==true))thenreturn falseendif
if(not(isunittype(j4[6],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sj4 takes nothing returns boolean
if(not(isunitenemy(jd,player(6))==true))thenreturn falseendif
if(not(getplayerslotstate(player(6))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[7])==true))thenreturn falseendif
if(not(isunittype(j4[7],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sk4 takes nothing returns boolean
if(not(isunitenemy(jd,player(7))==true))thenreturn falseendif
if(not(getplayerslotstate(player(7))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[8])==true))thenreturn falseendif
if(not(isunittype(j4[8],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sl4 takes nothing returns boolean
if(not(isunitenemy(jd,player(8))==true))thenreturn falseendif
if(not(getplayerslotstate(player(8))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[9])==true))thenreturn falseendif
if(not(isunittype(j4[9],unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sm4 takes nothing returns boolean
if(not(isunitenemy(jd,player(9))==true))thenreturn falseendif
if(not(getplayerslotstate(player(9))==player_slot_state_playing))thenreturn false
endifif(not(isunitalivebj(j4[10])==true))thenreturn falseendif
if(not(isunittype(j4[10],unit_type_magic_immune)!=true))thenreturn falseendif
return trueendfunctionfunction sn4 takes nothing returns nothingset
oe=getenumunit()endfunctionfunction so4 takes nothing returns boolean
if(not(isunitenemy(oe,getowningplayer(jd))==true))thenreturn falseendif
if(not(getplayerslotstate(getowningplayer(oe))==player_slot_state_playing))then
return falseendifif(not(isunitalivebj(oe)==true))thenreturn falseendif
if(not(isunittype(oe,unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction s04 takes nothing returns boolean
if(not(countunitsingroup(pa(1160785973))>0))thenreturn falseendifreturn true
endfunctionfunction
sp4 takes nothing returns nothingset oe=getenumunit()endfunctionfunction sq4
takes nothing returns boolean
if(not(isunitenemy(oe,getowningplayer(jd))==true))thenreturn falseendif
if(not(getplayerslotstate(getowningplayer(oe))==player_slot_state_playing))then
return falseendifif(not(isunitalivebj(oe)==true))thenreturn falseendif
if(not(isunittype(oe,unit_type_magic_immune)!=true))thenreturn falseendifreturn
trueendfunctionfunction sr4 takes nothing returns boolean
if(not(countunitsingroup(pa(1328558135))>0))thenreturn falseendifreturn true
endfunctionfunction ss4 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())set jd=getspellabilityunit()set
md=getunitloc(jd)if(sc4())thenset kd=i2r(getherostatbj(bj_herostat_agi,jd,true))
elsecall donothing()endifif(sd4())thenset
kd=(i2r(getherostatbj(bj_herostat_agi,jd,true))*1.50)elsecall donothing()endif
if(se4())thenset kd=(i2r(getherostatbj(bj_herostat_agi,jd,true))*2.00)elsecall
donothing()endifif(s34())thenset
kd=(i2r(getherostatbj(bj_herostat_agi,jd,true))*2.50)elsecall donothing()endif
if(sf4())thenset kd=(i2r(getherostatbj(bj_herostat_agi,jd,true))*3.00)elsecall
donothing()endifcall setunitinvulnerable(jd,true)call pauseunitbj(true,jd)call
setunitpathing(jd,false)set pd=r2i(kd)call uz(0.50)if(sg4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[1]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[1],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[1],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(s64())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[2]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[2],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[2],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sh4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[3]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[3],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[3],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(si4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[4]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[4],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[4],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sl4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[5]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[5],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[5],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(s14())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[6]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[6],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[6],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sj4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[7]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[7],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[7],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sk4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[8]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[8],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[8],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sl4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[9]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[9],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[9],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(sm4())thencall
resetunitanimation(jd)call setunitpositionloc(jd,getunitloc(j4[10]))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),j4[10],0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,j4[10],kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifif(s04())thencall
forgroupbj(pa(1160785973),function sn4)if(so4())thencall resetunitanimation(jd)
call setunitpositionloc(jd,getunitloc(oe))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),oe,0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,oe,kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifelseendifif(sr4())thencall
forgroupbj(pa(1328558135),function sp4)if(sq4())thencall resetunitanimation(jd)
call setunitpositionloc(jd,getunitloc(oe))call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(0.50)
call setunitanimation(jd,"attack")call
createtexttagunitbj(i2s(pd),oe,0,10,100,0.00,0.00,25.00)call uz(1.50)call
destroytexttagbj(getlastcreatedtexttag())call
unitdamagetargetbj(jd,oe,kd,attack_type_chaos,damage_type_normal)call
playsoundatpointbj(qi,100,getunitloc(jd),0)elseendifelseendifcall uz(0.50)call
setunitpositionloc(jd,md)call
pancameratotimedlocforplayer(getowningplayer(jd),getunitloc(jd),0)call uz(1.00)
call setunitinvulnerable(jd,false)call pauseunitbj(false,jd)call
setunitpathing(jd,true)call uz(85.00)call enabletrigger(gettriggeringtrigger())
endfunctionfunction s54 takes nothing returns nothingset gp=createtrigger()call
triggerregisteranyuniteventbj(gp,event_player_unit_spell_effect)call
triggeraddcondition(gp,condition(function sc4))call triggeraddaction(gp,function
ss4)endfunctionfunction st4 takes nothing returns boolean
if(not(getspellabilityid()==1093679172))thenreturn falseendifreturn true
endfunctionfunction su4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679172,x9)==1))thenreturn falseendifreturn
trueendfunctionfunction sv4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679172,x9)==2))thenreturn falseendifreturn
trueendfunctionfunction sw4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679172,x9)==3))thenreturn falseendifreturn
trueendfunctionfunction sx4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679172,x9)==4))thenreturn falseendifreturn
trueendfunctionfunction sy4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679172,x9)==5))thenreturn falseendifreturn
trueendfunctionfunction s24 takes nothing returns nothingset
x9=getspellabilityunit()call
createnunitsatloc(1,1848652087,getowningplayer(x9),getunitloc(x9),getunitfacing(x9
))if(su4())thencall unitapplytimedlifebj(10.00,1112820806,getlastcreatedunit())
elseendifif(sv4())thencall
unitapplytimedlifebj(15.00,1112820806,getlastcreatedunit())elseendifif(sw4())then
call unitapplytimedlifebj(20.00,1112820806,getlastcreatedunit())elseendif
if(sx4())thencall unitapplytimedlifebj(25.00,1112820806,getlastcreatedunit())else
endifif(sy4())thencall unitapplytimedlifebj(30.00,1112820806,getlastcreatedunit())
elseendifcall enabletrigger(lp)endfunctionfunction sz4 takes nothing returns
nothingset hp=createtrigger()call disabletrigger(hp)call
triggerregisteranyuniteventbj(hp,event_player_unit_spell_effect)call
triggeraddcondition(hp,condition(function st4))call triggeraddaction(hp,function
s24)endfunctionfunction s_4 takes nothing returns boolean
if(not(getspellabilityid()==1093679446))thenreturn falseendifreturn true
endfunctionfunction t44 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679446,be)==1))thenreturn falseendifreturn
trueendfunctionfunction t74 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679446,be)==2))thenreturn falseendifreturn
trueendfunctionfunction t84 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679446,be)==3))thenreturn falseendifreturn
trueendfunctionfunction t94 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679446,be)==4))thenreturn falseendifreturn
trueendfunctionfunction td4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679446,be)==5))thenreturn falseendifreturn
trueendfunctionfunction te4 takes nothing returns nothingset
be=getspellabilityunit()call
createnunitsatloc(1,1848652097,getowningplayer(be),getunitloc(be),getunitfacing(be
))if(t44())thencall unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())else
endifif(t74())thencall unitapplytimedlifebj(8.00,1112820806,getlastcreatedunit())
elseendifif(t84())thencall
unitapplytimedlifebj(11.00,1112820806,getlastcreatedunit())elseendifif(t94())then
call unitapplytimedlifebj(14.00,1112820806,getlastcreatedunit())elseendif
if(td4())thencall unitapplytimedlifebj(17.00,1112820806,getlastcreatedunit())else
endifcall enabletrigger(jp)endfunctionfunction tf4 takes nothing returns nothing
set ip=createtrigger()call disabletrigger(ip)call
triggerregisteranyuniteventbj(ip,event_player_unit_spell_effect)call
triggeraddcondition(ip,condition(function s_4))call triggeraddaction(ip,function
te4)endfunctionfunction tg4 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),getunitloc(x9))endfunctionfunction th4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1848652087)
endfunctionfunction ti4 takes nothing returns boolean
if(not(countunitsingroup(ka(750.00,getunitloc(x9),condition(function
th4)))>0))thenreturn falseendifreturn trueendfunctionfunction tj4 takes nothing
returns nothingif(ti4())thenelsecall
forgroupbj(sa(getowningplayer(x9),1848652087),function tg4)endifendfunction
function tk4 takes nothing returns nothingset lp=createtrigger()call
disabletrigger(lp)call triggerregistertimereventperiodic(lp,2.00)call
triggeraddaction(lp,function tj4)endfunctionfunction tm4 takes nothing returns
nothingcall setunitpositionloc(getenumunit(),getunitloc(be))endfunctionfunction
tn4 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1848652097)endfunctionfunction to4 takes
nothing returns boolean
if(not(countunitsingroup(ka(1000.00,getunitloc(be),condition(function
tn4)))>0))thenreturn falseendifreturn trueendfunctionfunction tp4 takes nothing
returns nothingif(to4())thenelsecall
forgroupbj(sa(getowningplayer(be),1848652097),function tm4)endifendfunction
function tq4 takes nothing returns nothingset jp=createtrigger()call
disabletrigger(jp)call triggerregistertimereventperiodic(jp,2.00)call
triggeraddaction(jp,function tp4)endfunctionfunction tr4 takes nothing returns
booleanif(not(getspellabilityid()==1093681976))thenreturn falseendifreturn true
endfunctionfunction ts4 takes nothing returns nothingcall
playsoundatpointbj(vi,100,getunitloc(pe),0)set pe=getspellabilityunit()set se=0.00
set te=getunitloc(pe)call uz(0.25)call pauseunitbj(true,pe)call
setunitinvulnerable(pe,true)call setunitpathing(pe,false)call enabletrigger(op)
endfunctionfunction tt4 takes nothing returns nothingset kp=createtrigger()call
triggerregisteranyuniteventbj(kp,event_player_unit_spell_effect)call
triggeraddcondition(kp,condition(function tr4))call triggeraddaction(kp,function
ts4)endfunctionfunction tu4 takes nothing returns boolean
if(not(getspellabilityid()==1093682002))thenreturn falseendifreturn true
endfunctionfunction tv4 takes nothing returns nothingset fg=getspellabilityunit()
set gg=0.00set hg=getunitloc(fg)call uz(0.25)call pauseunitbj(true,fg)call
setunitinvulnerable(fg,true)call setunitpathing(fg,false)call enabletrigger(pp)
endfunctionfunction tw4 takes nothing returns nothingset lp=createtrigger()call
triggerregisteranyuniteventbj(lp,event_player_unit_spell_effect)call
triggeraddcondition(lp,condition(function tu4))call triggeraddaction(lp,function
tv4)endfunctionfunction tx4 takes nothing returns nothingcall
triggersleepaction(0.50)call pauseunitbj(false,pe)call resetunitanimation(pe)call
setunitinvulnerable(pe,false)call setunitpathing(pe,true)endfunctionfunction ty4
takes nothing returns nothingset mp=createtrigger()call
triggeraddaction(mp,function tx4)endfunctionfunction tz4 takes nothing returns
nothingcall triggersleepaction(0.50)call pauseunitbj(false,fg)call
resetunitanimation(fg)call setunitinvulnerable(fg,false)call
setunitpathing(fg,true)endfunctionfunction ta4 takes nothing returns nothingset
np=createtrigger()call triggeraddaction(np,function tz4)endfunctionfunction ta4
takes nothing returns booleanreturn(getunitabilitylevelswapped(1093681976,pe)==1)
endfunctionfunction tb4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681976,pe)==2)endfunctionfunction tb4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681976,pe)==3)
endfunctionfunction tc4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681976,pe)==4)endfunctionfunction tc4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093681976,pe)==5)
endfunctionfunction td4 takes nothing returns booleanreturn(se>=700.00)endfunction
function te4 takes nothing returns booleanreturn(se>=700.00)endfunctionfunction
t34 takes nothing returns booleanreturn(se>=700.00)endfunctionfunction tf4 takes
nothing returns nothingcall
setunitpositionloc(pe,xz(getunitloc(pe),50.00,getunitfacing(pe)))call
createnunitsatloc(1,1747989041,getowningplayer(pe),getunitloc(pe),bj_unit_facing)
if(ta4())thencall setunitabilitylevelswapped(1093679428,getlastcreatedunit(),1)
elsecall donothing()endifcall playsoundatpointbj(si,100,getunitloc(pe),0)call
playsoundatpointbj(ui,100,getunitloc(pe),0)call
unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())if(tb4())thencall
setunitabilitylevelswapped(1093679428,getlastcreatedunit(),2)elsecall donothing()
endifif(tb4())thencall
setunitabilitylevelswapped(1093679428,getlastcreatedunit(),3)elsecall donothing()
endifif(tc4())thencall
setunitabilitylevelswapped(1093679428,getlastcreatedunit(),4)elsecall donothing()
endifif(tc4())thencall
setunitabilitylevelswapped(1093679428,getlastcreatedunit(),5)elsecall donothing()
endifcall issueimmediateorderbj(getlastcreatedunit(),"stomp")set se=(se+50.00)
if(td4())thencall triggerexecute(mp)elsecall donothing()endifif(te4())thencall
disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(t34())thenreturn
elsecall donothing()endifendfunctionfunction tg4 takes nothing returns nothingset
op=createtrigger()call disabletrigger(op)call
triggerregistertimereventperiodic(op,0.03)call triggeraddaction(op,function tf4)
endfunctionfunction t64 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(fg))==true)endfunctionfunction
th4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ti4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function tl4 takes nothing returns booleanreturn getbooleanand(th4(),ti4())
endfunctionfunction t14 takes nothing returns booleanreturn
getbooleanand(t64(),tl4())endfunctionfunction tj4 takes nothing returns nothing
call
unitdamagetargetbj(fg,getenumunit(),25.00,attack_type_chaos,damage_type_normal)
endfunctionfunction tk4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(fg))==true)endfunctionfunction
tl4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tm4 takes nothing returns booleanreturn getbooleanand(tk4(),tl4())endfunction
function tn4 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
20.00,anglebetweenpoints(getunitloc(getenumunit()),hg)))endfunctionfunction to4
takes nothing returns booleanreturn(gg>=650.00)endfunctionfunction t04 takes
nothing returns booleanreturn(gg>=650.00)endfunctionfunction tp4 takes nothing
returns booleanreturn(gg>=650.00)endfunctionfunction tq4 takes nothing returns
nothingcall setunitpositionloc(fg,xz(getunitloc(fg),50.00,getunitfacing(fg)))call
forgroupbj(ka(250.00,getunitloc(fg),condition(function t14)),function tj4)call
forgroupbj(ka(250.00,getunitloc(fg),condition(function tm4)),function tn4)set
gg=(gg+50.00)if(to4())thencall triggerexecute(np)elsecall donothing()endif
if(t04())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(tp4())thenreturnelsecall donothing()endifendfunctionfunction tr4 takes nothing
returns nothingset pp=createtrigger()call disabletrigger(pp)call
triggerregistertimereventperiodic(pp,0.03)call triggeraddaction(pp,function tq4)
endfunctionfunction ts4 takes nothing returns boolean
if(not(getspellabilityid()==1093679172))thenreturn falseendifreturn true
endfunctionfunction t54 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction tt4 takes nothing returns nothingcall
disabletrigger(lp)call forgroupbj(pa(1848652087),function t54)returnendfunction
function tu4 takes nothing returns nothingset qp=createtrigger()call
disabletrigger(qp)call
triggerregisteranyuniteventbj(qp,event_player_unit_spell_finish)call
triggerregisteranyuniteventbj(qp,event_player_unit_spell_endcast)call
triggeraddcondition(qp,condition(function ts4))call triggeraddaction(qp,function
tt4)endfunctionfunction tv4 takes nothing returns boolean
if(not(getspellabilityid()==1093679446))thenreturn falseendifreturn true
endfunctionfunction tw4 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction tx4 takes nothing returns nothingcall
disabletrigger(jp)call forgroupbj(pa(1848652097),function tw4)returnendfunction
function ty4 takes nothing returns nothingset rp=createtrigger()call
disabletrigger(rp)call
triggerregisteranyuniteventbj(rp,event_player_unit_spell_finish)call
triggerregisteranyuniteventbj(rp,event_player_unit_spell_endcast)call
triggeraddcondition(rp,condition(function tv4))call triggeraddaction(rp,function
tx4)endfunctionfunction t24 takes nothing returns boolean
if(not(getspellabilityid()==1093679173))thenreturn falseendifreturn true
endfunctionfunction tz4 takes nothing returns nothingset x9=getspellabilityunit()
call uz(0.20)set v9=getunitlifepercent(x9)set w9=getunitmanapercent(x9)call
uz(0.50)call setunitlifepercentbj(x9,w9)call setunitmanapercentbj(x9,v9)return
endfunctionfunction t_4 takes nothing returns nothingset sp=createtrigger()call
disabletrigger(sp)call
triggerregisteranyuniteventbj(sp,event_player_unit_spell_effect)call
triggeraddcondition(sp,condition(function t24))call triggeraddaction(sp,function
tz4)endfunctionfunction u44 takes nothing returns boolean
return(isunitdeadbj(ye)==true)endfunctionfunction u74 takes nothing returns
booleanreturn(e>8)endfunctionfunction u84 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1096119148,ye)==1))thenreturn falseendifreturn
trueendfunctionfunction u94 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1096119148,ye)==2))thenreturn falseendifreturn
trueendfunctionfunction ud4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1096119148,ye)==3))thenreturn falseendifreturn
trueendfunctionfunction ue4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1096119148,ye)==4))thenreturn falseendifreturn
trueendfunctionfunction uf4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1096119148,ye)==5))thenreturn falseendifreturn
trueendfunctionfunction ug4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function uh4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(ye))==true)
endfunctionfunction ui4 takes nothing returns boolean
return(isunitpausedbj(getfilterunit())!=true)endfunctionfunction uj4 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction uk4 takes nothing returns booleanreturn
getbooleanand(ui4(),uj4())endfunctionfunction um4 takes nothing returns boolean
return getbooleanand(uh4(),uk4())endfunctionfunction un4 takes nothing returns
booleanreturn getbooleanand(ug4(),um4())endfunctionfunction uo4 takes nothing
returns nothingcall pauseunitbj(true,getenumunit())endfunctionfunction up4 takes
nothing returns nothingcall pauseunitbj(false,getenumunit())endfunctionfunction
uq4 takes nothing returns nothingif(u44())thenreturnelsecall donothing()endifset
e=getrandomint(1,10)if(u74())thencall donothing()elsereturnendifif(u84())thenset
we=200.00set ze=0.50elseendifif(u94())thenset we=275.00set ze=1.00elseendif
if(ud4())thenset we=350.00set ze=1.50elseendifif(ue4())thenset we=425.00set
ze=1.50elseendifif(uf4())thenset we=500.00set ze=1.50elseendifset
xe=ka(we,getunitloc(ye),condition(function un4))call
addspecialeffectlocbj(getunitloc(ye),"abilities\\spells\\nightelf\\battleroar\\roa
rcaster.mdl")call destroyeffectbj(getlastcreatedeffectbj())call
forgroupbj(xe,function uo4)call uz(ze)call forgroupbj(xe,function up4)endfunction
function ur4 takes nothing returns nothingset tp=createtrigger()call
disabletrigger(tp)call triggerregistertimereventperiodic(tp,5.00)call
triggeraddaction(tp,function uq4)endfunctionfunction us4 takes nothing returns
booleanif(not(getlearnedskillbj()==1096119148))thenreturn falseendifreturn true
endfunctionfunction ut4 takes nothing returns nothingset ye=getlearningunit()call
enabletrigger(tp)endfunctionfunction uu4 takes nothing returns nothingset
up=createtrigger()call triggerregisteranyuniteventbj(up,event_player_hero_skill)
call triggeraddcondition(up,condition(function us4))call
triggeraddaction(up,function ut4)endfunctionfunction uv4 takes nothing returns
booleanif(not(getspellabilityid()==1093681736))thenreturn falseendifreturn true
endfunctionfunction uw4 takes nothing returns nothingset wf=getspellabilityunit()
set yf=distancebetweenpoints(getunitloc(wf),getspelltargetloc())set
zf=getunitloc(wf)call issuetargetorderbj(af,"impale",wf)call
createnunitsatloc(1,1747989069,getowningplayer(wf),zf,getunitfacing(wf))call
unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())call
addlightningloc("afod",zf,getspelltargetloc())call uz(0.20)call
setunitinvulnerable(wf,true)call pauseunitbj(true,wf)call setunitpathing(wf,false)
call enabletrigger(wp)returnendfunctionfunction ux4 takes nothing returns nothing
set vp=createtrigger()call disabletrigger(vp)call
triggerregisteranyuniteventbj(vp,event_player_unit_spell_effect)call
triggeraddcondition(vp,condition(function uv4))call triggeraddaction(vp,function
uw4)endfunctionfunction uy4 takes nothing returns booleanif(not(yf<=90.00))then
return falseendifreturn trueendfunctionfunction uz4 takes nothing returns nothing
if(uy4())thencall disabletrigger(gettriggeringtrigger())call
destroylightningbj(getlastcreatedlightningbj())call setunitinvulnerable(wf,false)
call pauseunitbj(false,wf)call setunitpathing(wf,true)returnelseset yf=(yf-90.00)
call setunitpositionloc(wf,xz(getunitloc(wf),90.00,getunitfacing(wf)))endif
endfunctionfunction ua4 takes nothing returns nothingset wp=createtrigger()call
disabletrigger(wp)call triggerregistertimereventperiodic(wp,0.02)call
triggeraddaction(wp,function uz4)endfunctionfunction ua4 takes nothing returns
booleanif(not(getspellabilityid()==1093679175))thenreturn falseendifreturn true
endfunctionfunction ub4 takes nothing returns nothingset x9=getspellabilityunit()
call uz(0.20)call setunitinvulnerable(x9,true)call pauseunitbj(true,x9)call
setunitpathing(x9,false)call unitaddabilitybj(1097691750,x9)call enabletrigger(yp)
returnendfunctionfunction ub4 takes nothing returns nothingset xp=createtrigger()
call triggerregisteranyuniteventbj(xp,event_player_unit_spell_effect)call
triggeraddcondition(xp,condition(function ua4))call triggeraddaction(xp,function
ub4)endfunctionfunction uc4 takes nothing returns boolean
return(getunitflyheight(x9)<=600.00)endfunctionfunction uc4 takes nothing returns
booleanreturn(getunitflyheight(x9)>600.00)endfunctionfunction ud4 takes nothing
returns booleanreturn(getunitflyheight(x9)>600.00)endfunctionfunction ue4 takes
nothing returns booleanreturn(getunitflyheight(x9)>600.00)endfunctionfunction u34
takes nothing returns nothingif(uc4())thencall
setunitflyheightbj(x9,(getunitflyheight(x9)+60.00),2000.00)elsecall donothing()
endifif(uc4())thencall triggerexecute(zp)elsecall donothing()endifif(ud4())then
call disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(ue4())then
returnelsecall donothing()endifendfunctionfunction uf4 takes nothing returns
nothingset yp=createtrigger()call disabletrigger(yp)call
triggerregistertimereventperiodic(yp,0.03)call triggeraddaction(yp,function u34)
endfunctionfunction ug4 takes nothing returns booleanreturn(e==1)endfunction
function u64 takes nothing returns booleanreturn(e==2)endfunctionfunction uh4
takes nothing returns booleanreturn(e==3)endfunctionfunction ui4 takes nothing
returns booleanreturn(e==4)endfunctionfunction ul4 takes nothing returns nothing
set e=getrandomint(1,4)if(ug4())thencall setunitpositionloc(x9,getrectcenter(xh))
elsecall donothing()endifif(u64())thencall
setunitpositionloc(x9,getrectcenter(wh))elsecall donothing()endifif(uh4())thencall
setunitpositionloc(x9,getrectcenter(yh))elsecall donothing()endifif(ui4())thencall
setunitpositionloc(x9,getrectcenter(zh))elsecall donothing()endifcall uz(0.50)call
pancameratotimedlocforplayer(getowningplayer(x9),getunitloc(x9),0)call uz(1.00)
call enabletrigger(dq)endfunctionfunction u14 takes nothing returns nothingset
zp=createtrigger()call triggeraddaction(zp,function ul4)endfunctionfunction uj4
takes nothing returns booleanreturn(getunitflyheight(x9)>=100.00)endfunction
function uk4 takes nothing returns booleanreturn(getunitflyheight(x9)<100.00)
endfunctionfunction ul4 takes nothing returns boolean
return(getunitflyheight(x9)<100.00)endfunctionfunction um4 takes nothing returns
booleanreturn(getunitflyheight(x9)<100.00)endfunctionfunction un4 takes nothing
returns nothingif(uj4())thencall setunitflyheightbj(x9,(getunitflyheight(x9)-
40.00),1500.00)elsecall donothing()endifif(uk4())thencall triggerexecute(eq)else
call donothing()endifif(ul4())thencall disabletrigger(gettriggeringtrigger())else
call donothing()endifif(um4())thenreturnelsecall donothing()endifendfunction
function uo4 takes nothing returns nothingset dq=createtrigger()call
disabletrigger(dq)call triggerregistertimereventperiodic(dq,0.03)call
triggeraddaction(dq,function un4)endfunctionfunction u04 takes nothing returns
nothingcall setunitflyheightbj(x9,0.00,1000.00)call setunitinvulnerable(x9,false)
call unitremoveabilitybj(1097691750,x9)call setunitpathing(x9,true)call
pauseunitbj(false,x9)call triggersleepaction(0.60)call resetunitanimation(x9)
endfunctionfunction up4 takes nothing returns nothingset eq=createtrigger()call
triggeraddaction(eq,function u04)endfunctionfunction uq4 takes nothing returns
booleanif(not(getspellabilityid()==1093679174))thenreturn falseendifreturn true
endfunctionfunction ur4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679174,x9)==1)endfunctionfunction us4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679174,x9)==2)
endfunctionfunction u54 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679174,x9)==3)endfunctionfunction
ut4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679174,x9)==4)endfunctionfunction uu4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679174,x9)==5)
endfunctionfunction uv4 takes nothing returns nothingset x9=getspellabilityunit()
call setunitinvulnerable(x9,true)call pauseunitbj(true,x9)if(ur4())thenset dd=8.00
elsecall donothing()endifif(us4())thenset dd=16.00elsecall donothing()endif
if(u54())thenset dd=24.00elsecall donothing()endifif(ut4())thenset dd=32.00else
call donothing()endifif(uu4())thenset dd=40.00elsecall donothing()endifcall
uz(0.20)call
createnunitsatloc(1,1747988813,getowningplayer(x9),xz(getunitloc(x9),50.00,getunit
facing(x9)),getunitfacing(x9))set y9=getlastcreatedunit()set z9=500.00set ed=0.00
call setunitpathing(y9,false)call enabletrigger(hq)returnendfunctionfunction uw4
takes nothing returns nothingset fq=createtrigger()call
triggerregisteranyuniteventbj(fq,event_player_unit_spell_effect)call
triggeraddcondition(fq,condition(function uq4))call triggeraddaction(fq,function
uv4)endfunctionfunction ux4 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1215130471)endfunctionfunction uy4 takes
nothing returns booleanreturn(getunitlevel(getfilterunit())==10)endfunction
function u24 takes nothing returns booleanreturn getbooleanand(ux4(),uy4())
endfunctionfunction uz4 takes nothing returns boolean
if(not(countunitsingroup(fa(dh,condition(function u24)))==1))thenreturn falseendif
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1215130471))th
enreturn falseendifreturn trueendfunctionfunction u_4 takes nothing returns
booleanreturn(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction
v44 takes nothing returns boolean
if(not(isplayerally(gettriggerplayer(),player(10))==true))thenreturn falseendif
return trueendfunctionfunction v74 takes nothing returns boolean
if(not(isplayerally(gettriggerplayer(),player(11))==true))thenreturn falseendif
return trueendfunctionfunction v84 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),getrectcenter(w4))endfunctionfunction v94 takes
nothing returns nothingset m4=getherolevel(getenumunit())endfunctionfunction vd4
takes nothing returns nothingcall unitremoveitemfromslotswapped(1,getenumunit())
endfunctionfunction ve4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(2,getenumunit())endfunctionfunction vf4 takes
nothing returns nothingcall unitremoveitemfromslotswapped(3,getenumunit())
endfunctionfunction vg4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(4,getenumunit())endfunctionfunction vh4 takes
nothing returns nothingcall unitremoveitemfromslotswapped(5,getenumunit())
endfunctionfunction vi4 takes nothing returns nothingcall
unitremoveitemfromslotswapped(6,getenumunit())endfunctionfunction vj4 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction vk4 takes
nothing returns booleanreturn(getowningplayer(getlastcreatedunit())==player(0))
endfunctionfunction vm4 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction vn4
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction vo4
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vp4
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction vq4
takes nothing returns booleanreturn getbooleanor(vo4(),vp4())endfunctionfunction
vr4 takes nothing returns booleanreturn getbooleanor(vn4(),vq4())endfunction
function vs4 takes nothing returns booleanreturn getbooleanor(vm4(),vr4())
endfunctionfunction vt4 takes nothing returns booleanreturn
getbooleanor(vk4(),vs4())endfunctionfunction vu4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction vv4
takes nothing returns nothingcall setherolevelbj(getenumunit(),10,false)
endfunctionfunction vw4 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())set
d8=ra(gettriggerplayer(),condition(function u_4))if(v44())thenset w4=cgelseendif
if(v74())thenset w4=dgelseendifcall forgroupbj(d8,function v84)call
forgroupbj(d8,function v94)call forgroupbj(d8,function vd4)call
forgroupbj(d8,function ve4)call forgroupbj(d8,function vf4)call
forgroupbj(d8,function vg4)call forgroupbj(d8,function vh4)call
forgroupbj(d8,function vi4)call destroygroup(d8)set d8=nullcall
forgroupbj(sa(gettriggerplayer(),1215130471),function vj4)call
createnunitsatloc(1,1211117914,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(vt4())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
forgroupbj(ra(gettriggerplayer(),condition(function vu4)),function vv4)call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(getlastcreatedunit()),0
)call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call playsoundbj(ti)call displaytexttoforce(getplayersall(),"sasuke has
fallen from grace !")returnendfunctionfunction vx4 takes nothing returns nothing
set gq=createtrigger()call
triggerregisterplayerchatevent(gq,player(0),"-fall",true)call
triggerregisterplayerchatevent(gq,player(1),"-fall",true)call
triggerregisterplayerchatevent(gq,player(2),"-fall",true)call
triggerregisterplayerchatevent(gq,player(3),"-fall",true)call
triggerregisterplayerchatevent(gq,player(4),"-fall",true)call
triggerregisterplayerchatevent(gq,player(5),"-fall",true)call
triggerregisterplayerchatevent(gq,player(6),"-fall",true)call
triggerregisterplayerchatevent(gq,player(7),"-fall",true)call
triggerregisterplayerchatevent(gq,player(8),"-fall",true)call
triggerregisterplayerchatevent(gq,player(9),"-fall",true)call
triggeraddcondition(gq,condition(function uz4))call triggeraddaction(gq,function
vw4)endfunctionfunction vy4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(x9))==true)endfunctionfunction
vz4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
va4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function va4 takes nothing returns booleanreturn getbooleanand(vz4(),va4())
endfunctionfunction vb4 takes nothing returns booleanreturn
getbooleanand(vy4(),va4())endfunctionfunction vb4 takes nothing returns nothing
call unitdamagetargetbj(x9,getenumunit(),dd,attack_type_chaos,damage_type_normal)
endfunctionfunction vc4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(x9))==true)endfunctionfunction
vc4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ve4 takes nothing returns booleanreturn getbooleanand(vc4(),vd4())
endfunctionfunction v34 takes nothing returns booleanreturn
getbooleanand(vc4(),ve4())endfunctionfunction vf4 takes nothing returns nothing
call setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
25.00,anglebetweenpoints(getunitloc(getenumunit()),getunitloc(x9))))endfunction
function vg4 takes nothing returns booleanreturn(ed>=1100.00)endfunctionfunction
v64 takes nothing returns booleanreturn(ed>=1100.00)endfunctionfunction vh4 takes
nothing returns booleanreturn(ed>=1100.00)endfunctionfunction vi4 takes nothing
returns nothingset z9=(z9+25.00)call
setunitpositionloc(y9,xz(getunitloc(y9),20.00,getunitfacing(y9)))call
setunitscalepercent(y9,z9,z9,z9)call
forgroupbj(ka(250.00,getunitloc(y9),condition(function vb4)),function vb4)call
forgroupbj(ka(250.00,getunitloc(y9),condition(function v34)),function vf4)set
ed=(ed+20.00)if(vg4())thencall triggerexecute(iq)elsecall donothing()endif
if(v64())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(vh4())thenreturnelsecall donothing()endifendfunctionfunction vl4 takes nothing
returns nothingset hq=createtrigger()call disabletrigger(hq)call
triggerregistertimereventperiodic(hq,0.03)call triggeraddaction(hq,function vi4)
endfunctionfunction v14 takes nothing returns nothingcall removeunit(y9)call
resetunitanimation(x9)call triggersleepaction(0.50)call pauseunitbj(false,x9)call
resetunitanimation(x9)call setunitinvulnerable(x9,false)call
modifyherostat(bj_herostat_str,x9,bj_modifymethod_sub,1)call
unitdamagetargetbj(az,x9,100.00,attack_type_chaos,damage_type_normal)return
endfunctionfunction vj4 takes nothing returns nothingset iq=createtrigger()call
triggeraddaction(iq,function v14)endfunctionfunction vk4 takes nothing returns
nothingset o9=getenumunit()endfunctionfunction vl4 takes nothing returns nothing
call issuepointorderlocbj(getenumunit(),"smart",getrandomlocinrect(ii))endfunction
function vm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction vn4
takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(o9))==true)endfunctionfunction
vo4 takes nothing returns booleanreturn getbooleanand(vm4(),vn4())endfunction
function v04 takes nothing returns boolean
return(countunitsingroup(ka(600.00,getunitloc(o9),condition(function vo4)))>0)
endfunctionfunction vp4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction vq4
takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(o9))==true)endfunctionfunction
vr4 takes nothing returns booleanreturn getbooleanand(vp4(),vq4())endfunction
function vs4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction v54
takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(o9))==true)endfunctionfunction
vt4 takes nothing returns booleanreturn getbooleanand(vs4(),v54())endfunction
function vu4 takes nothing returns boolean
return(countunitsingroup(ka(600.00,getunitloc(o9),condition(function vt4)))>0)
endfunctionfunction vv4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"thunderbolt",grouppickrandomunit(nd))endfunction
function vw4 takes nothing returns nothingcall forgroupbj(pa(1328558164),function
vk4)call moverecttoloc(ii,getunitloc(o9))call forgroupbj(pa(1747988811),function
vl4)if(v04())thenset nd=xa(1,ka(600.00,getunitloc(o9),condition(function vr4)))
elsecall donothing()endifif(vu4())thencall
forgroupbj(xa(2,pa(1747988811)),function vv4)elsecall donothing()endifendfunction
function vx4 takes nothing returns nothingset jq=createtrigger()call
disabletrigger(jq)call
triggerregistertimereventperiodic(jq,getrandomreal(3.00,6.00))call
triggeraddaction(jq,function vw4)endfunctionfunction vy4 takes nothing returns
booleanif(not(getspellabilityid()==1093678938))thenreturn falseendifreturn true
endfunctionfunction v24 takes nothing returns nothingset i9=getspellabilityunit()
set m9=getunitstateswap(unit_state_life,i9)endfunctionfunction vz4 takes nothing
returns nothingset kq=createtrigger()call
triggerregisteranyuniteventbj(kq,event_player_unit_spell_cast)call
triggeraddcondition(kq,condition(function vy4))call triggeraddaction(kq,function
v24)endfunctionfunction v_4 takes nothing returns boolean
if(not(getspellabilityid()==1093678938))thenreturn falseendifreturn true
endfunctionfunction w44 takes nothing returns booleanreturn(m9<1.00)endfunction
function w74 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
w84 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(i9))==true)endfunctionfunction
w94 takes nothing returns booleanreturn getbooleanand(w74(),w84())endfunction
function wd4 takes nothing returns nothingcall
unitdamagetargetbj(i9,getenumunit(),m9,attack_type_chaos,damage_type_normal)
endfunctionfunction we4 takes nothing returns nothingcall
addspecialeffectlocbj(getunitloc(i9),"abilities\\spells\\orc\\warstomp\\warstompca
ster.mdl")set m9=(m9-getunitstateswap(unit_state_life,i9))call uz(0.10)
if(w44())thenset m9=0.00elsecall donothing()endifcall uz(0.10)call
setunitlifebj(i9,(getunitstateswap(unit_state_life,i9)+m9))call uz(0.10)call
destroyeffectbj(getlastcreatedeffectbj())call
forgroupbj(ka(400.00,xz(getunitloc(i9),350.00,getunitfacing(i9)),condition(functio
n w94)),function wd4)returnendfunctionfunction wf4 takes nothing returns nothing
set mq=createtrigger()call
triggerregisteranyuniteventbj(mq,event_player_unit_spell_finish)call
triggerregisteranyuniteventbj(mq,event_player_unit_spell_endcast)call
triggeraddcondition(mq,condition(function v_4))call triggeraddaction(mq,function
we4)endfunctionfunction wg4 takes nothing returns boolean
if(not(getspellabilityid()==1093679154))thenreturn falseendifreturn true
endfunctionfunction wh4 takes nothing returns nothingcall
unitresetcooldown(getspellabilityunit())endfunctionfunction wi4 takes nothing
returns nothingset nq=createtrigger()call
triggerregisteranyuniteventbj(nq,event_player_unit_spell_effect)call
triggeraddcondition(nq,condition(function wg4))call triggeraddaction(nq,function
wh4)endfunctionfunction wj4 takes nothing returns boolean
if(not(getspellabilityid()==1093678935))thenreturn falseendifreturn true
endfunctionfunction wk4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678935,i9)==1))thenreturn falseendifreturn
trueendfunctionfunction wm4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678935,i9)==2))thenreturn falseendifreturn
trueendfunctionfunction wn4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678935,i9)==3))thenreturn falseendifreturn
trueendfunctionfunction wo4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678935,i9)==4))thenreturn falseendifreturn
trueendfunctionfunction wp4 takes nothing returns nothingset
i9=getspellabilityunit()set k9=getspelltargetunit()call uz(0.10)call
setunitinvulnerable(i9,true)call pauseunitbj(true,i9)call
createnunitsatlocfacinglocbj(1,1747988809,getowningplayer(i9),getunitloc(i9),getun
itloc(i9))set j9=getlastcreatedunit()call
unitapplytimedlifebj(12.00,1112820806,j9)call
issuetargetorderbj(j9,"forkedlightning",k9)call uz(0.50)call
issuetargetorderbj(j9,"forkedlightning",k9)call uz(0.50)call
issuetargetorderbj(j9,"forkedlightning",k9)if(wk4())thencall
setunitinvulnerable(i9,false)call removeunit(j9)call pauseunitbj(false,i9)return
elseendifcall uz(0.50)call issuetargetorderbj(j9,"forkedlightning",k9)
if(wm4())thencall setunitinvulnerable(i9,false)call removeunit(j9)call
pauseunitbj(false,i9)returnelseendifcall uz(0.50)call
issuetargetorderbj(j9,"forkedlightning",k9)if(wn4())thencall
setunitinvulnerable(i9,false)call removeunit(j9)call pauseunitbj(false,i9)return
elseendifcall uz(0.50)call issuetargetorderbj(j9,"forkedlightning",k9)
if(wo4())thencall setunitinvulnerable(i9,false)call removeunit(j9)call
pauseunitbj(false,i9)returnelseendifcall uz(0.50)call
issuetargetorderbj(j9,"forkedlightning",k9)call setunitinvulnerable(i9,false)call
pauseunitbj(false,i9)call uz(0.50)call removeunit(j9)returnendfunctionfunction wq4
takes nothing returns nothingset oq=createtrigger()call
triggerregisteranyuniteventbj(oq,event_player_unit_spell_effect)call
triggeraddcondition(oq,condition(function wj4))call triggeraddaction(oq,function
wp4)endfunctionfunction wr4 takes nothing returns boolean
if(not(getspellabilityid()==1093678914))thenreturn falseendifreturn true
endfunctionfunction ws4 takes nothing returns nothingcall
createnunitsatloc(1,1747988807,getowningplayer(getspellabilityunit()),getrectcente
r(getplayablemaprect()),bj_unit_facing)set d9=getlastcreatedunit()call
unitapplytimedlifebj(2.00,1112820806,d9)call
setunitscalepercent(d9,500.00,500.00,500.00)call uz(0.30)call
setunitscalepercent(d9,750.00,750.00,750.00)call uz(0.30)call
setunitscalepercent(d9,1000.00,1000.00,1000.00)call uz(0.30)call
setunitscalepercent(d9,1250.00,1250.00,1250.00)call uz(0.30)call
setunitscalepercent(d9,1500.00,1500.00,1500.00)endfunctionfunction wt4 takes
nothing returns nothingset pq=createtrigger()call
triggerregisteranyuniteventbj(pq,event_player_unit_spell_effect)call
triggeraddcondition(pq,condition(function wr4))call triggeraddaction(pq,function
ws4)endfunctionfunction wu4 takes nothing returns boolean
if(not(getspellabilityid()==1093678916))thenreturn falseendifreturn true
endfunctionfunction wv4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ww4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(f9))==true)endfunctionfunction
wx4 takes nothing returns booleanreturn getbooleanand(wv4(),ww4())endfunction
function wy4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wz4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wa4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wa4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wb4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wb4 takes nothing returns nothingcall
issuetargetorderbj(getenumunit(),"attack",grouppickrandomunit(e9))endfunction
function wc4 takes nothing returns nothingset f9=getspellabilityunit()set
e9=ka(600.00,getunitloc(f9),condition(function wx4))call
forgroupbj(xa(1,e9),function wy4)call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(f9),getunitloc(f9),getun
itloc(f9))set i9=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,i9)
call issuetargetorderbj(i9,"invisibility",f9)set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(xa(1,e9),function wz4)set bj_forloopaindex=bj_forloopaindex+1endloopset
bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall forgroupbj(xa(1,e9),function wa4)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(1.00)set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(xa(1,e9),function wa4)set bj_forloopaindex=bj_forloopaindex+1endloop
call uz(1.00)set bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall forgroupbj(xa(1,e9),function wb4)set
bj_forloopaindex=bj_forloopaindex+1endloopcall uz(1.00)set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(xa(1,e9),function wb4)set bj_forloopaindex=bj_forloopaindex+1endloop
endfunctionfunction wc4 takes nothing returns nothingset qq=createtrigger()call
disabletrigger(qq)call
triggerregisteranyuniteventbj(qq,event_player_unit_spell_effect)call
triggeraddcondition(qq,condition(function wu4))call triggeraddaction(qq,function
wc4)endfunctionfunction wd4 takes nothing returns boolean
if(not(getspellabilityid()==1093678897))thenreturn
falseendifreturn trueendfunctionfunction we4 takes nothing returns nothingset
ld=truecall setunitinvulnerable(q8,true)call disabletrigger(fw)call
disabletrigger(gw)call disabletrigger(hw)call disabletrigger(iw)call
disabletrigger(lw)call disabletrigger(jw)call disabletrigger(kw)call
disabletrigger(lw)call disabletrigger(mw)call disabletrigger(nw)call
disabletrigger(ow)call disabletrigger(pw)call disabletrigger(qw)call
disabletrigger(rw)call disabletrigger(sw)call disabletrigger(tw)call
disabletrigger(uw)call disabletrigger(vw)call disabletrigger(ww)call
disabletrigger(xw)set q8=getspellabilityunit()set r8=getspelltargetloc()set
s8=getunitloc(q8)call pauseunitbj(true,q8)call setunitpathing(q8,false)call
unitaddabilitybj(1097691750,q8)call
addspecialeffectlocbj(s8,"abilities\\spells\\items\\tomeofretraining\\tomeofretrai
ningcaster.mdl")call setunittimescalepercent(q8,15.00)call
setunitanimation(q8,"spell third")call enabletrigger(sq)returnendfunctionfunction
w34 takes nothing returns nothingset rq=createtrigger()call
triggerregisteranyuniteventbj(rq,event_player_unit_spell_effect)call
triggeraddcondition(rq,condition(function wd4))call triggeraddaction(rq,function
we4)endfunctionfunction wf4 takes nothing returns boolean
return(getunitflyheight(q8)<=600.00)endfunctionfunction wg4 takes nothing returns
booleanreturn(getunitflyheight(q8)>600.00)endfunctionfunction w64 takes nothing
returns booleanreturn(getunitflyheight(q8)>600.00)endfunctionfunction wh4 takes
nothing returns booleanreturn(getunitflyheight(q8)>600.00)endfunctionfunction wi4
takes nothing returns nothingif(wf4())thencall
setunitflyheightbj(q8,(getunitflyheight(q8)+40.00),1500.00)elsecall donothing()
endifif(wg4())thencall enabletrigger(tq)elsecall donothing()endifif(w64())thencall
disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(wh4())thenreturn
elsecall donothing()endifendfunctionfunction wl4 takes nothing returns nothingset
sq=createtrigger()call disabletrigger(sq)call
triggerregistertimereventperiodic(sq,0.03)call triggeraddaction(sq,function wi4)
endfunctionfunction w14 takes nothing returns boolean
return(distancebetweenpoints(getunitloc(q8),r8)>100.00)endfunctionfunction wj4
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(q8),r8)<=100.00)endfunctionfunction wk4
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(q8),r8)<=100.00)endfunctionfunction wl4
takes nothing returns boolean
return(distancebetweenpoints(getunitloc(q8),r8)<=100.00)endfunctionfunction wm4
takes nothing returns nothingif(w14())thencall
setunitpositionloc(q8,xz(getunitloc(q8),45.00,anglebetweenpoints(s8,r8)))elsecall
donothing()endifif(wj4())thencall enabletrigger(uq)elsecall donothing()endif
if(wk4())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(wl4())thenreturnelsecall donothing()endifendfunctionfunction wn4 takes nothing
returns nothingset tq=createtrigger()call disabletrigger(tq)call
triggerregistertimereventperiodic(tq,0.03)call triggeraddaction(tq,function wm4)
endfunctionfunction wo4 takes nothing returns boolean
return(getunitflyheight(q8)>=100.00)endfunctionfunction w04 takes nothing returns
booleanreturn(getunitflyheight(q8)<100.00)endfunctionfunction wp4 takes nothing
returns booleanreturn(getunitflyheight(q8)<100.00)endfunctionfunction wq4 takes
nothing returns booleanreturn(getunitflyheight(q8)<100.00)endfunctionfunction wr4
takes nothing returns nothingif(wo4())thencall
setunitflyheightbj(q8,(getunitflyheight(q8)-40.00),1500.00)elsecall donothing()
endifif(w04())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()
endifif(wp4())thencall triggerexecute(vq)elsecall donothing()endifif(wq4())then
returnelsecall donothing()endifendfunctionfunction ws4 takes nothing returns
nothingset uq=createtrigger()call disabletrigger(uq)call
triggerregistertimereventperiodic(uq,0.03)call triggeraddaction(uq,function wr4)
endfunctionfunction w54 takes nothing returns nothingset ld=falsecall
setunitflyheightbj(q8,0.00,1000.00)call setunitinvulnerable(q8,false)call
enabletrigger(ww)call enabletrigger(xw)call enabletrigger(uw)call
enabletrigger(vw)call enabletrigger(sw)call enabletrigger(tw)call
enabletrigger(qw)call enabletrigger(rw)call enabletrigger(mw)call
enabletrigger(nw)call enabletrigger(ow)call enabletrigger(pw)call
enabletrigger(lw)call enabletrigger(jw)call enabletrigger(kw)call
enabletrigger(lw)call enabletrigger(fw)call enabletrigger(gw)call
enabletrigger(hw)call enabletrigger(iw)call unitremoveabilitybj(1097691750,q8)call
setunitpathing(q8,true)call
addspecialeffectlocbj(r8,"abilities\\spells\\orc\\warstomp\\warstompcaster.mdl")
call pauseunitbj(false,q8)call triggersleepaction(0.60)call
destroyeffectbj(getlastcreatedeffectbj())call resetunitanimation(q8)endfunction
function wt4 takes nothing returns nothingset vq=createtrigger()call
triggeraddaction(vq,function w54)endfunctionfunction wu4 takes nothing returns
booleanif(not(getlearnedskillbj()==1093678896))thenreturn falseendifreturn true
endfunctionfunction wv4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678896,getlearningunit())==1))thenreturn
falseendifreturn trueendfunctionfunction ww4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678896,getlearningunit())==2))thenreturn
falseendifreturn trueendfunctionfunction wx4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678896,getlearningunit())==3))thenreturn
falseendifreturn trueendfunctionfunction wy4 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678896,getlearningunit())==4))thenreturn
falseendifreturn trueendfunctionfunction w24 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678896,getlearningunit())==5))thenreturn
falseendifreturn trueendfunctionfunction wz4 takes nothing returns nothing
if(wv4())thencall setunitmovespeed(getlearningunit(),315.00)elseendifif(ww4())then
call setunitmovespeed(getlearningunit(),330.00)elseendifif(wx4())thencall
setunitmovespeed(getlearningunit(),345.00)elseendifif(wy4())thencall
setunitmovespeed(getlearningunit(),360.00)elseendifif(w24())thencall
setunitmovespeed(getlearningunit(),375.00)elseendifendfunctionfunction w_4 takes
nothing returns nothingset wq=createtrigger()call
triggerregisteranyuniteventbj(wq,event_player_hero_skill)call
triggeraddcondition(wq,condition(function wu4))call triggeraddaction(wq,function
wz4)endfunctionfunction x44 takes nothing returns boolean
return(getunittypeid(getattackedunitbj())==1311780943)endfunctionfunction x74
takes nothing returns boolean
return(getunittypeid(getattackedunitbj())==1429221449)endfunctionfunction x84
takes nothing returns boolean
if(not(unithasbuffbj(getattackedunitbj(),1110454606)==true))thenreturn falseendif
if(not getbooleanor(x44(),x74()))thenreturn falseendif
if(not(getunittypeid(getattacker())!=1311780915))thenreturn falseendif
if(not(getunittypeid(getattacker())!=1848652099))thenreturn falseendif
if(not(getunittypeid(getattacker())!=1869767017))thenreturn falseendifreturn true
endfunctionfunction x94 takes nothing returns booleanreturn(getrandomint(1,12)==1)
endfunctionfunction xd4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xe4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(getattackedunitbj()))==true)
endfunctionfunction xf4 takes nothing returns booleanreturn
getbooleanand(xd4(),xe4())endfunctionfunction xg4 takes nothing returns nothing
call
unitdamagetargetbj(getattackedunitbj(),getenumunit(),75.00,attack_type_hero,damage
_type_normal)endfunctionfunction xh4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xi4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(getattackedunitbj()))==true)
endfunctionfunction xj4 takes nothing returns booleanreturn
getbooleanand(xh4(),xi4())endfunctionfunction xk4 takes nothing returns nothing
call
unitdamagetargetbj(getattackedunitbj(),getenumunit(),75.00,attack_type_hero,damage
_type_normal)endfunctionfunction xm4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xn4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(getattackedunitbj()))==true)
endfunctionfunction xo4 takes nothing returns booleanreturn
getbooleanand(xm4(),xn4())endfunctionfunction xp4 takes nothing returns nothing
call
unitdamagetargetbj(getattackedunitbj(),getenumunit(),75.00,attack_type_hero,damage
_type_normal)endfunctionfunction xq4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
xr4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(getattackedunitbj()))==true)
endfunctionfunction xs4 takes nothing returns booleanreturn
getbooleanand(xq4(),xr4())endfunctionfunction xt4 takes nothing returns nothing
call
unitdamagetargetbj(getattackedunitbj(),getenumunit(),75.00,attack_type_hero,damage
_type_normal)endfunctionfunction xu4 takes nothing returns nothingif(x94())then
call donothing()elsereturnendifcall disabletrigger(gettriggeringtrigger())call
setunitinvulnerable(getattackedunitbj(),true)call
pauseunitbj(true,getattackedunitbj())call
setunitpathing(getattackedunitbj(),false)call
moverecttoloc(hi,getunitloc(getattackedunitbj()))call
setunitpositionloc(getattackedunitbj(),getrandomlocinrect(hi))call
setunitanimation(getattackedunitbj(),"attack - 2")call playsoundbj(li)set
b8=fa(hi,condition(function
xf4))call forgroupbj(b8,function xg4)call uz(0.50)call
setunitpositionloc(getattackedunitbj(),getrandomlocinrect(hi))call
setunitanimation(getattackedunitbj(),"attack - 2")call playsoundbj(li)set
b8=fa(hi,condition(function xj4))call forgroupbj(b8,function xk4)call uz(0.50)call
setunitpositionloc(getattackedunitbj(),getrandomlocinrect(hi))call
setunitanimation(getattackedunitbj(),"attack - 2")call playsoundbj(li)set
b8=fa(hi,condition(function xo4))call forgroupbj(b8,function xp4)call uz(0.50)call
setunitpositionloc(getattackedunitbj(),getrandomlocinrect(hi))call
setunitanimation(getattackedunitbj(),"attack - 2")call playsoundbj(li)set
b8=fa(hi,condition(function xs4))call forgroupbj(b8,function xt4)call uz(0.50)call
setunitpositionloc(getattackedunitbj(),getrectcenter(hi))call destroygroup(b8)set
b8=nullcall setunitinvulnerable(getattackedunitbj(),false)call
pauseunitbj(false,getattackedunitbj())call resetunitanimation(getattackedunitbj())
call setunitpathing(getattackedunitbj(),true)call
enabletrigger(gettriggeringtrigger())endfunctionfunction xv4 takes nothing returns
nothingset xq=createtrigger()call disabletrigger(xq)call
triggerregisteranyuniteventbj(xq,event_player_unit_attacked)call
triggeraddcondition(xq,condition(function x84))call triggeraddaction(xq,function
xu4)endfunctionfunction xw4 takes nothing returns boolean
if(not(getspellabilityid()==1096971115))thenreturn falseendifreturn true
endfunctionfunction xx4 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(k7))endfunctionfunction xy4 takes
nothing returns boolean
if(not(countlivingplayerunitsoftypeid(1865429072,getowningplayer(k7))>0))then
return falseendifreturn trueendfunctionfunction xz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1096971115,k7)==1)endfunctionfunction xa4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1096971115,k7)==2)
endfunctionfunction xa4 takes nothing returns boolean
return(getunitabilitylevelswapped(1096971115,k7)==3)endfunctionfunction xb4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1096971115,k7)==4)
endfunctionfunction xb4 takes nothing returns boolean
return(getunitabilitylevelswapped(1096971115,k7)==5)endfunctionfunction xc4 takes
nothing returns nothingset k7=getspellabilityunit()if(xy4())thencall
questmessagebj(wa(condition(function xx4)),bj_questmessage_warning,"you cannot
have more than 1 moku bunshin at a time !")returnelseendifif(xz4())thenset
l7=10.00elsecall donothing()endifif(xa4())thenset l7=15.00elsecall donothing()
endifif(xa4())thenset l7=20.00elsecall donothing()endifif(xb4())thenset l7=25.00
elsecall donothing()endifif(xb4())thenset l7=40.00elsecall donothing()endifcall
triggersleepaction(0.75)call
createnunitsatloc(1,1865429072,getowningplayer(k7),getunitloc(k7),bj_unit_facing)
call unitapplytimedlifebj(l7,1112820806,getlastcreatedunit())returnendfunction
function xc4 takes nothing returns nothingset yq=createtrigger()call
triggerregisteranyuniteventbj(yq,event_player_unit_spell_finish)call
triggeraddcondition(yq,condition(function xw4))call triggeraddaction(yq,function
xc4)endfunctionfunction xd4 takes nothing returns boolean
if(not(getspellabilityid()==1098344034))thenreturn falseendifreturn true
endfunctionfunction xe4 takes nothing returns boolean
return(getunitabilitylevelswapped(1098344034,s7)==1)endfunctionfunction x34 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1098344034,s7)==3)
endfunctionfunction xf4 takes nothing returns boolean
return(getunitabilitylevelswapped(1098344034,s7)==4)endfunctionfunction xg4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1098344034,s7)==5)
endfunctionfunction x64 takes nothing returns nothingset s7=getspellabilityunit()
set t7=getspelltargetunit()set
u7=distancebetweenpoints(getunitloc(s7),getunitloc(t7))set
v7=i2r(getherostatbj(bj_herostat_str,s7,true))if(xe4())thenset v7=(v7/ 2.00)else
call donothing()endifif(x34())thenset v7=(v7*1.50)elsecall donothing()endif
if(xf4())thenset v7=(v7*2.00)elsecall donothing()endifif(xg4())thenset
v7=(v7*2.50)elsecall donothing()endifcall uz(0.50)call
unitdamagetargetbj(s7,t7,v7,attack_type_hero,damage_type_normal)call
enabletrigger(aq)endfunctionfunction xh4 takes nothing returns nothingset
zq=createtrigger()call
triggerregisteranyuniteventbj(zq,event_player_unit_spell_effect)call
triggeraddcondition(zq,condition(function xd4))call triggeraddaction(zq,function
x64)endfunctionfunction xi4 takes nothing returns booleanreturn(u7>=700.00)
endfunctionfunction xl4 takes nothing returns booleanreturn(u7>=700.00)endfunction
function x14 takes nothing returns nothingset u7=(u7+25.00)call
setunitpositionloc(t7,xz(getunitloc(t7),25.00,anglebetweenpoints(getunitloc(s7),ge
tunitloc(t7))))call
addspecialeffecttargetunitbj("chest",t7,"abilities\\weapons\\ancientprotectormissi
le\\ancientprotectormissile.mdl")call destroyeffectbj(getlastcreatedeffectbj())
if(xi4())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(xl4())thenreturnelsecall donothing()endifendfunctionfunction xj4 takes nothing
returns nothingset aq=createtrigger()call disabletrigger(aq)call
triggerregistertimereventperiodic(aq,0.03)call triggeraddaction(aq,function x14)
endfunctionfunction xk4 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1311780938))thenreturn falseendif
if(not(unithasbuffbj(getattackedunitbj(),1110454597)==true))thenreturn falseendif
return trueendfunctionfunction xl4 takes nothing returns boolean
return(getrandomint(1,100)<=8)endfunctionfunction xm4 takes nothing returns
booleanif(not(r7==1))thenreturn falseendifreturn trueendfunctionfunction xn4 takes
nothing returns booleanreturn(getrandomint(1,100)<=16)endfunctionfunction xo4
takes nothing returns booleanif(not(r7==2))thenreturn falseendifreturn true
endfunctionfunction x04 takes nothing returns boolean
return(getrandomint(1,100)<=24)endfunctionfunction xp4 takes nothing returns
booleanif(not(r7==3))thenreturn falseendifreturn trueendfunctionfunction xq4 takes
nothing returns booleanreturn(getrandomint(1,100)<=32)endfunctionfunction xr4
takes nothing returns booleanif(not(r7==4))thenreturn falseendifreturn true
endfunctionfunction xs4 takes nothing returns boolean
return(getrandomint(1,100)<=40)endfunctionfunction x54 takes nothing returns
booleanif(not(r7==5))thenreturn falseendifreturn trueendfunctionfunction xt4 takes
nothing returns nothingset
r7=getunitabilitylevelswapped(1093678149,getattackedunitbj())if(xm4())then
if(xl4())thencall donothing()elsereturnendifelseendifif(xo4())thenif(xn4())then
call donothing()elsereturnendifelseendifif(xp4())thenif(x04())thencall donothing()
elsereturnendifelseendifif(xr4())thenif(xq4())thencall donothing()elsereturnendif
elseendifif(x54())thenif(xs4())thencall donothing()elsereturnendifelseendifcall
createnunitsatloc(1,1747988791,getowningplayer(getattackedunitbj()),getunitloc(get
attackedunitbj()),bj_unit_facing)call
unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
issueimmediateorderbj(getlastcreatedunit(),"fanofknives")returnendfunctionfunction
xu4 takes nothing returns nothingset aq=createtrigger()call disabletrigger(aq)call
triggerregisteranyuniteventbj(aq,event_player_unit_attacked)call
triggeraddcondition(aq,condition(function xk4))call triggeraddaction(aq,function
xt4)endfunctionfunction xv4 takes nothing returns boolean
if(not(getspellabilityid()==1093678418))thenreturn falseendifreturn true
endfunctionfunction xw4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678418,e7)==1)endfunctionfunction xx4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678418,e7)==2)
endfunctionfunction xy4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678418,e7)==3)endfunctionfunction x24 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678418,e7)==4)
endfunctionfunction xz4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678418,e7)==5)endfunctionfunction x_4 takes
nothing returns nothingcall
createnunitsatloc(1,1747988790,getowningplayer(e7),z4,anglebetweenpoints(z4,getuni
tloc(d7)))if(xw4())thencall
unitapplytimedlifebj(3.00,1112820806,getlastcreatedunit())elsecall donothing()
endifif(xx4())thencall unitapplytimedlifebj(4.00,1112820806,getlastcreatedunit())
elsecall donothing()endifif(xy4())thencall
unitapplytimedlifebj(5.00,1112820806,getlastcreatedunit())elsecall donothing()
endifif(x24())thencall unitapplytimedlifebj(6.00,1112820806,getlastcreatedunit())
elsecall donothing()endifif(xz4())thencall
unitapplytimedlifebj(7.00,1112820806,getlastcreatedunit())elsecall donothing()
endifcall issuetargetorderbj(getlastcreatedunit(),"magicleash",d7)return
endfunctionfunction y44 takes nothing returns nothingset bq=createtrigger()call
triggerregisteranyuniteventbj(bq,event_player_unit_spell_finish)call
triggeraddcondition(bq,condition(function xv4))call triggeraddaction(bq,function
x_4)endfunctionfunction y74 takes nothing returns boolean
if(not(getspellabilityid()==1093678418))thenreturn falseendifreturn true
endfunctionfunction y84 takes nothing returns nothingset e7=getspellabilityunit()
set d7=getspelltargetunit()set z4=getunitloc(e7)endfunctionfunction y94 takes
nothing returns nothingset bq=createtrigger()call
triggerregisteranyuniteventbj(bq,event_player_unit_spell_cast)call
triggeraddcondition(bq,condition(function y74))call triggeraddaction(bq,function
y84)endfunctionfunction yd4 takes nothing returns boolean
if(not(getspellabilityid()==1093678901))thenreturn falseendifreturn true
endfunctionfunction
ye4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==1)endfunctionfunction yf4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==2)
endfunctionfunction yg4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==3)endfunctionfunction yh4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==4)
endfunctionfunction yi4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==5)endfunctionfunction yj4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==2)
endfunctionfunction yk4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==3)endfunctionfunction ym4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==4)
endfunctionfunction yn4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==5)endfunctionfunction yo4 takes
nothing returns nothingset t8=getspellabilityunit()if(ye4())thenset u8=5.00else
call donothing()endifif(yf4())thenset u8=8.00elsecall donothing()endif
if(yg4())thenset u8=11.00elsecall donothing()endifif(yh4())thenset u8=14.00else
call donothing()endifif(yi4())thenset u8=17.00elsecall donothing()endifcall
triggersleepaction(0.50)call
createnunitsatloc(1,1697656887,getowningplayer(t8),xz(getunitloc(t8),200.00,getuni
tfacing(t8)),bj_unit_facing)set v8=getlastcreatedunit()call
unitapplytimedlifebj(u8,1112820806,v8)call unitaddabilitybj(1093678900,v8)
if(yj4())thencall setunitabilitylevelswapped(1093678902,v8,2)elsecall donothing()
endifif(yk4())thencall setunitabilitylevelswapped(1093678902,v8,3)elsecall
donothing()endifif(ym4())thencall setunitabilitylevelswapped(1093678902,v8,4)else
call donothing()endifif(yn4())thencall setunitabilitylevelswapped(1093678902,v8,5)
elsecall donothing()endifcall issueimmediateorderbj(v8,"stomp")call
triggerexecute(cq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678900,v8)returnendfunctionfunction yp4 takes nothing
returns nothingset cq=createtrigger()call
triggerregisteranyuniteventbj(cq,event_player_unit_spell_finish)call
triggeraddcondition(cq,condition(function yd4))call triggeraddaction(cq,function
yo4)endfunctionfunction yq4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==2)endfunctionfunction yr4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==3)
endfunctionfunction ys4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==4)endfunctionfunction yt4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==5)
endfunctionfunction yu4 takes nothing returns nothingcall
createnunitsatloc(1,1697656887,getowningplayer(t8),xz(getunitloc(t8),500.00,getuni
tfacing(t8)),bj_unit_facing)set w8=getlastcreatedunit()call
unitapplytimedlifebj(u8,1112820806,w8)call unitaddabilitybj(1093678900,w8)
if(yq4())thencall setunitabilitylevelswapped(1093678902,w8,2)elsecall donothing()
endifif(yr4())thencall setunitabilitylevelswapped(1093678902,w8,3)elsecall
donothing()endifif(ys4())thencall setunitabilitylevelswapped(1093678902,w8,4)else
call donothing()endifif(yt4())thencall setunitabilitylevelswapped(1093678902,w8,5)
elsecall donothing()endifcall issueimmediateorderbj(w8,"stomp")call
triggerexecute(dq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678900,w8)returnendfunctionfunction yv4 takes nothing
returns nothingset cq=createtrigger()call triggeraddaction(cq,function yu4)
endfunctionfunction yw4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==2)endfunctionfunction yx4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==3)
endfunctionfunction yy4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==4)endfunctionfunction yz4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==5)
endfunctionfunction ya4 takes nothing returns nothingcall
createnunitsatloc(1,1697656887,getowningplayer(t8),xz(getunitloc(t8),800.00,getuni
tfacing(t8)),bj_unit_facing)set x8=getlastcreatedunit()call
unitapplytimedlifebj(u8,1112820806,x8)call unitaddabilitybj(1093678900,x8)
if(yw4())thencall setunitabilitylevelswapped(1093678902,x8,2)elsecall donothing()
endifif(yx4())thencall setunitabilitylevelswapped(1093678902,x8,3)elsecall
donothing()endifif(yy4())thencall setunitabilitylevelswapped(1093678902,x8,4)else
call donothing()endifif(yz4())thencall setunitabilitylevelswapped(1093678902,x8,5)
elsecall donothing()endifcall issueimmediateorderbj(x8,"stomp")call
triggerexecute(eq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678900,x8)returnendfunctionfunction ya4 takes nothing
returns nothingset dq=createtrigger()call triggeraddaction(dq,function ya4)
endfunctionfunction yb4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==2)endfunctionfunction yb4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==3)
endfunctionfunction yc4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==4)endfunctionfunction yc4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==5)
endfunctionfunction yd4 takes nothing returns nothingcall
createnunitsatloc(1,1697656887,getowningplayer(t8),xz(getunitloc(t8),1100.00,getun
itfacing(t8)),bj_unit_facing)set y8=getlastcreatedunit()call
unitapplytimedlifebj(u8,1112820806,y8)call unitaddabilitybj(1093678900,y8)
if(yb4())thencall setunitabilitylevelswapped(1093678902,y8,2)elsecall donothing()
endifif(yb4())thencall setunitabilitylevelswapped(1093678902,y8,3)elsecall
donothing()endifif(yc4())thencall setunitabilitylevelswapped(1093678902,y8,4)else
call donothing()endifif(yc4())thencall setunitabilitylevelswapped(1093678902,y8,5)
elsecall donothing()endifcall issueimmediateorderbj(y8,"stomp")call
triggerexecute(fq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678900,y8)returnendfunctionfunction ye4 takes nothing
returns nothingset eq=createtrigger()call triggeraddaction(eq,function yd4)
endfunctionfunction y34 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==2)endfunctionfunction yf4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==3)
endfunctionfunction yg4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678901,t8)==4)endfunctionfunction y64 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678901,t8)==5)
endfunctionfunction yh4 takes nothing returns nothingcall
createnunitsatloc(1,1697656887,getowningplayer(t8),xz(getunitloc(t8),1400.00,getun
itfacing(t8)),bj_unit_facing)set z8=getlastcreatedunit()call
unitapplytimedlifebj(u8,1112820806,z8)call unitaddabilitybj(1093678900,z8)
if(y34())thencall setunitabilitylevelswapped(1093678902,z8,2)elsecall donothing()
endifif(yf4())thencall setunitabilitylevelswapped(1093678902,z8,3)elsecall
donothing()endifif(yg4())thencall setunitabilitylevelswapped(1093678902,z8,4)else
call donothing()endifif(y64())thencall setunitabilitylevelswapped(1093678902,z8,5)
elsecall donothing()endifcall issueimmediateorderbj(z8,"stomp")call
triggersleepaction(0.30)call unitremoveabilitybj(1093678900,z8)returnendfunction
function yi4 takes nothing returns nothingset fq=createtrigger()call
triggeraddaction(fq,function yh4)endfunctionfunction yl4 takes nothing returns
booleanif(not(getspellabilityid()==1093678417))thenreturn falseendifreturn true
endfunctionfunction y14 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==1)endfunctionfunction yj4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==2)
endfunctionfunction yk4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==3)endfunctionfunction yl4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==4)
endfunctionfunction ym4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==5)endfunctionfunction yn4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==2)
endfunctionfunction yo4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==3)endfunctionfunction y04 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==4)
endfunctionfunction yp4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==5)endfunctionfunction yq4 takes
nothing returns nothingset e7=getspellabilityunit()if(y14())thenset f7=5.00else
call donothing()endifif(yj4())thenset f7=8.00elsecall donothing()endif
if(yk4())thenset f7=11.00elsecall donothing()endifif(yl4())thenset f7=14.00else
call donothing()endifif(ym4())thenset f7=17.00elsecall donothing()endifcall
triggersleepaction(0.50)call
createnunitsatloc(1,1697656883,getowningplayer(e7),xz(getunitloc(e7),200.00,getuni
tfacing(e7)),bj_unit_facing)set g7=getlastcreatedunit()call
unitapplytimedlifebj(f7,1112820806,g7)call unitaddabilitybj(1093678422,g7)
if(yn4())thencall setunitabilitylevelswapped(1093678421,g7,2)elsecall donothing()
endifif(yo4())thencall setunitabilitylevelswapped(1093678421,g7,3)elsecall
donothing()endifif(y04())thencall setunitabilitylevelswapped(1093678421,g7,4)else
call donothing()endifif(yp4())thencall setunitabilitylevelswapped(1093678421,g7,5)
elsecall donothing()endifcall issueimmediateorderbj(g7,"stomp")call
triggerexecute(hq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678422,g7)returnendfunctionfunction yr4 takes nothing
returns nothingset gq=createtrigger()call
triggerregisteranyuniteventbj(gq,event_player_unit_spell_effect)call
triggeraddcondition(gq,condition(function yl4))call triggeraddaction(gq,function
yq4)endfunctionfunction ys4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==2)endfunctionfunction y54 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==3)
endfunctionfunction yt4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==4)endfunctionfunction yu4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==5)
endfunctionfunction yv4 takes nothing returns nothingcall
createnunitsatloc(1,1697656883,getowningplayer(e7),xz(getunitloc(e7),400.00,getuni
tfacing(e7)),bj_unit_facing)set h7=getlastcreatedunit()call
unitapplytimedlifebj(f7,1112820806,h7)call unitaddabilitybj(1093678422,h7)
if(ys4())thencall setunitabilitylevelswapped(1093678421,h7,2)elsecall donothing()
endifif(y54())thencall setunitabilitylevelswapped(1093678421,h7,3)elsecall
donothing()endifif(yt4())thencall setunitabilitylevelswapped(1093678421,h7,4)else
call donothing()endifif(yu4())thencall setunitabilitylevelswapped(1093678421,h7,5)
elsecall donothing()endifcall issueimmediateorderbj(h7,"stomp")call
triggerexecute(iq)call triggersleepaction(0.30)call
unitremoveabilitybj(1093678422,h7)returnendfunctionfunction yw4 takes nothing
returns nothingset hq=createtrigger()call triggeraddaction(hq,function yv4)
endfunctionfunction yx4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==2)endfunctionfunction yy4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==3)
endfunctionfunction y24 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678417,e7)==4)endfunctionfunction yz4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678417,e7)==5)
endfunctionfunction y_4 takes nothing returns nothingcall
createnunitsatloc(1,1697656883,getowningplayer(e7),xz(getunitloc(e7),600.00,getuni
tfacing(e7)),bj_unit_facing)set i7=getlastcreatedunit()call
unitapplytimedlifebj(f7,1112820806,i7)call unitaddabilitybj(1093678422,i7)
if(yx4())thencall setunitabilitylevelswapped(1093678421,i7,2)elsecall donothing()
endifif(yy4())thencall setunitabilitylevelswapped(1093678421,i7,3)elsecall
donothing()endifif(y24())thencall setunitabilitylevelswapped(1093678421,i7,4)else
call donothing()endifif(yz4())thencall setunitabilitylevelswapped(1093678421,i7,5)
elsecall donothing()endifcall issueimmediateorderbj(i7,"stomp")call
triggersleepaction(0.30)call unitremoveabilitybj(1093678422,i7)returnendfunction
function z44 takes nothing returns nothingset iq=createtrigger()call
triggeraddaction(iq,function y_4)endfunctionfunction z74 takes nothing returns
booleanif(not(getspellabilityid()==1093678415))thenreturn falseendifreturn true
endfunctionfunction z84 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678415,c8)==1)endfunctionfunction z94 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678415,c8)==2)
endfunctionfunction zd4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678415,c8)==3)endfunctionfunction ze4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678415,c8)==4)
endfunctionfunction zf4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678415,c8)==5)endfunctionfunction zg4 takes
nothing returns booleanreturn(w4>=100.00)endfunctionfunction zh4 takes nothing
returns booleanreturn(w4>=200.00)endfunctionfunction zi4 takes nothing returns
booleanreturn(w4>=300.00)endfunctionfunction zj4 takes nothing returns boolean
return(w4>=400.00)endfunctionfunction zk4 takes nothing returns boolean
return(w4>=500.00)endfunctionfunction zm4 takes nothing returns boolean
return(w4>=600.00)endfunctionfunction zn4 takes nothing returns boolean
return(w4>=700.00)endfunctionfunction zo4 takes nothing returns nothingset
c8=getspellabilityunit()set y4=getspelltargetunit()if(z84())thenset x4=10.00else
call donothing()endifif(z94())thenset x4=15.00elsecall donothing()endif
if(zd4())thenset x4=20.00elsecall donothing()endifif(ze4())thenset x4=25.00else
call donothing()endifif(zf4())thenset x4=30.00elsecall donothing()endifset
w4=distancebetweenpoints(getunitloc(c8),getunitloc(y4))if(zg4())thenset v4=1.00
elsecall donothing()endifif(zh4())thenset v4=2.00elsecall donothing()endif
if(zi4())thenset v4=3.00elsecall donothing()endifif(zj4())thenset v4=4.00elsecall
donothing()endifif(zk4())thenset v4=5.00elsecall donothing()endifif(zm4())thenset
v4=6.00elsecall donothing()endifif(zn4())thenset v4=7.00elsecall donothing()endif
endfunctionfunction zp4 takes nothing returns nothingset lq=createtrigger()call
triggerregisteranyuniteventbj(lq,event_player_unit_spell_cast)call
triggeraddcondition(lq,condition(function z74))call triggeraddaction(lq,function
zo4)endfunctionfunction zq4 takes nothing returns boolean
if(not(getspellabilityid()==1093679425))thenreturn falseendifreturn true
endfunctionfunction zr4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679425,pe)==1)endfunctionfunction zs4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679425,pe)==2)
endfunctionfunction zt4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679425,pe)==1)endfunctionfunction zu4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679425,pe)==4)
endfunctionfunction zv4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679425,pe)==5)endfunctionfunction zw4 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1211117914)
endfunctionfunction zx4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
zy4 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(pe))==true)
endfunctionfunction zz4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function za4 takes nothing returns booleanreturn getbooleanand(zy4(),zz4())
endfunctionfunction za4 takes nothing returns booleanreturn
getbooleanand(zx4(),za4())endfunctionfunction zb4 takes nothing returns boolean
return getbooleanand(zw4(),za4())endfunctionfunction zb4 takes nothing returns
nothingcall
unitdamagetargetbj(pe,getenumunit(),qe,attack_type_chaos,damage_type_normal)
endfunctionfunction zc4 takes nothing returns nothingcall
resettogamecameraforplayer(getenumplayer(),0)endfunctionfunction zc4 takes nothing
returns nothingset pe=getspellabilityunit()call
playsoundatpointbj(vi,100,getunitloc(pe),0)call setunitinvulnerable(pe,true)call
pauseunitbj(true,pe)call
createnunitsatloc(1,1747989048,getowningplayer(pe),getunitloc(pe),bj_unit_facing)
set re=getlastcreatedunit()call issueimmediateorderbj(re,"locustswarm")call
setunitanimation(pe,"spell 2")call moverecttoloc(ti,getunitloc(pe))call
createnunitsatloc(1,1747989040,player(player_neutral_passive),getunitloc(pe),bj_un
it_facing)set re=getlastcreatedunit()call unitapplytimedlifebj(5.00,1112820806,re)
if(zr4())thenset qe=(i2r(getherostatbj(bj_herostat_int,pe,true))*3.00)elsecall
donothing()endifif(zs4())thenset
qe=(i2r(getherostatbj(bj_herostat_int,pe,true))*4.00)elsecall donothing()endif
if(zt4())thenset qe=(i2r(getherostatbj(bj_herostat_int,pe,true))*5.00)elsecall
donothing()endifif(zu4())thenset
qe=(i2r(getherostatbj(bj_herostat_int,pe,true))*6.00)elsecall donothing()endif
if(zv4())thenset qe=(i2r(getherostatbj(bj_herostat_int,pe,true))*7.00)elsecall
donothing()endifcall enabletrigger(kq)call uz(1.00)call
forgroupbj(fa(ti,condition(function zb4)),function zb4)call resetunitanimation(pe)
call disabletrigger(kq)call uz(1.00)call pauseunitbj(false,pe)call
setunitinvulnerable(pe,false)call forforce(getplayersall(),function zc4)call
uz(1.00)call explodeunitbj(re)endfunctionfunction zd4 takes nothing returns
nothingset jq=createtrigger()call
triggerregisteranyuniteventbj(jq,event_player_unit_spell_effect)call
triggeraddcondition(jq,condition(function zq4))call triggeraddaction(jq,function
zc4)endfunctionfunction ze4 takes nothing returns nothingcall
cameraseteqnoiseforplayer(getenumplayer(),50.00)endfunctionfunction z34 takes
nothing returns nothingcall
camerasettargetnoiseforplayer(getenumplayer(),75.00,1.25)endfunctionfunction zf4
takes nothing returns nothingcall playsoundatpointbj(si,100,getunitloc(pe),0)call
playsoundatpointbj(ui,100,getunitloc(pe),0)call forforce(getplayersall(),function
ze4)call forforce(getplayersall(),function z34)endfunctionfunction zg4 takes
nothing returns nothingset kq=createtrigger()call disabletrigger(kq)call
triggerregistertimereventperiodic(kq,0.50)call triggeraddaction(kq,function zf4)
endfunctionfunction z64 takes nothing returns boolean
if(not(getspellabilityid()==1093678415))thenreturn falseendifreturn true
endfunctionfunction zh4 takes nothing returns nothingset v4=(v4*x4)call
unitdamagetargetbj(c8,y4,v4,attack_type_chaos,damage_type_normal)endfunction
function zi4 takes nothing returns nothingset lq=createtrigger()call
triggerregisteranyuniteventbj(lq,event_player_unit_spell_finish)call
triggeraddcondition(lq,condition(function z64))call triggeraddaction(lq,function
zh4)endfunctionfunction zl4 takes nothing returns boolean
if(not(getspellabilityid()==1093678414))thenreturn falseendifreturn true
endfunctionfunction z14 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678414,c8)==1)endfunctionfunction zj4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678414,c8)==2)
endfunctionfunction zk4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678414,c8)==3)
endfunctionfunction zl4 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678414,c8)==4)endfunctionfunction zm4 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678414,c8)==5)
endfunctionfunction zn4 takes nothing returns nothingset c8=getspellabilityunit()
set u4=0.00if(z14())thenset s4=5.00elsecall donothing()endifif(zj4())thenset
s4=7.00elsecall donothing()endifif(zk4())thenset s4=9.00elsecall donothing()endif
if(zl4())thenset s4=11.00elsecall donothing()endifif(zm4())thenset s4=13.00else
call donothing()endifset t4=getspelltargetloc()call uz(0.50)call enabletrigger(nq)
endfunctionfunction zo4 takes nothing returns nothingset mq=createtrigger()call
triggerregisteranyuniteventbj(mq,event_player_unit_spell_effect)call
triggeraddcondition(mq,condition(function zl4))call triggeraddaction(mq,function
zn4)endfunctionfunction z04 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
zp4 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(c8))==true)endfunctionfunction
zq4 takes nothing returns booleanreturn getbooleanand(z04(),zp4())endfunction
function zr4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
zs4 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function z54 takes nothing returns booleanreturn getbooleanand(zr4(),zs4())
endfunctionfunction zt4 takes nothing returns boolean
return(isunitingroup(getfilterunit(),s9)!=true)endfunctionfunction zu4 takes
nothing returns booleanreturn getbooleanand(z54(),zt4())endfunctionfunction zv4
takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(c8))==true)endfunctionfunction
zw4 takes nothing returns booleanreturn getbooleanand(zu4(),zv4())endfunction
function zx4 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),10.00,anglebetweenpo
ints(getunitloc(getenumunit()),t4)))endfunctionfunction zy4 takes nothing returns
nothingcall
unitdamagetargetbj(c8,getenumunit(),s4,attack_type_chaos,damage_type_normal)
endfunctionfunction z24 takes nothing returns booleanreturn(u4>=500.00)endfunction
function zz4 takes nothing returns booleanreturn(u4>=500.00)endfunctionfunction
z_4 takes nothing returns booleanreturn(u4>=500.00)endfunctionfunction d47 takes
nothing returns booleanreturn(u4>=500.00)endfunctionfunction d77 takes nothing
returns booleanreturn(u4>=500.00)endfunctionfunction d87 takes nothing returns
booleanreturn(u4>=500.00)endfunctionfunction d97 takes nothing returns nothingset
u4=(u4+10.00)set s9=ka(150.00,t4,condition(function zq4))set
m7=ka(750.00,t4,condition(function zw4))call forgroupbj(m7,function zx4)call
forgroupbj(m7,function zy4)if(z24())thencall
unitdamagetargetbj(az,c8,150.00,attack_type_chaos,damage_type_normal)elsecall
donothing()endifif(zz4())thencall disabletrigger(gettriggeringtrigger())elsecall
donothing()endifif(z_4())thencall removelocation(t4)elsecall donothing()endif
if(d47())thencall destroygroup(m7)elsecall donothing()endifif(d77())thenset
m7=nullelsecall donothing()endifif(d87())thenreturnelsecall donothing()endif
endfunctionfunction dd7 takes nothing returns nothingset nq=createtrigger()call
disabletrigger(nq)call triggerregistertimereventperiodic(nq,0.03)call
triggeraddaction(nq,function d97)endfunctionfunction de7 takes nothing returns
booleanif(not(getspellabilityid()==1093677903))thenreturn falseendifreturn true
endfunctionfunction df7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677903,n4)==2)endfunctionfunction dg7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677903,n4)==3)
endfunctionfunction dh7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677903,n4)==4)endfunctionfunction di7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677903,n4)==5)
endfunctionfunction dj7 takes nothing returns nothingset n4=getspellabilityunit()
call
createnunitsatloc(1,1747988545,getowningplayer(n4),getunitloc(n4),bj_unit_facing)
set o4=getlastcreatedunit()call unitaddabilitybj(1093678413,o4)call
unitapplytimedlifebj(15.00,1112820806,o4)call triggersleepaction(0.10)
if(df7())thencall setunitabilitylevelswapped(1093678413,o4,2)elsecall donothing()
endifif(dg7())thencall setunitabilitylevelswapped(1093678413,o4,3)elsecall
donothing()endifif(dh7())thencall setunitabilitylevelswapped(1093678413,o4,4)else
call donothing()endifif(di7())thencall setunitabilitylevelswapped(1093678413,o4,5)
elsecall donothing()endifcall triggersleepaction(0.10)call
issueimmediateorderbj(o4,"elementalfury")endfunctionfunction dk7 takes nothing
returns nothingset oq=createtrigger()call
triggerregisteranyuniteventbj(oq,event_player_unit_spell_effect)call
triggeraddcondition(oq,condition(function de7))call triggeraddaction(oq,function
dj7)endfunctionfunction dm7 takes nothing returns boolean
if(not(getspellabilityid()==1093678662))thenreturn falseendifreturn true
endfunctionfunction dn7 takes nothing returns nothingcall playsoundbj(ii)
endfunctionfunction do7 takes nothing returns nothingset pq=createtrigger()call
disabletrigger(pq)call
triggerregisteranyuniteventbj(pq,event_player_unit_spell_cast)call
triggeraddcondition(pq,condition(function dm7))call triggeraddaction(pq,function
dn7)endfunctionfunction dp7 takes nothing returns boolean
if(not(getspellabilityid()==1093678663))thenreturn falseendifreturn true
endfunctionfunction dq7 takes nothing returns nothingcall playsoundbj(li)
endfunctionfunction dr7 takes nothing returns nothingset qq=createtrigger()call
disabletrigger(qq)call
triggerregisteranyuniteventbj(qq,event_player_unit_spell_cast)call
triggeraddcondition(qq,condition(function dp7))call triggeraddaction(qq,function
dq7)endfunctionfunction ds7 takes nothing returns boolean
if(not(getspellabilityid()==1093678412))thenreturn falseendifreturn true
endfunctionfunction dt7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677898,getspellabilityunit())==1)endfunction
function du7 takes nothing returns nothingcall playsoundbj(li)set
d8=getspellabilityunit()if(dt7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-50.00))elsecall donothing()endifcall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-250.00))endfunctionfunction dv7 takes nothing returns nothingset
rq=createtrigger()call disabletrigger(rq)call
triggerregisteranyuniteventbj(rq,event_player_unit_spell_cast)call
triggeraddcondition(rq,condition(function ds7))call triggeraddaction(rq,function
du7)endfunctionfunction dw7 takes nothing returns boolean
if(not(getspellabilityid()==1093678412))thenreturn falseendifreturn true
endfunctionfunction dx7 takes nothing returns nothingreturnendfunctionfunction dy7
takes nothing returns nothingset sq=createtrigger()call disabletrigger(sq)call
triggerregisteranyuniteventbj(sq,event_player_unit_spell_effect)call
triggeraddcondition(sq,condition(function dw7))call triggeraddaction(sq,function
dx7)endfunctionfunction dz7 takes nothing returns boolean
if(not(gettriggerplayer()==getowningplayer(q4)))thenreturn falseendifreturn true
endfunctionfunction da7 takes nothing returns nothingcall
clearselectionforplayer(getowningplayer(q4))endfunctionfunction da7 takes nothing
returns nothingset tq=createtrigger()call disabletrigger(tq)call
triggerregisterplayerselectioneventbj(tq,player(0),true)call
triggerregisterplayerselectioneventbj(tq,player(1),true)call
triggerregisterplayerselectioneventbj(tq,player(2),true)call
triggerregisterplayerselectioneventbj(tq,player(3),true)call
triggerregisterplayerselectioneventbj(tq,player(4),true)call
triggerregisterplayerselectioneventbj(tq,player(5),true)call
triggerregisterplayerselectioneventbj(tq,player(6),true)call
triggerregisterplayerselectioneventbj(tq,player(7),true)call
triggerregisterplayerselectioneventbj(tq,player(8),true)call
triggerregisterplayerselectioneventbj(tq,player(9),true)call
triggeraddcondition(tq,condition(function dz7))call triggeraddaction(tq,function
da7)endfunctionfunction db7 takes nothing returns boolean
if(not(gettriggerplayer()==getowningplayer(g9[h9])))thenreturn falseendifreturn
trueendfunctionfunction db7 takes nothing returns nothingcall
clearselectionforplayer(getowningplayer(g9[h9]))endfunctionfunction dc7 takes
nothing returns nothingset uq=createtrigger()call disabletrigger(uq)call
triggerregisterplayerselectioneventbj(uq,player(0),true)call
triggerregisterplayerselectioneventbj(uq,player(1),true)call
triggerregisterplayerselectioneventbj(uq,player(2),true)call
triggerregisterplayerselectioneventbj(uq,player(3),true)call
triggerregisterplayerselectioneventbj(uq,player(4),true)call
triggerregisterplayerselectioneventbj(uq,player(5),true)call
triggerregisterplayerselectioneventbj(uq,player(6),true)call
triggerregisterplayerselectioneventbj(uq,player(7),true)call
triggerregisterplayerselectioneventbj(uq,player(8),true)call
triggerregisterplayerselectioneventbj(uq,player(9),true)call
triggeraddcondition(uq,condition(function db7))call triggeraddaction(uq,function
db7)endfunctionfunction dc7 takes nothing returns boolean
return(getspellabilityid()==1093678917)endfunctionfunction dd7 takes nothing
returns booleanreturn(getspellabilityid()==1093678921)endfunctionfunction de7
takes nothing returns booleanif(not getbooleanor(dc7(),dd7()))thenreturn false
endifreturn trueendfunctionfunction
d37 takes nothing returns boolean
return(getunittypeid(getspelltargetunit())==1311780915)endfunctionfunction df7
takes nothing returns booleanreturn(h9>12)endfunctionfunction dg7 takes nothing
returns nothingif(d37())thenreturnelsecall donothing()endifset h9=(h9+1)set
g9[h9]=getspelltargetunit()call enabletrigger(uq)call
clearselectionforplayer(getowningplayer(g9[h9]))call
issuepointorderlocbj(g9[h9],"move",getrandomlocinrect(getplayablemaprect()))call
uz(1.50)call clearselectionforplayer(getowningplayer(g9[h9]))call
issuepointorderlocbj(g9[h9],"move",getrandomlocinrect(getplayablemaprect()))call
uz(2.00)call clearselectionforplayer(getowningplayer(g9[h9]))call
issuepointorderlocbj(g9[h9],"move",getrandomlocinrect(getplayablemaprect()))call
uz(2.00)call clearselectionforplayer(getowningplayer(g9[h9]))call
issuepointorderlocbj(g9[h9],"move",getrandomlocinrect(getplayablemaprect()))call
uz(1.00)call clearselectionforplayer(getowningplayer(g9[h9]))call
issuepointorderlocbj(g9[h9],"move",getrandomlocinrect(getplayablemaprect()))call
uz(1.00)if(df7())thenset h9=0elsecall donothing()endifcall disabletrigger(uq)
endfunctionfunction d67 takes nothing returns nothingset vq=createtrigger()call
triggerregisteranyuniteventbj(vq,event_player_unit_spell_effect)call
triggeraddcondition(vq,condition(function de7))call triggeraddaction(vq,function
dg7)endfunctionfunction dh7 takes nothing returns boolean
if(not(getspellabilityid()==1093678416))thenreturn falseendifreturn true
endfunctionfunction di7 takes nothing returns nothingset q4=getspellabilityunit()
call uz(0.75)call enabletrigger(tq)call
clearselectionforplayer(getowningplayer(q4))call
issuetargetorderbj(q4,"attack",grouppickrandomunit(oa(500.00,getunitloc(q4))))call
uz(1.50)call clearselectionforplayer(getowningplayer(q4))call
issuetargetorderbj(q4,"attack",grouppickrandomunit(oa(500.00,getunitloc(q4))))call
uz(2.00)call clearselectionforplayer(getowningplayer(q4))call
issuetargetorderbj(q4,"attack",grouppickrandomunit(oa(500.00,getunitloc(q4))))call
uz(2.00)call
issuetargetorderbj(q4,"attack",grouppickrandomunit(oa(500.00,getunitloc(q4))))call
uz(1.00)call disabletrigger(tq)endfunctionfunction dl7 takes nothing returns
nothingset wq=createtrigger()call
triggerregisteranyuniteventbj(wq,event_player_unit_spell_cast)call
triggerregisteranyuniteventbj(wq,event_player_unit_spell_channel)call
triggeraddcondition(wq,condition(function dh7))call triggeraddaction(wq,function
di7)endfunctionfunction d17 takes nothing returns boolean
return(getspellabilityid()==1093678162)endfunctionfunction dj7 takes nothing
returns booleanreturn(getspellabilityid()==1093677895)endfunctionfunction dk7
takes nothing returns booleanif(not getbooleanor(d17(),dj7()))thenreturn false
endifreturn trueendfunctionfunction dl7 takes nothing returns nothingcall
cameraseteqnoiseforplayer(getenumplayer(),30.00)endfunctionfunction dm7 takes
nothing returns nothingcall
camerasettargetnoiseforplayer(getenumplayer(),50.00,0.75)endfunctionfunction dn7
takes nothing returns nothingcall resettogamecameraforplayer(getenumplayer(),0)
endfunctionfunction do7 takes nothing returns nothingcall uz(0.50)call
forforce(getplayersall(),function dl7)call forforce(getplayersall(),function dm7)
call uz(2)call forforce(getplayersall(),function dn7)endfunctionfunction d07 takes
nothing returns nothingset xq=createtrigger()call
triggerregisteranyuniteventbj(xq,event_player_unit_spell_effect)call
triggeraddcondition(xq,condition(function dk7))call triggeraddaction(xq,function
do7)endfunctionfunction dp7 takes nothing returns boolean
if(not(getspellabilityid()==1093678649))thenreturn falseendifreturn true
endfunctionfunction dq7 takes nothing returns nothingcall
cameraseteqnoiseforplayer(getenumplayer(),50.00)endfunctionfunction dr7 takes
nothing returns nothingcall
camerasettargetnoiseforplayer(getenumplayer(),75.00,1.25)endfunctionfunction ds7
takes nothing returns nothingcall resettogamecameraforplayer(getenumplayer(),0)
endfunctionfunction d57 takes nothing returns nothingcall uz(0.50)call
playsoundbj(li)call forforce(getplayersall(),function dq7)call
forforce(getplayersall(),function dr7)call uz(2)call
forforce(getplayersall(),function ds7)endfunctionfunction dt7 takes nothing
returns nothingset yq=createtrigger()call disabletrigger(yq)call
triggerregisteranyuniteventbj(yq,event_player_unit_spell_effect)call
triggeraddcondition(yq,condition(function dp7))call triggeraddaction(yq,function
d57)endfunctionfunction du7 takes nothing returns boolean
if(not(getspellabilityid()==1093678657))thenreturn falseendifreturn true
endfunctionfunction dv7 takes nothing returns nothingcall
cameraseteqnoiseforplayer(getenumplayer(),50.00)endfunctionfunction dw7 takes
nothing returns nothingcall
camerasettargetnoiseforplayer(getenumplayer(),75.00,1.25)endfunctionfunction dx7
takes nothing returns nothingcall resettogamecameraforplayer(getenumplayer(),0)
endfunctionfunction dy7 takes nothing returns nothingcall uz(0.50)call
playsoundbj(ji)call forforce(getplayersall(),function dv7)call
forforce(getplayersall(),function dw7)call uz(2)call
forforce(getplayersall(),function dx7)endfunctionfunction d27 takes nothing
returns nothingset zq=createtrigger()call disabletrigger(zq)call
triggerregisteranyuniteventbj(zq,event_player_unit_spell_effect)call
triggeraddcondition(zq,condition(function du7))call triggeraddaction(zq,function
dy7)endfunctionfunction dz7 takes nothing returns boolean
if(not(getspellabilityid()==1093678390))thenreturn falseendifreturn true
endfunctionfunction d_7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction e47 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction e77 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction e87 takes nothing returns nothingcall
uz(0.40)call
setunitpositionloc(getspellabilityunit(),getunitloc(getspelltargetunit()))call
uz(0.40)call
setunitpositionloc(getspellabilityunit(),getunitloc(grouppickrandomunit(ka(300.00,
getunitloc(getspellabilityunit()),condition(function d_7)))))call uz(0.40)call
setunitpositionloc(getspellabilityunit(),getunitloc(grouppickrandomunit(ka(300.00,
getunitloc(getspellabilityunit()),condition(function e47)))))call uz(0.40)call
setunitpositionloc(getspellabilityunit(),getunitloc(grouppickrandomunit(ka(300.00,
getunitloc(getspellabilityunit()),condition(function e77)))))call uz(0.40)return
endfunctionfunction e97 takes nothing returns nothingset dr=createtrigger()call
triggerregisteranyuniteventbj(dr,event_player_unit_spell_effect)call
triggeraddcondition(dr,condition(function dz7))call triggeraddaction(dr,function
e87)endfunctionfunction ed7 takes nothing returns boolean
if(not(getspellabilityid()==1093677900))thenreturn falseendifreturn true
endfunctionfunction ee7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677900,b4)==1)endfunctionfunction ef7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677900,b4)==2)
endfunctionfunction eg7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677900,b4)==3)endfunctionfunction eh7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677900,b4)==4)
endfunctionfunction ei7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677900,b4)==5)endfunctionfunction ej7 takes
nothing returns booleanif(not(getherostatbj(bj_herostat_str,b4,false)>2))then
return falseendifreturn trueendfunctionfunction ek7 takes nothing returns nothing
set b4=getspellabilityunit()if(ee7())thencall
setunitlifebj(b4,(getunitstateswap(unit_state_life,b4)-50.00))elsecall donothing()
endifif(ef7())thencall setunitlifebj(b4,(getunitstateswap(unit_state_life,b4)-
100.00))elsecall donothing()endifif(eg7())thencall
setunitlifebj(b4,(getunitstateswap(unit_state_life,b4)-150.00))elsecall
donothing()endifif(eh7())thencall
setunitlifebj(b4,(getunitstateswap(unit_state_life,b4)-200.00))elsecall
donothing()endifif(ei7())thencall
setunitlifebj(b4,(getunitstateswap(unit_state_life,b4)-250.00))elsecall
donothing()endifif(ej7())thencall
modifyherostat(bj_herostat_str,b4,bj_modifymethod_sub,2)call
modifyherostat(bj_herostat_agi,b4,bj_modifymethod_add,2)elseendifreturnendfunction
function em7 takes nothing returns nothingset er=createtrigger()call
disabletrigger(er)call
triggerregisteranyuniteventbj(er,event_player_unit_spell_effect)call
triggeraddcondition(er,condition(function ed7))call triggeraddaction(er,function
ek7)endfunctionfunction en7 takes nothing returns boolean
if(not(getspellabilityid()==1097036393))thenreturn falseendifreturn true
endfunctionfunction eo7 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getspelltargetunit(),bj_modifymethod_sub,1)call
modifyherostat(bj_herostat_agi,getspelltargetunit(),bj_modifymethod_sub,1)call
modifyherostat(bj_herostat_int,getspelltargetunit(),bj_modifymethod_sub,1)return
endfunctionfunction ep7 takes nothing returns nothingset fr=createtrigger()call
triggerregisteranyuniteventbj(fr,event_player_unit_spell_effect)call
triggeraddcondition(fr,condition(function en7))call triggeraddaction(fr,function
eo7)endfunctionfunction eq7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(0))]>=2))thenreturn falseendifreturn true
endfunctionfunction er7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction es7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction et7
takes nothing returns booleanreturn(m<=0)endfunctionfunction eu7 takes nothing
returns booleanreturn(m==1)endfunctionfunction ev7 takes nothing returns boolean
return(m==2)endfunctionfunction ew7 takes nothing returns booleanreturn(m==3)
endfunctionfunction ex7 takes nothing returns booleanreturn(m==4)endfunction
function ey7 takes nothing returns booleanreturn(m==5)endfunctionfunction ez7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction ea7 takes nothing returns nothingif(er7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function es7)
if(et7())thenreturnelsecall donothing()endifif(eu7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ev7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ew7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ex7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ey7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(0))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(0))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(0))])call
destroytimerdialogbj(l[getconvertedplayerid(player(0))])call
reviveheroloc(q[getconvertedplayerid(player(0))],getrandomlocinrect(cg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function ez7)returnendfunction
function ea7 takes nothing returns nothingset gr=createtrigger()call
disabletrigger(gr)call
triggerregisterplayerchatevent(gr,player(0),"-return1",true)call
triggerregisterplayerchatevent(gr,player(1),"-return1",true)call
triggerregisterplayerchatevent(gr,player(2),"-return1",true)call
triggerregisterplayerchatevent(gr,player(3),"-return1",true)call
triggerregisterplayerchatevent(gr,player(4),"-return1",true)call
triggerregisterplayerchatevent(gr,player(5),"-return1",true)call
triggerregisterplayerchatevent(gr,player(6),"-return1",true)call
triggerregisterplayerchatevent(gr,player(7),"-return1",true)call
triggerregisterplayerchatevent(gr,player(8),"-return1",true)call
triggerregisterplayerchatevent(gr,player(9),"-return1",true)call
triggeraddcondition(gr,condition(function eq7))call triggeraddaction(gr,function
ea7)endfunctionfunction eb7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(1))]>=2))thenreturn falseendifreturn true
endfunctionfunction eb7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction ec7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction ec7
takes nothing returns booleanreturn(m<=0)endfunctionfunction ed7 takes nothing
returns booleanreturn(m==1)endfunctionfunction ee7 takes nothing returns boolean
return(m==2)endfunctionfunction e37 takes nothing returns booleanreturn(m==3)
endfunctionfunction ef7 takes nothing returns booleanreturn(m==4)endfunction
function eg7 takes nothing returns booleanreturn(m==5)endfunctionfunction e67
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction eh7 takes nothing returns nothingif(eb7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function ec7)
if(ec7())thenreturnelsecall donothing()endifif(ed7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ee7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(e37())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ef7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(eg7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(1))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(1))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(1))])call
destroytimerdialogbj(l[getconvertedplayerid(player(1))])call
reviveheroloc(q[getconvertedplayerid(player(1))],getrandomlocinrect(cg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function e67)returnendfunction
function ei7 takes nothing returns nothingset hr=createtrigger()call
disabletrigger(hr)call
triggerregisterplayerchatevent(hr,player(0),"-return2",true)call
triggerregisterplayerchatevent(hr,player(1),"-return2",true)call
triggerregisterplayerchatevent(hr,player(2),"-return2",true)call
triggerregisterplayerchatevent(hr,player(3),"-return2",true)call
triggerregisterplayerchatevent(hr,player(4),"-return2",true)call
triggerregisterplayerchatevent(hr,player(5),"-return2",true)call
triggerregisterplayerchatevent(hr,player(6),"-return2",true)call
triggerregisterplayerchatevent(hr,player(7),"-return2",true)call
triggerregisterplayerchatevent(hr,player(8),"-return2",true)call
triggerregisterplayerchatevent(hr,player(9),"-return2",true)call
triggeraddcondition(hr,condition(function eb7))call triggeraddaction(hr,function
eh7)endfunctionfunction el7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(2))]>=2))thenreturn falseendifreturn true
endfunctionfunction e17 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction ej7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction ek7
takes nothing returns booleanreturn(m<=0)endfunctionfunction el7 takes nothing
returns booleanreturn(m==1)endfunctionfunction em7 takes nothing returns boolean
return(m==2)endfunctionfunction en7 takes nothing returns booleanreturn(m==3)
endfunctionfunction eo7 takes nothing returns booleanreturn(m==4)endfunction
function e07 takes nothing returns booleanreturn(m==5)endfunctionfunction ep7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction eq7 takes nothing returns nothingif(e17())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function ej7)
if(ek7())thenreturnelsecall donothing()endifif(el7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(em7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(en7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(eo7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(e07())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(2))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(2))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(2))])call
destroytimerdialogbj(l[getconvertedplayerid(player(2))])call
reviveheroloc(q[getconvertedplayerid(player(2))],getrandomlocinrect(cg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function ep7)returnendfunction
function er7 takes nothing returns nothingset ir=createtrigger()call
disabletrigger(ir)call
triggerregisterplayerchatevent(ir,player(0),"-return3",true)call
triggerregisterplayerchatevent(ir,player(1),"-return3",true)call
triggerregisterplayerchatevent(ir,player(2),"-return3",true)call
triggerregisterplayerchatevent(ir,player(3),"-return3",true)call
triggerregisterplayerchatevent(ir,player(4),"-return3",true)call
triggerregisterplayerchatevent(ir,player(5),"-return3",true)call
triggerregisterplayerchatevent(ir,player(6),"-return3",true)call
triggerregisterplayerchatevent(ir,player(7),"-return3",true)call
triggerregisterplayerchatevent(ir,player(8),"-return3",true)call
triggerregisterplayerchatevent(ir,player(9),"-return3",true)call
triggeraddcondition(ir,condition(function el7))call triggeraddaction(ir,function
eq7)endfunctionfunction es7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(3))]>=2))thenreturn falseendifreturn true
endfunctionfunction e57 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction et7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction eu7
takes nothing returns booleanreturn(m<=0)endfunctionfunction ev7 takes nothing
returns booleanreturn(m==1)endfunctionfunction ew7 takes nothing returns boolean
return(m==2)endfunctionfunction ex7 takes nothing returns booleanreturn(m==3)
endfunctionfunction ey7 takes nothing returns booleanreturn(m==4)endfunction
function e27 takes nothing returns booleanreturn(m==5)endfunctionfunction ez7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction e_7 takes nothing returns nothingif(e57())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function et7)
if(eu7())thenreturnelsecall donothing()endifif(ev7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ew7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ex7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ey7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(e27())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(3))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(3))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(3))])call
destroytimerdialogbj(l[getconvertedplayerid(player(3))])call
reviveheroloc(q[getconvertedplayerid(player(3))],getrandomlocinrect(cg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function ez7)returnendfunction
function f47 takes nothing returns nothingset jr=createtrigger()call
disabletrigger(jr)call
triggerregisterplayerchatevent(jr,player(0),"-return4",true)call
triggerregisterplayerchatevent(jr,player(1),"-return4",true)call
triggerregisterplayerchatevent(jr,player(2),"-return4",true)call
triggerregisterplayerchatevent(jr,player(3),"-return4",true)call
triggerregisterplayerchatevent(jr,player(4),"-return4",true)call
triggerregisterplayerchatevent(jr,player(5),"-return4",true)call
triggerregisterplayerchatevent(jr,player(6),"-return4",true)call
triggerregisterplayerchatevent(jr,player(7),"-return4",true)call
triggerregisterplayerchatevent(jr,player(8),"-return4",true)call
triggerregisterplayerchatevent(jr,player(9),"-return4",true)call
triggeraddcondition(jr,condition(function es7))call triggeraddaction(jr,function
e_7)endfunctionfunction f77 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(4))]>=2))thenreturn falseendifreturn true
endfunctionfunction f87 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction f97 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction fd7
takes nothing returns booleanreturn(m<=0)endfunctionfunction fe7 takes nothing
returns booleanreturn(m==1)endfunctionfunction ff7 takes nothing returns boolean
return(m==2)endfunctionfunction fg7 takes nothing returns booleanreturn(m==3)
endfunctionfunction fh7 takes nothing returns booleanreturn(m==4)endfunction
function fi7 takes nothing returns booleanreturn(m==5)endfunctionfunction fj7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction fk7 takes nothing returns nothingif(f87())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function f97)
if(fd7())thenreturnelsecall donothing()endifif(fe7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ff7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fg7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fh7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fi7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(4))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(4))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(4))])call
destroytimerdialogbj(l[getconvertedplayerid(player(4))])call
reviveheroloc(q[getconvertedplayerid(player(4))],getrandomlocinrect(cg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function fj7)returnendfunction
function fm7 takes nothing returns nothingset kr=createtrigger()call
disabletrigger(kr)call
triggerregisterplayerchatevent(kr,player(0),"-return5",true)call
triggerregisterplayerchatevent(kr,player(1),"-return5",true)call
triggerregisterplayerchatevent(kr,player(2),"-return5",true)call
triggerregisterplayerchatevent(kr,player(3),"-return5",true)call
triggerregisterplayerchatevent(kr,player(4),"-return5",true)call
triggerregisterplayerchatevent(kr,player(5),"-return5",true)call
triggerregisterplayerchatevent(kr,player(6),"-return5",true)call
triggerregisterplayerchatevent(kr,player(7),"-return5",true)call
triggerregisterplayerchatevent(kr,player(8),"-return5",true)call
triggerregisterplayerchatevent(kr,player(9),"-return5",true)call
triggeraddcondition(kr,condition(function f77))call triggeraddaction(kr,function
fk7)endfunctionfunction fn7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(5))]>=2))thenreturn falseendifreturn true
endfunctionfunction fo7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction fp7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction fq7
takes nothing returns booleanreturn(m<=0)endfunctionfunction fr7 takes nothing
returns booleanreturn(m==1)endfunctionfunction fs7 takes nothing returns boolean
return(m==2)endfunctionfunction ft7 takes nothing returns booleanreturn(m==3)
endfunctionfunction fu7 takes nothing returns booleanreturn(m==4)endfunction
function fv7 takes nothing returns booleanreturn(m==5)endfunctionfunction fw7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction fx7 takes nothing returns nothingif(fo7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function fp7)
if(fq7())thenreturnelsecall donothing()endifif(fr7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fs7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ft7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fu7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fv7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(5))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(5))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(5))])call
destroytimerdialogbj(l[getconvertedplayerid(player(5))])call
reviveheroloc(q[getconvertedplayerid(player(5))],getrandomlocinrect(dg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function fw7)returnendfunction
function fy7 takes nothing returns nothingset mr=createtrigger()call
disabletrigger(mr)call
triggerregisterplayerchatevent(mr,player(0),"-return6",true)call
triggerregisterplayerchatevent(mr,player(1),"-return6",true)call
triggerregisterplayerchatevent(mr,player(2),"-return6",true)call
triggerregisterplayerchatevent(mr,player(3),"-return6",true)call
triggerregisterplayerchatevent(mr,player(4),"-return6",true)call
triggerregisterplayerchatevent(mr,player(5),"-return6",true)call
triggerregisterplayerchatevent(mr,player(6),"-return6",true)call
triggerregisterplayerchatevent(mr,player(7),"-return6",true)call
triggerregisterplayerchatevent(mr,player(8),"-return6",true)call
triggerregisterplayerchatevent(mr,player(9),"-return6",true)call
triggeraddcondition(mr,condition(function fn7))call triggeraddaction(mr,function
fx7)endfunctionfunction fz7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(6))]>=2))thenreturn falseendifreturn true
endfunctionfunction fa7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction fa7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction fb7
takes nothing returns booleanreturn(m<=0)endfunctionfunction fb7 takes nothing
returns booleanreturn(m==1)endfunctionfunction fc7 takes nothing returns boolean
return(m==2)endfunctionfunction fc7 takes nothing returns booleanreturn(m==3)
endfunctionfunction fd7 takes nothing returns booleanreturn(m==4)endfunction
function fe7 takes nothing returns booleanreturn(m==5)endfunctionfunction f37
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction ff7 takes nothing returns nothingif(fa7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function fa7)
if(fb7())thenreturnelsecall donothing()endifif(fb7())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fc7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fc7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fd7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fe7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(6))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(6))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(6))])call
destroytimerdialogbj(l[getconvertedplayerid(player(6))])call
reviveheroloc(q[getconvertedplayerid(player(6))],getrandomlocinrect(dg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function
f37)returnendfunctionfunction fg7 takes nothing returns nothingset
nr=createtrigger()call disabletrigger(nr)call
triggerregisterplayerchatevent(nr,player(0),"-return7",true)call
triggerregisterplayerchatevent(nr,player(1),"-return7",true)call
triggerregisterplayerchatevent(nr,player(2),"-return7",true)call
triggerregisterplayerchatevent(nr,player(3),"-return7",true)call
triggerregisterplayerchatevent(nr,player(4),"-return7",true)call
triggerregisterplayerchatevent(nr,player(5),"-return7",true)call
triggerregisterplayerchatevent(nr,player(6),"-return7",true)call
triggerregisterplayerchatevent(nr,player(7),"-return7",true)call
triggerregisterplayerchatevent(nr,player(8),"-return7",true)call
triggerregisterplayerchatevent(nr,player(9),"-return7",true)call
triggeraddcondition(nr,condition(function fz7))call triggeraddaction(nr,function
ff7)endfunctionfunction f67 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(7))]>=2))thenreturn falseendifreturn true
endfunctionfunction fh7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction fi7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction fl7
takes nothing returns booleanreturn(m<=0)endfunctionfunction f17 takes nothing
returns booleanreturn(m==1)endfunctionfunction fj7 takes nothing returns boolean
return(m==2)endfunctionfunction fk7 takes nothing returns booleanreturn(m==3)
endfunctionfunction fl7 takes nothing returns booleanreturn(m==4)endfunction
function fm7 takes nothing returns booleanreturn(m==5)endfunctionfunction fn7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction fo7 takes nothing returns nothingif(fh7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function fi7)
if(fl7())thenreturnelsecall donothing()endifif(f17())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fj7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fk7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fl7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fm7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(7))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(7))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(7))])call
destroytimerdialogbj(l[getconvertedplayerid(player(7))])call
reviveheroloc(q[getconvertedplayerid(player(7))],getrandomlocinrect(dg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function fn7)returnendfunction
function f07 takes nothing returns nothingset pr=createtrigger()call
disabletrigger(pr)call
triggerregisterplayerchatevent(pr,player(0),"-return8",true)call
triggerregisterplayerchatevent(pr,player(1),"-return8",true)call
triggerregisterplayerchatevent(pr,player(2),"-return8",true)call
triggerregisterplayerchatevent(pr,player(3),"-return8",true)call
triggerregisterplayerchatevent(pr,player(4),"-return8",true)call
triggerregisterplayerchatevent(pr,player(5),"-return8",true)call
triggerregisterplayerchatevent(pr,player(6),"-return8",true)call
triggerregisterplayerchatevent(pr,player(7),"-return8",true)call
triggerregisterplayerchatevent(pr,player(8),"-return8",true)call
triggerregisterplayerchatevent(pr,player(9),"-return8",true)call
triggeraddcondition(pr,condition(function f67))call triggeraddaction(pr,function
fo7)endfunctionfunction fp7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(8))]>=2))thenreturn falseendifreturn true
endfunctionfunction fq7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction fr7 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction fs7
takes nothing returns booleanreturn(m<=0)endfunctionfunction f57 takes nothing
returns booleanreturn(m==1)endfunctionfunction ft7 takes nothing returns boolean
return(m==2)endfunctionfunction fu7 takes nothing returns booleanreturn(m==3)
endfunctionfunction fv7 takes nothing returns booleanreturn(m==4)endfunction
function fw7 takes nothing returns booleanreturn(m==5)endfunctionfunction fx7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction fy7 takes nothing returns nothingif(fq7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function fr7)
if(fs7())thenreturnelsecall donothing()endifif(f57())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ft7())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fu7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fv7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(fw7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(8))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(8))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(8))])call
destroytimerdialogbj(l[getconvertedplayerid(player(8))])call
reviveheroloc(q[getconvertedplayerid(player(8))],getrandomlocinrect(dg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function fx7)returnendfunction
function f27 takes nothing returns nothingset qr=createtrigger()call
disabletrigger(qr)call
triggerregisterplayerchatevent(qr,player(0),"-return9",true)call
triggerregisterplayerchatevent(qr,player(1),"-return9",true)call
triggerregisterplayerchatevent(qr,player(2),"-return9",true)call
triggerregisterplayerchatevent(qr,player(3),"-return9",true)call
triggerregisterplayerchatevent(qr,player(4),"-return9",true)call
triggerregisterplayerchatevent(qr,player(5),"-return9",true)call
triggerregisterplayerchatevent(qr,player(6),"-return9",true)call
triggerregisterplayerchatevent(qr,player(7),"-return9",true)call
triggerregisterplayerchatevent(qr,player(8),"-return9",true)call
triggerregisterplayerchatevent(qr,player(9),"-return9",true)call
triggeraddcondition(qr,condition(function fp7))call triggeraddaction(qr,function
fy7)endfunctionfunction fz7 takes nothing returns boolean
if(not(d[getconvertedplayerid(player(9))]>=2))thenreturn falseendifreturn true
endfunctionfunction f_7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1311780940,gettriggerplayer())<=0)
endfunctionfunction g47 takes nothing returns nothingset
m=getunitabilitylevelswapped(1094939494,getenumunit())endfunctionfunction g77
takes nothing returns booleanreturn(m<=0)endfunctionfunction g87 takes nothing
returns booleanreturn(m==1)endfunctionfunction g97 takes nothing returns boolean
return(m==2)endfunctionfunction gd7 takes nothing returns booleanreturn(m==3)
endfunctionfunction ge7 takes nothing returns booleanreturn(m==4)endfunction
function gf7 takes nothing returns booleanreturn(m==5)endfunctionfunction gg7
takes nothing returns nothingcall
unitdamagetargetbj(az,getenumunit(),99999.00,attack_type_chaos,damage_type_normal)
endfunctionfunction gh7 takes nothing returns nothingif(f_7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1311780940),function g47)
if(g77())thenreturnelsecall donothing()endifif(g87())thencall
adjustplayerstatebj(50,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(g97())thencall
adjustplayerstatebj(125,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(gd7())thencall
adjustplayerstatebj(200,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(ge7())thencall
adjustplayerstatebj(275,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifif(gf7())thencall
adjustplayerstatebj(350,gettriggerplayer(),player_state_resource_gold)elsecall
donothing()endifcall
displaytexttoforce(getplayersall(),(getplayername(player(9))+" has been given life
by chiyo !!!"))set d[getconvertedplayerid(player(9))]=0call
destroytimerdialogbj(l[getconvertedplayerid(player(9))])call
destroytimerdialogbj(l[getconvertedplayerid(player(9))])call
reviveheroloc(q[getconvertedplayerid(player(9))],getrandomlocinrect(dg),true)call
forgroupbj(sa(gettriggerplayer(),1311780940),function gg7)returnendfunction
function gi7 takes nothing returns nothingset rr=createtrigger()call
disabletrigger(rr)call
triggerregisterplayerchatevent(rr,player(0),"-return10",true)call
triggerregisterplayerchatevent(rr,player(1),"-return10",true)call
triggerregisterplayerchatevent(rr,player(2),"-return10",true)call
triggerregisterplayerchatevent(rr,player(3),"-return10",true)call
triggerregisterplayerchatevent(rr,player(4),"-return10",true)call
triggerregisterplayerchatevent(rr,player(5),"-return10",true)call
triggerregisterplayerchatevent(rr,player(6),"-return10",true)call
triggerregisterplayerchatevent(rr,player(7),"-return10",true)call
triggerregisterplayerchatevent(rr,player(8),"-return10",true)call
triggerregisterplayerchatevent(rr,player(9),"-return10",true)call
triggeraddcondition(rr,condition(function fz7))call triggeraddaction(rr,function
gh7)endfunctionfunction gj7 takes nothing returns boolean
if(not(getspellabilityid()==1098015026))thenreturn falseendif
if(not(getherostatbj(bj_herostat_str,getspellabilityunit(),false)>15))thenreturn
falseendifreturn trueendfunctionfunction gk7 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getspellabilityunit(),bj_modifymethod_sub,15)call
modifyherostat(bj_herostat_agi,getspellabilityunit(),bj_modifymethod_add,15)return
endfunctionfunction gm7 takes nothing returns nothingset sr=createtrigger()call
disabletrigger(sr)call
triggerregisteranyuniteventbj(sr,event_player_unit_spell_effect)call
triggeraddcondition(sr,condition(function gj7))call triggeraddaction(sr,function
gk7)endfunctionfunction gn7 takes nothing returns boolean
if(not(getspellabilityid()==1093678133))thenreturn falseendif
if(not(getherostatbj(bj_herostat_agi,getspellabilityunit(),false)>15))thenreturn
falseendifreturn trueendfunctionfunction go7 takes nothing returns nothingcall
modifyherostat(bj_herostat_agi,getspellabilityunit(),bj_modifymethod_sub,15)call
modifyherostat(bj_herostat_str,getspellabilityunit(),bj_modifymethod_add,15)return
endfunctionfunction gp7 takes nothing returns nothingset tr=createtrigger()call
disabletrigger(tr)call
triggerregisteranyuniteventbj(tr,event_player_unit_spell_effect)call
triggeraddcondition(tr,condition(function gn7))call triggeraddaction(tr,function
go7)endfunctionfunction gq7 takes nothing returns boolean
return(getunittypeid(getenteringunit())==1869838129)endfunctionfunction gr7 takes
nothing returns booleanreturn(getunittypeid(getenteringunit())==1869838130)
endfunctionfunction gs7 takes nothing returns boolean
return(getunittypeid(getenteringunit())==1869838131)endfunctionfunction gt7 takes
nothing returns booleanreturn getbooleanor(gr7(),gs7())endfunctionfunction gu7
takes nothing returns booleanif(not getbooleanor(gq7(),gt7()))thenreturn false
endifreturn trueendfunctionfunction gv7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getenteringunit()),1429221432))>0)
endfunctionfunction gw7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction gx7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction gy7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction gz7 takes nothing returns nothing
if(gv7())thencall donothing()elsereturnendifcall
forgroupbj(sa(getowningplayer(getenteringunit()),1869838129),function gw7)call
forgroupbj(sa(getowningplayer(getenteringunit()),1869838130),function gx7)call
forgroupbj(sa(getowningplayer(getenteringunit()),1869838131),function gy7)
endfunctionfunction ga7 takes nothing returns nothingset ur=createtrigger()call
disabletrigger(ur)call triggerregisterenterrectsimple(ur,getplayablemaprect())call
triggeraddcondition(ur,condition(function gu7))call triggeraddaction(ur,function
gz7)endfunctionfunction ga7 takes nothing returns boolean
return(getspellabilityid()==1093677872)endfunctionfunction gb7 takes nothing
returns booleanreturn(getspellabilityid()==1093678146)endfunctionfunction gb7
takes nothing returns booleanif(not getbooleanor(ga7(),gb7()))thenreturn false
endifreturn trueendfunctionfunction gc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677872,getspellabilityunit())==1)endfunction
function gc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677872,getspellabilityunit())==2)endfunction
function gd7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677872,getspellabilityunit())==3)endfunction
function ge7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677872,getspellabilityunit())==4)endfunction
function g37 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677872,getspellabilityunit())==5)endfunction
function gf7 takes nothing returns nothingset
f4[getconvertedplayerid(getowningplayer(getspellabilityunit()))]=getowningplayer(g
etspellabilityunit())if(gc7())thencall uz(10.00)elsecall donothing()endifcall
setplayerhandicapxpbj(getowningplayer(getspellabilityunit()),300.00)if(gc7())then
call uz(15.00)elsecall donothing()endifif(gd7())thencall uz(20.00)elsecall
donothing()endifif(ge7())thencall uz(25.00)elsecall donothing()endifif(g37())then
call uz(30.00)elsecall donothing()endifcall
setplayerhandicapxpbj(f4[getconvertedplayerid(gettriggerplayer())],200.00)
endfunctionfunction gg7 takes nothing returns nothingset vr=createtrigger()call
triggerregisteranyuniteventbj(vr,event_player_unit_spell_effect)call
triggeraddcondition(vr,condition(function gb7))call triggeraddaction(vr,function
gf7)endfunctionfunction g67 takes nothing returns boolean
if(not(getspellabilityid()==1093677907))thenreturn falseendifreturn true
endfunctionfunction gh7 takes nothing returns nothingset i4=getspelltargetunit()
set
f8=xz(getunitloc(getspellabilityunit()),350.00,anglebetweenpoints(getunitloc(getsp
ellabilityunit()),getunitloc(getspelltargetunit())))call uz(0.60)call
setunitpositionloc(i4,f8)call removelocation(f8)set f8=nullendfunctionfunction gi7
takes nothing returns nothingset wr=createtrigger()call
triggerregisteranyuniteventbj(wr,event_player_unit_spell_effect)call
triggeraddcondition(wr,condition(function g67))call triggeraddaction(wr,function
gh7)endfunctionfunction gl7 takes nothing returns boolean
if(not(getspellabilityid()==1093679171))thenreturn falseendifreturn true
endfunctionfunction g17 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getspellabilityunit()))endfunction
function gj7 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(q9))endfunctionfunction gk7 takes
nothing returns boolean
return(getfilterplayer()==getowningplayer(getspellabilityunit()))endfunction
function gl7 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(q9))endfunctionfunction gm7 takes
nothing returns booleanif(not(getrandomint(1,2)==1))thenreturn falseendifreturn
trueendfunctionfunction gn7 takes nothing returns booleanreturn(r9<20)endfunction
function go7 takes nothing returns booleanreturn(r9<20)endfunctionfunction g07
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==1))thenreturn
falseendifreturn trueendfunctionfunction gp7 takes nothing returns boolean
return(r9<40)endfunctionfunction gq7 takes nothing returns booleanreturn(r9<40)
endfunctionfunction gr7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==2))thenreturn
falseendifreturn trueendfunctionfunction gs7 takes nothing returns boolean
return(r9<60)endfunctionfunction g57 takes nothing returns booleanreturn(r9<60)
endfunctionfunction gt7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==3))thenreturn
falseendifreturn trueendfunctionfunction gu7 takes nothing returns boolean
return(r9<80)endfunctionfunction gv7 takes nothing returns booleanreturn(r9<80)
endfunctionfunction gw7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==4))thenreturn
falseendifreturn trueendfunctionfunction gx7 takes nothing returns boolean
return(r9<100)endfunctionfunction gy7 takes nothing returns booleanreturn(r9<100)
endfunctionfunction g27 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==5))thenreturn
falseendifreturn trueendfunctionfunction gz7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==1))thenreturn
falseendifreturn trueendfunctionfunction g_7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==2))thenreturn
falseendifreturn trueendfunctionfunction h47 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==3))thenreturn
falseendifreturn trueendfunctionfunction h77 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==4))thenreturn
falseendifreturn trueendfunctionfunction h87 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679171,getspellabilityunit())==5))thenreturn
falseendifreturn trueendfunctionfunction h97 takes nothing returns nothingset
q9=getspelltargetunit()set
r9=getplayerstate(getowningplayer(q9),player_state_resource_gold)if(gm7())thencall
displaytexttoforce(wa(condition(function gk7)),"you successfully stole some gold !
")call displaytexttoforce(wa(condition(function gl7)),"you have been robbed of
some gold !")elsecall displaytexttoforce(wa(condition(function g17)),"you failed
to steal any gold !")call displaytexttoforce(wa(condition(function gj7)),"you have
prevented an enemy from robbing your gold !")call
disabletrigger(gettriggeringtrigger())call uz(110.00)call
enabletrigger(gettriggeringtrigger())returnendifif(g07())thenif(gn7())thencall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,0)elsecall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,(getplayerstate(ge
towningplayer(q9),player_state_resource_gold)-20))endifif(go7())thencall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+r9))elsecall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+20))endifelseendifif(gr7())thenif(gp7())thencall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,0)elsecall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,(getplayerstate(ge
towningplayer(q9),player_state_resource_gold)-40))endifif(
gq7())thencall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+r9))elsecall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+40))endifelseendifif(gt7())thenif(gs7())thencall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,0)elsecall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,(getplayerstate(ge
towningplayer(q9),player_state_resource_gold)-60))endifif(g57())thencall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+r9))elsecall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+60))endifelseendifif(gw7())thenif(gu7())thencall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,0)elsecall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,(getplayerstate(ge
towningplayer(q9),player_state_resource_gold)-80))endifif(gv7())thencall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+r9))elsecall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+80))endifelseendifif(g27())thenif(gx7())thencall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,0)elsecall
setplayerstatebj(getowningplayer(q9),player_state_resource_gold,(getplayerstate(ge
towningplayer(q9),player_state_resource_gold)-100))endifif(gy7())thencall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+r9))elsecall
setplayerstatebj(getowningplayer(getspellabilityunit()),player_state_resource_gold
,(getplayerstate(getowningplayer(getspellabilityunit()),player_state_resource_gold
)+100))endifelseendifif(gz7())thencall disabletrigger(gettriggeringtrigger())call
uz(150.00)call enabletrigger(gettriggeringtrigger())elseendifif(g_7())thencall
disabletrigger(gettriggeringtrigger())call uz(140.00)call
enabletrigger(gettriggeringtrigger())elseendifif(h47())thencall
disabletrigger(gettriggeringtrigger())call uz(130.00)call
enabletrigger(gettriggeringtrigger())elseendifif(h77())thencall
disabletrigger(gettriggeringtrigger())call uz(120.00)call
enabletrigger(gettriggeringtrigger())elseendifif(h87())thencall
disabletrigger(gettriggeringtrigger())call uz(110.00)call
enabletrigger(gettriggeringtrigger())elseendifendfunctionfunction hd7 takes
nothing returns nothingset xr=createtrigger()call disabletrigger(xr)call
triggerregisteranyuniteventbj(xr,event_player_unit_spell_effect)call
triggeraddcondition(xr,condition(function gl7))call triggeraddaction(xr,function
h97)endfunctionfunction he7 takes nothing returns boolean
if(not(getspellabilityid()==1093678671))thenreturn falseendifreturn true
endfunctionfunction hf7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678671,getspellabilityunit())==1)endfunction
function hg7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678671,getspellabilityunit())==2)endfunction
function hh7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678671,getspellabilityunit())==3)endfunction
function hi7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678671,getspellabilityunit())==4)endfunction
function hj7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678671,getspellabilityunit())==5)endfunction
function hk7 takes nothing returns nothingif(hf7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-50.00))elsecall donothing()endifif(hg7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-100.00))elsecall donothing()endifif(hh7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-150.00))elsecall donothing()endifif(hi7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-200.00))elsecall donothing()endifif(hj7())thencall
setunitlifebj(getspellabilityunit(),(getunitstateswap(unit_state_life,getspellabil
ityunit())-250.00))elsecall donothing()endifendfunctionfunction hm7 takes nothing
returns nothingset yr=createtrigger()call
triggerregisteranyuniteventbj(yr,event_player_unit_spell_cast)call
triggeraddcondition(yr,condition(function he7))call triggeraddaction(yr,function
hk7)endfunctionfunction hn7 takes nothing returns nothingset
e4=getunitloc(getenumunit())endfunctionfunction ho7 takes nothing returns nothing
call setunitpositionloc(getenumunit(),e4)endfunctionfunction hp7 takes nothing
returns nothingcall setunitpositionloc(getenumunit(),e4)endfunctionfunction hq7
takes nothing returns nothingcall
forgroupbj(sa(gettriggerplayer(),1429221431),function hn7)call
forgroupbj(sa(gettriggerplayer(),1869838130),function ho7)call
forgroupbj(sa(gettriggerplayer(),1869838131),function hp7)endfunctionfunction hr7
takes nothing returns nothingset zr=createtrigger()call disabletrigger(zr)call
triggerregisterplayerchatevent(zr,player(0),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(1),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(2),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(3),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(4),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(5),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(6),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(7),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(8),"-whistle",true)call
triggerregisterplayerchatevent(zr,player(9),"-whistle",true)call
triggeraddaction(zr,function hq7)endfunctionfunction hs7 takes nothing returns
booleanif(not(getspellabilityid()==1095656306))thenreturn falseendifreturn true
endfunctionfunction ht7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction hu7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction hv7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction hw7 takes nothing returns nothingcall
forgroupbj(sa(getowningplayer(getspellabilityunit()),1869838131),function ht7)call
forgroupbj(sa(getowningplayer(getspellabilityunit()),1869838130),function hu7)call
forgroupbj(sa(getowningplayer(getspellabilityunit()),1869838129),function hv7)call
setunitmanabj(getspellabilityunit(),(getunitstateswap(unit_state_mana,getspellabil
ityunit())+100.00))endfunctionfunction hx7 takes nothing returns nothingset
ar=createtrigger()call disabletrigger(ar)call
triggerregisteranyuniteventbj(ar,event_player_unit_spell_effect)call
triggeraddcondition(ar,condition(function hs7))call triggeraddaction(ar,function
hw7)endfunctionfunction hy7 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988559)endfunctionfunction hz7 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988560)
endfunctionfunction ha7 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988561)endfunctionfunction ha7 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988558)
endfunctionfunction hb7 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1747988557)endfunctionfunction hb7 takes
nothing returns booleanreturn(getunittypeid(getdyingunit())==1747988537)
endfunctionfunction hc7 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1852271725)endfunctionfunction hc7 takes
nothing returns booleanreturn getbooleanor(hb7(),hc7())endfunctionfunction hd7
takes nothing returns booleanreturn getbooleanor(hb7(),hc7())endfunctionfunction
he7 takes nothing returns booleanreturn getbooleanor(ha7(),hd7())endfunction
function h37 takes nothing returns booleanreturn getbooleanor(ha7(),he7())
endfunctionfunction hf7 takes nothing returns booleanreturn
getbooleanor(hz7(),h37())endfunctionfunction hg7 takes nothing returns boolean
if(not getbooleanor(hy7(),hf7()))thenreturn falseendifreturn trueendfunction
function h67 takes nothing returns nothingcall
addspecialeffectlocbj(getunitloc(getdyingunit()),"objects\\spawnmodels\\human\\fra
gmentationshards\\fragboomspawn.mdl")set k=getlastcreatedeffectbj()call uz(1.00)
call destroyeffectbj(k)endfunctionfunction hh7 takes nothing returns nothingset
ar=createtrigger()call triggerregisteranyuniteventbj(ar,event_player_unit_death)
call triggeraddcondition(ar,condition(function hg7))call
triggeraddaction(ar,function h67)endfunctionfunction hi7 takes nothing returns
booleanif(not(countunitsingroup(pa(1311781197))>0))thenreturn falseendifreturn
trueendfunctionfunction hl7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211118407))>0))thenreturn falseendifreturn true
endfunctionfunction h17 takes nothing returns boolean
if(not(countunitsingroup(pa(1215722344))>0))thenreturn falseendifreturn true
endfunctionfunction hj7 takes nothing returns nothingset gf=getenumunit()
endfunctionfunction hk7 takes nothing returns boolean
if(not(countunitsingroup(pa(1328558166))>0))thenreturn falseendifreturn true
endfunctionfunction hl7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311781186))>0))thenreturn
falseendifreturn trueendfunctionfunction hm7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211118134))>0))thenreturn falseendifreturn true
endfunctionfunction hn7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211118133))>0))thenreturn falseendifreturn true
endfunctionfunction ho7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211117910))>0))thenreturn falseendifreturn true
endfunctionfunction h07 takes nothing returns nothingset wf=getenumunit()
endfunctionfunction hp7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211118155))>0))thenreturn falseendifreturn true
endfunctionfunction hq7 takes nothing returns boolean
if(not(countunitsingroup(pa(1316122466))>0))thenreturn falseendifreturn true
endfunctionfunction hr7 takes nothing returns boolean
if(not(countunitsingroup(pa(1160785986))>0))thenreturn falseendifreturn true
endfunctionfunction hs7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311781174))>0))thenreturn falseendifreturn true
endfunctionfunction h57 takes nothing returns boolean
if(not(countunitsingroup(pa(1328558164))>0))thenreturn falseendifreturn true
endfunctionfunction ht7 takes nothing returns boolean
if(not(countunitsingroup(pa(1429221452))>0))thenreturn falseendifreturn true
endfunctionfunction hu7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311781168))>0))thenreturn falseendifreturn true
endfunctionfunction hv7 takes nothing returns boolean
if(not(countunitsingroup(pa(1429221447))>0))thenreturn falseendifreturn true
endfunctionfunction hw7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211117653))>0))thenreturn falseendifreturn true
endfunctionfunction hx7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211117617))>0))thenreturn falseendifreturn true
endfunctionfunction hy7 takes nothing returns boolean
if(not(countunitsingroup(pa(1214409837))>0))thenreturn falseendifreturn true
endfunctionfunction h27 takes nothing returns boolean
if(not(countunitsingroup(pa(1331850337))>0))thenreturn falseendifreturn true
endfunctionfunction hz7 takes nothing returns boolean
if(not(countunitsingroup(pa(1215324524))>0))thenreturn falseendifreturn true
endfunctionfunction h_7 takes nothing returns boolean
if(not(countunitsingroup(pa(1215130471))>0))thenreturn falseendifreturn true
endfunctionfunction i47 takes nothing returns boolean
if(not(countunitsingroup(pa(1332109682))>0))thenreturn falseendifreturn true
endfunctionfunction i77 takes nothing returns boolean
if(not(countunitsingroup(pa(1429221431))>0))thenreturn falseendifreturn true
endfunctionfunction i87 takes nothing returns boolean
if(not(countunitsingroup(pa(1328558135))>0))thenreturn falseendifreturn true
endfunctionfunction i97 takes nothing returns boolean
if(not(countunitsingroup(pa(1429221444))>0))thenreturn falseendifreturn true
endfunctionfunction id7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311780935))>0))thenreturn falseendifreturn true
endfunctionfunction ie7 takes nothing returns boolean
if(not(countunitsingroup(pa(1211117634))>0))thenreturn falseendifreturn true
endfunctionfunction if7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311780940))>0))thenreturn falseendifreturn true
endfunctionfunction ig7 takes nothing returns boolean
if(not(countunitsingroup(pa(1311780933))>0))thenreturn falseendifreturn true
endfunctionfunction ih7 takes nothing returns boolean
return(countunitsingroup(pa(1429221431))>0)endfunctionfunction ii7 takes nothing
returns booleanreturn(countunitsingroup(pa(1332963428))>0)endfunctionfunction ij7
takes nothing returns booleanreturn(countunitsingroup(pa(1211117644))>0)
endfunctionfunction ik7 takes nothing returns boolean
return(countunitsingroup(pa(1432580716))>0)endfunctionfunction im7 takes nothing
returns booleanreturn(countunitsingroup(pa(1315074670))>0)endfunctionfunction in7
takes nothing returns booleanreturn(countunitsingroup(pa(1433168227))>0)
endfunctionfunction io7 takes nothing returns boolean
return(countunitsingroup(pa(1429221448))>0)endfunctionfunction ip7 takes nothing
returns booleanreturn(countunitsingroup(pa(1429221430))>0)endfunctionfunction iq7
takes nothing returns booleanreturn(countunitsingroup(pa(1311780938))>0)
endfunctionfunction ir7 takes nothing returns boolean
return(countunitsingroup(pa(1164207469))>0)endfunctionfunction is7 takes nothing
returns booleanreturn(countunitsingroup(pa(1432642913))>0)endfunctionfunction it7
takes nothing returns booleanreturn(countunitsingroup(pa(1164666213))>0)
endfunctionfunction iu7 takes nothing returns boolean
return(countunitsingroup(pa(1214344551))>0)endfunctionfunction iv7 takes nothing
returns nothingif(hi7())thencall enabletrigger(ho)call enabletrigger(jo)call
enabletrigger(io)call enabletrigger(mo)elseendifif(hl7())thencall
enabletrigger(oo)call enabletrigger(po)call enabletrigger(qo)call
enabletrigger(ro)elseendifif(h17())thencall enabletrigger(br)call
enabletrigger(pr)call enabletrigger(qr)elseendifif(hk7())thencall
enabletrigger(hp)call enabletrigger(ms)call forgroupbj(pa(1328558166),function
hj7)elseendifif(hl7())thencall enabletrigger(po)call enabletrigger(ro)elseendif
if(hm7())thencall enabletrigger(vo)call enabletrigger(to)call enabletrigger(uo)
call enabletrigger(yo)elseendifif(hn7())thencall enabletrigger(rp)call
enabletrigger(ip)call enabletrigger(dp)call enabletrigger(zo)call
enabletrigger(fp)elseendifif(ho7())thencall enabletrigger(jp)call
enabletrigger(kp)call enabletrigger(mp)call enabletrigger(vj)call
enabletrigger(np)call enabletrigger(op)elseendifif(hp7())thencall
enabletrigger(ho)call enabletrigger(go)call enabletrigger(vp)call
enabletrigger(co)call forgroupbj(pa(1211118155),function h07)call
createnunitsatloc(1,1969709426,getowningplayer(wf),getrectcenter(xi),bj_unit_facin
g)set af=getlastcreatedunit()elseendifif(hq7())thencall enabletrigger(to)call
enabletrigger(uo)call enabletrigger(sp)call enabletrigger(pp)call
enabletrigger(rp)call enabletrigger(qp)elseendifif(hr7())thencall
enabletrigger(ap)call enabletrigger(wp)call enabletrigger(bp)call
enabletrigger(cp)call enabletrigger(xp)call enabletrigger(zp)call
enabletrigger(yp)call enabletrigger(cp)call enabletrigger(bp)elseendif
if(hs7())thencall enabletrigger(hp)call enabletrigger(ep)call enabletrigger(qp)
call enabletrigger(rs)call enabletrigger(sp)elseendifif(h57())thencall
enabletrigger(xr)call enabletrigger(dp)call enabletrigger(jq)elseendif
if(ht7())thencall enabletrigger(ft)call enabletrigger(gt)call enabletrigger(vs)
elseendifif(hu7())thencall enabletrigger(gs)call enabletrigger(qq)elseendif
if(hv7())thencall enabletrigger(yq)call enabletrigger(zq)elseendifif(hw7())then
call enabletrigger(dr)call enabletrigger(er)call enabletrigger(jr)call
enabletrigger(gr)call enabletrigger(hr)call enabletrigger(vp)call
enabletrigger(kr)elseendifif(hx7())thencall enabletrigger(ls)call
enabletrigger(fs)elseendifif(hy7())thencall enabletrigger(ns)call
enabletrigger(os)call enabletrigger(ws)elseendifif(h27())thencall
enabletrigger(ds)call enabletrigger(er)elseendifif(hz7())thencall
enabletrigger(us)elseendifif(h_7())thencall enabletrigger(rs)elseendif
if(i47())thencall enabletrigger(ur)elseendifif(i77())thencall enabletrigger(ar)
call enabletrigger(ur)call enabletrigger(zr)call enabletrigger(bs)elseendif
if(i87())thencall enabletrigger(js)call enabletrigger(ks)call enabletrigger(ls)
call enabletrigger(is)elseendifif(i97())thencall enabletrigger(nr)call
enabletrigger(ms)call enabletrigger(ps)elseendifif(id7())thencall
enabletrigger(sr)call enabletrigger(tr)elseendifif(ie7())thencall
enabletrigger(lr)call enabletrigger(mr)elseendifif(if7())thencall
enabletrigger(rr)call enabletrigger(hr)call enabletrigger(ir)call
enabletrigger(jr)call enabletrigger(kr)call enabletrigger(mr)call
enabletrigger(nr)call enabletrigger(pr)call enabletrigger(qr)call
enabletrigger(gr)call enabletrigger(ir)call enabletrigger(fr)elseendif
if(ig7())thencall enabletrigger(es)elseendifif(ih7())thencall enabletrigger(vr)
elsecall donothing()endifif(ii7())thencall enabletrigger(vr)elsecall donothing()
endifif(ij7())thencall enabletrigger(cr)elsecall donothing()endifif(ik7())thencall
enabletrigger(wr)elsecall donothing()endifif(im7())thencall enabletrigger(yr)else
call donothing()endifif(in7())thencall enabletrigger(ns)elsecall donothing()endif
if(io7())thencall enabletrigger(ht)elsecall donothing()endifif(ip7())thencall
enabletrigger(ts)elsecall donothing()endifif(iq7())thencall enabletrigger(aq)else
call donothing()endifif(ir7())thencall enabletrigger(ys)elsecall donothing()endif
if(is7())thencall enabletrigger(rr)elsecall donothing()endifif(it7())thencall
enabletrigger(zs)elsecall donothing()endifif(iu7())thencall enabletrigger(zr)else
call donothing()endifendfunctionfunction iw7 takes nothing returns nothingset
br=createtrigger()call triggerregistertimereventsingle(br,15.00)call
triggerregistertimereventsingle(br,60.00)call
triggerregistertimereventsingle(br,120.00)call
triggerregistertimereventsingle(br,180.00)call
triggerregistertimereventsingle(br,250.00)call
triggerregistertimereventsingle(br,300.00)call triggeraddaction(br,function iv7)
endfunctionfunction ix7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093677633))thenreturn falseendifreturn true
endfunctionfunction iy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),1))==1227895097)
endfunctionfunction iz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),2))==1227895097)
endfunctionfunction
ia7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),3))==1227895097)
endfunctionfunction ia7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),4))==1227895097)
endfunctionfunction ib7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),5))==1227895097)
endfunctionfunction ib7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getlearningunit(),6))==1227895097)
endfunctionfunction ic7 takes nothing returns booleanreturn
getbooleanor(ib7(),ib7())endfunctionfunction ic7 takes nothing returns boolean
return getbooleanor(ia7(),ic7())endfunctionfunction id7 takes nothing returns
booleanreturn getbooleanor(ia7(),ic7())endfunctionfunction ie7 takes nothing
returns booleanreturn getbooleanor(iz7(),id7())endfunctionfunction i37 takes
nothing returns booleanreturn getbooleanor(iy7(),ie7())endfunctionfunction if7
takes nothing returns booleanreturn(getitemtypeid(getenumitem())==1227895097)
endfunctionfunction ig7 takes nothing returns nothingif(if7())thenset e=1elsecall
donothing()endifendfunctionfunction i67 takes nothing returns booleanreturn(e>0)
endfunctionfunction ih7 takes nothing returns nothingset e=0if(i37())thenset e=1
elsecall donothing()endifcall enumitemsinrectbj(getplayablemaprect(),function ig7)
if(i67())thencall unitremoveabilitybj(1093677633,getlearningunit())elsecall
donothing()endifendfunctionfunction ii7 takes nothing returns nothingset
br=createtrigger()call disabletrigger(br)call
triggerregisteranyuniteventbj(br,event_player_hero_skill)call
triggeraddcondition(br,condition(function ix7))call triggeraddaction(br,function
ih7)endfunctionfunction il7 takes nothing returns boolean
if(not(getspellabilityid()==1098347111))thenreturn falseendifreturn true
endfunctionfunction i17 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1751281524))>0)
endfunctionfunction ij7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1747988562))>0)
endfunctionfunction ik7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1747988563))>0)
endfunctionfunction il7 takes nothing returns booleanreturn
getbooleanor(ij7(),ik7())endfunctionfunction im7 takes nothing returns boolean
return getbooleanor(i17(),il7())endfunctionfunction in7 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(getspellabilityunit()))
endfunctionfunction io7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1751281524))>0)
endfunctionfunction i07 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1747988562))>0)
endfunctionfunction ip7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1747988563))>0)
endfunctionfunction iq7 takes nothing returns booleanreturn
getbooleanor(i07(),ip7())endfunctionfunction ir7 takes nothing returns boolean
return getbooleanor(io7(),iq7())endfunctionfunction is7 takes nothing returns
booleanreturn(getunitabilitylevelswapped(1098347111,getspellabilityunit())==1)
endfunctionfunction i57 takes nothing returns boolean
return(getunitabilitylevelswapped(1098347111,getspellabilityunit())==2)endfunction
function it7 takes nothing returns boolean
return(getunitabilitylevelswapped(1098347111,getspellabilityunit())==3)endfunction
function iu7 takes nothing returns nothingif(im7())thencall
displaytexttoforce(wa(condition(function in7)),"you may only have one sky rider at
a time !")elsecall donothing()endifif(ir7())thenreturnelsecall donothing()endif
if(is7())thencall
createnunitsatloc(1,1751281524,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifif(i57())thencall
createnunitsatloc(1,1747988562,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifif(it7())thencall
createnunitsatloc(1,1747988563,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifcall
triggersleepaction(5.00)returnendfunctionfunction iv7 takes nothing returns
nothingset cr=createtrigger()call disabletrigger(cr)call
triggerregisteranyuniteventbj(cr,event_player_unit_spell_finish)call
triggeraddcondition(cr,condition(function il7))call triggeraddaction(cr,function
iu7)endfunctionfunction iw7 takes nothing returns boolean
if(not(getspellabilityid()==1093678927))thenreturn falseendifreturn true
endfunctionfunction ix7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1848652081))>1)
endfunctionfunction iy7 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getspellabilityunit()))endfunction
function i27 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1848652081))>1)
endfunctionfunction iz7 takes nothing returns nothingif(ix7())thencall
displaytexttoforce(wa(condition(function iy7)),"negurui is already here!")elsecall
donothing()endifif(i27())thenreturnelsecall donothing()endifcall
createnunitsatloc(1,1848652081,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)call triggersleepaction(1.00)return
endfunctionfunction i_7 takes nothing returns nothingset cr=createtrigger()call
triggerregisteranyuniteventbj(cr,event_player_unit_spell_effect)call
triggeraddcondition(cr,condition(function iw7))call triggeraddaction(cr,function
iz7)endfunctionfunction j47 takes nothing returns boolean
if(not(getspellabilityid()==1093677901))thenreturn falseendifreturn true
endfunctionfunction j77 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1969316463,getowningplayer(getspellabilityun
it()))>0)endfunctionfunction j87 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1969451641,getowningplayer(getspellabilityun
it()))>0)endfunctionfunction j97 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1970169187,getowningplayer(getspellabilityun
it()))>0)endfunctionfunction jd7 takes nothing returns booleanreturn
getbooleanor(j87(),j97())endfunctionfunction je7 takes nothing returns boolean
return getbooleanor(j77(),jd7())endfunctionfunction jf7 takes nothing returns
boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1969316463))==0
)endfunctionfunction jg7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1969451641))==0
)endfunctionfunction jh7 takes nothing returns boolean
return(countunitsingroup(sa(getowningplayer(getspellabilityunit()),1970169187))==0
)endfunctionfunction ji7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==2)endfunction
function jj7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jk7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),2)
endfunctionfunction jm7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==3)endfunction
function jn7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jo7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),3)
endfunctionfunction jp7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==4)endfunction
function jq7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jr7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),4)
endfunctionfunction js7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==5)endfunction
function jt7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction ju7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),5)
endfunctionfunction jv7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==6)endfunction
function jw7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jx7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),6)
endfunctionfunction jy7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==7)endfunction
function jz7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction ja7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),7)
endfunctionfunction ja7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==8)endfunction
function jb7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jb7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),8)
endfunctionfunction jc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==9)endfunction
function jc7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jd7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),9)
endfunctionfunction je7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getspellabilityunit())==10)
endfunctionfunction j37 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction
jf7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677905,getenumunit(),10)endfunctionfunction jg7
takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getspellabilityunit())==1)endfunction
function j67 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jh7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677906,getenumunit(),2)
endfunctionfunction ji7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getspellabilityunit())==2)endfunction
function jl7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction j17 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677906,getenumunit(),3)
endfunctionfunction jj7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getspellabilityunit())==3)endfunction
function jk7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jl7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677906,getenumunit(),4)
endfunctionfunction jm7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getspellabilityunit())==4)endfunction
function jn7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jo7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677906,getenumunit(),5)
endfunctionfunction j07 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getspellabilityunit())==5)endfunction
function jp7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction jq7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677906,getenumunit(),6)
endfunctionfunction jr7 takes nothing returns nothingif(je7())thenreturnelsecall
donothing()endifif(jf7())thencall
createnunitsatloc(1,1969316463,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifif(jg7())thencall
createnunitsatloc(1,1969451641,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifif(jh7())thencall
createnunitsatloc(1,1970169187,getowningplayer(getspellabilityunit()),getunitloc(g
etspellabilityunit()),bj_unit_facing)elsecall donothing()endifif(ji7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jj7)),function jk7)elsecall donothing()endifif(jm7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jn7)),function jo7)elsecall donothing()endifif(jp7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jq7)),function jr7)elsecall donothing()endifif(js7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jt7)),function ju7)elsecall donothing()endifif(jv7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jw7)),function jx7)elsecall donothing()endifif(jy7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jz7)),function ja7)elsecall donothing()endifif(ja7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jb7)),function jb7)elsecall donothing()endifif(jc7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jc7)),function jd7)elsecall donothing()endifif(je7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
j37)),function jf7)elsecall donothing()endifif(jg7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
j67)),function jh7)elsecall donothing()endifif(ji7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jl7)),function j17)elsecall donothing()endifif(jj7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jk7)),function jl7)elsecall donothing()endifif(jm7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jn7)),function jo7)elsecall donothing()endifif(j07())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
jp7)),function jq7)elsecall donothing()endifcall triggersleepaction(5.00)return
endfunctionfunction js7 takes nothing returns nothingset dr=createtrigger()call
disabletrigger(dr)call
triggerregisteranyuniteventbj(dr,event_player_unit_spell_finish)call
triggeraddcondition(dr,condition(function j47))call triggeraddaction(dr,function
jr7)endfunctionfunction j57 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction jt7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction ju7 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction jv7 takes nothing returns nothingcall
forgroupbj(sa(gettriggerplayer(),1969316463),function j57)call
forgroupbj(sa(gettriggerplayer(),1969451641),function jt7)call
forgroupbj(sa(gettriggerplayer(),1970169187),function ju7)call
triggersleepaction(5.00)returnendfunctionfunction jw7 takes nothing returns
nothingset er=createtrigger()call disabletrigger(er)call
triggerregisterplayerchatevent(er,player(0),"-release",true)call
triggerregisterplayerchatevent(er,player(1),"-release",true)call
triggerregisterplayerchatevent(er,player(2),"-release",true)call
triggerregisterplayerchatevent(er,player(3),"-release",true)call
triggerregisterplayerchatevent(er,player(4),"-release",true)call
triggerregisterplayerchatevent(er,player(5),"-release",true)call
triggerregisterplayerchatevent(er,player(6),"-release",true)call
triggerregisterplayerchatevent(er,player(7),"-release",true)call
triggerregisterplayerchatevent(er,player(8),"-release",true)call
triggerregisterplayerchatevent(er,player(9),"-release",true)call
triggeraddaction(er,function jv7)endfunctionfunction jx7 takes nothing returns
booleanif(not(getspellabilityid()==1093678156))thenreturn falseendifreturn true
endfunctionfunction jy7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,q4)==1)endfunctionfunction j27 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1747988784)
endfunctionfunction jz7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093678157,getenumunit(),2)endfunctionfunction j_7
takes nothing returns booleanreturn(getunitabilitylevelswapped(1093678158,q4)==2)
endfunctionfunction k47 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction k77 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),3)
endfunctionfunction k87 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,q4)==3)endfunctionfunction k97 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1747988784)
endfunctionfunction kd7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093678157,getenumunit(),4)endfunctionfunction ke7
takes nothing returns booleanreturn(getunitabilitylevelswapped(1093678158,q4)==4)
endfunctionfunction kf7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction kg7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),5)
endfunctionfunction kh7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,q4)==5)endfunctionfunction ki7 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1747988784)
endfunctionfunction kj7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093678157,getenumunit(),6)endfunctionfunction kk7
takes nothing returns nothingset q4=getspellabilityunit()if(jy7())thencall
forgroupbj(ra(getowningplayer(q4),condition(function j27)),function jz7)elsecall
donothing()endifif(j_7())thencall
forgroupbj(ra(getowningplayer(q4),condition(function k47)),function k77)elsecall
donothing()endifif(k87())thencall
forgroupbj(ra(getowningplayer(q4),condition(function k97)),function kd7)elsecall
donothing()endifif(ke7())thencall
forgroupbj(ra(getowningplayer(q4),condition(function kf7)),function kg7)elsecall
donothing()endifif(kh7())thencall
forgroupbj(ra(getowningplayer(q4),condition(function ki7)),function kj7)elsecall
donothing()endifreturnendfunctionfunction km7 takes nothing returns nothingset
fr=createtrigger()call disabletrigger(fr)call
triggerregisteranyuniteventbj(fr,event_player_unit_spell_effect)call
triggeraddcondition(fr,condition(function jx7))call triggeraddaction(fr,function
kk7)endfunctionfunction kn7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093677902))thenreturn falseendifreturn true
endfunctionfunction ko7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==2)endfunction
function kp7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kq7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),2)
endfunctionfunction kr7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==3)endfunction
function ks7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kt7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),3)
endfunctionfunction ku7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==4)endfunction
function kv7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kw7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),4)
endfunctionfunction
kx7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==5)endfunction
function ky7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kz7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),5)
endfunctionfunction ka7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==6)endfunction
function ka7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kb7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),6)
endfunctionfunction kb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==7)endfunction
function kc7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kc7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),7)
endfunctionfunction kd7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==8)endfunction
function ke7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction k37 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),8)
endfunctionfunction kf7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==9)endfunction
function kg7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction k67 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677905,getenumunit(),9)
endfunctionfunction kh7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677902,getlearningunit())==10)endfunction
function ki7 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1211117653)endfunctionfunction kl7 takes
nothing returns nothingcall
setunitabilitylevelswapped(1093677905,getenumunit(),10)endfunctionfunction k17
takes nothing returns nothingif(ko7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kp7)),function
kq7)elsecall donothing()endifif(kr7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function ks7)),function
kt7)elsecall donothing()endifif(ku7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kv7)),function
kw7)elsecall donothing()endifif(kx7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function ky7)),function
kz7)elsecall donothing()endifif(ka7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function ka7)),function
kb7)elsecall donothing()endifif(kb7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kc7)),function
kc7)elsecall donothing()endifif(kd7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function ke7)),function
k37)elsecall donothing()endifif(kf7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kg7)),function
k67)elsecall donothing()endifif(kh7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function ki7)),function
kl7)elsecall donothing()endifendfunctionfunction kj7 takes nothing returns nothing
set gr=createtrigger()call disabletrigger(gr)call
triggerregisteranyuniteventbj(gr,event_player_hero_skill)call
triggeraddcondition(gr,condition(function kn7))call triggeraddaction(gr,function
k17)endfunctionfunction kk7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093678145))thenreturn falseendifreturn true
endfunctionfunction kl7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getlearningunit())==1)endfunction
function km7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1969316463)endfunctionfunction kn7 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1969451641)
endfunctionfunction ko7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1970169187)endfunctionfunction k07 takes
nothing returns booleanreturn getbooleanor(kn7(),ko7())endfunctionfunction kp7
takes nothing returns booleanreturn getbooleanor(km7(),k07())endfunctionfunction
kq7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677906,getenumunit(),2)endfunctionfunction kr7
takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getlearningunit())==2)endfunction
function ks7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1969316463)endfunctionfunction k57 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1969451641)
endfunctionfunction kt7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1970169187)endfunctionfunction ku7 takes
nothing returns booleanreturn getbooleanor(k57(),kt7())endfunctionfunction kv7
takes nothing returns booleanreturn getbooleanor(ks7(),ku7())endfunctionfunction
kw7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677906,getenumunit(),3)endfunctionfunction kx7
takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getlearningunit())==3)endfunction
function ky7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1969316463)endfunctionfunction k27 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1969451641)
endfunctionfunction kz7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1970169187)endfunctionfunction k_7 takes
nothing returns booleanreturn getbooleanor(k27(),kz7())endfunctionfunction m47
takes nothing returns booleanreturn getbooleanor(ky7(),k_7())endfunctionfunction
m77 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677906,getenumunit(),4)endfunctionfunction m87
takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getlearningunit())==4)endfunction
function m97 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1969316463)endfunctionfunction md7 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1969451641)
endfunctionfunction me7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1970169187)endfunctionfunction mf7 takes
nothing returns booleanreturn getbooleanor(md7(),me7())endfunctionfunction mg7
takes nothing returns booleanreturn getbooleanor(m97(),mf7())endfunctionfunction
mh7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677906,getenumunit(),5)endfunctionfunction mi7
takes nothing returns boolean
return(getunitabilitylevelswapped(1093678145,getlearningunit())==5)endfunction
function mj7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1969316463)endfunctionfunction mk7 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())==1969451641)
endfunctionfunction mm7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1970169187)endfunctionfunction mn7 takes
nothing returns booleanreturn getbooleanor(mk7(),mm7())endfunctionfunction mo7
takes nothing returns booleanreturn getbooleanor(mj7(),mn7())endfunctionfunction
mp7 takes nothing returns nothingcall
setunitabilitylevelswapped(1093677906,getenumunit(),6)endfunctionfunction mq7
takes nothing returns nothingif(kl7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kp7)),function
kq7)elsecall donothing()endifif(kr7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function kv7)),function
kw7)elsecall donothing()endifif(kx7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function m47)),function
m77)elsecall donothing()endifif(m87())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function mg7)),function
mh7)elsecall donothing()endifif(mi7())thencall
forgroupbj(ra(getowningplayer(getlearningunit()),condition(function mo7)),function
mp7)elsecall donothing()endifendfunctionfunction mr7 takes nothing returns nothing
set hr=createtrigger()call disabletrigger(hr)call
triggerregisteranyuniteventbj(hr,event_player_hero_skill)call
triggeraddcondition(hr,condition(function kk7))call triggeraddaction(hr,function
mq7)endfunctionfunction ms7 takes nothing returns boolean
if(not(getspellabilityid()==1093678158))thenreturn falseendifreturn true
endfunctionfunction mt7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,getspellabilityunit())==1)endfunction
function mu7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction mv7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),2)
endfunctionfunction mw7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,getspellabilityunit())==2)endfunction
function mx7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction my7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),3)
endfunctionfunction mz7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,getspellabilityunit())==3)endfunction
function ma7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction ma7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),4)
endfunctionfunction mb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678158,getspellabilityunit())==4)endfunction
function mb7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction mc7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),5)
endfunctionfunction mc7 takes
nothing returns boolean
return(getunitabilitylevelswapped(1093678158,getspellabilityunit())==5)endfunction
function md7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1747988784)endfunctionfunction me7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093678157,getenumunit(),6)
endfunctionfunction m37 takes nothing returns nothingif(mt7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
mu7)),function mv7)elsecall donothing()endifif(mw7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
mx7)),function my7)elsecall donothing()endifif(mz7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
ma7)),function ma7)elsecall donothing()endifif(mb7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
mb7)),function mc7)elsecall donothing()endifif(mc7())thencall
forgroupbj(ra(getowningplayer(getspellabilityunit()),condition(function
md7)),function me7)elsecall donothing()endifendfunctionfunction mf7 takes nothing
returns nothingset ir=createtrigger()call disabletrigger(ir)call
triggerregisteranyuniteventbj(ir,event_player_unit_spell_effect)call
triggeraddcondition(ir,condition(function ms7))call triggeraddaction(ir,function
m37)endfunctionfunction mg7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093677911))thenreturn falseendifreturn true
endfunctionfunction m67 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677911,getlearningunit())==5)endfunction
function mh7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677911,getlearningunit())==5)endfunction
function mi7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677911,getlearningunit())==10)endfunction
function ml7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677911,getlearningunit())==10)endfunction
function m17 takes nothing returns nothingif(m67())thencall
createitemloc(1684370275,getunitloc(getlearningunit()))elsecall donothing()endif
if(mh7())thencall unitadditemswapped(getlastcreateditem(),getlearningunit())else
call donothing()endifif(mi7())thencall
createitemloc(1684370275,getunitloc(getlearningunit()))elsecall donothing()endif
if(ml7())thencall unitadditemswapped(getlastcreateditem(),getlearningunit())else
call donothing()endifreturnendfunctionfunction mj7 takes nothing returns nothing
set lr=createtrigger()call
triggerregisteranyuniteventbj(lr,event_player_hero_skill)call
triggeraddcondition(lr,condition(function mg7))call triggeraddaction(lr,function
m17)endfunctionfunction mk7 takes nothing returns boolean
if(not(getunittypeid(gettriggerunit())==1211117653))thenreturn falseendifreturn
trueendfunctionfunction ml7 takes nothing returns nothingcall
pauseunitbj(true,getenumunit())endfunctionfunction mm7 takes nothing returns
nothingcall pauseunitbj(true,getenumunit())endfunctionfunction mn7 takes nothing
returns nothingcall pauseunitbj(true,getenumunit())endfunctionfunction mo7 takes
nothing returns nothingcall
forgroupbj(sa(getowningplayer(gettriggerunit()),1969316463),function ml7)call
forgroupbj(sa(getowningplayer(gettriggerunit()),1969451641),function mm7)call
forgroupbj(sa(getowningplayer(gettriggerunit()),1970169187),function mn7)
endfunctionfunction m07 takes nothing returns nothingset jr=createtrigger()call
disabletrigger(jr)call triggerregisteranyuniteventbj(jr,event_player_unit_death)
call triggerregisteranyuniteventbj(jr,event_player_unit_use_item)call
triggerregisteranyuniteventbj(jr,event_player_unit_spell_cast)call
triggerregisteranyuniteventbj(jr,event_player_unit_issued_target_order)call
triggerregisteranyuniteventbj(jr,event_player_unit_issued_point_order)call
triggerregisteranyuniteventbj(jr,event_player_unit_attacked)call
triggeraddcondition(jr,condition(function mk7))call triggeraddaction(jr,function
mo7)endfunctionfunction mp7 takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("stop"))endfunctionfunction mq7
takes nothing returns booleanreturn(getissuedorderidbj()==string2orderidbj("hold
position"))endfunctionfunction mr7 takes nothing returns boolean
if(not(getunittypeid(gettriggerunit())==1211117653))thenreturn falseendifif(not
getbooleanor(mp7(),mq7()))thenreturn falseendifreturn trueendfunctionfunction ms7
takes nothing returns nothingcall pauseunitbj(false,getenumunit())endfunction
function m57 takes nothing returns nothingcall pauseunitbj(false,getenumunit())
endfunctionfunction mt7 takes nothing returns nothingcall
pauseunitbj(false,getenumunit())endfunctionfunction mu7 takes nothing returns
nothingcall forgroupbj(sa(getowningplayer(gettriggerunit()),1969316463),function
ms7)call forgroupbj(sa(getowningplayer(gettriggerunit()),1969451641),function m57)
call forgroupbj(sa(getowningplayer(gettriggerunit()),1970169187),function mt7)
endfunctionfunction mv7 takes nothing returns nothingset kr=createtrigger()call
disabletrigger(kr)call
triggerregisteranyuniteventbj(kr,event_player_unit_issued_order)call
triggeraddcondition(kr,condition(function mr7))call triggeraddaction(kr,function
mu7)endfunctionfunction mw7 takes nothing returns boolean
if(not(getspellabilityid()==1094939247))thenreturn falseendifreturn true
endfunctionfunction mx7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction my7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)==false)endfunction
function m27 takes nothing returns boolean
return(isunitidtype(getunittypeid(getfilterunit()),unit_type_structure)==false)
endfunctionfunction mz7 takes nothing returns booleanreturn
getbooleanand(my7(),m27())endfunctionfunction m_7 takes nothing returns boolean
return getbooleanand(mx7(),mz7())endfunctionfunction n47 takes nothing returns
nothingcall
unitdamagetargetbj(getspellabilityunit(),getenumunit(),z,attack_type_chaos,damage_
type_normal)endfunctionfunction n77 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction n87 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)==false)endfunction
function n97 takes nothing returns boolean
return(isunitidtype(getunittypeid(getfilterunit()),unit_type_structure)==false)
endfunctionfunction nd7 takes nothing returns booleanreturn
getbooleanand(n87(),n97())endfunctionfunction ne7 takes nothing returns boolean
return getbooleanand(n77(),nd7())endfunctionfunction nf7 takes nothing returns
nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"doodads\\cinematic\\lightni
ngbolt\\lightningbolt.mdl")endfunctionfunction ng7 takes nothing returns nothing
call forgroupbj(fa(getplayablemaprect(),condition(function m_7)),function n47)call
forgroupbj(fa(getplayablemaprect(),condition(function ne7)),function nf7)set
bj_forloopaindex=1set bj_forloopaindexend=50loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall destroyeffectbj(getlastcreatedeffectbj())
set bj_forloopaindex=bj_forloopaindex+1endloopreturnendfunctionfunction nh7 takes
nothing returns nothingset lr=createtrigger()call disabletrigger(lr)call
triggerregisteranyuniteventbj(lr,event_player_unit_spell_finish)call
triggeraddcondition(lr,condition(function mw7))call triggeraddaction(lr,function
ng7)endfunctionfunction ni7 takes nothing returns boolean
if(not(getspellabilityid()==1094939247))thenreturn falseendifreturn true
endfunctionfunction nj7 takes nothing returns boolean
return(getunitabilitylevelswapped(1094939247,getspellabilityunit())==1)endfunction
function nk7 takes nothing returns boolean
return(getunitabilitylevelswapped(1094939247,getspellabilityunit())==2)endfunction
function nm7 takes nothing returns boolean
return(getunitabilitylevelswapped(1094939247,getspellabilityunit())==3)endfunction
function nn7 takes nothing returns nothingif(nj7())thenset z=125.00elsecall
donothing()endifif(nk7())thenset z=175.00elsecall donothing()endifif(nm7())thenset
z=225.00elsecall donothing()endifendfunctionfunction no7 takes nothing returns
nothingset mr=createtrigger()call disabletrigger(mr)call
triggerregisteranyuniteventbj(mr,event_player_unit_spell_cast)call
triggeraddcondition(mr,condition(function ni7))call triggeraddaction(mr,function
nn7)endfunctionfunction np7 takes nothing returns boolean
if(not(getspellabilityid()==1093678135))thenreturn falseendifreturn true
endfunctionfunction nq7 takes nothing returns boolean
return(getowningplayer(gettriggerunit())==player(0))endfunctionfunction nr7 takes
nothing returns booleanreturn(getowningplayer(gettriggerunit())==player(1))
endfunctionfunction ns7 takes nothing returns boolean
return(getowningplayer(gettriggerunit())==player(2))endfunctionfunction nt7 takes
nothing returns booleanreturn(getowningplayer(gettriggerunit())==player(3))
endfunctionfunction nu7 takes nothing returns boolean
return(getowningplayer(gettriggerunit())==player(4))endfunctionfunction nv7 takes
nothing returns booleanreturn(getowningplayer(gettriggerunit())==player(5))
endfunctionfunction nw7 takes nothing returns boolean
return(getowningplayer(gettriggerunit())==player(6))endfunctionfunction nx7 takes
nothing returns booleanreturn(getowningplayer(gettriggerunit())==player(7))
endfunctionfunction ny7 takes nothing returns boolean
return(getowningplayer(gettriggerunit())==player(8))endfunctionfunction nz7 takes
nothing returns booleanreturn(getowningplayer(gettriggerunit())==player(9))
endfunctionfunction na7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678135,getspellabilityunit())==1)endfunction
function
na7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678135,getspellabilityunit())==2)endfunction
function nb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678135,getspellabilityunit())==3)endfunction
function nb7 takes nothing returns nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nc7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nc7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nd7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction ne7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction n37 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nf7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction ng7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction n67 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nh7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction ni7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nl7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction n17 takes nothing returns
booleanif(not(e==2))thenreturn falseendifreturn trueendfunctionfunction nj7 takes
nothing returns nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nk7 takes nothing returns nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nl7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nm7 takes nothing returns
nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nn7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction no7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction n07 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction np7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nq7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction nr7 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction ns7 takes nothing returns
nothingcall
setunitlifebj(getenumunit(),(getunitstateswap(unit_state_life,getenumunit())+z))
endfunctionfunction n57 takes nothing returns nothingcall
addspecialeffecttargetunitbj("overhead",getenumunit(),"abilities\\spells\\human\\h
olybolt\\holyboltspecialart.mdl")endfunctionfunction nt7 takes nothing returns
booleanif(not(e==1))thenreturn falseendifreturn trueendfunctionfunction nu7 takes
nothing returns nothingif(nq7())thenset e=1elsecall donothing()endifif(nr7())then
set e=1elsecall donothing()endifif(ns7())thenset e=1elsecall donothing()endif
if(nt7())thenset e=1elsecall donothing()endifif(nu7())thenset e=1elsecall
donothing()endifif(nv7())thenset e=2elsecall donothing()endifif(nw7())thenset e=2
elsecall donothing()endifif(nx7())thenset e=2elsecall donothing()endif
if(ny7())thenset e=2elsecall donothing()endifif(nz7())thenset e=2elsecall
donothing()endifif(na7())thenset z=200.00elsecall donothing()endifif(na7())thenset
z=400.00elsecall donothing()endifif(nb7())thenset z=600.00elsecall donothing()
endifif(n17())thencall forgroupbj(ia(getplayablemaprect(),player(5)),function nb7)
call forgroupbj(ia(getplayablemaprect(),player(5)),function nc7)call
forgroupbj(ia(getplayablemaprect(),player(6)),function nc7)call
forgroupbj(ia(getplayablemaprect(),player(6)),function nd7)call
forgroupbj(ia(getplayablemaprect(),player(7)),function ne7)call
forgroupbj(ia(getplayablemaprect(),player(7)),function n37)call
forgroupbj(ia(getplayablemaprect(),player(8)),function nf7)call
forgroupbj(ia(getplayablemaprect(),player(8)),function ng7)call
forgroupbj(ia(getplayablemaprect(),player(9)),function n67)call
forgroupbj(ia(getplayablemaprect(),player(9)),function nh7)set bj_forloopaindex=1
set bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
destroyeffectbj(getlastcreatedeffectbj())set bj_forloopaindex=bj_forloopaindex+1
endloopcall forgroupbj(ia(getplayablemaprect(),player(11)),function ni7)call
forgroupbj(ia(getplayablemaprect(),player(11)),function nl7)set bj_forloopaindex=1
set bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
destroyeffectbj(getlastcreatedeffectbj())set bj_forloopaindex=bj_forloopaindex+1
endloopelseendifif(nt7())thencall
forgroupbj(ia(getplayablemaprect(),player(0)),function nj7)call
forgroupbj(ia(getplayablemaprect(),player(0)),function nk7)call
forgroupbj(ia(getplayablemaprect(),player(1)),function nl7)call
forgroupbj(ia(getplayablemaprect(),player(1)),function nm7)call
forgroupbj(ia(getplayablemaprect(),player(2)),function nn7)call
forgroupbj(ia(getplayablemaprect(),player(2)),function no7)call
forgroupbj(ia(getplayablemaprect(),player(3)),function n07)call
forgroupbj(ia(getplayablemaprect(),player(3)),function np7)call
forgroupbj(ia(getplayablemaprect(),player(4)),function nq7)call
forgroupbj(ia(getplayablemaprect(),player(4)),function nr7)set bj_forloopaindex=1
set bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
destroyeffectbj(getlastcreatedeffectbj())set bj_forloopaindex=bj_forloopaindex+1
endloopcall forgroupbj(ia(getplayablemaprect(),player(10)),function ns7)call
forgroupbj(ia(getplayablemaprect(),player(10)),function n57)set bj_forloopaindex=1
set bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
destroyeffectbj(getlastcreatedeffectbj())set bj_forloopaindex=bj_forloopaindex+1
endloopelseendifset bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall destroyeffectbj(getlastcreatedeffectbj())
set bj_forloopaindex=bj_forloopaindex+1endloopcall
unitdamagetargetbj(az,getspellabilityunit(),99999.00,attack_type_chaos,damage_type
_normal)endfunctionfunction nv7 takes nothing returns nothingset
nr=createtrigger()call disabletrigger(nr)call
triggerregisteranyuniteventbj(nr,event_player_unit_spell_effect)call
triggeraddcondition(nr,condition(function np7))call triggeraddaction(nr,function
nu7)endfunctionfunction nw7 takes nothing returns boolean
if(not(getplayerstate(k4[getconvertedplayerid(gettriggerplayer())],player_state_re
source_gold)>=150))thenreturn falseendif
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1215722344))th
enreturn falseendifreturn trueendfunctionfunction nx7 takes nothing returns
booleanreturn(countlivingplayerunitsoftypeid(1848651833,gettriggerplayer())==0)
endfunctionfunction ny7 takes nothing returns nothingset
u=getunitloc(getenumunit())endfunctionfunction n27 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction nz7 takes nothing returns
nothingcall unitremoveabilitybj(1093677633,getenumunit())endfunctionfunction n_7
takes nothing returns nothingcall adjustplayerstatebj(-
150,gettriggerplayer(),player_state_resource_gold)if(nx7())thenreturnelsecall
donothing()endifcall forgroupbj(sa(gettriggerplayer(),1848651833),function ny7)
call createitemloc(1227895097,u)call
forgroupbj(sa(gettriggerplayer(),1848651833),function n27)call
forgroupbj(sa(gettriggerplayer(),1215722344),function nz7)endfunctionfunction o47
takes nothing returns nothingset pr=createtrigger()call disabletrigger(pr)call
triggerregisterplayerchatevent(pr,player(0),"-henge",true)call
triggerregisterplayerchatevent(pr,player(1),"-henge",true)call
triggerregisterplayerchatevent(pr,player(2),"-henge",true)call
triggerregisterplayerchatevent(pr,player(3),"-henge",true)call
triggerregisterplayerchatevent(pr,player(4),"-henge",true)call
triggerregisterplayerchatevent(pr,player(5),"-henge",true)call
triggerregisterplayerchatevent(pr,player(6),"-henge",true)call
triggerregisterplayerchatevent(pr,player(7),"-henge",true)call
triggerregisterplayerchatevent(pr,player(8),"-henge",true)call
triggerregisterplayerchatevent(pr,player(9),"-henge",true)call
triggeraddcondition(pr,condition(function nw7))call triggeraddaction(pr,function
n_7)endfunctionfunction o77 takes nothing
returns boolean
if(not(getunittypeid(j4[getconvertedplayerid(gettriggerplayer())])==1215722344))th
enreturn falseendifreturn trueendfunctionfunction o87 takes nothing returns
nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1227895097),getenumuni
t())endfunctionfunction o97 takes nothing returns boolean
return(getitemtypeid(getenumitem())==1227895097)endfunctionfunction od7 takes
nothing returns nothingif(o97())thenset u=getitemloc(getenumitem())elsecall
donothing()endifendfunctionfunction oe7 takes nothing returns boolean
return(getitemtypeid(getenumitem())==1227895097)endfunctionfunction of7 takes
nothing returns nothingif(oe7())thencall
createnunitsatloc(1,1848651833,gettriggerplayer(),u,bj_unit_facing)elsecall
donothing()endifendfunctionfunction og7 takes nothing returns boolean
return(getitemtypeid(getenumitem())==1227895097)endfunctionfunction oh7 takes
nothing returns nothingif(og7())thencall removeitem(getenumitem())elsecall
donothing()endifendfunctionfunction oi7 takes nothing returns nothingcall
unitaddabilitybj(1093677633,getenumunit())endfunctionfunction oj7 takes nothing
returns nothingcall setunitabilitylevelswapped(1093677633,getenumunit(),3)
endfunctionfunction ok7 takes nothing returns nothingcall
forgroupbj(sa(gettriggerplayer(),1215722344),function o87)call
enumitemsinrectbj(getplayablemaprect(),function od7)call
enumitemsinrectbj(getplayablemaprect(),function of7)call
enumitemsinrectbj(getplayablemaprect(),function oh7)call
forgroupbj(sa(gettriggerplayer(),1215722344),function oi7)call
forgroupbj(sa(gettriggerplayer(),1215722344),function oj7)endfunctionfunction om7
takes nothing returns nothingset qr=createtrigger()call disabletrigger(qr)call
triggerregisterplayerchatevent(qr,player(0),"-transform",true)call
triggerregisterplayerchatevent(qr,player(1),"-transform",true)call
triggerregisterplayerchatevent(qr,player(2),"-transform",true)call
triggerregisterplayerchatevent(qr,player(3),"-transform",true)call
triggerregisterplayerchatevent(qr,player(4),"-transform",true)call
triggerregisterplayerchatevent(qr,player(5),"-transform",true)call
triggerregisterplayerchatevent(qr,player(6),"-transform",true)call
triggerregisterplayerchatevent(qr,player(7),"-transform",true)call
triggerregisterplayerchatevent(qr,player(8),"-transform",true)call
triggerregisterplayerchatevent(qr,player(9),"-transform",true)call
triggeraddcondition(qr,condition(function o77))call triggeraddaction(qr,function
ok7)endfunctionfunction on7 takes nothing returns boolean
if(not(getspellabilityid()==1093677624))thenreturn falseendifreturn true
endfunctionfunction oo7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
op7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(z7))==true)endfunctionfunction
oq7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction or7 takes nothing returns booleanreturn
getbooleanand(op7(),oq7())endfunctionfunction os7 takes nothing returns boolean
return getbooleanand(oo7(),or7())endfunctionfunction ot7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction
ou7 takes nothing returns nothingif(ot7())thencall
issuetargetorderbj(r,"sleep",getenumunit())elsecall donothing()endifendfunction
function ov7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093677624,z7)==1))thenreturn falseendifreturn
trueendfunctionfunction ow7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ox7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(z7))==true)endfunctionfunction
oy7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction oz7 takes nothing returns booleanreturn
getbooleanand(ox7(),oy7())endfunctionfunction oa7 takes nothing returns boolean
return getbooleanand(ow7(),oz7())endfunctionfunction oa7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction
ob7 takes nothing returns nothingif(oa7())thencall
issuetargetorderbj(r,"sleep",getenumunit())elsecall donothing()endifendfunction
function ob7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093677624,z7)==2))thenreturn falseendifreturn
trueendfunctionfunction oc7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
oc7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(z7))==true)endfunctionfunction
od7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction oe7 takes nothing returns booleanreturn
getbooleanand(oc7(),od7())endfunctionfunction o37 takes nothing returns boolean
return getbooleanand(oc7(),oe7())endfunctionfunction of7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1112896364)!=true)endfunctionfunction
og7 takes nothing returns nothingif(of7())thencall
issuetargetorderbj(r,"sleep",getenumunit())elsecall donothing()endifendfunction
function o67 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093677624,z7)==3))thenreturn falseendifreturn
trueendfunctionfunction oh7 takes nothing returns nothingcall uz(0.10)set
z7=getspellabilityunit()call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(z7),getunitloc(z7),getun
itloc(z7))set r=getlastcreatedunit()call unitapplytimedlifebj(10.00,1112820806,r)
if(ov7())thencall unitaddabilitybj(1093677622,r)set
u7=ka(500.00,getunitloc(z7),condition(function os7))set bj_forloopaindex=1set
bj_forloopaindexend=7loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(u7,function ou7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(ob7())thencall
unitaddabilitybj(1093677623,getlastcreatedunit())set
u7=ka(700.00,getunitloc(z7),condition(function oa7))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(u7,function ob7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(o67())thencall
unitaddabilitybj(1093677621,r)set u7=ka(900.00,getunitloc(z7),condition(function
o37))set bj_forloopaindex=1set bj_forloopaindexend=13loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall forgroupbj(u7,function og7)call
triggersleepaction(0.10)set bj_forloopaindex=bj_forloopaindex+1endloopelseendif
call triggersleepaction(2.50)returnendfunctionfunction oi7 takes nothing returns
nothingset rr=createtrigger()call disabletrigger(rr)call
triggerregisteranyuniteventbj(rr,event_player_unit_spell_effect)call
triggeraddcondition(rr,condition(function on7))call triggeraddaction(rr,function
oh7)endfunctionfunction ol7 takes nothing returns boolean
if(not(getspellabilityid()==1093678419))thenreturn falseendifreturn true
endfunctionfunction o17 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
oj7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j7))==true)endfunctionfunction
ok7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction ol7 takes nothing returns booleanreturn
getbooleanand(oj7(),ok7())endfunctionfunction om7 takes nothing returns boolean
return getbooleanand(o17(),ol7())endfunctionfunction on7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1110454599)!=true)endfunctionfunction
oo7 takes nothing returns nothingif(on7())thencall
issuetargetorderbj(y7,"entanglingroots",getenumunit())elsecall donothing()endif
endfunctionfunction o07 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678419,j7)==1))thenreturn falseendifreturn
trueendfunctionfunction op7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
oq7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j7))==true)endfunctionfunction
or7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction os7 takes nothing returns booleanreturn
getbooleanand(oq7(),or7())endfunctionfunction o57 takes nothing returns boolean
return getbooleanand(op7(),os7())endfunctionfunction ot7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1110454599)!=true)endfunctionfunction
ou7 takes nothing returns nothingif(ot7())thencall
issuetargetorderbj(y7,"entanglingroots",getenumunit())elsecall donothing()endif
endfunctionfunction ov7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678419,j7)==2))thenreturn falseendifreturn
trueendfunctionfunction ow7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ox7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j7))==true)endfunctionfunction
oy7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction o27 takes nothing returns booleanreturn
getbooleanand(ox7(),oy7())endfunctionfunction oz7 takes nothing returns boolean
return getbooleanand(ow7(),o27())endfunctionfunction o_7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1110454599)!=true)endfunctionfunction
p47 takes nothing returns nothingif(o_7())thencall
issuetargetorderbj(y7,"entanglingroots",getenumunit())elsecall donothing()endif
endfunctionfunction p77 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678419,j7)==3))thenreturn falseendifreturn
trueendfunctionfunction p87
takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
p97 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j7))==true)endfunctionfunction
pd7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction pe7 takes nothing returns booleanreturn
getbooleanand(p97(),pd7())endfunctionfunction pf7 takes nothing returns boolean
return getbooleanand(p87(),pe7())endfunctionfunction pg7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1110454599)!=true)endfunctionfunction
ph7 takes nothing returns nothingif(pg7())thencall
issuetargetorderbj(y7,"entanglingroots",getenumunit())elsecall donothing()endif
endfunctionfunction pi7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678419,j7)==4))thenreturn falseendifreturn
trueendfunctionfunction pj7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
pk7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j7))==true)endfunctionfunction
pm7 takes nothing returns booleanreturn(isunitalivebj(getfilterunit())==true)
endfunctionfunction pn7 takes nothing returns booleanreturn
getbooleanand(pk7(),pm7())endfunctionfunction po7 takes nothing returns boolean
return getbooleanand(pj7(),pn7())endfunctionfunction pp7 takes nothing returns
booleanreturn(unithasbuffbj(getenumunit(),1110454599)!=true)endfunctionfunction
pq7 takes nothing returns nothingif(pp7())thencall
issuetargetorderbj(y7,"entanglingroots",getenumunit())elsecall donothing()endif
endfunctionfunction pr7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678419,j7)==5))thenreturn falseendifreturn
trueendfunctionfunction ps7 takes nothing returns nothingset
j7=getspellabilityunit()call uz(0.10)call
createnunitsatlocfacinglocbj(1,1747988545,getowningplayer(j7),getunitloc(j7),getun
itloc(j7))set y7=getlastcreatedunit()call
unitapplytimedlifebj(10.00,1112820806,y7)if(o07())thenset
t7=ka(500.00,getunitloc(j7),condition(function om7))set bj_forloopaindex=1set
bj_forloopaindexend=7loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(t7,function oo7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(ov7())thencall
setunitabilitylevelswapped(1093678644,y7,2)set
t7=ka(700.00,getunitloc(j7),condition(function o57))set bj_forloopaindex=1set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(t7,function ou7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(p77())thencall
setunitabilitylevelswapped(1093678644,y7,3)set
t7=ka(900.00,getunitloc(j7),condition(function oz7))set bj_forloopaindex=1set
bj_forloopaindexend=13loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(t7,function p47)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(pi7())thencall
setunitabilitylevelswapped(1093678644,y7,4)set
t7=ka(900.00,getunitloc(j7),condition(function pf7))set bj_forloopaindex=1set
bj_forloopaindexend=13loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(t7,function ph7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(pr7())thencall
setunitabilitylevelswapped(1093678644,y7,5)set
t7=ka(900.00,getunitloc(j7),condition(function po7))set bj_forloopaindex=1set
bj_forloopaindexend=13loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
forgroupbj(t7,function pq7)call triggersleepaction(0.10)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifcall triggersleepaction(2.50)
call destroygroup(t7)set t7=nullreturnendfunctionfunction pt7 takes nothing
returns nothingset sr=createtrigger()call
triggerregisteranyuniteventbj(sr,event_player_unit_spell_effect)call
triggeraddcondition(sr,condition(function ol7))call triggeraddaction(sr,function
ps7)endfunctionfunction pu7 takes nothing returns boolean
if(not(getspellabilityid()==1093678155))thenreturn falseendifreturn true
endfunctionfunction pv7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678155,getspellabilityunit())==1)endfunction
function pw7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678155,getspellabilityunit())==2)endfunction
function px7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678155,getspellabilityunit())==3)endfunction
function py7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678155,getspellabilityunit())==4)endfunction
function pz7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678155,getspellabilityunit())==5)endfunction
function pa7 takes nothing returns nothingcall
createnunitsatlocfacinglocbj(1,1747988785,getowningplayer(getspellabilityunit()),g
etunitloc(getspellabilityunit()),getunitloc(getspellabilityunit()))call
setunitowner(getlastcreatedunit(),getowningplayer(getspellabilityunit()),false)set
n4=getlastcreatedunit()if(pv7())thencall unitapplytimedlifebj(5.00,1112820806,n4)
elsecall donothing()endifif(pw7())thencall
unitapplytimedlifebj(7.00,1112820806,n4)elsecall donothing()endifif(px7())thencall
unitapplytimedlifebj(9.00,1112820806,n4)elsecall donothing()endifif(py7())thencall
unitapplytimedlifebj(11.00,1112820806,n4)elsecall donothing()endifif(pz7())then
call unitapplytimedlifebj(13.00,1112820806,n4)elsecall donothing()endifcall
issuepointorderlocbj(n4,"cloudoffog",offsetlocation(getunitloc(getspellabilityunit
()),25.00,25.00))endfunctionfunction pa7 takes nothing returns nothingset
tr=createtrigger()call
triggerregisteranyuniteventbj(tr,event_player_unit_spell_effect)call
triggeraddcondition(tr,condition(function pu7))call triggeraddaction(tr,function
pa7)endfunctionfunction pb7 takes nothing returns boolean
return(getunitstateswap(unit_state_mana,getenumunit())<200.00)endfunctionfunction
pb7 takes nothing returns nothingif(pb7())thenset e=1elsecall donothing()endif
endfunctionfunction pc7 takes nothing returns nothingset
e=getunitabilitylevelswapped(1095660391,getenumunit())endfunctionfunction pc7
takes nothing returns booleanreturn(e==1)endfunctionfunction pd7 takes nothing
returns nothingset e=getunitabilitylevelswapped(1095660391,getenumunit())
endfunctionfunction pe7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1848651828,gettriggerplayer())<=0)
endfunctionfunction p37 takes nothing returns booleanif(not(e==1))thenreturn false
endifreturn trueendfunctionfunction pf7 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1848651829,gettriggerplayer())<=0)
endfunctionfunction pg7 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction p67 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1848651830,gettriggerplayer())<=0)
endfunctionfunction ph7 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction pi7 takes nothing returns booleanreturn(e==1)
endfunctionfunction pl7 takes nothing returns nothingset
o=getunitloc(getenumunit())endfunctionfunction p17 takes nothing returns boolean
return(e==2)endfunctionfunction pj7 takes nothing returns nothingset
o=getunitloc(getenumunit())endfunctionfunction pk7 takes nothing returns boolean
return(e==3)endfunctionfunction pl7 takes nothing returns nothingset
o=getunitloc(getenumunit())endfunctionfunction pm7 takes nothing returns nothing
call setunitmanabj(getenumunit(),(getunitstateswap(unit_state_mana,getenumunit())-
200.00))endfunctionfunction pn7 takes nothing returns nothingset
p=getunitloc(getenumunit())endfunctionfunction po7 takes nothing returns boolean
return(e==1)endfunctionfunction p07 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),p)endfunctionfunction pp7 takes nothing returns
booleanreturn(e==2)endfunctionfunction pq7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),p)endfunctionfunction pr7 takes nothing returns
booleanreturn(e==3)endfunctionfunction ps7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),p)endfunctionfunction p57 takes nothing returns
nothingcall setunitpositionloc(getenumunit(),o)endfunctionfunction pt7 takes
nothing returns nothingset e=0call
forgroupbj(sa(gettriggerplayer(),1332109682),function pb7)call
forgroupbj(sa(gettriggerplayer(),1332109682),function pc7)if(pc7())thenreturnelse
call donothing()endifset e=0call
forgroupbj(sa(gettriggerplayer(),1332109682),function pd7)if(p37())then
if(pe7())thenreturnelsecall donothing()endifelseendifif(pg7())thenif(pf7())then
returnelsecall donothing()endifelseendifif(ph7())thenif(p67())thenreturnelsecall
donothing()endifelseendifif(pi7())thencall
forgroupbj(sa(gettriggerplayer(),1848651828),function pl7)elsecall donothing()
endifif(p17())thencall forgroupbj(sa(gettriggerplayer(),1848651829),function pj7)
elsecall donothing()endifif(pk7())thencall
forgroupbj(sa(gettriggerplayer(),1848651830),function pl7)elsecall donothing()
endifcall forgroupbj(sa(gettriggerplayer(),1332109682),function pm7)call
forgroupbj(sa(gettriggerplayer(),1332109682),function pn7)if(po7())thencall
forgroupbj(sa(gettriggerplayer(),1848651828),function p07)elsecall donothing()
endifif(pp7())thencall forgroupbj(sa(gettriggerplayer(),1848651829),function pq7)
elsecall donothing()endifif(pr7())thencall
forgroupbj(sa(gettriggerplayer(),1848651830),function ps7)elsecall donothing()
endifcall forgroupbj(sa(gettriggerplayer(),1332109682),function p57)endfunction
function pu7 takes nothing returns nothingset ur=createtrigger()call
disabletrigger(ur)call
triggerregisterplayerchatevent(ur,player(0),"-switch",true)call
triggerregisterplayerchatevent(ur,player(1),"-switch",true)call
triggerregisterplayerchatevent(ur,player(2),"-switch",true)call
triggerregisterplayerchatevent(ur,player(3),"-switch",true)call
triggerregisterplayerchatevent(ur,player(4),"-switch",true)call
triggerregisterplayerchatevent(ur,player(5),"-switch",true)call
triggerregisterplayerchatevent(ur,player(6),"-switch",true)call
triggerregisterplayerchatevent(ur,player(7),"-switch",true)call
triggerregisterplayerchatevent(ur,player(8),"-switch",true)call
triggerregisterplayerchatevent(ur,player(9),"-switch",true)call
triggeraddaction(ur,function pt7)endfunctionfunction pv7 takes nothing returns
booleanif(not(getspellabilityid()==1093677144))thenreturn falseendifreturn true
endfunctionfunction pw7 takes nothing returns booleanreturn(e==1)endfunction
function px7 takes nothing returns booleanreturn(e==2)endfunctionfunction py7
takes nothing returns booleanreturn(e==3)endfunctionfunction p27 takes nothing
returns booleanreturn(e==4)endfunctionfunction pz7 takes nothing returns boolean
return(e==5)endfunctionfunction p_7 takes nothing returns booleanreturn(b==1)
endfunctionfunction q47 takes nothing returns booleanreturn(e==1)endfunction
function q77 takes nothing returns booleanreturn(e==2)endfunctionfunction q87
takes nothing returns booleanreturn(e==3)endfunctionfunction q97 takes nothing
returns booleanreturn(e==4)endfunctionfunction qd7 takes nothing returns boolean
return(e==5)endfunctionfunction qe7 takes nothing returns booleanreturn(b==2)
endfunctionfunction qf7 takes nothing returns booleanreturn(e==1)endfunction
function qg7 takes nothing returns booleanreturn(e==2)endfunctionfunction qh7
takes nothing returns booleanreturn(e==3)endfunctionfunction qi7 takes nothing
returns booleanreturn(e==4)endfunctionfunction qj7 takes nothing returns boolean
return(e==5)endfunctionfunction qk7 takes nothing returns booleanreturn(b==3)
endfunctionfunction qm7 takes nothing returns booleanreturn(e==1)endfunction
function qn7 takes nothing returns booleanreturn(e==2)endfunctionfunction qo7
takes nothing returns booleanreturn(e==3)endfunctionfunction qp7 takes nothing
returns booleanreturn(e==4)endfunctionfunction qq7 takes nothing returns boolean
return(e==5)endfunctionfunction qr7 takes nothing returns booleanreturn(b==4)
endfunctionfunction qs7 takes nothing returns booleanreturn(e==1)endfunction
function qt7 takes nothing returns booleanreturn(e==2)endfunctionfunction qu7
takes nothing returns booleanreturn(e==3)endfunctionfunction qv7 takes nothing
returns booleanreturn(e==4)endfunctionfunction qw7 takes nothing returns boolean
return(e==5)endfunctionfunction qx7 takes nothing returns nothingset
b=getunitabilitylevelswapped(1093677144,getspellabilityunit())set
e=getrandomint(1,10)if(pw7())thencall
createitemloc(1227894838,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(px7())thencall createitemloc(1227894839,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(py7())thencall
createitemloc(1227894840,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(p27())thencall createitemloc(1227894841,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(pz7())thencall
createitemloc(1227894849,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(p_7())thenreturnelsecall donothing()endifset e=getrandomint(1,10)
if(q47())thencall createitemloc(1227894838,getunitloc(getspellabilityunit()))else
call donothing()endifif(q77())thencall
createitemloc(1227894839,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(q87())thencall createitemloc(1227894840,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(q97())thencall
createitemloc(1227894841,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qd7())thencall createitemloc(1227894849,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qe7())thenreturnelsecall donothing()endifset
e=getrandomint(1,10)if(qf7())thencall
createitemloc(1227894838,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qg7())thencall createitemloc(1227894839,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qh7())thencall
createitemloc(1227894840,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qi7())thencall createitemloc(1227894841,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qj7())thencall
createitemloc(1227894849,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qk7())thenreturnelsecall donothing()endifset e=getrandomint(1,10)
if(qm7())thencall createitemloc(1227894838,getunitloc(getspellabilityunit()))else
call donothing()endifif(qn7())thencall
createitemloc(1227894839,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qo7())thencall createitemloc(1227894840,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qp7())thencall
createitemloc(1227894841,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qq7())thencall createitemloc(1227894849,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qr7())thenreturnelsecall donothing()endifset
e=getrandomint(1,10)if(qs7())thencall
createitemloc(1227894838,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qt7())thencall createitemloc(1227894839,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qu7())thencall
createitemloc(1227894840,getunitloc(getspellabilityunit()))elsecall donothing()
endifif(qv7())thencall createitemloc(1227894841,getunitloc(getspellabilityunit()))
elsecall donothing()endifif(qw7())thencall
createitemloc(1227894849,getunitloc(getspellabilityunit()))elsecall donothing()
endifendfunctionfunction qy7 takes nothing returns nothingset vr=createtrigger()
call disabletrigger(vr)call
triggerregisteranyuniteventbj(vr,event_player_unit_spell_effect)call
triggeraddcondition(vr,condition(function pv7))call triggeraddaction(vr,function
qx7)endfunctionfunction qz7 takes nothing returns boolean
if(not(getspellabilityid()==1096904051))thenreturn falseendifreturn true
endfunctionfunction qa7 takes nothing returns nothingcall
unitsharevisionbj(true,getspelltargetunit(),getowningplayer(getspellabilityunit())
)set a=getspelltargetunit()set b=getowningplayer(getspellabilityunit())call
uz(200.00)call unitsharevisionbj(false,a,b)endfunctionfunction qa7 takes nothing
returns nothingset wr=createtrigger()call disabletrigger(wr)call
triggerregisteranyuniteventbj(wr,event_player_unit_spell_effect)call
triggeraddcondition(wr,condition(function qz7))call triggeraddaction(wr,function
qa7)endfunctionfunction qb7 takes nothing returns booleanreturn(e==1)endfunction
function qb7 takes nothing returns booleanreturn(e==2)endfunctionfunction qc7
takes nothing returns booleanreturn(e==3)endfunctionfunction qc7 takes nothing
returns booleanreturn(getunitstateswap(unit_state_mana,getenumunit())>=a)
endfunctionfunction qd7 takes nothing returns nothingif(qc7())thencall
setunitpositionloc(getenumunit(),o4[getconvertedplayerid(gettriggerplayer())])else
call donothing()endifendfunctionfunction qe7 takes nothing returns boolean
return(getunitstateswap(unit_state_mana,getenumunit())>=a)endfunctionfunction q37
takes nothing returns nothingif(qe7())thencall
setunitpositionloc(getenumunit(),o4[getconvertedplayerid(gettriggerplayer())])else
call donothing()endifendfunctionfunction qf7 takes nothing returns boolean
return(getunitstateswap(unit_state_mana,getenumunit())>=a)endfunctionfunction qg7
takes nothing returns nothingif(qf7())thencall
setunitmanabj(getenumunit(),(getunitstateswap(unit_state_mana,getenumunit())-a))
elsecall donothing()endifendfunctionfunction q67 takes nothing returns nothing
if(qb7())thenset e=800elsecall donothing()endifif(qb7())thenset e=700elsecall
donothing()endifif(qc7())thenset e=600elsecall donothing()endifset a=i2r(e)call
triggersleepaction(2.50)call forgroupbj(sa(gettriggerplayer(),1315074670),function
qd7)call forgroupbj(sa(gettriggerplayer(),1315074670),function q37)call
forgroupbj(sa(gettriggerplayer(),1315074670),function qg7)endfunctionfunction qh7
takes nothing returns nothingset xr=createtrigger()call disabletrigger(xr)call
triggerregisterplayerchatevent(xr,player(0),"-swing",true)call
triggerregisterplayerchatevent(xr,player(1),"-swing",true)call
triggerregisterplayerchatevent(xr,player(2),"-swing",true)call
triggerregisterplayerchatevent(xr,player(3),"-swing",true)call
triggerregisterplayerchatevent(xr,player(4),"-swing",true)call
triggerregisterplayerchatevent(xr,player(5),"-swing",true)call
triggerregisterplayerchatevent(xr,player(6),"-swing",true)call
triggerregisterplayerchatevent(xr,player(7),"-swing",true)call
triggerregisterplayerchatevent(xr,player(8),"-swing",true)call
triggerregisterplayerchatevent(xr,player(9),"-swing",true)call
triggeraddaction(xr,function q67)endfunctionfunction qi7 takes nothing returns
booleanif(not(getspellabilityid()==1093677137))thenreturn falseendifreturn true
endfunctionfunction ql7 takes nothing returns nothingset
o4[getconvertedplayerid(getowningplayer(getspellabilityunit()))]=getunitloc(getspe
llabilityunit())call destroyeffectbj(w)set
e=getunitabilitylevelswapped(1093677137,getspellabilityunit())call
addspecialeffectlocbj(getunitloc(getspellabilityunit()),"abilities\\spells\\undead
\\web\\web_airtarget.mdl")set w=getlastcreatedeffectbj()call enabletrigger(xr)
endfunctionfunction q17 takes nothing returns nothingset yr=createtrigger()call
disabletrigger(yr)call
triggerregisteranyuniteventbj(yr,event_player_unit_spell_finish)call
triggeraddcondition(yr,condition(function
qi7))call triggeraddaction(yr,function ql7)endfunctionfunction qj7 takes nothing
returns booleanif(not(getspellabilityid()==1093677132))thenreturn falseendifreturn
trueendfunctionfunction qk7 takes nothing returns booleanreturn(e==1)endfunction
function ql7 takes nothing returns booleanreturn(e==2)endfunctionfunction qm7
takes nothing returns booleanreturn(e==3)endfunctionfunction qn7 takes nothing
returns booleanreturn(e==4)endfunctionfunction qo7 takes nothing returns boolean
return(e==5)endfunctionfunction q07 takes nothing returns nothingset
e=getunitabilitylevelswapped(1093677132,getspellabilityunit())if(qk7())thencall
setunitmanapercentbj(getspellabilityunit(),60.00)elsecall donothing()endif
if(ql7())thencall setunitmanapercentbj(getspellabilityunit(),70.00)elsecall
donothing()endifif(qm7())thencall
setunitmanapercentbj(getspellabilityunit(),80.00)elsecall donothing()endif
if(qn7())thencall setunitmanapercentbj(getspellabilityunit(),90.00)elsecall
donothing()endifif(qo7())thencall
setunitmanapercentbj(getspellabilityunit(),100.00)elsecall donothing()endif
endfunctionfunction qp7 takes nothing returns nothingset zr=createtrigger()call
disabletrigger(zr)call
triggerregisteranyuniteventbj(zr,event_player_unit_spell_finish)call
triggeraddcondition(zr,condition(function qj7))call triggeraddaction(zr,function
q07)endfunctionfunction qq7 takes nothing returns boolean
if(not(getspellabilityid()==1093677130))thenreturn falseendifreturn true
endfunctionfunction qr7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677130,b4)==1)endfunctionfunction qs7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677130,b4)==2)
endfunctionfunction q57 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677130,b4)==3)endfunctionfunction qt7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093677130,b4)==4)
endfunctionfunction qu7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093677130,b4)==5)endfunctionfunction qv7 takes
nothing returns booleanreturn(isunitalivebj(c4)!=true)endfunctionfunction qw7
takes nothing returns booleanreturn(isunitalivebj(c4)!=true)endfunctionfunction
qx7 takes nothing returns nothingset b4=getspellabilityunit()set e8=getunitloc(b4)
set c4=getspelltargetunit()set l4=0.00call triggersleepaction(0.50)call
setunitinvulnerable(b4,true)call pauseunitbj(true,b4)call pauseunitbj(true,c4)call
resetunitanimation(b4)call setunitanimation(b4,"spell")call
triggersleepaction(1.00)if(qr7())thenset c4=75.00elsecall donothing()endif
if(qs7())thenset c4=100.00elsecall donothing()endifif(q57())thenset c4=125.00else
call donothing()endifif(qt7())thenset c4=150.00elsecall donothing()endif
if(qu7())thenset c4=175.00elsecall donothing()endifcall resetunitanimation(b4)call
setunitanimation(b4,"spell throw")call triggersleepaction(0.60)call
addspecialeffectlocbj(getunitloc(c4),"abilities\\spells\\human\\thunderclap\\thund
erclapcaster.mdl")call
unitdamagetargetbj(b4,c4,c4,attack_type_chaos,damage_type_normal)if(qv7())thencall
triggerexecute(ks)elsecall donothing()endifif(qw7())thenreturnelsecall donothing()
endifcall enabletrigger(es)endfunctionfunction qy7 takes nothing returns nothing
set ds=createtrigger()call disabletrigger(ds)call
triggerregisteranyuniteventbj(ds,event_player_unit_spell_effect)call
triggeraddcondition(ds,condition(function qq7))call triggeraddaction(ds,function
qx7)endfunctionfunction q27 takes nothing returns booleanreturn(l4>=400.00)
endfunctionfunction qz7 takes nothing returns booleanreturn(l4>=400.00)endfunction
function q_7 takes nothing returns booleanreturn(l4>=400.00)endfunctionfunction
r47 takes nothing returns nothingcall setunitpositionloc(c4,xz(getunitloc(c4),-
50.00,anglebetweenpoints(getunitloc(c4),getunitloc(b4))))set l4=(l4+50.00)
if(q27())thencall triggerexecute(fs)elsecall donothing()endifif(qz7())thencall
disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(q_7())thenreturn
elsecall donothing()endifendfunctionfunction r77 takes nothing returns nothingset
es=createtrigger()call disabletrigger(es)call
triggerregistertimereventperiodic(es,0.03)call triggeraddaction(es,function r47)
endfunctionfunction r87 takes nothing returns boolean
return(isunitalivebj(c4)!=true)endfunctionfunction r97 takes nothing returns
booleanreturn(isunitalivebj(c4)!=true)endfunctionfunction rd7 takes nothing
returns nothingcall triggersleepaction(0.30)set l4=0.00call
addspecialeffectlocbj(getunitloc(b4),"abilities\\spells\\nightelf\\blink\\blinkcas
ter.mdl")call setunitpositionlocfacingbj(b4,getunitloc(c4),getunitfacing(c4))call
resetunitanimation(b4)call setunitanimation(b4,"spell throw")call
addspecialeffectlocbj(getunitloc(c4),"abilities\\spells\\human\\thunderclap\\thund
erclapcaster.mdl")call triggersleepaction(0.50)call
unitdamagetargetbj(b4,c4,c4,attack_type_chaos,damage_type_normal)if(r87())thencall
triggerexecute(ks)elsecall donothing()endifif(r97())thenreturnelsecall donothing()
endifcall enabletrigger(gs)endfunctionfunction re7 takes nothing returns nothing
set fs=createtrigger()call triggeraddaction(fs,function rd7)endfunctionfunction
rf7 takes nothing returns booleanreturn(l4>=400.00)endfunctionfunction rg7 takes
nothing returns booleanreturn(l4>=400.00)endfunctionfunction rh7 takes nothing
returns booleanreturn(l4>=400.00)endfunctionfunction ri7 takes nothing returns
nothingcall setunitpositionloc(c4,xz(getunitloc(c4),-
50.00,anglebetweenpoints(getunitloc(c4),getunitloc(b4))))set l4=(l4+50.00)
if(rf7())thencall triggerexecute(hs)elsecall donothing()endifif(rg7())thencall
disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(rh7())thenreturn
elsecall donothing()endifendfunctionfunction rj7 takes nothing returns nothingset
gs=createtrigger()call disabletrigger(gs)call
triggerregistertimereventperiodic(gs,0.03)call triggeraddaction(gs,function ri7)
endfunctionfunction rk7 takes nothing returns boolean
return(isunitalivebj(c4)!=true)endfunctionfunction rm7 takes nothing returns
booleanreturn(isunitalivebj(c4)!=true)endfunctionfunction rn7 takes nothing
returns nothingcall triggersleepaction(0.30)set l4=0.00call
addspecialeffectlocbj(getunitloc(b4),"abilities\\spells\\nightelf\\blink\\blinkcas
ter.mdl")call setunitpositionlocfacingbj(b4,getunitloc(c4),getunitfacing(c4))call
resetunitanimation(b4)call setunitanimation(b4,"spell throw")call
addspecialeffectlocbj(getunitloc(c4),"abilities\\spells\\human\\thunderclap\\thund
erclapcaster.mdl")call triggersleepaction(0.50)call
unitdamagetargetbj(b4,c4,c4,attack_type_chaos,damage_type_normal)if(rk7())thencall
triggerexecute(ks)elsecall donothing()endifif(rm7())thenreturnelsecall donothing()
endifcall enabletrigger(is)endfunctionfunction ro7 takes nothing returns nothing
set hs=createtrigger()call triggeraddaction(hs,function rn7)endfunctionfunction
rp7 takes nothing returns booleanreturn(l4>=400.00)endfunctionfunction rq7 takes
nothing returns booleanreturn(l4>=400.00)endfunctionfunction rr7 takes nothing
returns booleanreturn(l4>=400.00)endfunctionfunction rs7 takes nothing returns
nothingcall setunitpositionloc(c4,xz(getunitloc(c4),-
50.00,anglebetweenpoints(getunitloc(c4),getunitloc(b4))))set l4=(l4+50.00)
if(rp7())thencall triggerexecute(js)elsecall donothing()endifif(rq7())thencall
disabletrigger(gettriggeringtrigger())elsecall donothing()endifif(rr7())thenreturn
elsecall donothing()endifendfunctionfunction rt7 takes nothing returns nothingset
is=createtrigger()call disabletrigger(is)call
triggerregistertimereventperiodic(is,0.03)call triggeraddaction(is,function rs7)
endfunctionfunction ru7 takes nothing returns nothingcall triggersleepaction(0.30)
call
addspecialeffectlocbj(getunitloc(b4),"abilities\\spells\\nightelf\\blink\\blinkcas
ter.mdl")call setunitpositionlocfacingbj(b4,getunitloc(c4),getunitfacing(c4))call
resetunitanimation(b4)call setunitanimation(b4,"spell 2")call
triggersleepaction(1.40)call
addspecialeffectlocbj(getunitloc(c4),"objects\\spawnmodels\\other\\neutralbuilding
explosion\\neutralbuildingexplosion.mdl")call
unitdamagetargetbj(b4,c4,c4,attack_type_chaos,damage_type_normal)call
setunitinvulnerable(b4,false)call unitdamagetargetbj(b4,b4,(200.00-
c4),attack_type_chaos,damage_type_normal)call setunitpositionloc(b4,e8)call
pauseunitbj(false,b4)call pauseunitbj(false,c4)endfunctionfunction rv7 takes
nothing returns nothingset js=createtrigger()call triggeraddaction(js,function
ru7)endfunctionfunction rw7 takes nothing returns nothingcall
setunitpositionloc(b4,e8)call resetunitanimation(b4)call
setunitinvulnerable(b4,false)call pauseunitbj(false,b4)call pauseunitbj(false,c4)
endfunctionfunction rx7 takes nothing returns nothingset ks=createtrigger()call
triggeraddaction(ks,function rw7)endfunctionfunction ry7 takes nothing returns
booleanif(not(getspellabilityid()==1094935651))thenreturn falseendifreturn true
endfunctionfunction rz7 takes nothing returns nothingset o9=getspelltargetunit()
set z=getunitlifepercent(o9)set j4=getunitlifepercent(getspellabilityunit())call
uz(1.00)call setunitlifepercentbj(getspellabilityunit(),z)call
setunitlifepercentbj(o9,j4)returnendfunctionfunction ra7 takes nothing returns
nothingset ms=createtrigger()call disabletrigger(ms)call
triggerregisteranyuniteventbj(ms,event_player_unit_spell_effect)call
triggeraddcondition(ms,condition(function ry7))call triggeraddaction(ms,function
rz7)endfunctionfunction ra7 takes nothing returns boolean
if(not(getspellabilityid()==1095722353))thenreturn falseendifreturn true
endfunctionfunction rb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095722353,getspellabilityunit())==1)endfunction
function
rb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095722353,getspellabilityunit())==2)endfunction
function rc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095722353,getspellabilityunit())==3)endfunction
function rc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095722353,getspellabilityunit())==4)endfunction
function rd7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095722353,getspellabilityunit())==5)endfunction
function re7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction r37 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rf7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rg7 takes nothing returns booleanreturn getbooleanand(r37(),rf7())
endfunctionfunction r67 takes nothing returns booleanreturn
getbooleanand(re7(),rg7())endfunctionfunction rh7 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction ri7 takes nothing returns booleanreturn(qd==0)
endfunctionfunction rl7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction r17 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rj7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rk7 takes nothing returns booleanreturn getbooleanand(r17(),rj7())
endfunctionfunction rl7 takes nothing returns booleanreturn
getbooleanand(rl7(),rk7())endfunctionfunction rm7 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction rn7 takes nothing returns booleanreturn(qd==0)
endfunctionfunction ro7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction r07 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rp7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rq7 takes nothing returns booleanreturn getbooleanand(r07(),rp7())
endfunctionfunction rr7 takes nothing returns booleanreturn
getbooleanand(ro7(),rq7())endfunctionfunction rs7 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction r57 takes nothing returns booleanreturn(qd==0)
endfunctionfunction rt7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction ru7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
rv7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function rw7 takes nothing returns booleanreturn getbooleanand(ru7(),rv7())
endfunctionfunction rx7 takes nothing returns booleanreturn
getbooleanand(rt7(),rw7())endfunctionfunction ry7 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction r27 takes nothing returns booleanreturn(qd==0)
endfunctionfunction rz7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction r_7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
s47 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function s77 takes nothing returns booleanreturn getbooleanand(r_7(),s47())
endfunctionfunction s87 takes nothing returns booleanreturn
getbooleanand(rz7(),s77())endfunctionfunction s97 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction sd7 takes nothing returns booleanreturn(qd==0)
endfunctionfunction se7 takes nothing returns boolean
return(isplayerenemy(getowningplayer(getfilterunit()),getowningplayer(getspellabil
ityunit()))==true)endfunctionfunction sf7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
sg7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function sh7 takes nothing returns booleanreturn getbooleanand(sf7(),sg7())
endfunctionfunction si7 takes nothing returns booleanreturn
getbooleanand(se7(),sh7())endfunctionfunction sj7 takes nothing returns nothing
call
unitdamagetargetbj(getspellabilityunit(),getenumunit(),v,attack_type_normal,damage
_type_normal)endfunctionfunction sk7 takes nothing returns booleanreturn(qd==0)
endfunctionfunction sm7 takes nothing returns nothingset qd=1set
od=getspellabilityunit()call playsoundbj(pi)if(rb7())thenset v=55.00elsecall
donothing()endifif(rb7())thenset v=110.00elsecall donothing()endifif(rc7())thenset
v=165.00elsecall donothing()endifif(rc7())thenset v=220.00elsecall donothing()
endifif(rd7())thenset v=275.00elsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
r67)),function rh7)if(ri7())thenreturnelsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
rl7)),function rm7)if(rn7())thenreturnelsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
rr7)),function rs7)if(r57())thenreturnelsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
rx7)),function ry7)if(r27())thenreturnelsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
s87)),function s97)if(sd7())thenreturnelsecall donothing()endifcall uz(0.75)call
forgroupbj(ka(700.00,getunitloc(getspellabilityunit()),condition(function
si7)),function sj7)if(sk7())thenreturnelsecall donothing()endifreturnendfunction
function sn7 takes nothing returns nothingset ns=createtrigger()call
disabletrigger(ns)call
triggerregisteranyuniteventbj(ns,event_player_unit_spell_effect)call
triggeraddcondition(ns,condition(function ra7))call triggeraddaction(ns,function
sm7)endfunctionfunction so7 takes nothing returns boolean
if(not(getunittypeid(gettriggerunit())==1214409837))thenreturn falseendifreturn
trueendfunctionfunction sp7 takes nothing returns nothingset qd=0endfunction
function sq7 takes nothing returns nothingset os=createtrigger()call
disabletrigger(os)call
triggerregisteranyuniteventbj(os,event_player_unit_issued_order)call
triggerregisteranyuniteventbj(os,event_player_unit_issued_point_order)call
triggerregisteranyuniteventbj(os,event_player_unit_issued_target_order)call
triggeraddcondition(os,condition(function so7))call triggeraddaction(os,function
sp7)endfunctionfunction sr7 takes nothing returns boolean
if(not(getspellabilityid()==1093678136))thenreturn falseendifreturn true
endfunctionfunction ss7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678136,jd)==1))thenreturn falseendifreturn
trueendfunctionfunction st7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678136,jd)==2))thenreturn falseendifreturn
trueendfunctionfunction su7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678136,jd)==3))thenreturn falseendifreturn
trueendfunctionfunction sv7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678136,jd)==4))thenreturn falseendifreturn
trueendfunctionfunction sw7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678136,jd)==5))thenreturn falseendifreturn
trueendfunctionfunction sx7 takes nothing returns nothingset
jd=getspellabilityunit()set kd=getspelltargetunit()set j4=(100.00-
getunitlifepercent(jd))call uz(0.50)if(ss7())thencall
unitdamagetargetbj(jd,kd,(j4*2.00),attack_type_chaos,damage_type_normal)returnelse
endifif(st7())thencall
unitdamagetargetbj(jd,kd,(j4*4.00),attack_type_chaos,damage_type_normal)returnelse
endifif(su7())thencall
unitdamagetargetbj(jd,kd,(j4*6.00),attack_type_chaos,damage_type_normal)returnelse
endifif(sv7())thencall
unitdamagetargetbj(jd,kd,(j4*8.00),attack_type_chaos,damage_type_normal)returnelse
endifif(sw7())thencall
unitdamagetargetbj(jd,kd,(j4*10.00),attack_type_chaos,damage_type_normal)return
elseendifendfunctionfunction sy7 takes nothing returns nothingset
ps=createtrigger()call disabletrigger(ps)call
triggerregisteranyuniteventbj(ps,event_player_unit_spell_effect)call
triggeraddcondition(ps,condition(function sr7))call triggeraddaction(ps,function
sx7)endfunctionfunction sz7 takes nothing returns boolean
if(not(getspellabilityid()==1095066220))thenreturn falseendifreturn true
endfunctionfunction sa7 takes nothing returns nothingcall
createdeaddestructablelocbj(1498702708,getunitloc(getspellabilityunit()),getrandom
directiondeg(),1.20,0)set m=getlastcreateddestructable()call
addspecialeffectlocbj(getunitloc(getspellabilityunit()),"doodads\\lordaeronsummer\
\props\\smokesmudge\\smokesmudge0.mdl")set j=getlastcreatedeffectbj()call
triggersleepaction(0.50)call destroyeffectbj(j)call removedestructable(m)
endfunctionfunction
sa7 takes nothing returns nothingset qs=createtrigger()call
triggerregisteranyuniteventbj(qs,event_player_unit_spell_effect)call
triggeraddcondition(qs,condition(function sz7))call triggeraddaction(qs,function
sa7)endfunctionfunction sb7 takes nothing returns boolean
if(not(getspellabilityid()==1093678409))thenreturn falseendifreturn true
endfunctionfunction sb7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678409,f4)==1)endfunctionfunction sc7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678409,f4)==2)
endfunctionfunction sc7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678409,f4)==3)endfunctionfunction sd7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678409,f4)==4)
endfunctionfunction se7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678409,f4)==5)endfunctionfunction s37 takes
nothing returns nothingset f4=getspellabilityunit()set g4=0.00set
i4=getunitloc(f4)call triggersleepaction(0.25)call pauseunitbj(true,f4)call
setunitinvulnerable(f4,true)call resetunitanimation(f4)call
setunitanimation(f4,"spell")call triggersleepaction(0.50)if(sb7())thenset h4=10.00
elsecall donothing()endifif(sc7())thenset h4=15.00elsecall donothing()endif
if(sc7())thenset h4=20.00elsecall donothing()endifif(sd7())thenset h4=25.00else
call donothing()endifif(se7())thenset h4=30.00elsecall donothing()endifcall
resetunitanimation(f4)call setunitanimation(f4,"spell 2")call
addspecialeffecttargetunitbj("hand
left",f4,"abilities\\weapons\\bolt\\boltimpact.mdl")set k=getlastcreatedeffectbj()
call triggersleepaction(0.25)call destroyeffectbj(k)call
addspecialeffecttargetunitbj("hand
left",f4,"abilities\\weapons\\bolt\\boltimpact.mdl")set k=getlastcreatedeffectbj()
call triggersleepaction(0.25)call destroyeffectbj(k)call
addspecialeffecttargetunitbj("hand
left",f4,"abilities\\weapons\\bolt\\boltimpact.mdl")set k=getlastcreatedeffectbj()
call triggersleepaction(0.25)call destroyeffectbj(k)call resetunitanimation(f4)
call setunitanimation(f4,"spell 3")call
addspecialeffecttargetunitbj("origin",f4,"abilities\\spells\\other\\crushingwave\\
crushingwavemissile.mdl")set k=getlastcreatedeffectbj()call enabletrigger(ss)
endfunctionfunction sf7 takes nothing returns nothingset rs=createtrigger()call
disabletrigger(rs)call
triggerregisteranyuniteventbj(rs,event_player_unit_spell_effect)call
triggeraddcondition(rs,condition(function sb7))call triggeraddaction(rs,function
s37)endfunctionfunction sg7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(f4))==true)endfunctionfunction
s67 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
sh7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function si7 takes nothing returns booleanreturn getbooleanand(s67(),sh7())
endfunctionfunction sl7 takes nothing returns booleanreturn
getbooleanand(sg7(),si7())endfunctionfunction s17 takes nothing returns nothing
call unitdamagetargetbj(f4,getenumunit(),h4,attack_type_chaos,damage_type_normal)
endfunctionfunction sj7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(f4))==true)endfunctionfunction
sk7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
sl7 takes nothing returns booleanreturn getbooleanand(sj7(),sk7())endfunction
function sm7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
20.00,anglebetweenpoints(getunitloc(getenumunit()),i4)))endfunctionfunction sn7
takes nothing returns booleanreturn(g4>=600.00)endfunctionfunction so7 takes
nothing returns booleanreturn(g4>=600.00)endfunctionfunction s07 takes nothing
returns booleanreturn(g4>=600.00)endfunctionfunction sp7 takes nothing returns
nothingcall setunitpositionloc(f4,xz(getunitloc(f4),15.00,getunitfacing(f4)))call
forgroupbj(ka(250.00,getunitloc(f4),condition(function sl7)),function s17)call
forgroupbj(ka(250.00,getunitloc(f4),condition(function sl7)),function sm7)set
g4=(g4+15.00)if(sn7())thencall triggerexecute(ts)elsecall donothing()endif
if(so7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(s07())thenreturnelsecall donothing()endifendfunctionfunction sq7 takes nothing
returns nothingset ss=createtrigger()call disabletrigger(ss)call
triggerregistertimereventperiodic(ss,0.03)call triggeraddaction(ss,function sp7)
endfunctionfunction sr7 takes nothing returns nothingcall destroyeffectbj(k)call
resetunitanimation(f4)call setunitanimation(f4,"spell 4")call
triggersleepaction(0.50)call pauseunitbj(false,f4)call resetunitanimation(f4)call
setunitinvulnerable(f4,false)endfunctionfunction ss7 takes nothing returns nothing
set ts=createtrigger()call triggeraddaction(ts,function sr7)endfunctionfunction
s57 takes nothing returns booleanif(not(getspellabilityid()==1093678408))then
return falseendifreturn trueendfunctionfunction st7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678408,a4)==1)endfunctionfunction su7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678408,a4)==2)
endfunctionfunction sv7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678408,a4)==3)endfunctionfunction sw7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093678408,a4)==4)
endfunctionfunction sx7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093678408,a4)==5)endfunctionfunction sy7 takes
nothing returns nothingset a4=getspellabilityunit()set d4=0.00set
e4=getunitloc(a4)call triggersleepaction(0.25)call pauseunitbj(true,a4)call
setunitinvulnerable(a4,true)call resetunitanimation(a4)call
setunitanimation(a4,"spell")call triggersleepaction(0.50)if(st7())thenset b4=10.00
elsecall donothing()endifif(su7())thenset b4=16.00elsecall donothing()endif
if(sv7())thenset b4=22.00elsecall donothing()endifif(sw7())thenset b4=28.00else
call donothing()endifif(sx7())thenset b4=34.00elsecall donothing()endifcall
resetunitanimation(a4)call setunitanimation(a4,"spell 2")call
addspecialeffecttargetunitbj("hand
right",a4,"abilities\\weapons\\bolt\\boltimpact.mdl")set
k=getlastcreatedeffectbj()call triggersleepaction(0.25)call destroyeffectbj(k)call
addspecialeffecttargetunitbj("hand
right",a4,"abilities\\weapons\\bolt\\boltimpact.mdl")set
k=getlastcreatedeffectbj()call triggersleepaction(0.25)call destroyeffectbj(k)call
addspecialeffecttargetunitbj("hand
right",a4,"abilities\\weapons\\bolt\\boltimpact.mdl")set
k=getlastcreatedeffectbj()call triggersleepaction(0.25)call destroyeffectbj(k)call
resetunitanimation(a4)call setunitanimation(a4,"spell 3")call
addspecialeffecttargetunitbj("origin",a4,"abilities\\spells\\other\\crushingwave\\
crushingwavemissile.mdl")set k=getlastcreatedeffectbj()call enabletrigger(as)
endfunctionfunction s27 takes nothing returns nothingset us=createtrigger()call
disabletrigger(us)call
triggerregisteranyuniteventbj(us,event_player_unit_spell_effect)call
triggeraddcondition(us,condition(function s57))call triggeraddaction(us,function
sy7)endfunctionfunction sz7 takes nothing returns boolean
if(not(getspellabilityid()==1093679159))thenreturn falseendifreturn true
endfunctionfunction s_7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679159,j9)==1)endfunctionfunction t47 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679159,j9)==2)
endfunctionfunction t77 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679159,j9)==3)endfunctionfunction t87 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1093679159,j9)==4)
endfunctionfunction t97 takes nothing returns boolean
return(getunitabilitylevelswapped(1093679159,j9)==5)endfunctionfunction td7 takes
nothing returns nothingset j9=getspellabilityunit()set k9=0.00set
l9=getunitloc(j9)call triggersleepaction(0.25)call pauseunitbj(true,j9)call
setunitinvulnerable(j9,true)call resetunitanimation(j9)if(s_7())thenset m9=4.00
elsecall donothing()endifif(t47())thenset m9=8.00elsecall donothing()endif
if(t77())thenset m9=12.00elsecall donothing()endifif(t87())thenset m9=16.00else
call donothing()endifif(t97())thenset m9=20.00elsecall donothing()endifcall
addspecialeffecttargetunitbj("weapon",j9,"objects\\spawnmodels\\orc\\orcblood\\bat
trollblood.mdl")call setunitanimation(j9,"attack -1")call
setunitanimation(j9,"attack - 1")set n9=getlastcreatedeffectbj()call
enabletrigger(ws)endfunctionfunction te7 takes nothing returns nothingset
vs=createtrigger()call disabletrigger(vs)call
triggerregisteranyuniteventbj(vs,event_player_unit_spell_effect)call
triggeraddcondition(vs,condition(function sz7))call triggeraddaction(vs,function
td7)endfunctionfunction tf7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j9))==true)endfunctionfunction
tg7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
th7 takes nothing returns booleanreturn getbooleanand(tf7(),tg7())endfunction
function ti7 takes nothing returns nothingcall
unitdamagetargetbj(j9,getenumunit(),m9,attack_type_chaos,damage_type_normal)
endfunctionfunction tj7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j9))==true)endfunctionfunction
tk7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tm7 takes nothing returns booleanreturn getbooleanand(tj7(),tk7())endfunction
function tn7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
25.00,anglebetweenpoints(getunitloc(gete
numunit()),l9)))endfunctionfunction to7 takes nothing returns boolean
return(k9>=700.00)endfunctionfunction tp7 takes nothing returns boolean
return(k9>=700.00)endfunctionfunction tq7 takes nothing returns boolean
return(k9>=700.00)endfunctionfunction tr7 takes nothing returns nothingcall
setunitpositionloc(j9,xz(getunitloc(j9),20.00,getunitfacing(j9)))call
forgroupbj(ka(250.00,getunitloc(j9),condition(function th7)),function ti7)call
forgroupbj(ka(250.00,getunitloc(j9),condition(function tm7)),function tn7)set
k9=(k9+20.00)if(to7())thencall triggerexecute(xs)elsecall donothing()endif
if(tp7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(tq7())thenreturnelsecall donothing()endifendfunctionfunction ts7 takes nothing
returns nothingset ws=createtrigger()call disabletrigger(ws)call
triggerregistertimereventperiodic(ws,0.03)call triggeraddaction(ws,function tr7)
endfunctionfunction tt7 takes nothing returns nothingcall destroyeffectbj(n9)call
resetunitanimation(j9)call triggersleepaction(0.25)set k9=0.00set
l9=getunitloc(j9)call setunitfacingtimed(j9,(getunitfacing(j9)+180.00),0)call
triggersleepaction(0.50)call
addspecialeffecttargetunitbj("weapon",j9,"objects\\spawnmodels\\orc\\orcblood\\bat
trollblood.mdl")call setunitanimation(j9,"attack -1")call
setunitanimation(j9,"attack - 1")set n9=getlastcreatedeffectbj()call
enabletrigger(ys)endfunctionfunction tu7 takes nothing returns nothingset
xs=createtrigger()call triggeraddaction(xs,function tt7)endfunctionfunction tv7
takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j9))==true)endfunctionfunction
tw7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tx7 takes nothing returns booleanreturn getbooleanand(tv7(),tw7())endfunction
function ty7 takes nothing returns nothingcall
unitdamagetargetbj(j9,getenumunit(),m9,attack_type_chaos,damage_type_normal)
endfunctionfunction tz7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(j9))==true)endfunctionfunction
ta7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ta7 takes nothing returns booleanreturn getbooleanand(tz7(),ta7())endfunction
function tb7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
25.00,anglebetweenpoints(getunitloc(getenumunit()),l9)))endfunctionfunction tb7
takes nothing returns booleanreturn(k9>=700.00)endfunctionfunction tc7 takes
nothing returns booleanreturn(k9>=700.00)endfunctionfunction tc7 takes nothing
returns booleanreturn(k9>=700.00)endfunctionfunction td7 takes nothing returns
nothingcall setunitpositionloc(j9,xz(getunitloc(j9),20.00,getunitfacing(j9)))call
forgroupbj(ka(250.00,getunitloc(j9),condition(function tx7)),function ty7)call
forgroupbj(ka(250.00,getunitloc(j9),condition(function ta7)),function tb7)set
k9=(k9+20.00)if(tb7())thencall triggerexecute(zs)elsecall donothing()endif
if(tc7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(tc7())thenreturnelsecall donothing()endifendfunctionfunction te7 takes nothing
returns nothingset ys=createtrigger()call disabletrigger(ys)call
triggerregistertimereventperiodic(ys,0.03)call triggeraddaction(ys,function td7)
endfunctionfunction t37 takes nothing returns nothingcall destroyeffectbj(n9)call
resetunitanimation(j9)call triggersleepaction(0.50)call pauseunitbj(false,j9)call
resetunitanimation(j9)call setunitinvulnerable(j9,false)endfunctionfunction tf7
takes nothing returns nothingset zs=createtrigger()call
triggeraddaction(zs,function t37)endfunctionfunction tg7 takes nothing returns
booleanreturn(isunitenemy(getfilterunit(),getowningplayer(a4))==true)endfunction
function t67 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
th7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function ti7 takes nothing returns booleanreturn getbooleanand(t67(),th7())
endfunctionfunction tl7 takes nothing returns booleanreturn
getbooleanand(tg7(),ti7())endfunctionfunction t17 takes nothing returns nothing
call unitdamagetargetbj(a4,getenumunit(),b4,attack_type_chaos,damage_type_normal)
endfunctionfunction tj7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(a4))==true)endfunctionfunction
tk7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
tl7 takes nothing returns booleanreturn getbooleanand(tj7(),tk7())endfunction
function tm7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),-
25.00,anglebetweenpoints(getunitloc(getenumunit()),e4)))endfunctionfunction tn7
takes nothing returns booleanreturn(d4>=700.00)endfunctionfunction to7 takes
nothing returns booleanreturn(d4>=700.00)endfunctionfunction t07 takes nothing
returns booleanreturn(d4>=700.00)endfunctionfunction tp7 takes nothing returns
nothingcall setunitpositionloc(a4,xz(getunitloc(a4),20.00,getunitfacing(a4)))call
forgroupbj(ka(250.00,getunitloc(a4),condition(function tl7)),function t17)call
forgroupbj(ka(250.00,getunitloc(a4),condition(function tl7)),function tm7)set
d4=(d4+20.00)if(tn7())thencall triggerexecute(as)elsecall donothing()endif
if(to7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(t07())thenreturnelsecall donothing()endifendfunctionfunction tq7 takes nothing
returns nothingset as=createtrigger()call disabletrigger(as)call
triggerregistertimereventperiodic(as,0.03)call triggeraddaction(as,function tp7)
endfunctionfunction tr7 takes nothing returns nothingcall destroyeffectbj(k)call
resetunitanimation(a4)call setunitanimation(a4,"spell 4")call
triggersleepaction(0.50)call pauseunitbj(false,a4)call resetunitanimation(a4)call
setunitinvulnerable(a4,false)endfunctionfunction ts7 takes nothing returns nothing
set as=createtrigger()call triggeraddaction(as,function tr7)endfunctionfunction
t57 takes nothing returns booleanif(not(getspellabilityid()==1093677895))then
return falseendifreturn trueendfunctionfunction tt7 takes nothing returns nothing
call cameraseteqnoiseforplayer(getenumplayer(),5.00)endfunctionfunction tu7 takes
nothing returns nothingcall cameraclearnoiseforplayer(getenumplayer())endfunction
function tv7 takes nothing returns nothingcall forforce(getplayersall(),function
tt7)call uz(2.00)call forforce(getplayersall(),function tu7)endfunctionfunction
tw7 takes nothing returns nothingset bs=createtrigger()call disabletrigger(bs)call
triggerregisteranyuniteventbj(bs,event_player_unit_spell_effect)call
triggeraddcondition(bs,condition(function t57))call triggeraddaction(bs,function
tv7)endfunctionfunction tx7 takes nothing returns boolean
return(getspellabilityid()==1094937968)endfunctionfunction ty7 takes nothing
returns booleanreturn(getspellabilityid()==1093679185)endfunctionfunction t27
takes nothing returns booleanreturn(getspellabilityid()==1093677878)endfunction
function tz7 takes nothing returns booleanreturn getbooleanor(ty7(),t27())
endfunctionfunction t_7 takes nothing returns booleanif(not
getbooleanor(tx7(),tz7()))thenreturn falseendif
if(not(getunittypeid(getspellabilityunit())!=1429221432))thenreturn falseendif
return trueendfunctionfunction u47 takes nothing returns nothingcall
setunitpositionloc(getspellabilityunit(),xz(getunitloc(getspellabilityunit()),800.
00,getunitfacing(getspellabilityunit())))call
setunitanimation(getspellabilityunit(),"walk alternate")call uz(1.00)call
resetunitanimation(getspellabilityunit())endfunctionfunction u77 takes nothing
returns nothingset bs=createtrigger()call disabletrigger(bs)call
triggerregisteranyuniteventbj(bs,event_player_unit_spell_finish)call
triggeraddcondition(bs,condition(function t_7))call triggeraddaction(bs,function
u47)endfunctionfunction u87 takes nothing returns boolean
if(not(getspellabilityid()==1094935142))thenreturn falseendifreturn true
endfunctionfunction u97 takes nothing returns nothingcall
setunitpositionloc(getspellabilityunit(),xz(getunitloc(getspellabilityunit()),-
500.00,getunitfacing(getspellabilityunit())))endfunctionfunction ud7 takes nothing
returns nothingset cs=createtrigger()call
triggerregisteranyuniteventbj(cs,event_player_unit_spell_finish)call
triggeraddcondition(cs,condition(function u87))call triggeraddaction(cs,function
u97)endfunctionfunction ue7 takes nothing returns boolean
return(getspellabilityid()==1093677645)endfunctionfunction uf7 takes nothing
returns booleanreturn(getspellabilityid()==1093678925)endfunctionfunction ug7
takes nothing returns booleanif(not getbooleanor(ue7(),uf7()))thenreturn false
endifreturn trueendfunctionfunction uh7 takes nothing returns nothingcall
unitdamagetargetbj(az,getspellabilityunit(),99999.00,attack_type_chaos,damage_type
_normal)endfunctionfunction ui7 takes nothing returns nothingset
cs=createtrigger()call
triggerregisteranyuniteventbj(cs,event_player_unit_spell_endcast)call
triggerregisteranyuniteventbj(cs,event_player_unit_spell_finish)call
triggeraddcondition(cs,condition(function ug7))call triggeraddaction(cs,function
uh7)endfunctionfunction uj7 takes nothing returns boolean
if(not(getspellabilityid()==1093682227))thenreturn falseendifreturn true
endfunctionfunction uk7 takes nothing returns nothingcall
unitdamagetargetbj(az,getspellabilityunit(),99999.00,attack_type_chaos,damage_type
_normal)endfunctionfunction um7 takes nothing returns nothingset
ds=createtrigger()call
triggerregisteranyuniteventbj(ds,event_player_unit_spell_endcast)call
triggerregisteranyuniteventbj(ds,event_player_unit_spell_finish)call
triggeraddcondition(ds,condition(function uj7))call triggeraddaction(ds,function
uk7)endfunctionfunction un7 takes nothing returns boolean
if(not(getspellabilityid()==1095656559))thenreturn falseendifreturn true
endfunctionfunction uo7 takes nothing returns nothingcall
removeunit(getspellabilityunit())endfunctionfunction up7 takes nothing returns
nothingset es=createtrigger()call disabletrigger(es)call
triggerregisteranyuniteventbj(es,event_player_unit_spell_finish)call
triggeraddcondition(es,condition(function un7))call triggeraddaction(es,function
uo7)endfunctionfunction uq7 takes nothing returns boolean
if(not(getspellabilityid()==1093677646))thenreturn falseendifreturn true
endfunctionfunction ur7 takes nothing returns nothingset g4=getspellabilityunit()
set h4=getspelltargetunit()call triggersleepaction(0.75)call
setunitpositionloc(g4,getunitloc(h4))call
setunitpositionloc(getspellabilityunit(),getunitloc(getspelltargetunit()))call
setunitpositionloc(gettriggerunit(),getunitloc(getspelltargetunit()))endfunction
function us7 takes nothing returns nothingset fs=createtrigger()call
disabletrigger(fs)call
triggerregisteranyuniteventbj(fs,event_player_unit_spell_effect)call
triggeraddcondition(fs,condition(function uq7))call triggeraddaction(fs,function
ur7)endfunctionfunction ut7 takes nothing returns boolean
if(not(getspellabilityid()==1093678918))thenreturn falseendifreturn true
endfunctionfunction uu7 takes nothing returns nothingset g4=getspellabilityunit()
set h4=getspelltargetunit()call triggersleepaction(0.75)call
setunitpositionloc(g4,getunitloc(h4))call
setunitpositionloc(getspellabilityunit(),getunitloc(getspelltargetunit()))call
setunitpositionloc(gettriggerunit(),getunitloc(getspelltargetunit()))endfunction
function uv7 takes nothing returns nothingset gs=createtrigger()call
disabletrigger(gs)call
triggerregisteranyuniteventbj(gs,event_player_unit_spell_effect)call
triggeraddcondition(gs,condition(function ut7))call triggeraddaction(gs,function
uu7)endfunctionfunction uw7 takes nothing returns boolean
if(not(getspellabilityid()==1093678391))thenreturn falseendifreturn true
endfunctionfunction ux7 takes nothing returns nothingset g4=getspellabilityunit()
set h4=getspelltargetunit()call triggersleepaction(0.75)call
setunitpositionloc(g4,getunitloc(h4))call setunitanimation(g4,"attack slam")call
setunitpositionloc(getspellabilityunit(),getunitloc(getspelltargetunit()))call
setunitpositionloc(gettriggerunit(),getunitloc(getspelltargetunit()))call uz(0.75)
call resetunitanimation(g4)endfunctionfunction uy7 takes nothing returns nothing
set hs=createtrigger()call
triggerregisteranyuniteventbj(hs,event_player_unit_spell_effect)call
triggeraddcondition(hs,condition(function uw7))call triggeraddaction(hs,function
ux7)endfunctionfunction uz7 takes nothing returns boolean
if(not(getspellabilityid()==1093677894))thenreturn falseendifreturn true
endfunctionfunction ua7 takes nothing returns nothingset g4=getspellabilityunit()
set h4=getspelltargetunit()call triggersleepaction(0.75)call
setunitpositionloc(g4,getunitloc(h4))call
setunitpositionloc(getspellabilityunit(),getunitloc(getspelltargetunit()))call
setunitpositionloc(gettriggerunit(),getunitloc(getspelltargetunit()))endfunction
function ua7 takes nothing returns nothingset is=createtrigger()call
disabletrigger(is)call
triggerregisteranyuniteventbj(is,event_player_unit_spell_effect)call
triggeraddcondition(is,condition(function uz7))call triggeraddaction(is,function
ua7)endfunctionfunction ub7 takes nothing returns boolean
if(not(getunittypeid(gettriggerunit())==1328558134))thenreturn falseendifreturn
trueendfunctionfunction ub7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1328558135)endfunctionfunction uc7 takes
nothing returns nothingcall unitaddabilitybj(1093677894,getenumunit())endfunction
function uc7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1328558135)endfunctionfunction ud7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677894,getenumunit(),2)
endfunctionfunction ue7 takes nothing returns nothingcall
forgroupbj(ka(150.00,getunitloc(gettriggerunit()),condition(function
ub7)),function uc7)call
forgroupbj(ka(150.00,getunitloc(gettriggerunit()),condition(function
uc7)),function ud7)endfunctionfunction u37 takes nothing returns nothingset
ls=createtrigger()call disabletrigger(ls)call
triggerregisteranyuniteventbj(ls,event_player_unit_issued_order)call
triggeraddcondition(ls,condition(function ub7))call triggeraddaction(ls,function
ue7)endfunctionfunction uf7 takes nothing returns boolean
return(getunittypeid(gettriggerunit())==1328558135)endfunctionfunction ug7 takes
nothing returns booleanreturn(getunittypeid(gettriggerunit())==1328558134)
endfunctionfunction u67 takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("smart"))endfunctionfunction uh7
takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("move"))endfunctionfunction ui7
takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("harvest"))endfunctionfunction ul7
takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("attack"))endfunctionfunction u17
takes nothing returns boolean
return(getissuedorderidbj()==string2orderidbj("patrol"))endfunctionfunction uj7
takes nothing returns booleanreturn getbooleanor(ul7(),u17())endfunctionfunction
uk7 takes nothing returns booleanreturn getbooleanor(ui7(),uj7())endfunction
function ul7 takes nothing returns booleanreturn getbooleanor(uh7(),uk7())
endfunctionfunction um7 takes nothing returns booleanif(not
getbooleanor(uf7(),ug7()))thenreturn falseendifif(not
getbooleanor(u67(),ul7()))thenreturn falseendifreturn trueendfunctionfunction un7
takes nothing returns nothingcall unitremoveabilitybj(1093677894,getenumunit())
endfunctionfunction uo7 takes nothing returns nothingcall
unitremoveabilitybj(1093677894,getenumunit())endfunctionfunction u07 takes nothing
returns nothingcall forgroupbj(sa(gettriggerplayer(),1328558135),function un7)call
forgroupbj(sa(gettriggerplayer(),1328558134),function uo7)endfunctionfunction up7
takes nothing returns nothingset js=createtrigger()call disabletrigger(js)call
triggerregisteranyuniteventbj(js,event_player_unit_issued_point_order)call
triggerregisteranyuniteventbj(js,event_player_unit_issued_target_order)call
triggeraddcondition(js,condition(function um7))call triggeraddaction(js,function
u07)endfunctionfunction uq7 takes nothing returns boolean
if(not(getunittypeid(gettriggerunit())==1328558135))thenreturn falseendifreturn
trueendfunctionfunction ur7 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1328558134)endfunctionfunction us7 takes
nothing returns nothingcall unitaddabilitybj(1093677894,getenumunit())endfunction
function u57 takes nothing returns boolean
return(getunittypeid(getfilterunit())==1328558134)endfunctionfunction ut7 takes
nothing returns nothingcall setunitabilitylevelswapped(1093677894,getenumunit(),2)
endfunctionfunction uu7 takes nothing returns nothingcall
forgroupbj(ka(150.00,getunitloc(gettriggerunit()),condition(function
ur7)),function us7)call
forgroupbj(ka(150.00,getunitloc(gettriggerunit()),condition(function
u57)),function ut7)endfunctionfunction uv7 takes nothing returns nothingset
ks=createtrigger()call disabletrigger(ks)call
triggerregisteranyuniteventbj(ks,event_player_unit_issued_order)call
triggeraddcondition(ks,condition(function uq7))call triggeraddaction(ks,function
uu7)endfunctionfunction uw7 takes nothing returns boolean
if(not(getspellabilityid()==1098347112))thenreturn falseendifreturn true
endfunctionfunction ux7 takes nothing returns nothingcall
modifyherostat(bj_herostat_agi,getspellabilityunit(),bj_modifymethod_add,1)call
triggersleepaction(5.00)returnendfunctionfunction uy7 takes nothing returns
nothingset ls=createtrigger()call disabletrigger(ls)call
triggerregisteranyuniteventbj(ls,event_player_unit_spell_finish)call
triggeraddcondition(ls,condition(function uw7))call triggeraddaction(ls,function
ux7)endfunctionfunction u27 takes nothing returns boolean
if(not(getspellabilityid()==1093681714))thenreturn falseendifreturn true
endfunctionfunction uz7 takes nothing returns boolean
return(getunitabilitylevelswapped(1093681716,gf)>=41)endfunctionfunction u_7 takes
nothing returns nothingif(uz7())thenreturnelsecall donothing()endifcall
incunitabilitylevelswapped(1093681716,gf)call triggersleepaction(5.00)return
endfunctionfunction v47 takes nothing returns nothingset ms=createtrigger()call
disabletrigger(ms)call
triggerregisteranyuniteventbj(ms,event_player_unit_spell_finish)call
triggeraddcondition(ms,condition(function u27))call triggeraddaction(ms,function
u_7)endfunctionfunction v77 takes nothing returns boolean
if(not(getspellabilityid()==1095726963))thenreturn falseendifreturn true
endfunctionfunction v87 takes nothing returns nothingset m7=getspellabilityunit()
set j7=0.00set k7=getunitloc(m7)call uz(0.50)call enabletrigger(os)endfunction
function v97 takes nothing returns nothingset ns=createtrigger()call
disabletrigger(ns)call
triggerregisteranyuniteventbj(ns,event_player_unit_spell_effect)call
triggeraddcondition(ns,condition(function v77))call triggeraddaction(ns,function
v87)endfunctionfunction vd7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ve7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vf7 takes nothing returns booleanreturn getbooleanand(vd7(),ve7())
endfunctionfunction
vg7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(m7))==true)endfunctionfunction
vh7 takes nothing returns booleanreturn getbooleanand(vf7(),vg7())endfunction
function vi7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),25.00,anglebetweenpo
ints(k7,getunitloc(getenumunit()))))endfunctionfunction vj7 takes nothing returns
booleanreturn(j7>=250.00)endfunctionfunction vk7 takes nothing returns boolean
return(j7>=250.00)endfunctionfunction vm7 takes nothing returns boolean
return(j7>=250.00)endfunctionfunction vn7 takes nothing returns nothingset
j7=(j7+25.00)call forgroupbj(ka(700.00,k7,condition(function vh7)),function vi7)
if(vj7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(vk7())thencall removelocation(k7)elsecall donothing()endifif(vm7())thenreturn
elsecall donothing()endifendfunctionfunction vo7 takes nothing returns nothingset
os=createtrigger()call disabletrigger(os)call
triggerregistertimereventperiodic(os,0.03)call triggeraddaction(os,function vn7)
endfunctionfunction vp7 takes nothing returns boolean
if(not(getspellabilityid()==1093681494))thenreturn falseendifreturn true
endfunctionfunction vq7 takes nothing returns nothingset pf=getspellabilityunit()
set qf=0.00set rf=getunitloc(pf)call uz(0.50)call enabletrigger(qs)endfunction
function vr7 takes nothing returns nothingset ps=createtrigger()call
triggerregisteranyuniteventbj(ps,event_player_unit_spell_effect)call
triggeraddcondition(ps,condition(function vp7))call triggeraddaction(ps,function
vq7)endfunctionfunction vs7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vt7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vu7 takes nothing returns booleanreturn getbooleanand(vs7(),vt7())
endfunctionfunction vv7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(pf))==true)endfunctionfunction
vw7 takes nothing returns booleanreturn getbooleanand(vu7(),vv7())endfunction
function vx7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),25.00,anglebetweenpo
ints(rf,getunitloc(getenumunit()))))endfunctionfunction vy7 takes nothing returns
booleanreturn(qf>=250.00)endfunctionfunction vz7 takes nothing returns boolean
return(qf>=250.00)endfunctionfunction va7 takes nothing returns boolean
return(qf>=250.00)endfunctionfunction va7 takes nothing returns nothingset
qf=(qf+25.00)call forgroupbj(ka(700.00,rf,condition(function vw7)),function vx7)
if(vy7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(vz7())thencall removelocation(rf)elsecall donothing()endifif(va7())thenreturn
elsecall donothing()endifendfunctionfunction vb7 takes nothing returns nothingset
qs=createtrigger()call disabletrigger(qs)call
triggerregistertimereventperiodic(qs,0.03)call triggeraddaction(qs,function va7)
endfunctionfunction vb7 takes nothing returns boolean
if(not(getspellabilityid()==1093679177))thenreturn falseendifreturn true
endfunctionfunction vc7 takes nothing returns nothingset fd=getspellabilityunit()
set gd=0.00set hd=getunitloc(fd)call uz(0.50)call enabletrigger(ss)endfunction
function vc7 takes nothing returns nothingset rs=createtrigger()call
disabletrigger(rs)call
triggerregisteranyuniteventbj(rs,event_player_unit_spell_effect)call
triggeraddcondition(rs,condition(function vb7))call triggeraddaction(rs,function
vc7)endfunctionfunction vd7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
ve7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(fd))==true)endfunctionfunction
v37 takes nothing returns booleanreturn getbooleanand(vd7(),ve7())endfunction
function vf7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),25.00,anglebetweenpo
ints(hd,getunitloc(getenumunit()))))endfunctionfunction vg7 takes nothing returns
booleanreturn(gd>=700.00)endfunctionfunction v67 takes nothing returns boolean
return(gd>=700.00)endfunctionfunction vh7 takes nothing returns boolean
return(gd>=700.00)endfunctionfunction vi7 takes nothing returns nothingset
gd=(gd+25.00)call forgroupbj(ka(700.00,hd,condition(function v37)),function vf7)
if(vg7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(v67())thencall removelocation(hd)elsecall donothing()endifif(vh7())thenreturn
elsecall donothing()endifendfunctionfunction vl7 takes nothing returns nothingset
ss=createtrigger()call disabletrigger(ss)call
triggerregistertimereventperiodic(ss,0.03)call triggeraddaction(ss,function vi7)
endfunctionfunction v17 takes nothing returns boolean
if(not(getspellabilityid()==1093678166))thenreturn falseendifreturn true
endfunctionfunction vj7 takes nothing returns nothingset n7=getspellabilityunit()
set o7=0.00set p7=getunitloc(n7)call uz(0.50)call enabletrigger(us)endfunction
function vk7 takes nothing returns nothingset ts=createtrigger()call
disabletrigger(ts)call
triggerregisteranyuniteventbj(ts,event_player_unit_spell_effect)call
triggeraddcondition(ts,condition(function v17))call triggeraddaction(ts,function
vj7)endfunctionfunction vl7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_structure)!=true)endfunctionfunction
vm7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_magic_immune)!=true)endfunction
function vn7 takes nothing returns booleanreturn getbooleanand(vl7(),vm7())
endfunctionfunction vo7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(n7))==true)endfunctionfunction
v07 takes nothing returns booleanreturn getbooleanand(vn7(),vo7())endfunction
function vp7 takes nothing returns nothingcall
setunitpositionloc(getenumunit(),xz(getunitloc(getenumunit()),25.00,anglebetweenpo
ints(p7,getunitloc(getenumunit()))))endfunctionfunction vq7 takes nothing returns
booleanreturn(o7>=250.00)endfunctionfunction vr7 takes nothing returns boolean
return(o7>=250.00)endfunctionfunction vs7 takes nothing returns boolean
return(o7>=250.00)endfunctionfunction v57 takes nothing returns nothingset
o7=(o7+25.00)call forgroupbj(ka(700.00,p7,condition(function v07)),function vp7)
if(vq7())thencall disabletrigger(gettriggeringtrigger())elsecall donothing()endif
if(vr7())thencall removelocation(p7)elsecall donothing()endifif(vs7())thenreturn
elsecall donothing()endifendfunctionfunction vt7 takes nothing returns nothingset
us=createtrigger()call disabletrigger(us)call
triggerregistertimereventperiodic(us,0.03)call triggeraddaction(us,function v57)
endfunctionfunction vu7 takes nothing returns boolean
if(not(getspellabilityid()==1096115299))thenreturn falseendifreturn true
endfunctionfunction vv7 takes nothing returns nothingset n7=getspellabilityunit()
set x7=getspelltargetunit()set w7=0.00call triggersleepaction(0.50)call
enabletrigger(xs)endfunctionfunction vw7 takes nothing returns nothingset
vs=createtrigger()call
triggerregisteranyuniteventbj(vs,event_player_unit_spell_effect)call
triggeraddcondition(vs,condition(function vu7))call triggeraddaction(vs,function
vv7)endfunctionfunction vx7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093677104))thenreturn falseendifreturn true
endfunctionfunction vy7 takes nothing returns nothingcall enabletrigger(dt)
endfunctionfunction v27 takes nothing returns nothingset ws=createtrigger()call
disabletrigger(ws)call triggerregisteranyuniteventbj(ws,event_player_hero_skill)
call triggeraddcondition(ws,condition(function vx7))call
triggeraddaction(ws,function vy7)endfunctionfunction vz7 takes nothing returns
booleanreturn(w7>=350.00)endfunctionfunction v_7 takes nothing returns boolean
return(w7>=350.00)endfunctionfunction w47 takes nothing returns nothingset
w7=(w7+15.00)call
setunitpositionloc(x7,xz(getunitloc(x7),15.00,anglebetweenpoints(getunitloc(n7),ge
tunitloc(x7))))if(vz7())thencall disabletrigger(gettriggeringtrigger())elsecall
donothing()endifif(v_7())thenreturnelsecall donothing()endifendfunctionfunction
w77 takes nothing returns nothingset xs=createtrigger()call disabletrigger(xs)call
triggerregistertimereventperiodic(xs,0.03)call triggeraddaction(xs,function w47)
endfunctionfunction w87 takes nothing returns boolean
if(not(getspellabilityid()==1093677122))thenreturn falseendifreturn true
endfunctionfunction w97 takes nothing returns nothingcall
createitemloc(1918989369,getunitloc(getspellabilityunit()))endfunctionfunction wd7
takes nothing returns nothingset ys=createtrigger()call disabletrigger(ys)call
triggerregisteranyuniteventbj(ys,event_player_unit_spell_finish)call
triggeraddcondition(ys,condition(function w87))call triggeraddaction(ys,function
w97)endfunctionfunction we7 takes nothing returns boolean
if(not(getspellabilityid()==1093677134))thenreturn falseendifreturn true
endfunctionfunction wf7 takes nothing returns nothingcall
createitemloc(1227894832,getunitloc(getspellabilityunit()))endfunctionfunction wg7
takes nothing returns nothingset zs=createtrigger()call disabletrigger(zs)call
triggerregisteranyuniteventbj(zs,event_player_unit_spell_finish)call
triggeraddcondition(zs,condition(function we7))call triggeraddaction(zs,function
wf7)endfunctionfunction wh7 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1214409837))thenreturn falseendifreturn
trueendfunctionfunction wi7 takes nothing returns boolean
return(getrandomint(1,20)==1)endfunctionfunction wj7 takes nothing returns
booleanif(not(q==1))thenreturn falseendifreturn trueendfunctionfunction wk7 takes
nothing returns booleanreturn(getrandomint(1,13)==1)endfunctionfunction wm7 takes
nothing returns booleanif(not(q==2))thenreturn falseendifreturn trueendfunction
function wn7 takes nothing returns booleanreturn(getrandomint(1,10)==1)endfunction
function wo7 takes nothing returns booleanif(not(q==3))thenreturn falseendifreturn
trueendfunctionfunction wp7 takes nothing returns boolean
return(getrandomint(1,8)==1)endfunctionfunction wq7 takes nothing returns boolean
if(not(q==4))thenreturn falseendifreturn trueendfunctionfunction wr7 takes nothing
returns booleanreturn(getrandomint(1,6)==1)endfunctionfunction ws7 takes nothing
returns booleanif(not(q==5))thenreturn falseendifreturn trueendfunctionfunction
wt7 takes nothing returns nothingset
q=getunitabilitylevelswapped(1093677104,getattackedunitbj())if(wj7())then
if(wi7())thencall donothing()elsereturnendifelseendifif(wm7())thenif(wk7())then
call donothing()elsereturnendifelseendifif(wo7())thenif(wn7())thencall donothing()
elsereturnendifelseendifif(wq7())thenif(wp7())thencall donothing()elsereturnendif
elseendifif(ws7())thenif(wr7())thencall donothing()elsereturnendifelseendifcall
disabletrigger(gettriggeringtrigger())call
addspecialeffecttargetunitbj("overhead",getattackedunitbj(),"objects\\spawnmodels\
\undead\\impaletargetdust\\impaletargetdust.mdl")set w7=getlastcreatedeffectbj()
call setunitinvulnerable(getattackedunitbj(),true)call triggersleepaction(0.50)
call setunitinvulnerable(getattackedunitbj(),false)call destroyeffectbj(w7)call
uz(3.00)call enabletrigger(gettriggeringtrigger())endfunctionfunction wu7 takes
nothing returns nothingset dt=createtrigger()call disabletrigger(dt)call
triggerregisteranyuniteventbj(dt,event_player_unit_attacked)call
triggeraddcondition(dt,condition(function wh7))call triggeraddaction(dt,function
wt7)endfunctionfunction wv7 takes nothing returns boolean
if(not(getunittypeid(getkillingunitbj())==1311781172))thenreturn falseendifreturn
trueendfunctionfunction ww7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)<1))thenreturn falseendifreturn
trueendfunctionfunction wx7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)==1))thenreturn falseendifreturn
trueendfunctionfunction wy7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)==2))thenreturn falseendifreturn
trueendfunctionfunction wz7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)==3))thenreturn falseendifreturn
trueendfunctionfunction wa7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)==4))thenreturn falseendifreturn
trueendfunctionfunction wa7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093678937,n9)==5))thenreturn falseendifreturn
trueendfunctionfunction wb7 takes nothing returns nothingset n9=getkillingunitbj()
call modifyherostat(bj_herostat_str,n9,bj_modifymethod_add,1)call
disabletrigger(gettriggeringtrigger())if(ww7())thenreturnelseendifif(wx7())then
call uz(200.00)elseendifif(wy7())thencall uz(180.00)elseendifif(wz7())thencall
uz(160.00)elseendifif(wa7())thencall uz(140.00)elseendifif(wa7())thencall
modifyherostat(bj_herostat_str,n9,bj_modifymethod_add,r2i(0.25))call uz(120.00)
elseendifcall enabletrigger(gettriggeringtrigger())endfunctionfunction wb7 takes
nothing returns nothingset et=createtrigger()call
triggerregisteranyuniteventbj(et,event_player_unit_death)call
triggeraddcondition(et,condition(function wv7))call triggeraddaction(et,function
wb7)endfunctionfunction wc7 takes nothing returns boolean
if(not(getunittypeid(getattackedunitbj())==1429221452))thenreturn falseendifreturn
trueendfunctionfunction wc7 takes nothing returns boolean
return(getunitlifepercent(getattackedunitbj())<=25.00)endfunctionfunction wd7
takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())<1))thenreturn
falseendifreturn trueendfunctionfunction we7 takes nothing returns boolean
return(getrandomint(1,10)==1)endfunctionfunction w37 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())==1))thenreturn
falseendifreturn trueendfunctionfunction wf7 takes nothing returns boolean
return(getrandomint(1,7)==1)endfunctionfunction wg7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())==2))thenreturn
falseendifreturn trueendfunctionfunction w67 takes nothing returns boolean
return(getrandomint(1,5)==1)endfunctionfunction wh7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())==3))thenreturn
falseendifreturn trueendfunctionfunction wi7 takes nothing returns boolean
return(getrandomint(1,4)==1)endfunctionfunction wl7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())==4))thenreturn
falseendifreturn trueendfunctionfunction w17 takes nothing returns boolean
return(getrandomint(1,3)==1)endfunctionfunction wj7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679157,getattackedunitbj())==5))thenreturn
falseendifreturn trueendfunctionfunction wk7 takes nothing returns nothing
if(wc7())thencall donothing()elsereturnendifcall
disabletrigger(gettriggeringtrigger())if(wd7())thenreturnelseendifcall
addspecialeffectlocbj(getunitloc(getattackedunitbj()),"abilities\\spells\\other\\a
waken\\awaken.mdl")if(w37())thenif(we7())thencall
setunitlifepercentbj(getattackedunitbj(),100)elsecall donothing()endifcall
uz(220.00)elseendifif(wg7())thenif(wf7())thencall
setunitlifepercentbj(getattackedunitbj(),100)elsecall donothing()endifcall
uz(190.00)elseendifif(wh7())thenif(w67())thencall
setunitlifepercentbj(getattackedunitbj(),100)elsecall donothing()endifcall
uz(160.00)elseendifif(wl7())thenif(wi7())thencall
setunitlifepercentbj(getattackedunitbj(),100)elsecall donothing()endifcall
uz(130.00)elseendifif(wj7())thenif(w17())thencall
setunitlifepercentbj(getattackedunitbj(),100)elsecall donothing()endifcall
uz(100.00)elseendifcall enabletrigger(gettriggeringtrigger())endfunctionfunction
wl7 takes nothing returns nothingset ft=createtrigger()call disabletrigger(ft)call
triggerregisteranyuniteventbj(ft,event_player_unit_attacked)call
triggeraddcondition(ft,condition(function wc7))call triggeraddaction(ft,function
wk7)endfunctionfunction wm7 takes nothing returns boolean
if(not(getunittypeid(getkillingunitbj())==1429221452))thenreturn falseendifreturn
trueendfunctionfunction wn7 takes nothing returns boolean
if(not(isunitenemy(getdyingunit(),l9)==true))thenreturn falseendifreturn true
endfunctionfunction wo7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())<1))thenreturn
falseendifreturn trueendfunctionfunction w07 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())==1))thenreturn
falseendifreturn trueendfunctionfunction wp7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())==2))thenreturn
falseendifreturn trueendfunctionfunction wq7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())==3))thenreturn
falseendifreturn trueendfunctionfunction wr7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())==4))thenreturn
falseendifreturn trueendfunctionfunction ws7 takes nothing returns boolean
if(not(getunitabilitylevelswapped(1093679156,getkillingunitbj())==5))thenreturn
falseendifreturn trueendfunctionfunction w57 takes nothing returns nothingset
l9=getowningplayer(getkillingunitbj())if(wn7())thenelsereturnendifif(wo7())then
returnelseendifif(w07())thencall
adjustplayerstatebj(3,l9,player_state_resource_gold)elseendifif(wp7())thencall
adjustplayerstatebj(6,l9,player_state_resource_gold)elseendifif(wq7())thencall
adjustplayerstatebj(9,l9,player_state_resource_gold)elseendifif(wr7())thencall
adjustplayerstatebj(12,l9,player_state_resource_gold)elseendifif(ws7())thencall
adjustplayerstatebj(15,l9,player_state_resource_gold)elseendifendfunctionfunction
wt7 takes nothing returns nothingset gt=createtrigger()call disabletrigger(gt)call
triggerregisteranyuniteventbj(gt,event_player_unit_death)call
triggeraddcondition(gt,condition(function wm7))call triggeraddaction(gt,function
w57)endfunctionfunction wu7 takes nothing returns boolean
if(not(isunittype(getattackedunitbj(),unit_type_structure)!=true))thenreturn false
endifif(not(getunittypeid(getattacker())==1429221448))thenreturn falseendifreturn
trueendfunctionfunction wv7 takes nothing returns booleanif(not(g8<1))thenreturn
falseendifreturn trueendfunctionfunction ww7 takes nothing returns boolean
return(getrandomint(1,20)==1)endfunctionfunction wx7 takes nothing returns boolean
if(not(g8==1))thenreturn falseendifreturn trueendfunctionfunction wy7 takes
nothing returns booleanreturn(getrandomint(1,10)==1)endfunctionfunction w27 takes
nothing returns booleanif(not(g8==2))thenreturn falseendifreturn trueendfunction
function wz7 takes nothing returns booleanreturn(getrandomint(1,7)==1)endfunction
function w_7 takes nothing returns booleanif(not(g8==3))thenreturn falseendif
return trueendfunctionfunction x47 takes nothing returns boolean
return(getrandomint(1,5)==1)endfunctionfunction x77 takes nothing returns boolean
if(not(g8==4))thenreturn falseendifreturn trueendfunctionfunction x87 takes
nothing returns booleanreturn(getrandomint(1,4)==1)endfunctionfunction
x97 takes nothing returns booleanif(not(g8==5))thenreturn falseendifreturn true
endfunctionfunction xd7 takes nothing returns nothingset
g8=getunitabilitylevelswapped(1093678674,getattacker())if(wv7())thenreturnelse
endifif(wx7())thenif(ww7())thencall donothing()elsereturnendifelseendif
if(w27())thenif(wy7())thencall donothing()elsereturnendifelseendifif(w_7())then
if(wz7())thencall donothing()elsereturnendifelseendifif(x77())thenif(x47())then
call donothing()elsereturnendifelseendifif(x97())thenif(x87())thencall donothing()
elsereturnendifelseendifcall disabletrigger(gettriggeringtrigger())call
createnunitsatloc(1,1747988791,getowningplayer(getattacker()),getunitloc(getattack
er()),bj_unit_facing)call
unitapplytimedlifebj(2.00,1112820806,getlastcreatedunit())call
setunitabilitylevelswapped(1093678673,getlastcreatedunit(),g8)call
issuetargetorderbj(getlastcreatedunit(),"doom",getattackedunitbj())call
enabletrigger(gettriggeringtrigger())returnendfunctionfunction xe7 takes nothing
returns nothingset ht=createtrigger()call disabletrigger(ht)call
triggerregisteranyuniteventbj(ht,event_player_unit_attacked)call
triggeraddcondition(ht,condition(function wu7))call triggeraddaction(ht,function
xd7)endfunctionfunction xf7 takes nothing returns boolean
if(not(getlearnedskillbj()==1093678675))thenreturn falseendifreturn true
endfunctionfunction xg7 takes nothing returns nothingcall
unitaddabilitybj(1093678676,getlearningunit())endfunctionfunction xh7 takes
nothing returns nothingset it=createtrigger()call
triggerregisteranyuniteventbj(it,event_player_hero_skill)call
triggeraddcondition(it,condition(function xf7))call triggeraddaction(it,function
xg7)endfunctionfunction xi7 takes nothing returns boolean
if(not(getspellabilityid()==1095657058))thenreturn falseendifreturn true
endfunctionfunction xj7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095657058,x4)==1)endfunctionfunction xk7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1095657058,x4)==2)
endfunctionfunction xm7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095657058,x4)==3)endfunctionfunction xn7 takes
nothing returns booleanreturn(getunitabilitylevelswapped(1095657058,x4)==4)
endfunctionfunction xo7 takes nothing returns boolean
return(getunitabilitylevelswapped(1095657058,x4)==5)endfunctionfunction xp7 takes
nothing returns nothingset x4=getspellabilityunit()set k4=getspelltargetunit()
if(xj7())thenset m4=75.00elsecall donothing()endifif(xk7())thenset m4=100.00else
call donothing()endifif(xm7())thenset m4=125.00elsecall donothing()endif
if(xn7())thenset m4=150.00elsecall donothing()endifif(xo7())thenset m4=175.00else
call donothing()endifcall addspecialeffectlocbj(getunitloc(x4),"bagua.mdx")set
l4=getlastcreatedeffectbj()call unitaddabilitybj(1098282348,x4)call
pauseunitbj(true,x4)call setunittimescalepercent(x4,200.00)call
pauseunitbj(true,k4)call uz(0.30)call triggerexecute(kt)call uz(0.50)return
endfunctionfunction xq7 takes nothing returns nothingset jt=createtrigger()call
triggerregisteranyuniteventbj(jt,event_player_unit_spell_effect)call
triggeraddcondition(jt,condition(function xi7))call triggeraddaction(jt,function
xp7)endfunctionfunction xr7 takes nothing returns boolean
return(isunitalivebj(k4)!=true)endfunctionfunction xs7 takes nothing returns
booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction xt7 takes nothing
returns booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction xu7 takes
nothing returns booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction xv7
takes nothing returns booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction
xw7 takes nothing returns booleanreturn(isunitalivebj(k4)!=true)endfunction
function xx7 takes nothing returns booleanreturn(isunitalivebj(k4)!=true)
endfunctionfunction xy7 takes nothing returns boolean
return(isunitalivebj(k4)!=true)endfunctionfunction xz7 takes nothing returns
booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction xa7 takes nothing
returns booleanreturn(isunitalivebj(k4)!=true)endfunctionfunction xa7 takes
nothing returns nothingcall setunitanimation(x4,"attack")call
createtexttagunitbj("four hits!",x4,0,10,100,100,100,0)call
unitdamagetargetbj(x4,k4,m4,attack_type_chaos,damage_type_normal)if(xr7())thencall
triggerexecute(mt)elsecall donothing()endifif(xs7())thenreturnelsecall donothing()
endifcall uz(0.45)call setunitanimation(x4,"attack 2")call
destroytexttagbj(getlastcreatedtexttag())call createtexttagunitbj("eight
hits!",x4,0,10,100,100,100,0)call
unitdamagetargetbj(x4,k4,m4,attack_type_chaos,damage_type_normal)if(xt7())thencall
triggerexecute(mt)elsecall donothing()endifif(xu7())thenreturnelsecall donothing()
endifcall uz(0.50)call setunitanimation(x4,"attack")call
destroytexttagbj(getlastcreatedtexttag())call createtexttagunitbj("sixteen
hits!",x4,0,10,100,100,100,0)call
unitdamagetargetbj(x4,k4,m4,attack_type_chaos,damage_type_normal)if(xv7())thencall
triggerexecute(mt)elsecall donothing()endifif(xw7())thenreturnelsecall donothing()
endifcall uz(0.45)call setunitanimation(x4,"attack 2")call
destroytexttagbj(getlastcreatedtexttag())call createtexttagunitbj("thirty-two
hits!",x4,0,10,100,100,100,0)call
unitdamagetargetbj(x4,k4,m4,attack_type_chaos,damage_type_normal)if(xx7())thencall
triggerexecute(mt)elsecall donothing()endifif(xy7())thenreturnelsecall donothing()
endifcall uz(0.50)call setunitanimation(x4,"attack")call
destroytexttagbj(getlastcreatedtexttag())call createtexttagunitbj("sixty-four
hits!",x4,0,10,100,100,100,0)call
unitdamagetargetbj(x4,k4,m4,attack_type_chaos,damage_type_normal)if(xz7())thencall
triggerexecute(mt)elsecall donothing()endifif(xa7())thenreturnelsecall donothing()
endifcall destroyeffectbj(getlastcreatedeffectbj())call uz(0.45)call
destroytexttagbj(getlastcreatedtexttag())call pauseunitbj(false,x4)call
pauseunitbj(false,k4)call setunittimescalepercent(x4,100.00)call
unitremoveabilitybj(1098282348,x4)call uz(0.25)call
destroytexttagbj(getlastcreatedtexttag())call destroyeffectbj(l4)returnendfunction
function xb7 takes nothing returns nothingset kt=createtrigger()call
triggeraddaction(kt,function xa7)endfunctionfunction xb7 takes nothing returns
nothingcall destroytexttagbj(getlastcreatedtexttag())call pauseunitbj(false,x4)
call pauseunitbj(false,k4)call unitremoveabilitybj(1098282348,x4)call
setunittimescalepercent(x4,100.00)call uz(0.25)call
destroytexttagbj(getlastcreatedtexttag())call destroyeffectbj(l4)endfunction
function xc7 takes nothing returns nothingset mt=createtrigger()call
triggeraddaction(mt,function xb7)endfunctionfunction xc7 takes nothing returns
booleanif(not(getspellabilityid()==1093678659))thenreturn falseendifreturn true
endfunctionfunction xd7 takes nothing returns nothingset
o7=getunitabilitylevelswapped(1093678659,gettriggerunit())set
p7=anglebetweenpoints(getunitloc(gettriggerunit()),getspelltargetloc())set
q7[1]=gettriggerunit()call triggersleepaction(0.50)call pauseunitbj(true,q7[1])
call enabletrigger(ot)endfunctionfunction xe7 takes nothing returns nothingset
nt=createtrigger()call
triggerregisteranyuniteventbj(nt,event_player_unit_spell_effect)call
triggeraddcondition(nt,condition(function xc7))call triggeraddaction(nt,function
xd7)endfunctionfunction x37 takes nothing returns boolean
return(isunitalivebj(getfilterunit())==true)endfunctionfunction xf7 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xg7 takes nothing returns booleanreturn
getbooleanand(x37(),xf7())endfunctionfunction x67 takes nothing returns boolean
if(not(isunitally(q7[2],getowningplayer(q7[1]))==false))thenreturn falseendif
return trueendfunctionfunction xh7 takes nothing returns booleanif(not(r7>2))then
return falseendifreturn trueendfunctionfunction xi7 takes nothing returns boolean
if(not(q7[2]!=null))thenreturn falseendifreturn trueendfunctionfunction xl7 takes
nothing returns booleanif(not(r7<31))thenreturn falseendifreturn trueendfunction
function x17 takes nothing returns nothingif(xl7())thenset r7=(r7+1)call
createnunitsatloc(1,1747988801,getowningplayer(q7[1]),xz(getunitloc(q7[1]),i2r((75
*r7)),p7),p7)set s7[r7]=getlastcreatedunit()set
n7=ka(130.00,getunitloc(s7[r7]),condition(function xg7))if(xh7())thenset
q7[2]=grouppickrandomunit(n7)call setunittimescalepercent(q7[2],0.00)call
destroygroup(n7)set n7=nullif(x67())thencall
unitdamagetargetbj(q7[1],q7[2],(75.00*i2r(o7)),attack_type_hero,damage_type_normal
)elseendifelseendifif(xi7())thencall disabletrigger(gettriggeringtrigger())call
enabletrigger(pt)elseendifelsecall enabletrigger(pt)call
disabletrigger(gettriggeringtrigger())endifendfunctionfunction xj7 takes nothing
returns nothingset ot=createtrigger()call disabletrigger(ot)call
triggerregistertimereventperiodic(ot,0.04)call triggeraddaction(ot,function x17)
endfunctionfunction xk7 takes nothing returns booleanif(not(r7==0))thenreturn
falseendifreturn trueendfunctionfunction xl7 takes nothing returns nothingcall
setunitpositionloc(q7[2],getunitloc(s7[r7]))call removeunit(s7[r7])set r7=(r7-1)
if(xk7())thencall pauseunitbj(false,q7[1])call pauseunitbj(false,q7[2])call
setunittimescalepercent(q7[2],100.00)set q7[2]=nullset q7[1]=nullcall
disabletrigger(gettriggeringtrigger())elseendifendfunctionfunction xm7 takes
nothing returns nothingset pt=createtrigger()call disabletrigger(pt)call
triggerregistertimereventperiodic(pt,0.04)call triggeraddaction(pt,function xl7)
endfunctionfunction xn7 takes nothing returns boolean
if(not(getspellabilityid()==1093678678))thenreturn falseendifreturn
trueendfunctionfunction xo7 takes nothing returns nothingset
l8=getunitabilitylevelswapped(1093678678,gettriggerunit())set
m8=anglebetweenpoints(getunitloc(gettriggerunit()),getspelltargetloc())set
n8[1]=gettriggerunit()call triggersleepaction(0.50)call pauseunitbj(true,n8[1])
call enabletrigger(rt)endfunctionfunction x07 takes nothing returns nothingset
qt=createtrigger()call
triggerregisteranyuniteventbj(qt,event_player_unit_spell_effect)call
triggeraddcondition(qt,condition(function xn7))call triggeraddaction(qt,function
xo7)endfunctionfunction xp7 takes nothing returns boolean
return(isunitalivebj(getfilterunit())==true)endfunctionfunction xq7 takes nothing
returns booleanreturn(isunittype(getfilterunit(),unit_type_structure)!=true)
endfunctionfunction xr7 takes nothing returns boolean
return(isunitenemy(getfilterunit(),getowningplayer(n8[1]))==true)endfunction
function xs7 takes nothing returns booleanreturn getbooleanand(xq7(),xr7())
endfunctionfunction x57 takes nothing returns booleanreturn
getbooleanand(xp7(),xs7())endfunctionfunction xt7 takes nothing returns boolean
if(not(o8>2))thenreturn falseendifreturn trueendfunctionfunction xu7 takes nothing
returns booleanif(not(n8[2]!=null))thenreturn falseendifreturn trueendfunction
function xv7 takes nothing returns booleanif(not(o8<31))thenreturn falseendif
return trueendfunctionfunction xw7 takes nothing returns nothingif(xv7())thenset
o8=(o8+1)call
createnunitsatloc(1,1747988806,getowningplayer(n8[1]),xz(getunitloc(n8[1]),i2r((75
*o8)),m8),p7)set p8[o8]=getlastcreatedunit()set
n7=ka(130.00,getunitloc(p8[o8]),condition(function x57))if(xt7())thenset
n8[2]=grouppickrandomunit(n7)call setunittimescalepercent(n8[2],0.00)call
destroygroup(n7)set n7=nullcall pauseunitbj(true,n8[2])call
unitdamagetargetbj(n8[1],n8[2],(50.00*i2r(l8)),attack_type_hero,damage_type_normal
)elseendifif(xu7())thencall disabletrigger(gettriggeringtrigger())call
enabletrigger(tt)elseendifelsecall enabletrigger(tt)call
disabletrigger(gettriggeringtrigger())endifendfunctionfunction xx7 takes nothing
returns nothingset rt=createtrigger()call disabletrigger(rt)call
triggerregistertimereventperiodic(rt,0.04)call triggeraddaction(rt,function xw7)
endfunctionfunction xy7 takes nothing returns booleanif(not(o8==0))thenreturn
falseendifreturn trueendfunctionfunction x27 takes nothing returns nothingcall
setunitpositionloc(n8[2],getunitloc(p8[o8]))call removeunit(p8[o8])set o8=(o8-1)
if(xy7())thencall pauseunitbj(false,n8[2])call pauseunitbj(false,n8[1])call
setunittimescalepercent(n8[2],100.00)set n8[2]=nullset n8[1]=nullcall
disabletrigger(gettriggeringtrigger())elseendifendfunctionfunction xz7 takes
nothing returns nothingset tt=createtrigger()call disabletrigger(tt)call
triggerregistertimereventperiodic(tt,0.04)call triggeraddaction(tt,function x27)
endfunctionfunction x_7 takes nothing returns boolean
if(not(unithasitem(getattackedunitbj(),getitemoftypefromunitbj(getattackedunitbj()
,1227895622))==true))thenreturn falseendifreturn trueendfunctionfunction y47 takes
nothing returns booleanreturn(zf==1)endfunctionfunction y77 takes nothing returns
booleanreturn(zf==1)endfunctionfunction y87 takes nothing returns boolean
return(zf==1)endfunctionfunction y97 takes nothing returns nothingset
zf=getrandomint(1,10)if(y47())thencall
setunitlifebj(getattackedunitbj(),(getunitstateswap(unit_state_life,getattackeduni
tbj())+100.00))elsecall donothing()endifif(y77())thencall
addspecialeffectlocbj(getunitloc(getattackedunitbj()),"abilities\\spells\\undead\\
replenishmana\\replenishmanacasteroverhead.mdl")elsecall donothing()endif
if(y87())thencall destroyeffectbj(getlastcreatedeffectbj())elsecall donothing()
endifendfunctionfunction yd7 takes nothing returns nothingset ut=createtrigger()
call triggerregisteranyuniteventbj(ut,event_player_unit_attacked)call
triggeraddcondition(ut,condition(function x_7))call triggeraddaction(ut,function
y97)endfunctionfunction ye7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895383))thenreturn falseendif
return trueendfunctionfunction yf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895383)
endfunctionfunction yg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895383)
endfunctionfunction yh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895383)
endfunctionfunction yi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895383)
endfunctionfunction yj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895383)
endfunctionfunction yk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895383)
endfunctionfunction ym7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function yn7 takes nothing returns boolean
if(not(isunitally(getmanipulatingunit(),player(10))==true))thenreturn falseendif
return trueendfunctionfunction yo7 takes nothing returns booleanif(not(p4>3))then
return falseendifreturn trueendfunctionfunction yp7 takes nothing returns nothing
set p4=0if(yf7())thenset p4=(p4+1)elsecall donothing()endifif(yg7())thenset
p4=(p4+1)elsecall donothing()endifif(yh7())thenset p4=(p4+1)elsecall donothing()
endifif(yi7())thenset p4=(p4+1)elsecall donothing()endifif(yj7())thenset p4=(p4+1)
elsecall donothing()endifif(yk7())thenset p4=(p4+1)elsecall donothing()endif
if(yo7())thencall questmessagebj(getplayersall(),bj_questmessage_completed,"a
legend has been summoned from the dead !!!")call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895383))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895383))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895383))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895383))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895383))call
displaytexttoforce(wa(condition(function ym7)),"all your legendary swords have
suddenly disappeared !")if(yn7())thencall
createnunitsatloc(1,1211118130,player(10),getrectcenter(vg),bj_unit_facing)set
pe=getlastcreatedunit()call setherolevelbj(pe,50,false)call
issuepointorderlocbj(pe,"attack",getrandomlocinrect(hg))elsecall
createnunitsatloc(1,1211118130,player(11),getrectcenter(xg),bj_unit_facing)set
pe=getlastcreatedunit()call setherolevelbj(pe,50,false)call
issuepointorderlocbj(pe,"attack",getrandomlocinrect(gg))endifreturnelseendif
endfunctionfunction yq7 takes nothing returns nothingset vt=createtrigger()call
triggerregisteranyuniteventbj(vt,event_player_unit_pickup_item)call
triggeraddcondition(vt,condition(function ye7))call triggeraddaction(vt,function
yp7)endfunctionfunction yr7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1885826401))thenreturn falseendif
return trueendfunctionfunction ys7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yt7 takes
nothing returns booleanif(not ys7())thenreturn falseendifreturn trueendfunction
function yu7 takes nothing returns nothingif(yt7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yv7 takes
nothing returns nothingset wt=createtrigger()call
triggerregisteranyuniteventbj(wt,event_player_unit_pickup_item)call
triggeraddcondition(wt,condition(function yr7))call triggeraddaction(wt,function
yu7)endfunctionfunction yw7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1885825125))thenreturn falseendif
return trueendfunctionfunction yx7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yy7 takes
nothing returns booleanif(not yx7())thenreturn falseendifreturn trueendfunction
function yz7 takes nothing returns nothingif(yy7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ya7 takes
nothing returns nothingset xt=createtrigger()call
triggerregisteranyuniteventbj(xt,event_player_unit_pickup_item)call
triggeraddcondition(xt,condition(function yw7))call triggeraddaction(xt,function
yz7)endfunctionfunction ya7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227894837))thenreturn falseendif
return trueendfunctionfunction yb7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction
yb7 takes nothing returns booleanif(not yb7())thenreturn falseendifreturn true
endfunctionfunction yc7 takes nothing returns nothingif(yb7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yc7 takes
nothing returns nothingset yt=createtrigger()call
triggerregisteranyuniteventbj(yt,event_player_unit_pickup_item)call
triggeraddcondition(yt,condition(function ya7))call triggeraddaction(yt,function
yc7)endfunctionfunction yd7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227894836))thenreturn falseendif
return trueendfunctionfunction ye7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction y37 takes
nothing returns booleanif(not ye7())thenreturn falseendifreturn trueendfunction
function yf7 takes nothing returns nothingif(y37())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yg7 takes
nothing returns nothingset zt=createtrigger()call
triggerregisteranyuniteventbj(zt,event_player_unit_pickup_item)call
triggeraddcondition(zt,condition(function yd7))call triggeraddaction(zt,function
yf7)endfunctionfunction y67 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227894833))thenreturn falseendif
return trueendfunctionfunction yh7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yi7 takes
nothing returns booleanif(not yh7())thenreturn falseendifreturn trueendfunction
function yl7 takes nothing returns nothingif(yi7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction y17 takes
nothing returns nothingset at=createtrigger()call
triggerregisteranyuniteventbj(at,event_player_unit_pickup_item)call
triggeraddcondition(at,condition(function y67))call triggeraddaction(at,function
yl7)endfunctionfunction yj7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227894835))thenreturn falseendif
return trueendfunctionfunction yk7 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yl7 takes
nothing returns booleanif(not yk7())thenreturn falseendifreturn trueendfunction
function ym7 takes nothing returns nothingif(yl7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yn7 takes
nothing returns nothingset at=createtrigger()call
triggerregisteranyuniteventbj(at,event_player_unit_pickup_item)call
triggeraddcondition(at,condition(function yj7))call triggeraddaction(at,function
ym7)endfunctionfunction yo7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==2003335012))thenreturn falseendif
return trueendfunctionfunction y07 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yp7 takes
nothing returns booleanif(not y07())thenreturn falseendifreturn trueendfunction
function yq7 takes nothing returns nothingif(yp7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yr7 takes
nothing returns nothingset bt=createtrigger()call
triggerregisteranyuniteventbj(bt,event_player_unit_pickup_item)call
triggeraddcondition(bt,condition(function yo7))call triggeraddaction(bt,function
yq7)endfunctionfunction ys7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1752394870))thenreturn falseendif
return trueendfunctionfunction y57 takes nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==getitemtypeid(get
manipulateditem())))thenreturn falseendifreturn trueendfunctionfunction yt7 takes
nothing returns booleanif(not y57())thenreturn falseendifreturn trueendfunction
function yu7 takes nothing returns nothingif(yt7())thenset
f8=getitemcharges(getmanipulateditem())set p4=getmanipulateditem()call
unitremoveitemswapped(p4,getmanipulatingunit())call removeitem(p4)set
q4=getitemcharges(unititeminslotbj(getmanipulatingunit(),6))call
setitemcharges(unititeminslotbj(getmanipulatingunit(),6),(q4+f8))call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction yv7 takes
nothing returns nothingset bt=createtrigger()call
triggerregisteranyuniteventbj(bt,event_player_unit_pickup_item)call
triggeraddcondition(bt,condition(function ys7))call triggeraddaction(bt,function
yu7)endfunctionfunction yw7 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1852138344))thenreturn falseendifreturn
trueendfunctionfunction yx7 takes nothing returns boolean
return(getowningplayer(getenteringunit())==getfilterplayer())endfunctionfunction
yy7 takes nothing returns nothingcall
setunitpositionloc(getenteringunit(),getrectcenter(lg))call
displaytexttoforce(wa(condition(function yx7)),"mules cannot go near book stores!
the shop owner will get angry!")endfunctionfunction y27 takes nothing returns
nothingset ct=createtrigger()call triggerregisterenterrectsimple(ct,ig)call
triggeraddcondition(ct,condition(function yw7))call triggeraddaction(ct,function
yy7)endfunctionfunction yz7 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652085))thenreturn falseendifreturn
trueendfunctionfunction y_7 takes nothing returns boolean
return(getowningplayer(getenteringunit())==getfilterplayer())endfunctionfunction
z47 takes nothing returns nothingcall
setunitpositionloc(getenteringunit(),getrectcenter(lg))call
displaytexttoforce(wa(condition(function y_7)),"courier-nins are too busy
delivering items! they have no time to visit the book store!")endfunctionfunction
z77 takes nothing returns nothingset ct=createtrigger()call
triggerregisterenterrectsimple(ct,ig)call
triggeraddcondition(ct,condition(function yz7))call triggeraddaction(ct,function
z47)endfunctionfunction z87 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1747989070))thenreturn falseendifreturn
trueendfunctionfunction z97 takes nothing returns boolean
return(getowningplayer(getenteringunit())==getfilterplayer())endfunctionfunction
zd7 takes nothing returns nothingcall
setunitpositionloc(getenteringunit(),getrectcenter(lg))call
displaytexttoforce(wa(condition(function z97)),"ryounins dare not go near book
stores for fear of staining pages with cooking oil...")endfunctionfunction ze7
takes nothing returns nothingset dt=createtrigger()call
triggerregisterenterrectsimple(dt,ig)call
triggeraddcondition(dt,condition(function z87))call triggeraddaction(dt,function
zd7)endfunctionfunction zf7 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652081))thenreturn falseendifreturn
trueendfunctionfunction zg7 takes nothing returns boolean
return(getowningplayer(getenteringunit())==getfilterplayer())endfunctionfunction
zh7 takes nothing returns nothingcall
setunitpositionloc(getenteringunit(),getrectcenter(lg))call
displaytexttoforce(wa(condition(function zg7)),"ferrets cannot go near book
stores! the shop owner will get angry!")endfunctionfunction zi7 takes nothing
returns nothingset et=createtrigger()call triggerregisterenterrectsimple(et,ig)
call
triggeraddcondition(et,condition(function zf7))call triggeraddaction(et,function
zh7)endfunctionfunction zj7 takes nothing returns boolean
if(not(getspellabilityid()==1093677362))thenreturn falseendifreturn true
endfunctionfunction zk7 takes nothing returns nothingcall
unitresetcooldown(getspellabilityunit())endfunctionfunction zm7 takes nothing
returns nothingset ft=createtrigger()call
triggerregisteranyuniteventbj(ft,event_player_unit_spell_finish)call
triggeraddcondition(ft,condition(function zj7))call triggeraddaction(ft,function
zk7)endfunctionfunction zn7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==2002874980)endfunctionfunction zo7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894854)endfunctionfunction zp7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1684370275)endfunctionfunction zq7
takes nothing returns booleanreturn getbooleanor(zo7(),zp7())endfunctionfunction
zr7 takes nothing returns booleanif(not getbooleanor(zn7(),zq7()))thenreturn false
endifreturn trueendfunctionfunction zs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==2002874980)
endfunctionfunction zt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==2002874980)
endfunctionfunction zu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==2002874980)
endfunctionfunction zv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==2002874980)
endfunctionfunction zw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==2002874980)
endfunctionfunction zx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==2002874980)
endfunctionfunction zy7 takes nothing returns booleanreturn
getbooleanor(zw7(),zx7())endfunctionfunction zz7 takes nothing returns boolean
return getbooleanor(zv7(),zy7())endfunctionfunction za7 takes nothing returns
booleanreturn getbooleanor(zu7(),zz7())endfunctionfunction za7 takes nothing
returns booleanreturn getbooleanor(zt7(),za7())endfunctionfunction zb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1684370275)
endfunctionfunction zb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1684370275)
endfunctionfunction zc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1684370275)
endfunctionfunction zc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1684370275)
endfunctionfunction zd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1684370275)
endfunctionfunction ze7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1684370275)
endfunctionfunction z37 takes nothing returns booleanreturn
getbooleanor(zd7(),ze7())endfunctionfunction zf7 takes nothing returns boolean
return getbooleanor(zc7(),z37())endfunctionfunction zg7 takes nothing returns
booleanreturn getbooleanor(zc7(),zf7())endfunctionfunction z67 takes nothing
returns booleanreturn getbooleanor(zb7(),zg7())endfunctionfunction zh7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894854)
endfunctionfunction zi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894854)
endfunctionfunction zl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894854)
endfunctionfunction z17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894854)
endfunctionfunction zj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894854)
endfunctionfunction zk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894854)
endfunctionfunction zl7 takes nothing returns booleanreturn
getbooleanor(zj7(),zk7())endfunctionfunction zm7 takes nothing returns boolean
return getbooleanor(z17(),zl7())endfunctionfunction zn7 takes nothing returns
booleanreturn getbooleanor(zl7(),zm7())endfunctionfunction zo7 takes nothing
returns booleanreturn getbooleanor(zi7(),zn7())endfunctionfunction z07 takes
nothing returns booleanif(not getbooleanor(zs7(),za7()))thenreturn falseendif
if(not getbooleanor(zb7(),z67()))thenreturn falseendifif(not
getbooleanor(zh7(),zo7()))thenreturn falseendifreturn trueendfunctionfunction zp7
takes nothing returns booleanif(not z07())thenreturn falseendifreturn true
endfunctionfunction zq7 takes nothing returns nothingif(zp7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),2002874980))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1684370275))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894854))call
createitemloc(1227894855,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction zr7 takes
nothing returns nothingset gt=createtrigger()call
triggerregisteranyuniteventbj(gt,event_player_unit_pickup_item)call
triggeraddcondition(gt,condition(function zr7))call triggeraddaction(gt,function
zq7)endfunctionfunction zs7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895120)endfunctionfunction z57
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1885891700)endfunctionfunction zt7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1803118440)endfunctionfunction zu7
takes nothing returns booleanreturn getbooleanor(z57(),zt7())endfunctionfunction
zv7 takes nothing returns booleanif(not getbooleanor(zs7(),zu7()))thenreturn false
endifreturn trueendfunctionfunction zw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1803118440)
endfunctionfunction zx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1803118440)
endfunctionfunction zy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1803118440)
endfunctionfunction z27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1803118440)
endfunctionfunction zz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1803118440)
endfunctionfunction z_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1803118440)
endfunctionfunction a47 takes nothing returns booleanreturn
getbooleanor(zz7(),z_7())endfunctionfunction a77 takes nothing returns boolean
return getbooleanor(z27(),a47())endfunctionfunction a87 takes nothing returns
booleanreturn getbooleanor(zy7(),a77())endfunctionfunction a97 takes nothing
returns booleanreturn getbooleanor(zx7(),a87())endfunctionfunction ad7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1885891700)
endfunctionfunction ae7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1885891700)
endfunctionfunction af7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1885891700)
endfunctionfunction ag7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1885891700)
endfunctionfunction ah7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1885891700)
endfunctionfunction ai7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1885891700)
endfunctionfunction aj7 takes nothing returns booleanreturn
getbooleanor(ah7(),ai7())endfunctionfunction ak7 takes nothing returns boolean
return getbooleanor(ag7(),aj7())endfunctionfunction am7 takes nothing returns
booleanreturn getbooleanor(af7(),ak7())endfunctionfunction an7 takes nothing
returns booleanreturn getbooleanor(ae7(),am7())endfunctionfunction ao7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895120)
endfunctionfunction ap7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895120)
endfunctionfunction aq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895120)
endfunctionfunction ar7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895120)
endfunctionfunction as7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895120)
endfunctionfunction at7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895120)
endfunctionfunction au7 takes nothing returns booleanreturn
getbooleanor(as7(),at7())endfunctionfunction av7 takes nothing returns boolean
return getbooleanor(ar7(),au7())endfunctionfunction aw7 takes nothing returns
booleanreturn getbooleanor(aq7(),av7())endfunctionfunction ax7 takes nothing
returns booleanreturn getbooleanor(ap7(),aw7())endfunctionfunction ay7 takes
nothing returns booleanif(not getbooleanor(zw7(),a97()))thenreturn falseendif
if(not getbooleanor(ad7(),an7()))thenreturn falseendifif(not
getbooleanor(ao7(),ax7()))thenreturn falseendifreturn trueendfunctionfunction az7
takes nothing returns booleanif(not ay7())thenreturn falseendifreturn true
endfunctionfunction aa7 takes nothing returns nothingif(az7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1803118440))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1885891700))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895120))call
createitemloc(1650878578,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction aa7 takes
nothing returns nothingset ht=createtrigger()call
triggerregisteranyuniteventbj(ht,event_player_unit_pickup_item)call
triggeraddcondition(ht,condition(function zv7))call triggeraddaction(ht,function
aa7)endfunctionfunction ab7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1214344551)endfunctionfunction ab7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1328558166)endfunctionfunction ac7
takes nothing returns booleanreturn getbooleanor(ab7(),ab7())endfunctionfunction
ac7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1164666213)endfunctionfunction ad7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1211117634)endfunctionfunction ae7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1429221429)endfunctionfunction a37
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1211117617)endfunctionfunction af7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1429221444)endfunctionfunction ag7
takes nothing returns booleanreturn getbooleanor(a37(),af7())endfunctionfunction
a67 takes nothing returns booleanreturn getbooleanor(ae7(),ag7())endfunction
function ah7 takes nothing returns booleanreturn getbooleanor(ad7(),a67())
endfunctionfunction ai7 takes nothing returns booleanreturn
getbooleanor(ac7(),ah7())endfunctionfunction al7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1818784628))thenreturn falseendif
if(not getbooleanor(ac7(),ai7()))thenreturn falseendifreturn trueendfunction
function a17 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function aj7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function a17)),"orochimaru, raikage, arashi,
yondaime, kagerou, seimei and tsunade cannot use the hexagonal crystal!")
endfunctionfunction ak7 takes nothing returns nothingset it=createtrigger()call
triggerregisteranyuniteventbj(it,event_player_unit_pickup_item)call
triggeraddcondition(it,condition(function al7))call triggeraddaction(it,function
aj7)endfunctionfunction al7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1429221444)endfunctionfunction am7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1848652085)endfunctionfunction an7
takes nothing returns booleanreturn getbooleanor(al7(),am7())endfunctionfunction
ao7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1311780940)endfunctionfunction a07
takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1634626408))thenreturn falseendif
if(not getbooleanor(an7(),ao7()))thenreturn falseendifreturn trueendfunction
function ap7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function aq7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function ap7)),"chiyo, courier-nins and kagerou
cannot use the curry of life !")endfunctionfunction ar7 takes nothing returns
nothingset lt=createtrigger()call
triggerregisteranyuniteventbj(lt,event_player_unit_pickup_item)call
triggeraddcondition(lt,condition(function a07))call triggeraddaction(lt,function
aq7)endfunctionfunction as7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895365)endfunctionfunction a57
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895366)endfunctionfunction at7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895367)endfunctionfunction au7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895368)endfunctionfunction av7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895369)endfunctionfunction aw7
takes nothing returns booleanreturn getbooleanor(au7(),av7())endfunctionfunction
ax7 takes nothing returns booleanreturn getbooleanor(at7(),aw7())endfunction
function ay7 takes nothing returns booleanreturn getbooleanor(a57(),ax7())
endfunctionfunction a27 takes nothing returns booleanif(not
getbooleanor(as7(),ay7()))thenreturn falseendif
if(not(getunittypeid(getmanipulatingunit())!=1211117910))thenreturn falseendif
return trueendfunctionfunction az7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function a_7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function az7)),"only kakuzu can carry his own
bounty. you may however, destroy it.")endfunctionfunction a47 takes nothing
returns nothingset jt=createtrigger()call
triggerregisteranyuniteventbj(jt,event_player_unit_pickup_item)call
triggeraddcondition(jt,condition(function a27))call triggeraddaction(jt,function
a_7)endfunctionfunction a77 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1429221444)endfunctionfunction a87
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1311780940)endfunctionfunction a97
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1848652085)endfunctionfunction ad7
takes nothing returns booleanreturn getbooleanor(a87(),a97())endfunctionfunction
ae7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895125))thenreturn falseendif
if(not getbooleanor(a77(),ad7()))thenreturn falseendifreturn trueendfunction
function af7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function ag7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function af7)),"chiyo, courier-nins and kagerou
cannot carry the old helm !")endfunctionfunction ah7 takes nothing returns nothing
set kt=createtrigger()call
triggerregisteranyuniteventbj(kt,event_player_unit_pickup_item)call
triggeraddcondition(kt,condition(function ae7))call triggeraddaction(kt,function
ag7)endfunctionfunction ai7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1429221444)endfunctionfunction aj7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1311780940)endfunctionfunction ak7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1848652085)endfunctionfunction am7
takes nothing returns booleanreturn getbooleanor(aj7(),ak7())endfunctionfunction
an7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895122))thenreturn falseendif
if(not getbooleanor(ai7(),am7()))thenreturn falseendifreturn trueendfunction
function ao7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function ap7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function ao7)),"chiyo, courier-nins and kagerou
cannot wear the bijyuu helm !")endfunctionfunction aq7 takes nothing returns
nothingset lt=createtrigger()call
triggerregisteranyuniteventbj(lt,event_player_unit_pickup_item)call
triggeraddcondition(lt,condition(function an7))call triggeraddaction(lt,function
ap7)endfunctionfunction ar7 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1211118133)endfunctionfunction as7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1852138344)endfunctionfunction at7
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1848652085)endfunctionfunction au7
takes nothing returns booleanreturn getbooleanor(as7(),at7())endfunctionfunction
av7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==2003397740))thenreturn falseendif
if(not getbooleanor(ar7(),au7()))thenreturn falseendifreturn trueendfunction
function aw7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function ax7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function aw7)),"yakumo, couriers and mules cannot
use forbidden scrolls !")endfunctionfunction ay7 takes nothing returns nothingset
mt=createtrigger()call
triggerregisteranyuniteventbj(mt,event_player_unit_pickup_item)call
triggeraddcondition(mt,condition(function av7))call triggeraddaction(mt,function
ax7)endfunctionfunction az7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895117)endfunctionfunction aa7
takes
nothing returns booleanreturn(getitemtypeid(getmanipulateditem())==1227895631)
endfunctionfunction aa7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1734700404)endfunctionfunction ab7
takes nothing returns booleanreturn getbooleanor(aa7(),aa7())endfunctionfunction
ab7 takes nothing returns booleanif(not getbooleanor(az7(),ab7()))thenreturn false
endifreturn trueendfunctionfunction ac7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895117)
endfunctionfunction ac7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1734700404)
endfunctionfunction ad7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895631)
endfunctionfunction ae7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895117)
endfunctionfunction a37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1734700404)
endfunctionfunction af7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895631)
endfunctionfunction ag7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895117)
endfunctionfunction a67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1734700404)
endfunctionfunction ah7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895631)
endfunctionfunction ai7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895117)
endfunctionfunction al7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1734700404)
endfunctionfunction a17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895631)
endfunctionfunction aj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895117)
endfunctionfunction ak7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1734700404)
endfunctionfunction al7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895631)
endfunctionfunction am7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895117)
endfunctionfunction an7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1734700404)
endfunctionfunction ao7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895631)
endfunctionfunction a07 takes nothing returns boolean
return(getitemtypeid(t)==1227895117)endfunctionfunction ap7 takes nothing returns
booleanreturn(getitemtypeid(t)==1734700404)endfunctionfunction aq7 takes nothing
returns booleanreturn(getitemtypeid(t)==1227895631)endfunctionfunction ar7 takes
nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function as7 takes nothing returns booleanif(not(p4>2))thenreturn falseendifreturn
trueendfunctionfunction a57 takes nothing returns nothingset p4=0if(ac7())thenset
p4=(p4+1)elsecall donothing()endifif(ac7())thenset p4=(p4+1)elsecall donothing()
endifif(ad7())thenset p4=(p4+1)elsecall donothing()endifif(ae7())thenset p4=(p4+1)
elsecall donothing()endifif(a37())thenset p4=(p4+1)elsecall donothing()endif
if(af7())thenset p4=(p4+1)elsecall donothing()endifif(ag7())thenset p4=(p4+1)else
call donothing()endifif(a67())thenset p4=(p4+1)elsecall donothing()endif
if(ah7())thenset p4=(p4+1)elsecall donothing()endifif(ai7())thenset p4=(p4+1)else
call donothing()endifif(al7())thenset p4=(p4+1)elsecall donothing()endif
if(a17())thenset p4=(p4+1)elsecall donothing()endifif(aj7())thenset p4=(p4+1)else
call donothing()endifif(ak7())thenset p4=(p4+1)elsecall donothing()endif
if(al7())thenset p4=(p4+1)elsecall donothing()endifif(am7())thenset p4=(p4+1)else
call donothing()endifif(an7())thenset p4=(p4+1)elsecall donothing()endif
if(ao7())thenset p4=(p4+1)elsecall donothing()endifif(as7())thenset
s=getmanipulatingunit()set t=getmanipulateditem()if(a07())thencall
adjustplayerstatebj(2000,getowningplayer(s),player_state_resource_gold)elsecall
donothing()endifif(ap7())thencall
adjustplayerstatebj(2350,getowningplayer(s),player_state_resource_gold)elsecall
donothing()endifif(aq7())thencall
adjustplayerstatebj(4250,getowningplayer(s),player_state_resource_gold)elsecall
donothing()endifcall unitremoveitemswapped(t,s)call removeitem(t)call
displaytexttoforce(wa(condition(function ar7)),"you have already operated both
eyes !")returnelseendifendfunctionfunction at7 takes nothing returns nothingset
nt=createtrigger()call
triggerregisteranyuniteventbj(nt,event_player_unit_pickup_item)call
triggeraddcondition(nt,condition(function ab7))call triggeraddaction(nt,function
a57)endfunctionfunction au7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895118))thenreturn falseendif
return trueendfunctionfunction av7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895118)
endfunctionfunction aw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895118)
endfunctionfunction ax7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895118)
endfunctionfunction ay7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895118)
endfunctionfunction a27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895118)
endfunctionfunction az7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895118)
endfunctionfunction a_7 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function b47 takes nothing returns booleanif(not(p4>1))thenreturn falseendifreturn
trueendfunctionfunction b77 takes nothing returns nothingset p4=0if(av7())thenset
p4=(p4+1)elsecall donothing()endifif(aw7())thenset p4=(p4+1)elsecall donothing()
endifif(ax7())thenset p4=(p4+1)elsecall donothing()endifif(ay7())thenset p4=(p4+1)
elsecall donothing()endifif(a27())thenset p4=(p4+1)elsecall donothing()endif
if(az7())thenset p4=(p4+1)elsecall donothing()endifif(b47())thenset
s=getmanipulatingunit()set t=getmanipulateditem()call
adjustplayerstatebj(2750,getowningplayer(s),player_state_resource_gold)call
unitremoveitemswapped(t,s)call removeitem(t)call
displaytexttoforce(wa(condition(function a_7)),"you have already a bijyuu inside
of you !")returnelseendifendfunctionfunction b87 takes nothing returns nothingset
ot=createtrigger()call
triggerregisteranyuniteventbj(ot,event_player_unit_pickup_item)call
triggeraddcondition(ot,condition(function au7))call triggeraddaction(ot,function
b77)endfunctionfunction b97 takes nothing returns booleanif(not(cf[5]==0))then
return falseendifreturn trueendfunctionfunction bd7 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895606))thenreturn falseendif
return trueendfunctionfunction be7 takes nothing returns boolean
if(not(cf[8]==0))thenreturn falseendifreturn trueendfunctionfunction bf7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895608))thenreturn falseendif
return trueendfunctionfunction bg7 takes nothing returns boolean
if(not(cf[1]==0))thenreturn falseendifreturn trueendfunctionfunction bh7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895602))thenreturn falseendif
return trueendfunctionfunction bi7 takes nothing returns boolean
if(not(cf[9]==0))thenreturn falseendifreturn trueendfunctionfunction bj7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895609))thenreturn falseendif
return trueendfunctionfunction bk7 takes nothing returns boolean
if(not(cf[2]==0))thenreturn falseendifreturn trueendfunctionfunction bm7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895603))thenreturn falseendif
return trueendfunctionfunction bn7 takes nothing returns boolean
if(not(cf[6]==0))thenreturn falseendifreturn trueendfunctionfunction bo7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895601))thenreturn falseendif
return trueendfunctionfunction bp7 takes nothing returns boolean
if(not(cf[3]==0))thenreturn falseendifreturn trueendfunctionfunction bq7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895604))thenreturn falseendif
return trueendfunctionfunction br7 takes nothing returns boolean
if(not(cf[7]==0))thenreturn falseendifreturn trueendfunctionfunction bs7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895607))thenreturn falseendif
return trueendfunctionfunction bt7 takes nothing returns boolean
if(not(cf[4]==0))thenreturn falseendifreturn trueendfunctionfunction bu7 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895605))thenreturn falseendif
return trueendfunctionfunction bv7 takes nothing returns nothingif(bd7())then
if(b97())thenset cf[5]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the five tails."))
elseendifelseendifif(bf7())thenif(be7())thenset
cf[8]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the eight
tails."))elseendifelseendifif(bh7())thenif(bg7())thenset cf[1]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the one tail."))
elseendifelseendifif(bj7())thenif(bi7())thenset cf[9]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the nine tails."))
elseendifelseendifif(bm7())thenif(bk7())thenset cf[2]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the two tails."))
elseendifelseendifif(bo7())thenif(bn7())thenset cf[6]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the six tails."))
elseendifelseendifif(bq7())thenif(bp7())thenset cf[3]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the three
tails."))elseendifelseendifif(bs7())thenif(br7())thenset cf[7]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the seven
tails."))elseendifelseendifif(bu7())thenif(bt7())thenset cf[4]=1call
questmessagebj(getplayersall(),bj_questmessage_itemacquired,(getplayername(getowni
ngplayer(getmanipulatingunit()))+" has harvested the essence of the four tails."))
elseendifelseendifendfunctionfunction bw7 takes nothing returns nothingset
pt=createtrigger()call
triggerregisteranyuniteventbj(pt,event_player_unit_pickup_item)call
triggeraddaction(pt,function bv7)endfunctionfunction bx7 takes nothing returns
booleanif(not(getitemtypeid(getmanipulateditem())==1227895097))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())!=1215722344))thenreturn false
endifreturn trueendfunctionfunction by7 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getmanipulatingunit()))endfunction
function bz7 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function by7)),"only the third hokage may wield
the monkey bar !")endfunctionfunction ba7 takes nothing returns nothingset
qt=createtrigger()call
triggerregisteranyuniteventbj(qt,event_player_unit_pickup_item)call
triggeraddcondition(qt,condition(function bx7))call triggeraddaction(qt,function
bz7)endfunctionfunction ba7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895382)endfunctionfunction bb7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1734567276)endfunctionfunction bb7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==2002874980)endfunctionfunction bc7
takes nothing returns booleanreturn getbooleanor(bb7(),bb7())endfunctionfunction
bc7 takes nothing returns booleanif(not getbooleanor(ba7(),bc7()))thenreturn false
endifreturn trueendfunctionfunction bd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==2002874980)
endfunctionfunction be7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==2002874980)
endfunctionfunction b37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==2002874980)
endfunctionfunction bf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==2002874980)
endfunctionfunction bg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==2002874980)
endfunctionfunction b67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==2002874980)
endfunctionfunction bh7 takes nothing returns booleanreturn
getbooleanor(bg7(),b67())endfunctionfunction bi7 takes nothing returns boolean
return getbooleanor(bf7(),bh7())endfunctionfunction bl7 takes nothing returns
booleanreturn getbooleanor(b37(),bi7())endfunctionfunction b17 takes nothing
returns booleanreturn getbooleanor(be7(),bl7())endfunctionfunction bj7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1734567276)
endfunctionfunction bk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1734567276)
endfunctionfunction bl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1734567276)
endfunctionfunction bm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1734567276)
endfunctionfunction bn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1734567276)
endfunctionfunction bo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1734567276)
endfunctionfunction b07 takes nothing returns booleanreturn
getbooleanor(bn7(),bo7())endfunctionfunction bp7 takes nothing returns boolean
return getbooleanor(bm7(),b07())endfunctionfunction bq7 takes nothing returns
booleanreturn getbooleanor(bl7(),bp7())endfunctionfunction br7 takes nothing
returns booleanreturn getbooleanor(bk7(),bq7())endfunctionfunction bs7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895382)
endfunctionfunction b57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895382)
endfunctionfunction bt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895382)
endfunctionfunction bu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895382)
endfunctionfunction bv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895382)
endfunctionfunction bw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895382)
endfunctionfunction bx7 takes nothing returns booleanreturn
getbooleanor(bv7(),bw7())endfunctionfunction by7 takes nothing returns boolean
return getbooleanor(bu7(),bx7())endfunctionfunction b27 takes nothing returns
booleanreturn getbooleanor(bt7(),by7())endfunctionfunction bz7 takes nothing
returns booleanreturn getbooleanor(b57(),b27())endfunctionfunction b_7 takes
nothing returns booleanif(not getbooleanor(bd7(),b17()))thenreturn falseendif
if(not getbooleanor(bj7(),br7()))thenreturn falseendifif(not
getbooleanor(bs7(),bz7()))thenreturn falseendifreturn trueendfunctionfunction b47
takes nothing returns booleanif(not b_7())thenreturn falseendifreturn true
endfunctionfunction b77 takes nothing returns nothingif(b47())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1734567276))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),2002874980))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895382))call
createitemloc(1227895383,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction b87 takes
nothing returns nothingset rt=createtrigger()call
triggerregisteranyuniteventbj(rt,event_player_unit_pickup_item)call
triggeraddcondition(rt,condition(function bc7))call triggeraddaction(rt,function
b77)endfunctionfunction b97 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895621)endfunctionfunction bd7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1885433203)endfunctionfunction be7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895618)endfunctionfunction bf7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895619)endfunctionfunction bg7
takes nothing returns booleanreturn getbooleanor(be7(),bf7())endfunctionfunction
bh7 takes nothing returns booleanreturn getbooleanor(bd7(),bg7())endfunction
function bi7 takes nothing returns booleanif(not getbooleanor(b97(),bh7()))then
return falseendif
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifreturn trueendfunctionfunction bj7 takes nothing returns boolean
return(isunitally(ee,player(10))==true)endfunctionfunction bk7 takes nothing
returns nothingcall
selectunitforplayersingle(getenumunit(),getowningplayer(getmanipulatingunit()))
endfunctionfunction bm7 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction bn7
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1316122466)
endfunctionfunction bo7 takes nothing returns booleanreturn
getbooleanand(bm7(),bn7())endfunctionfunction bp7 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction bq7 takes nothing returns
nothingcall cameraseteqnoiseforplayer(getenumplayer(),3)endfunctionfunction br7
takes nothing returns nothingcall cameraclearnoiseforplayer(getenumplayer())
endfunctionfunction bs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895621)
endfunctionfunction bt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895621)
endfunctionfunction
bu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895621)
endfunctionfunction bv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895621)
endfunctionfunction bw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895621)
endfunctionfunction bx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895621)
endfunctionfunction by7 takes nothing returns booleanreturn
getbooleanor(bw7(),bx7())endfunctionfunction bz7 takes nothing returns boolean
return getbooleanor(bv7(),by7())endfunctionfunction ba7 takes nothing returns
booleanreturn getbooleanor(bu7(),bz7())endfunctionfunction ba7 takes nothing
returns booleanreturn getbooleanor(bt7(),ba7())endfunctionfunction bb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895618)
endfunctionfunction bb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895618)
endfunctionfunction bc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895618)
endfunctionfunction bc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895618)
endfunctionfunction bd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895618)
endfunctionfunction be7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895618)
endfunctionfunction b37 takes nothing returns booleanreturn
getbooleanor(bd7(),be7())endfunctionfunction bf7 takes nothing returns boolean
return getbooleanor(bc7(),b37())endfunctionfunction bg7 takes nothing returns
booleanreturn getbooleanor(bc7(),bf7())endfunctionfunction b67 takes nothing
returns booleanreturn getbooleanor(bb7(),bg7())endfunctionfunction bh7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1885433203)
endfunctionfunction bi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1885433203)
endfunctionfunction bl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1885433203)
endfunctionfunction b17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1885433203)
endfunctionfunction bj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1885433203)
endfunctionfunction bk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1885433203)
endfunctionfunction bl7 takes nothing returns booleanreturn
getbooleanor(bj7(),bk7())endfunctionfunction bm7 takes nothing returns boolean
return getbooleanor(b17(),bl7())endfunctionfunction bn7 takes nothing returns
booleanreturn getbooleanor(bl7(),bm7())endfunctionfunction bo7 takes nothing
returns booleanreturn getbooleanor(bi7(),bn7())endfunctionfunction b07 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895619)
endfunctionfunction bp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895619)
endfunctionfunction bq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895619)
endfunctionfunction br7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895619)
endfunctionfunction bs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895619)
endfunctionfunction b57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895619)
endfunctionfunction bt7 takes nothing returns booleanreturn
getbooleanor(bs7(),b57())endfunctionfunction bu7 takes nothing returns boolean
return getbooleanor(br7(),bt7())endfunctionfunction bv7 takes nothing returns
booleanreturn getbooleanor(bq7(),bu7())endfunctionfunction bw7 takes nothing
returns booleanreturn getbooleanor(bp7(),bv7())endfunctionfunction bx7 takes
nothing returns booleanif(not getbooleanor(bs7(),ba7()))thenreturn falseendif
if(not getbooleanor(bb7(),b67()))thenreturn falseendifif(not
getbooleanor(bh7(),bo7()))thenreturn falseendifif(not
getbooleanor(b07(),bw7()))thenreturn falseendifreturn trueendfunctionfunction by7
takes nothing returns booleanif(not bx7())thenreturn falseendifreturn true
endfunctionfunction b27 takes nothing returns nothingif(by7())thenset
ee=getmanipulatingunit()call disabletrigger(gettriggeringtrigger())call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895621))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1885433203))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895618))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895619))if(bj7())then
set w4=cgelseset w4=dgendifcall setunitpositionloc(ee,getrectcenter(w4))call
pancameratotimedlocforplayer(getowningplayer(getmanipulatingunit()),getrectcenter(
w4),0)call unitremoveitemfromslotswapped(1,ee)call
unitremoveitemfromslotswapped(2,ee)call unitremoveitemfromslotswapped(3,ee)call
unitremoveitemfromslotswapped(4,ee)call unitremoveitemfromslotswapped(5,ee)call
unitremoveitemfromslotswapped(6,ee)set e=getherolevel(ee)call
createnunitsatloc(1,1316122466,getowningplayer(ee),getrectcenter(w4),bj_unit_facin
g)call setherolevelbj(getlastcreatedunit(),(e+15),true)set
j4[getconvertedplayerid(getowningplayer(ee))]=getlastcreatedunit()call
forgroupbj(pa(1316122466),function bk7)call
forgroupbj(ra(getowningplayer(ee),condition(function bo7)),function bp7)call
questmessagebj(getplayersall(),bj_questmessage_completed,"a mighty being has
actively joined the war!")call forforce(getplayersall(),function bq7)call uz(3.00)
call forforce(getplayersall(),function br7)call enabletrigger(to)call
enabletrigger(uo)call enabletrigger(sp)call enabletrigger(pp)call
enabletrigger(rp)call enabletrigger(qp)elseendifendfunctionfunction bz7 takes
nothing returns nothingset st=createtrigger()call
triggerregisteranyuniteventbj(st,event_player_unit_pickup_item)call
triggeraddcondition(st,condition(function bi7))call triggeraddaction(st,function
b27)endfunctionfunction b_7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895380)endfunctionfunction c47
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936220530)endfunctionfunction c77
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction c87
takes nothing returns booleanreturn getbooleanor(c47(),c77())endfunctionfunction
c97 takes nothing returns booleanif(not getbooleanor(b_7(),c87()))thenreturn false
endifreturn trueendfunctionfunction cd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction ce7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction cf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction cg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction ch7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction ci7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction cj7 takes nothing returns booleanreturn
getbooleanor(ch7(),ci7())endfunctionfunction ck7 takes nothing returns boolean
return getbooleanor(cg7(),cj7())endfunctionfunction cm7 takes nothing returns
booleanreturn getbooleanor(cf7(),ck7())endfunctionfunction cn7 takes nothing
returns booleanreturn getbooleanor(ce7(),cm7())endfunctionfunction co7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895380)
endfunctionfunction cp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895380)
endfunctionfunction cq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895380)
endfunctionfunction cr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895380)
endfunctionfunction cs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895380)
endfunctionfunction ct7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895380)
endfunctionfunction cu7 takes nothing returns booleanreturn
getbooleanor(cs7(),ct7())endfunctionfunction cv7 takes nothing returns boolean
return getbooleanor(cr7(),cu7())endfunctionfunction cw7 takes nothing returns
booleanreturn getbooleanor(cq7(),cv7())endfunctionfunction cx7 takes nothing
returns booleanreturn getbooleanor(cp7(),cw7())endfunctionfunction cy7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936220530)
endfunctionfunction cz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936220530)
endfunctionfunction ca7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936220530)
endfunctionfunction ca7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936220530)
endfunctionfunction
cb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936220530)
endfunctionfunction cb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936220530)
endfunctionfunction cc7 takes nothing returns booleanreturn
getbooleanor(cb7(),cb7())endfunctionfunction cc7 takes nothing returns boolean
return getbooleanor(ca7(),cc7())endfunctionfunction cd7 takes nothing returns
booleanreturn getbooleanor(ca7(),cc7())endfunctionfunction ce7 takes nothing
returns booleanreturn getbooleanor(cz7(),cd7())endfunctionfunction c37 takes
nothing returns booleanif(not getbooleanor(cd7(),cn7()))thenreturn falseendif
if(not getbooleanor(co7(),cx7()))thenreturn falseendifif(not
getbooleanor(cy7(),ce7()))thenreturn falseendifreturn trueendfunctionfunction cf7
takes nothing returns booleanif(not c37())thenreturn falseendifreturn true
endfunctionfunction cg7 takes nothing returns nothingif(cf7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936220530))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895380))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
createitemloc(1227895381,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction c67 takes
nothing returns nothingset tt=createtrigger()call
triggerregisteranyuniteventbj(tt,event_player_unit_pickup_item)call
triggeraddcondition(tt,condition(function c97))call triggeraddaction(tt,function
cg7)endfunctionfunction ch7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918986033)endfunctionfunction ci7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895092)endfunctionfunction cl7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction c17
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936749416)endfunctionfunction cj7
takes nothing returns booleanreturn getbooleanor(cl7(),c17())endfunctionfunction
ck7 takes nothing returns booleanreturn getbooleanor(ci7(),cj7())endfunction
function cl7 takes nothing returns booleanif(not getbooleanor(ch7(),ck7()))then
return falseendifreturn trueendfunctionfunction cm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918986033)
endfunctionfunction cn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918986033)
endfunctionfunction co7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918986033)
endfunctionfunction c07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918986033)
endfunctionfunction cp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918986033)
endfunctionfunction cq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918986033)
endfunctionfunction cr7 takes nothing returns booleanreturn
getbooleanor(cp7(),cq7())endfunctionfunction cs7 takes nothing returns boolean
return getbooleanor(c07(),cr7())endfunctionfunction c57 takes nothing returns
booleanreturn getbooleanor(co7(),cs7())endfunctionfunction ct7 takes nothing
returns booleanreturn getbooleanor(cn7(),c57())endfunctionfunction cu7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction cv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction cw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction cx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction cy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction c27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction cz7 takes nothing returns booleanreturn
getbooleanor(cy7(),c27())endfunctionfunction c_7 takes nothing returns boolean
return getbooleanor(cx7(),cz7())endfunctionfunction c47 takes nothing returns
booleanreturn getbooleanor(cw7(),c_7())endfunctionfunction c77 takes nothing
returns booleanreturn getbooleanor(cv7(),c47())endfunctionfunction c87 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936749416)
endfunctionfunction c97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936749416)
endfunctionfunction cd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936749416)
endfunctionfunction ce7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936749416)
endfunctionfunction cf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936749416)
endfunctionfunction cg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936749416)
endfunctionfunction ch7 takes nothing returns booleanreturn
getbooleanor(cf7(),cg7())endfunctionfunction ci7 takes nothing returns boolean
return getbooleanor(ce7(),ch7())endfunctionfunction cj7 takes nothing returns
booleanreturn getbooleanor(cd7(),ci7())endfunctionfunction ck7 takes nothing
returns booleanreturn getbooleanor(c97(),cj7())endfunctionfunction cm7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895092)
endfunctionfunction cn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895092)
endfunctionfunction co7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895092)
endfunctionfunction cp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895092)
endfunctionfunction cq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895092)
endfunctionfunction cr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895092)
endfunctionfunction cs7 takes nothing returns booleanreturn
getbooleanor(cq7(),cr7())endfunctionfunction ct7 takes nothing returns boolean
return getbooleanor(cp7(),cs7())endfunctionfunction cu7 takes nothing returns
booleanreturn getbooleanor(co7(),ct7())endfunctionfunction cv7 takes nothing
returns booleanreturn getbooleanor(cn7(),cu7())endfunctionfunction cw7 takes
nothing returns booleanif(not getbooleanor(cm7(),ct7()))thenreturn falseendif
if(not getbooleanor(cu7(),c77()))thenreturn falseendifif(not
getbooleanor(c87(),ck7()))thenreturn falseendifif(not
getbooleanor(cm7(),cv7()))thenreturn falseendifreturn trueendfunctionfunction cx7
takes nothing returns booleanif(not cw7())thenreturn falseendifreturn true
endfunctionfunction cy7 takes nothing returns nothingif(cx7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936749416))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918986033))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895092))call
createitemloc(1818784628,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction cz7 takes
nothing returns nothingset ut=createtrigger()call
triggerregisteranyuniteventbj(ut,event_player_unit_pickup_item)call
triggeraddcondition(ut,condition(function cl7))call triggeraddaction(ut,function
cy7)endfunctionfunction ca7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895374)endfunctionfunction ca7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1751348590)endfunctionfunction cb7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989411)endfunctionfunction cb7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1818715240)endfunctionfunction cc7
takes nothing returns booleanreturn getbooleanor(cb7(),cb7())endfunctionfunction
cc7 takes nothing returns booleanreturn getbooleanor(ca7(),cc7())endfunction
function cd7 takes nothing returns booleanif(not getbooleanor(ca7(),cc7()))then
return falseendifreturn trueendfunctionfunction ce7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1818715240)
endfunctionfunction c37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1818715240)
endfunctionfunction cf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1818715240)
endfunctionfunction cg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1818715240)
endfunctionfunction c67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1818715240)
endfunctionfunction
ch7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1818715240)
endfunctionfunction ci7 takes nothing returns booleanreturn
getbooleanor(c67(),ch7())endfunctionfunction cl7 takes nothing returns boolean
return getbooleanor(cg7(),ci7())endfunctionfunction c17 takes nothing returns
booleanreturn getbooleanor(cf7(),cl7())endfunctionfunction cj7 takes nothing
returns booleanreturn getbooleanor(c37(),c17())endfunctionfunction ck7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989411)
endfunctionfunction cl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989411)
endfunctionfunction cm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989411)
endfunctionfunction cn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989411)
endfunctionfunction co7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989411)
endfunctionfunction c07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989411)
endfunctionfunction cp7 takes nothing returns booleanreturn
getbooleanor(co7(),c07())endfunctionfunction cq7 takes nothing returns boolean
return getbooleanor(cn7(),cp7())endfunctionfunction cr7 takes nothing returns
booleanreturn getbooleanor(cm7(),cq7())endfunctionfunction cs7 takes nothing
returns booleanreturn getbooleanor(cl7(),cr7())endfunctionfunction c57 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1751348590)
endfunctionfunction ct7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1751348590)
endfunctionfunction cu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1751348590)
endfunctionfunction cv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1751348590)
endfunctionfunction cw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1751348590)
endfunctionfunction cx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1751348590)
endfunctionfunction cy7 takes nothing returns booleanreturn
getbooleanor(cw7(),cx7())endfunctionfunction c27 takes nothing returns boolean
return getbooleanor(cv7(),cy7())endfunctionfunction cz7 takes nothing returns
booleanreturn getbooleanor(cu7(),c27())endfunctionfunction c_7 takes nothing
returns booleanreturn getbooleanor(ct7(),cz7())endfunctionfunction d47 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895374)
endfunctionfunction d77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895374)
endfunctionfunction d87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895374)
endfunctionfunction d97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895374)
endfunctionfunction dd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895374)
endfunctionfunction de7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895374)
endfunctionfunction df7 takes nothing returns booleanreturn
getbooleanor(dd7(),de7())endfunctionfunction dg7 takes nothing returns boolean
return getbooleanor(d97(),df7())endfunctionfunction dh7 takes nothing returns
booleanreturn getbooleanor(d87(),dg7())endfunctionfunction di7 takes nothing
returns booleanreturn getbooleanor(d77(),dh7())endfunctionfunction dj7 takes
nothing returns booleanif(not getbooleanor(ce7(),cj7()))thenreturn falseendif
if(not getbooleanor(ck7(),cs7()))thenreturn falseendifif(not
getbooleanor(c57(),c_7()))thenreturn falseendifif(not
getbooleanor(d47(),di7()))thenreturn falseendifreturn trueendfunctionfunction dk7
takes nothing returns booleanif(not dj7())thenreturn falseendifreturn true
endfunctionfunction dm7 takes nothing returns nothingif(dk7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1751348590))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1818715240))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989411))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895374))call
createitemloc(1919448168,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction dn7 takes
nothing returns nothingset vt=createtrigger()call
triggerregisteranyuniteventbj(vt,event_player_unit_pickup_item)call
triggeraddcondition(vt,condition(function cd7))call triggeraddaction(vt,function
dm7)endfunctionfunction do7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895378)endfunctionfunction dp7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction dq7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1752588652)endfunctionfunction dr7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1650814070)endfunctionfunction ds7
takes nothing returns booleanreturn getbooleanor(dq7(),dr7())endfunctionfunction
dt7 takes nothing returns booleanreturn getbooleanor(dp7(),ds7())endfunction
function du7 takes nothing returns booleanif(not getbooleanor(do7(),dt7()))then
return falseendifreturn trueendfunctionfunction dv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1650814070)
endfunctionfunction dw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1650814070)
endfunctionfunction dx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1650814070)
endfunctionfunction dy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1650814070)
endfunctionfunction dz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1650814070)
endfunctionfunction da7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1650814070)
endfunctionfunction da7 takes nothing returns booleanreturn
getbooleanor(dz7(),da7())endfunctionfunction db7 takes nothing returns boolean
return getbooleanor(dy7(),da7())endfunctionfunction db7 takes nothing returns
booleanreturn getbooleanor(dx7(),db7())endfunctionfunction dc7 takes nothing
returns booleanreturn getbooleanor(dw7(),db7())endfunctionfunction dc7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction dd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction de7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction d37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction df7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction dg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction d67 takes nothing returns booleanreturn
getbooleanor(df7(),dg7())endfunctionfunction dh7 takes nothing returns boolean
return getbooleanor(d37(),d67())endfunctionfunction di7 takes nothing returns
booleanreturn getbooleanor(de7(),dh7())endfunctionfunction dl7 takes nothing
returns booleanreturn getbooleanor(dd7(),di7())endfunctionfunction d17 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1752588652)
endfunctionfunction dj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1752588652)
endfunctionfunction dk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1752588652)
endfunctionfunction dl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1752588652)
endfunctionfunction dm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1752588652)
endfunctionfunction dn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1752588652)
endfunctionfunction do7 takes nothing returns booleanreturn
getbooleanor(dm7(),dn7())endfunctionfunction d07 takes nothing returns boolean
return getbooleanor(dl7(),do7())endfunctionfunction dp7 takes nothing returns
booleanreturn getbooleanor(dk7(),d07())endfunctionfunction dq7 takes nothing
returns booleanreturn getbooleanor(dj7(),dp7())endfunctionfunction dr7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895378)
endfunctionfunction ds7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895378)
endfunctionfunction d57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895378)
endfunctionfunction dt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895378)
endfunctionfunction
du7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895378)
endfunctionfunction dv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895378)
endfunctionfunction dw7 takes nothing returns booleanreturn
getbooleanor(du7(),dv7())endfunctionfunction dx7 takes nothing returns boolean
return getbooleanor(dt7(),dw7())endfunctionfunction dy7 takes nothing returns
booleanreturn getbooleanor(d57(),dx7())endfunctionfunction d27 takes nothing
returns booleanreturn getbooleanor(ds7(),dy7())endfunctionfunction dz7 takes
nothing returns booleanif(not getbooleanor(dv7(),dc7()))thenreturn falseendif
if(not getbooleanor(dc7(),dl7()))thenreturn falseendifif(not
getbooleanor(d17(),dq7()))thenreturn falseendifif(not
getbooleanor(dr7(),d27()))thenreturn falseendifreturn trueendfunctionfunction d_7
takes nothing returns booleanif(not dz7())thenreturn falseendifreturn true
endfunctionfunction e47 takes nothing returns nothingif(d_7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1650814070))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1752588652))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895378))call
createitemloc(1227895093,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction e77 takes
nothing returns nothingset wt=createtrigger()call
triggerregisteranyuniteventbj(wt,event_player_unit_pickup_item)call
triggeraddcondition(wt,condition(function du7))call triggeraddaction(wt,function
e47)endfunctionfunction e87 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895353)endfunctionfunction e97
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction ed7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1818715240)endfunctionfunction ee7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction ef7
takes nothing returns booleanreturn getbooleanor(ed7(),ee7())endfunctionfunction
eg7 takes nothing returns booleanreturn getbooleanor(e97(),ef7())endfunction
function eh7 takes nothing returns booleanif(not getbooleanor(e87(),eg7()))then
return falseendifreturn trueendfunctionfunction ei7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1818715240)
endfunctionfunction ej7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1818715240)
endfunctionfunction ek7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1818715240)
endfunctionfunction em7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1818715240)
endfunctionfunction en7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1818715240)
endfunctionfunction eo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1818715240)
endfunctionfunction ep7 takes nothing returns booleanreturn
getbooleanor(en7(),eo7())endfunctionfunction eq7 takes nothing returns boolean
return getbooleanor(em7(),ep7())endfunctionfunction er7 takes nothing returns
booleanreturn getbooleanor(ek7(),eq7())endfunctionfunction es7 takes nothing
returns booleanreturn getbooleanor(ej7(),er7())endfunctionfunction et7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction eu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction ev7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction ew7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction ex7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction ey7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction ez7 takes nothing returns booleanreturn
getbooleanor(ex7(),ey7())endfunctionfunction ea7 takes nothing returns boolean
return getbooleanor(ew7(),ez7())endfunctionfunction ea7 takes nothing returns
booleanreturn getbooleanor(ev7(),ea7())endfunctionfunction eb7 takes nothing
returns booleanreturn getbooleanor(eu7(),ea7())endfunctionfunction eb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction ec7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction ec7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction ed7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction ee7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction e37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction ef7 takes nothing returns booleanreturn
getbooleanor(ee7(),e37())endfunctionfunction eg7 takes nothing returns boolean
return getbooleanor(ed7(),ef7())endfunctionfunction e67 takes nothing returns
booleanreturn getbooleanor(ec7(),eg7())endfunctionfunction eh7 takes nothing
returns booleanreturn getbooleanor(ec7(),e67())endfunctionfunction ei7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895353)
endfunctionfunction el7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895353)
endfunctionfunction e17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895353)
endfunctionfunction ej7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895353)
endfunctionfunction ek7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895353)
endfunctionfunction el7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895353)
endfunctionfunction em7 takes nothing returns booleanreturn
getbooleanor(ek7(),el7())endfunctionfunction en7 takes nothing returns boolean
return getbooleanor(ej7(),em7())endfunctionfunction eo7 takes nothing returns
booleanreturn getbooleanor(e17(),en7())endfunctionfunction e07 takes nothing
returns booleanreturn getbooleanor(el7(),eo7())endfunctionfunction ep7 takes
nothing returns booleanif(not getbooleanor(ei7(),es7()))thenreturn falseendif
if(not getbooleanor(et7(),eb7()))thenreturn falseendifif(not
getbooleanor(eb7(),eh7()))thenreturn falseendifif(not
getbooleanor(ei7(),e07()))thenreturn falseendifreturn trueendfunctionfunction eq7
takes nothing returns booleanif(not ep7())thenreturn falseendifreturn true
endfunctionfunction er7 takes nothing returns nothingif(eq7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1818715240))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895353))call
createitemloc(1227895352,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction es7 takes
nothing returns nothingset xt=createtrigger()call
triggerregisteranyuniteventbj(xt,event_player_unit_pickup_item)call
triggeraddcondition(xt,condition(function eh7))call triggeraddaction(xt,function
er7)endfunctionfunction e57 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895349)endfunctionfunction et7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989411)endfunctionfunction eu7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1650814070)endfunctionfunction ev7
takes nothing returns booleanreturn getbooleanor(et7(),eu7())endfunctionfunction
ew7 takes nothing returns booleanif(not getbooleanor(e57(),ev7()))thenreturn false
endifreturn trueendfunctionfunction ex7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895349)
endfunctionfunction ey7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895349)
endfunctionfunction e27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895349)
endfunctionfunction ez7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895349)
endfunctionfunction e_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895349)
endfunctionfunction f47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895349)
endfunctionfunction
f77 takes nothing returns booleanreturn getbooleanor(e_7(),f47())endfunction
function f87 takes nothing returns booleanreturn getbooleanor(ez7(),f77())
endfunctionfunction f97 takes nothing returns booleanreturn
getbooleanor(e27(),f87())endfunctionfunction fd7 takes nothing returns boolean
return getbooleanor(ey7(),f97())endfunctionfunction fe7 takes nothing returns
boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989411)
endfunctionfunction ff7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989411)
endfunctionfunction fg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989411)
endfunctionfunction fh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989411)
endfunctionfunction fi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989411)
endfunctionfunction fj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989411)
endfunctionfunction fk7 takes nothing returns booleanreturn
getbooleanor(fi7(),fj7())endfunctionfunction fm7 takes nothing returns boolean
return getbooleanor(fh7(),fk7())endfunctionfunction fn7 takes nothing returns
booleanreturn getbooleanor(fg7(),fm7())endfunctionfunction fo7 takes nothing
returns booleanreturn getbooleanor(ff7(),fn7())endfunctionfunction fp7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1650814070)
endfunctionfunction fq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1650814070)
endfunctionfunction fr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1650814070)
endfunctionfunction fs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1650814070)
endfunctionfunction ft7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1650814070)
endfunctionfunction fu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1650814070)
endfunctionfunction fv7 takes nothing returns booleanreturn
getbooleanor(ft7(),fu7())endfunctionfunction fw7 takes nothing returns boolean
return getbooleanor(fs7(),fv7())endfunctionfunction fx7 takes nothing returns
booleanreturn getbooleanor(fr7(),fw7())endfunctionfunction fy7 takes nothing
returns booleanreturn getbooleanor(fq7(),fx7())endfunctionfunction fz7 takes
nothing returns booleanif(not getbooleanor(ex7(),fd7()))thenreturn falseendif
if(not getbooleanor(fe7(),fo7()))thenreturn falseendifif(not
getbooleanor(fp7(),fy7()))thenreturn falseendifreturn trueendfunctionfunction fa7
takes nothing returns booleanif(not fz7())thenreturn falseendifreturn true
endfunctionfunction fa7 takes nothing returns nothingif(fa7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989411))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895349))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1650814070))call
createitemloc(1227895348,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction fb7 takes
nothing returns nothingset yt=createtrigger()call
triggerregisteranyuniteventbj(yt,event_player_unit_pickup_item)call
triggeraddcondition(yt,condition(function ew7))call triggeraddaction(yt,function
fa7)endfunctionfunction fb7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895363)endfunctionfunction fc7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1751348590)endfunctionfunction fc7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1752588652)endfunctionfunction fd7
takes nothing returns booleanreturn getbooleanor(fc7(),fc7())endfunctionfunction
fe7 takes nothing returns booleanif(not getbooleanor(fb7(),fd7()))thenreturn false
endifreturn trueendfunctionfunction f37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1751348590)
endfunctionfunction ff7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1751348590)
endfunctionfunction fg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1751348590)
endfunctionfunction f67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1751348590)
endfunctionfunction fh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1751348590)
endfunctionfunction fi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1751348590)
endfunctionfunction fl7 takes nothing returns booleanreturn
getbooleanor(fh7(),fi7())endfunctionfunction f17 takes nothing returns boolean
return getbooleanor(f67(),fl7())endfunctionfunction fj7 takes nothing returns
booleanreturn getbooleanor(fg7(),f17())endfunctionfunction fk7 takes nothing
returns booleanreturn getbooleanor(ff7(),fj7())endfunctionfunction fl7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1752588652)
endfunctionfunction fm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1752588652)
endfunctionfunction fn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1752588652)
endfunctionfunction fo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1752588652)
endfunctionfunction f07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1752588652)
endfunctionfunction fp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1752588652)
endfunctionfunction fq7 takes nothing returns booleanreturn
getbooleanor(f07(),fp7())endfunctionfunction fr7 takes nothing returns boolean
return getbooleanor(fo7(),fq7())endfunctionfunction fs7 takes nothing returns
booleanreturn getbooleanor(fn7(),fr7())endfunctionfunction f57 takes nothing
returns booleanreturn getbooleanor(fm7(),fs7())endfunctionfunction ft7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895363)
endfunctionfunction fu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895363)
endfunctionfunction fv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895363)
endfunctionfunction fw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895363)
endfunctionfunction fx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895363)
endfunctionfunction fy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895363)
endfunctionfunction f27 takes nothing returns booleanreturn
getbooleanor(fx7(),fy7())endfunctionfunction fz7 takes nothing returns boolean
return getbooleanor(fw7(),f27())endfunctionfunction f_7 takes nothing returns
booleanreturn getbooleanor(fv7(),fz7())endfunctionfunction g47 takes nothing
returns booleanreturn getbooleanor(fu7(),f_7())endfunctionfunction g77 takes
nothing returns booleanif(not getbooleanor(f37(),fk7()))thenreturn falseendif
if(not getbooleanor(fl7(),f57()))thenreturn falseendifif(not
getbooleanor(ft7(),g47()))thenreturn falseendifreturn trueendfunctionfunction g87
takes nothing returns booleanif(not g77())thenreturn falseendifreturn true
endfunctionfunction g97 takes nothing returns nothingif(g87())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1751348590))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895363))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1752588652))call
createitemloc(1227895364,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction gd7 takes
nothing returns nothingset zt=createtrigger()call
triggerregisteranyuniteventbj(zt,event_player_unit_pickup_item)call
triggeraddcondition(zt,condition(function fe7))call triggeraddaction(zt,function
g97)endfunctionfunction ge7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895362)endfunctionfunction gf7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895364)endfunctionfunction gg7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918986033)endfunctionfunction gh7
takes nothing returns booleanreturn getbooleanor(gf7(),gg7())endfunctionfunction
gi7 takes nothing returns booleanif(not getbooleanor(ge7(),gh7()))thenreturn false
endifreturn trueendfunctionfunction gj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895364)
endfunctionfunction gk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895364)
endfunctionfunction gm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895364)
endfunctionfunctio
n gn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895364)
endfunctionfunction go7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895364)
endfunctionfunction gp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895364)
endfunctionfunction gq7 takes nothing returns booleanreturn
getbooleanor(go7(),gp7())endfunctionfunction gr7 takes nothing returns boolean
return getbooleanor(gn7(),gq7())endfunctionfunction gs7 takes nothing returns
booleanreturn getbooleanor(gm7(),gr7())endfunctionfunction gt7 takes nothing
returns booleanreturn getbooleanor(gk7(),gs7())endfunctionfunction gu7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918986033)
endfunctionfunction gv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918986033)
endfunctionfunction gw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918986033)
endfunctionfunction gx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918986033)
endfunctionfunction gy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918986033)
endfunctionfunction gz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918986033)
endfunctionfunction ga7 takes nothing returns booleanreturn
getbooleanor(gy7(),gz7())endfunctionfunction ga7 takes nothing returns boolean
return getbooleanor(gx7(),ga7())endfunctionfunction gb7 takes nothing returns
booleanreturn getbooleanor(gw7(),ga7())endfunctionfunction gb7 takes nothing
returns booleanreturn getbooleanor(gv7(),gb7())endfunctionfunction gc7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895362)
endfunctionfunction gc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895362)
endfunctionfunction gd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895362)
endfunctionfunction ge7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895362)
endfunctionfunction g37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895362)
endfunctionfunction gf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895362)
endfunctionfunction gg7 takes nothing returns booleanreturn
getbooleanor(g37(),gf7())endfunctionfunction g67 takes nothing returns boolean
return getbooleanor(ge7(),gg7())endfunctionfunction gh7 takes nothing returns
booleanreturn getbooleanor(gd7(),g67())endfunctionfunction gi7 takes nothing
returns booleanreturn getbooleanor(gc7(),gh7())endfunctionfunction gl7 takes
nothing returns booleanif(not getbooleanor(gj7(),gt7()))thenreturn falseendif
if(not getbooleanor(gu7(),gb7()))thenreturn falseendifif(not
getbooleanor(gc7(),gi7()))thenreturn falseendifreturn trueendfunctionfunction g17
takes nothing returns booleanif(not gl7())thenreturn falseendifreturn true
endfunctionfunction gj7 takes nothing returns nothingif(g17())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895364))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918986033))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895362))call
createitemloc(1227895361,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction gk7 takes
nothing returns nothingset du=createtrigger()call
triggerregisteranyuniteventbj(du,event_player_unit_pickup_item)call
triggeraddcondition(du,condition(function gi7))call triggeraddaction(du,function
gj7)endfunctionfunction gl7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936749416)endfunctionfunction gm7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895351)endfunctionfunction gn7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895348)endfunctionfunction go7
takes nothing returns booleanreturn getbooleanor(gm7(),gn7())endfunctionfunction
g07 takes nothing returns booleanif(not getbooleanor(gl7(),go7()))thenreturn false
endifreturn trueendfunctionfunction gp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895348)
endfunctionfunction gq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895348)
endfunctionfunction gr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895348)
endfunctionfunction gs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895348)
endfunctionfunction g57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895348)
endfunctionfunction gt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895348)
endfunctionfunction gu7 takes nothing returns booleanreturn
getbooleanor(g57(),gt7())endfunctionfunction gv7 takes nothing returns boolean
return getbooleanor(gs7(),gu7())endfunctionfunction gw7 takes nothing returns
booleanreturn getbooleanor(gr7(),gv7())endfunctionfunction gx7 takes nothing
returns booleanreturn getbooleanor(gq7(),gw7())endfunctionfunction gy7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936749416)
endfunctionfunction g27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936749416)
endfunctionfunction gz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936749416)
endfunctionfunction g_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936749416)
endfunctionfunction h47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936749416)
endfunctionfunction h77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936749416)
endfunctionfunction h87 takes nothing returns booleanreturn
getbooleanor(h47(),h77())endfunctionfunction h97 takes nothing returns boolean
return getbooleanor(g_7(),h87())endfunctionfunction hd7 takes nothing returns
booleanreturn getbooleanor(gz7(),h97())endfunctionfunction he7 takes nothing
returns booleanreturn getbooleanor(g27(),hd7())endfunctionfunction hf7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895351)
endfunctionfunction hg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895351)
endfunctionfunction hh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895351)
endfunctionfunction hi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895351)
endfunctionfunction hj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895351)
endfunctionfunction hk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895351)
endfunctionfunction hm7 takes nothing returns booleanreturn
getbooleanor(hj7(),hk7())endfunctionfunction hn7 takes nothing returns boolean
return getbooleanor(hi7(),hm7())endfunctionfunction ho7 takes nothing returns
booleanreturn getbooleanor(hh7(),hn7())endfunctionfunction hp7 takes nothing
returns booleanreturn getbooleanor(hg7(),ho7())endfunctionfunction hq7 takes
nothing returns booleanif(not getbooleanor(gp7(),gx7()))thenreturn falseendif
if(not getbooleanor(gy7(),he7()))thenreturn falseendifif(not
getbooleanor(hf7(),hp7()))thenreturn falseendifreturn trueendfunctionfunction hr7
takes nothing returns booleanif(not hq7())thenreturn falseendifreturn true
endfunctionfunction hs7 takes nothing returns nothingif(hr7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895348))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936749416))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895351))call
createitemloc(1227895350,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ht7 takes
nothing returns nothingset eu=createtrigger()call
triggerregisteranyuniteventbj(eu,event_player_unit_pickup_item)call
triggeraddcondition(eu,condition(function g07))call triggeraddaction(eu,function
hs7)endfunctionfunction hu7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895126)endfunctionfunction hv7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1818715240)endfunctionfunction hw7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989411)endfunctionfunction hx7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1751348590)endfunctionfunction
hy7 takes nothing returns booleanreturn getbooleanor(hw7(),hx7())endfunction
function hz7 takes nothing returns booleanreturn getbooleanor(hv7(),hy7())
endfunctionfunction ha7 takes nothing returns booleanif(not
getbooleanor(hu7(),hz7()))thenreturn falseendifreturn trueendfunctionfunction ha7
takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1818715240)
endfunctionfunction hb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1818715240)
endfunctionfunction hb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1818715240)
endfunctionfunction hc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1818715240)
endfunctionfunction hc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1818715240)
endfunctionfunction hd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1818715240)
endfunctionfunction he7 takes nothing returns booleanreturn
getbooleanor(hc7(),hd7())endfunctionfunction h37 takes nothing returns boolean
return getbooleanor(hc7(),he7())endfunctionfunction hf7 takes nothing returns
booleanreturn getbooleanor(hb7(),h37())endfunctionfunction hg7 takes nothing
returns booleanreturn getbooleanor(hb7(),hf7())endfunctionfunction h67 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989411)
endfunctionfunction hh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989411)
endfunctionfunction hi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989411)
endfunctionfunction hl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989411)
endfunctionfunction h17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989411)
endfunctionfunction hj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989411)
endfunctionfunction hk7 takes nothing returns booleanreturn
getbooleanor(h17(),hj7())endfunctionfunction hl7 takes nothing returns boolean
return getbooleanor(hl7(),hk7())endfunctionfunction hm7 takes nothing returns
booleanreturn getbooleanor(hi7(),hl7())endfunctionfunction hn7 takes nothing
returns booleanreturn getbooleanor(hh7(),hm7())endfunctionfunction ho7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1751348590)
endfunctionfunction h07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1751348590)
endfunctionfunction hp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1751348590)
endfunctionfunction hq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1751348590)
endfunctionfunction hr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1751348590)
endfunctionfunction hs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1751348590)
endfunctionfunction h57 takes nothing returns booleanreturn
getbooleanor(hr7(),hs7())endfunctionfunction ht7 takes nothing returns boolean
return getbooleanor(hq7(),h57())endfunctionfunction hu7 takes nothing returns
booleanreturn getbooleanor(hp7(),ht7())endfunctionfunction hv7 takes nothing
returns booleanreturn getbooleanor(h07(),hu7())endfunctionfunction hw7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895126)
endfunctionfunction hx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895126)
endfunctionfunction hy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895126)
endfunctionfunction h27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895126)
endfunctionfunction hz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895126)
endfunctionfunction h_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895126)
endfunctionfunction i47 takes nothing returns booleanreturn
getbooleanor(hz7(),h_7())endfunctionfunction i77 takes nothing returns boolean
return getbooleanor(h27(),i47())endfunctionfunction i87 takes nothing returns
booleanreturn getbooleanor(hy7(),i77())endfunctionfunction i97 takes nothing
returns booleanreturn getbooleanor(hx7(),i87())endfunctionfunction id7 takes
nothing returns booleanif(not getbooleanor(ha7(),hg7()))thenreturn falseendif
if(not getbooleanor(h67(),hn7()))thenreturn falseendifif(not
getbooleanor(ho7(),hv7()))thenreturn falseendifif(not
getbooleanor(hw7(),i97()))thenreturn falseendifreturn trueendfunctionfunction ie7
takes nothing returns booleanif(not id7())thenreturn falseendifreturn true
endfunctionfunction if7 takes nothing returns nothingif(ie7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989411))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1818715240))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1751348590))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895126))call
createitemloc(1227895127,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ig7 takes
nothing returns nothingset fu=createtrigger()call
triggerregisteranyuniteventbj(fu,event_player_unit_pickup_item)call
triggeraddcondition(fu,condition(function ha7))call triggeraddaction(fu,function
if7)endfunctionfunction ih7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895128)endfunctionfunction ii7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1634099555)endfunctionfunction ij7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895127)endfunctionfunction ik7
takes nothing returns booleanreturn getbooleanor(ii7(),ij7())endfunctionfunction
im7 takes nothing returns booleanif(not getbooleanor(ih7(),ik7()))thenreturn false
endifreturn trueendfunctionfunction in7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895127)
endfunctionfunction io7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895127)
endfunctionfunction ip7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895127)
endfunctionfunction iq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895127)
endfunctionfunction ir7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895127)
endfunctionfunction is7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895127)
endfunctionfunction it7 takes nothing returns booleanreturn
getbooleanor(ir7(),is7())endfunctionfunction iu7 takes nothing returns boolean
return getbooleanor(iq7(),it7())endfunctionfunction iv7 takes nothing returns
booleanreturn getbooleanor(ip7(),iu7())endfunctionfunction iw7 takes nothing
returns booleanreturn getbooleanor(io7(),iv7())endfunctionfunction ix7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1634099555)
endfunctionfunction iy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1634099555)
endfunctionfunction iz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1634099555)
endfunctionfunction ia7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1634099555)
endfunctionfunction ia7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1634099555)
endfunctionfunction ib7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1634099555)
endfunctionfunction ib7 takes nothing returns booleanreturn
getbooleanor(ia7(),ib7())endfunctionfunction ic7 takes nothing returns boolean
return getbooleanor(ia7(),ib7())endfunctionfunction ic7 takes nothing returns
booleanreturn getbooleanor(iz7(),ic7())endfunctionfunction id7 takes nothing
returns booleanreturn getbooleanor(iy7(),ic7())endfunctionfunction ie7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895128)
endfunctionfunction i37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895128)
endfunctionfunction if7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895128)
endfunctionfunction ig7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895128)
endfunctionfunction i67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895128)
endfunctionfunction ih7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895128)
endfunctionfunction ii7 takes nothing returns booleanreturn
getbooleanor(i67(),ih7())endfunctionfunction
il7 takes nothing returns booleanreturn getbooleanor(ig7(),ii7())endfunction
function i17 takes nothing returns booleanreturn getbooleanor(if7(),il7())
endfunctionfunction ij7 takes nothing returns booleanreturn
getbooleanor(i37(),i17())endfunctionfunction ik7 takes nothing returns boolean
if(not getbooleanor(in7(),iw7()))thenreturn falseendifif(not
getbooleanor(ix7(),id7()))thenreturn falseendifif(not
getbooleanor(ie7(),ij7()))thenreturn falseendifreturn trueendfunctionfunction il7
takes nothing returns booleanif(not ik7())thenreturn falseendifreturn true
endfunctionfunction im7 takes nothing returns nothingif(il7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1634099555))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895127))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895128))call
createitemloc(1227895129,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction in7 takes
nothing returns nothingset gu=createtrigger()call
triggerregisteranyuniteventbj(gu,event_player_unit_pickup_item)call
triggeraddcondition(gu,condition(function im7))call triggeraddaction(gu,function
im7)endfunctionfunction io7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895130)endfunctionfunction i07
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==2002874980)endfunctionfunction ip7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895127)endfunctionfunction iq7
takes nothing returns booleanreturn getbooleanor(i07(),ip7())endfunctionfunction
ir7 takes nothing returns booleanif(not getbooleanor(io7(),iq7()))thenreturn false
endifreturn trueendfunctionfunction is7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895127)
endfunctionfunction i57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895127)
endfunctionfunction it7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895127)
endfunctionfunction iu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895127)
endfunctionfunction iv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895127)
endfunctionfunction iw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895127)
endfunctionfunction ix7 takes nothing returns booleanreturn
getbooleanor(iv7(),iw7())endfunctionfunction iy7 takes nothing returns boolean
return getbooleanor(iu7(),ix7())endfunctionfunction i27 takes nothing returns
booleanreturn getbooleanor(it7(),iy7())endfunctionfunction iz7 takes nothing
returns booleanreturn getbooleanor(i57(),i27())endfunctionfunction i_7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==2002874980)
endfunctionfunction l47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==2002874980)
endfunctionfunction l77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==2002874980)
endfunctionfunction l87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==2002874980)
endfunctionfunction l97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==2002874980)
endfunctionfunction ld7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==2002874980)
endfunctionfunction le7 takes nothing returns booleanreturn
getbooleanor(l97(),ld7())endfunctionfunction lf7 takes nothing returns boolean
return getbooleanor(l87(),le7())endfunctionfunction lg7 takes nothing returns
booleanreturn getbooleanor(l77(),lf7())endfunctionfunction lh7 takes nothing
returns booleanreturn getbooleanor(l47(),lg7())endfunctionfunction li7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895130)
endfunctionfunction lj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895130)
endfunctionfunction lk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895130)
endfunctionfunction lm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895130)
endfunctionfunction ln7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895130)
endfunctionfunction lo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895130)
endfunctionfunction lp7 takes nothing returns booleanreturn
getbooleanor(ln7(),lo7())endfunctionfunction lq7 takes nothing returns boolean
return getbooleanor(lm7(),lp7())endfunctionfunction lr7 takes nothing returns
booleanreturn getbooleanor(lk7(),lq7())endfunctionfunction ls7 takes nothing
returns booleanreturn getbooleanor(lj7(),lr7())endfunctionfunction lt7 takes
nothing returns booleanif(not getbooleanor(is7(),iz7()))thenreturn falseendif
if(not getbooleanor(i_7(),lh7()))thenreturn falseendifif(not
getbooleanor(li7(),ls7()))thenreturn falseendifreturn trueendfunctionfunction lu7
takes nothing returns booleanif(not lt7())thenreturn falseendifreturn true
endfunctionfunction lv7 takes nothing returns nothingif(lu7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),2002874980))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895127))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895130))call
createitemloc(1227895344,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction lw7 takes
nothing returns nothingset hu=createtrigger()call
triggerregisteranyuniteventbj(hu,event_player_unit_pickup_item)call
triggeraddcondition(hu,condition(function ir7))call triggeraddaction(hu,function
lv7)endfunctionfunction lx7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895345)endfunctionfunction ly7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895113)endfunctionfunction lz7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895127)endfunctionfunction la7
takes nothing returns booleanreturn getbooleanor(ly7(),lz7())endfunctionfunction
la7 takes nothing returns booleanif(not getbooleanor(lx7(),la7()))thenreturn false
endifreturn trueendfunctionfunction lb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895127)
endfunctionfunction lb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895127)
endfunctionfunction lc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895127)
endfunctionfunction lc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895127)
endfunctionfunction ld7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895127)
endfunctionfunction le7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895127)
endfunctionfunction l37 takes nothing returns booleanreturn
getbooleanor(ld7(),le7())endfunctionfunction lf7 takes nothing returns boolean
return getbooleanor(lc7(),l37())endfunctionfunction lg7 takes nothing returns
booleanreturn getbooleanor(lc7(),lf7())endfunctionfunction l67 takes nothing
returns booleanreturn getbooleanor(lb7(),lg7())endfunctionfunction lh7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895113)
endfunctionfunction li7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895113)
endfunctionfunction ll7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895113)
endfunctionfunction l17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895113)
endfunctionfunction lj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895113)
endfunctionfunction lk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895113)
endfunctionfunction ll7 takes nothing returns booleanreturn
getbooleanor(lj7(),lk7())endfunctionfunction lm7 takes nothing returns boolean
return getbooleanor(l17(),ll7())endfunctionfunction ln7 takes nothing returns
booleanreturn getbooleanor(ll7(),lm7())endfunctionfunction lo7 takes nothing
returns booleanreturn getbooleanor(li7(),ln7())endfunctionfunction l07 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895345)
endfunctionfunction lp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895345)
endfunctionfunction lq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895345)
endfunctionfunction
lr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895345)
endfunctionfunction ls7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895345)
endfunctionfunction l57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895345)
endfunctionfunction lt7 takes nothing returns booleanreturn
getbooleanor(ls7(),l57())endfunctionfunction lu7 takes nothing returns boolean
return getbooleanor(lr7(),lt7())endfunctionfunction lv7 takes nothing returns
booleanreturn getbooleanor(lq7(),lu7())endfunctionfunction lw7 takes nothing
returns booleanreturn getbooleanor(lp7(),lv7())endfunctionfunction lx7 takes
nothing returns booleanif(not getbooleanor(lb7(),l67()))thenreturn falseendif
if(not getbooleanor(lh7(),lo7()))thenreturn falseendifif(not
getbooleanor(l07(),lw7()))thenreturn falseendifreturn trueendfunctionfunction ly7
takes nothing returns booleanif(not lx7())thenreturn falseendifreturn true
endfunctionfunction l27 takes nothing returns nothingif(ly7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895113))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895127))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895345))call
createitemloc(1227895346,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction lz7 takes
nothing returns nothingset iu=createtrigger()call
triggerregisteranyuniteventbj(iu,event_player_unit_pickup_item)call
triggeraddcondition(iu,condition(function la7))call triggeraddaction(iu,function
l27)endfunctionfunction l_7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895124)endfunctionfunction j47
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1634626408)endfunctionfunction j77
takes nothing returns booleanif(not getbooleanor(l_7(),j47()))thenreturn false
endifreturn trueendfunctionfunction j87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895124)
endfunctionfunction j97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895124)
endfunctionfunction jd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895124)
endfunctionfunction je7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895124)
endfunctionfunction jf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895124)
endfunctionfunction jg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895124)
endfunctionfunction jh7 takes nothing returns booleanreturn
getbooleanor(jf7(),jg7())endfunctionfunction ji7 takes nothing returns boolean
return getbooleanor(je7(),jh7())endfunctionfunction jj7 takes nothing returns
booleanreturn getbooleanor(jd7(),ji7())endfunctionfunction jk7 takes nothing
returns booleanreturn getbooleanor(j97(),jj7())endfunctionfunction jm7 takes
nothing returns boolean
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1634626408))then
return falseendif
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1634626408))then
return falseendif
if(not(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1634626408))then
return falseendifif(not getbooleanor(j87(),jk7()))thenreturn falseendifreturn true
endfunctionfunction jn7 takes nothing returns booleanif(not jm7())thenreturn false
endifreturn trueendfunctionfunction jo7 takes nothing returns nothingif(jn7())then
call removeitem(unititeminslotbj(getmanipulatingunit(),1))call
removeitem(unititeminslotbj(getmanipulatingunit(),2))call
removeitem(unititeminslotbj(getmanipulatingunit(),3))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895124))call
createitemloc(1227895125,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction jp7 takes
nothing returns nothingset ju=createtrigger()call
triggerregisteranyuniteventbj(ju,event_player_unit_pickup_item)call
triggeraddcondition(ju,condition(function j77))call triggeraddaction(ju,function
jo7)endfunctionfunction jq7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895119)endfunctionfunction jr7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918986033)endfunctionfunction js7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction jt7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936749416)endfunctionfunction ju7
takes nothing returns booleanreturn getbooleanor(js7(),jt7())endfunctionfunction
jv7 takes nothing returns booleanreturn getbooleanor(jr7(),ju7())endfunction
function jw7 takes nothing returns booleanif(not getbooleanor(jq7(),jv7()))then
return falseendifreturn trueendfunctionfunction jx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction jy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction jz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction ja7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction ja7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction jb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction jb7 takes nothing returns booleanreturn
getbooleanor(ja7(),jb7())endfunctionfunction jc7 takes nothing returns boolean
return getbooleanor(ja7(),jb7())endfunctionfunction jc7 takes nothing returns
booleanreturn getbooleanor(jz7(),jc7())endfunctionfunction jd7 takes nothing
returns booleanreturn getbooleanor(jy7(),jc7())endfunctionfunction je7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918986033)
endfunctionfunction j37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918986033)
endfunctionfunction jf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918986033)
endfunctionfunction jg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918986033)
endfunctionfunction j67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918986033)
endfunctionfunction jh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918986033)
endfunctionfunction ji7 takes nothing returns booleanreturn
getbooleanor(j67(),jh7())endfunctionfunction jl7 takes nothing returns boolean
return getbooleanor(jg7(),ji7())endfunctionfunction j17 takes nothing returns
booleanreturn getbooleanor(jf7(),jl7())endfunctionfunction jj7 takes nothing
returns booleanreturn getbooleanor(j37(),j17())endfunctionfunction jk7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936749416)
endfunctionfunction jl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936749416)
endfunctionfunction jm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936749416)
endfunctionfunction jn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936749416)
endfunctionfunction jo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936749416)
endfunctionfunction j07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936749416)
endfunctionfunction jp7 takes nothing returns booleanreturn
getbooleanor(jo7(),j07())endfunctionfunction jq7 takes nothing returns boolean
return getbooleanor(jn7(),jp7())endfunctionfunction jr7 takes nothing returns
booleanreturn getbooleanor(jm7(),jq7())endfunctionfunction js7 takes nothing
returns booleanreturn getbooleanor(jl7(),jr7())endfunctionfunction j57 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895119)
endfunctionfunction jt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895119)
endfunctionfunction ju7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895119)
endfunctionfunction jv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895119)
endfunctionfunction jw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895119)
endfunctionfunction jx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895119)
endfunctionfunction jy7 takes nothing returns booleanreturn
getbooleanor(jw7(),jx7())endfunctionfunction j27 takes nothing returns boolean
return getbooleanor(jv7(),jy7())endfunctionfunction jz7 takes nothing returns
booleanreturn getbooleanor(ju7(),j27())endfunctionfunction j_7 takes nothing
returns booleanreturn getbooleanor(jt7(),jz7())endfunctionfunction k47 takes
nothing returns booleanif(not getbooleanor(jx7(),jd7()))thenreturn falseendif
if(not getbooleanor(je7(),jj7()))thenreturn falseendifif(not
getbooleanor(jk7(),js7()))thenreturn falseendifif(not
getbooleanor(j57(),j_7()))thenreturn falseendifreturn trueendfunctionfunction k77
takes nothing returns booleanif(not k47())thenreturn falseendifreturn true
endfunctionfunction k87 takes nothing returns nothingif(k77())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936749416))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918986033))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895119))call
createitemloc(1803118440,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction k97 takes
nothing returns nothingset ku=createtrigger()call
triggerregisteranyuniteventbj(ku,event_player_unit_pickup_item)call
triggeraddcondition(ku,condition(function jw7))call triggeraddaction(ku,function
k87)endfunctionfunction kd7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895091)endfunctionfunction ke7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1684370275)endfunctionfunction kf7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919512113)endfunctionfunction kg7
takes nothing returns booleanreturn getbooleanor(ke7(),kf7())endfunctionfunction
kh7 takes nothing returns booleanif(not getbooleanor(kd7(),kg7()))thenreturn false
endifreturn trueendfunctionfunction ki7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895091)
endfunctionfunction kj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895091)
endfunctionfunction kk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895091)
endfunctionfunction km7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895091)
endfunctionfunction kn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895091)
endfunctionfunction ko7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895091)
endfunctionfunction kp7 takes nothing returns booleanreturn
getbooleanor(kn7(),ko7())endfunctionfunction kq7 takes nothing returns boolean
return getbooleanor(km7(),kp7())endfunctionfunction kr7 takes nothing returns
booleanreturn getbooleanor(kk7(),kq7())endfunctionfunction ks7 takes nothing
returns booleanreturn getbooleanor(kj7(),kr7())endfunctionfunction kt7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1684370275)
endfunctionfunction ku7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1684370275)
endfunctionfunction kv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1684370275)
endfunctionfunction kw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1684370275)
endfunctionfunction kx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1684370275)
endfunctionfunction ky7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1684370275)
endfunctionfunction kz7 takes nothing returns booleanreturn
getbooleanor(kx7(),ky7())endfunctionfunction ka7 takes nothing returns boolean
return getbooleanor(kw7(),kz7())endfunctionfunction ka7 takes nothing returns
booleanreturn getbooleanor(kv7(),ka7())endfunctionfunction kb7 takes nothing
returns booleanreturn getbooleanor(ku7(),ka7())endfunctionfunction kb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919512113)
endfunctionfunction kc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919512113)
endfunctionfunction kc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919512113)
endfunctionfunction kd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919512113)
endfunctionfunction ke7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919512113)
endfunctionfunction k37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919512113)
endfunctionfunction kf7 takes nothing returns booleanreturn
getbooleanor(ke7(),k37())endfunctionfunction kg7 takes nothing returns boolean
return getbooleanor(kd7(),kf7())endfunctionfunction k67 takes nothing returns
booleanreturn getbooleanor(kc7(),kg7())endfunctionfunction kh7 takes nothing
returns booleanreturn getbooleanor(kc7(),k67())endfunctionfunction ki7 takes
nothing returns booleanif(not getbooleanor(ki7(),ks7()))thenreturn falseendif
if(not getbooleanor(kt7(),kb7()))thenreturn falseendifif(not
getbooleanor(kb7(),kh7()))thenreturn falseendifreturn trueendfunctionfunction kl7
takes nothing returns booleanif(not ki7())thenreturn falseendifreturn true
endfunctionfunction k17 takes nothing returns nothingif(kl7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919512113))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1684370275))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895091))call
createitemloc(1937007980,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction kj7 takes
nothing returns nothingset mu=createtrigger()call
triggerregisteranyuniteventbj(mu,event_player_unit_pickup_item)call
triggeraddcondition(mu,condition(function kh7))call triggeraddaction(mu,function
k17)endfunctionfunction kk7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894874)endfunctionfunction kl7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989414)endfunctionfunction km7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1668051812)endfunctionfunction kn7
takes nothing returns booleanreturn getbooleanor(kl7(),km7())endfunctionfunction
ko7 takes nothing returns booleanif(not getbooleanor(kk7(),kn7()))thenreturn false
endifreturn trueendfunctionfunction k07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894874)
endfunctionfunction kp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894874)
endfunctionfunction kq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894874)
endfunctionfunction kr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894874)
endfunctionfunction ks7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894874)
endfunctionfunction k57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894874)
endfunctionfunction kt7 takes nothing returns booleanreturn
getbooleanor(ks7(),k57())endfunctionfunction ku7 takes nothing returns boolean
return getbooleanor(kr7(),kt7())endfunctionfunction kv7 takes nothing returns
booleanreturn getbooleanor(kq7(),ku7())endfunctionfunction kw7 takes nothing
returns booleanreturn getbooleanor(kp7(),kv7())endfunctionfunction kx7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989414)
endfunctionfunction ky7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989414)
endfunctionfunction k27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989414)
endfunctionfunction kz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989414)
endfunctionfunction k_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989414)
endfunctionfunction l47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989414)
endfunctionfunction l77 takes nothing returns booleanreturn
getbooleanor(k_7(),l47())endfunctionfunction l87 takes nothing returns boolean
return getbooleanor(kz7(),l77())endfunctionfunction l97 takes nothing returns
booleanreturn getbooleanor(k27(),l87())endfunctionfunction ld7 takes nothing
returns booleanreturn getbooleanor(ky7(),l97())endfunctionfunction le7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1668051812)
endfunctionfunction lf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1668051812)
endfunctionfunction
lg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1668051812)
endfunctionfunction lh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1668051812)
endfunctionfunction li7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1668051812)
endfunctionfunction lj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1668051812)
endfunctionfunction lk7 takes nothing returns booleanreturn
getbooleanor(li7(),lj7())endfunctionfunction lm7 takes nothing returns boolean
return getbooleanor(lh7(),lk7())endfunctionfunction ln7 takes nothing returns
booleanreturn getbooleanor(lg7(),lm7())endfunctionfunction lo7 takes nothing
returns booleanreturn getbooleanor(lf7(),ln7())endfunctionfunction lp7 takes
nothing returns booleanif(not getbooleanor(k07(),kw7()))thenreturn falseendif
if(not getbooleanor(kx7(),ld7()))thenreturn falseendifif(not
getbooleanor(le7(),lo7()))thenreturn falseendifreturn trueendfunctionfunction lq7
takes nothing returns booleanif(not lp7())thenreturn falseendifreturn true
endfunctionfunction lr7 takes nothing returns nothingif(lq7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989414))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1668051812))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894874))call
createitemloc(1227895088,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ls7 takes
nothing returns nothingset nu=createtrigger()call
triggerregisteranyuniteventbj(nu,event_player_unit_pickup_item)call
triggeraddcondition(nu,condition(function ko7))call triggeraddaction(nu,function
lr7)endfunctionfunction lt7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895089)endfunctionfunction lu7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919448168)endfunctionfunction lv7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894853)endfunctionfunction lw7
takes nothing returns booleanreturn getbooleanor(lu7(),lv7())endfunctionfunction
lx7 takes nothing returns booleanif(not getbooleanor(lt7(),lw7()))thenreturn false
endifreturn trueendfunctionfunction ly7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894853)
endfunctionfunction lz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894853)
endfunctionfunction la7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894853)
endfunctionfunction la7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894853)
endfunctionfunction lb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894853)
endfunctionfunction lb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894853)
endfunctionfunction lc7 takes nothing returns booleanreturn
getbooleanor(lb7(),lb7())endfunctionfunction lc7 takes nothing returns boolean
return getbooleanor(la7(),lc7())endfunctionfunction ld7 takes nothing returns
booleanreturn getbooleanor(la7(),lc7())endfunctionfunction le7 takes nothing
returns booleanreturn getbooleanor(lz7(),ld7())endfunctionfunction l37 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919448168)
endfunctionfunction lf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919448168)
endfunctionfunction lg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919448168)
endfunctionfunction l67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919448168)
endfunctionfunction lh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919448168)
endfunctionfunction li7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919448168)
endfunctionfunction ll7 takes nothing returns booleanreturn
getbooleanor(lh7(),li7())endfunctionfunction l17 takes nothing returns boolean
return getbooleanor(l67(),ll7())endfunctionfunction lj7 takes nothing returns
booleanreturn getbooleanor(lg7(),l17())endfunctionfunction lk7 takes nothing
returns booleanreturn getbooleanor(lf7(),lj7())endfunctionfunction ll7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895089)
endfunctionfunction lm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895089)
endfunctionfunction ln7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895089)
endfunctionfunction lo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895089)
endfunctionfunction l07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895089)
endfunctionfunction lp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895089)
endfunctionfunction lq7 takes nothing returns booleanreturn
getbooleanor(l07(),lp7())endfunctionfunction lr7 takes nothing returns boolean
return getbooleanor(lo7(),lq7())endfunctionfunction ls7 takes nothing returns
booleanreturn getbooleanor(ln7(),lr7())endfunctionfunction l57 takes nothing
returns booleanreturn getbooleanor(lm7(),ls7())endfunctionfunction lt7 takes
nothing returns booleanif(not getbooleanor(ly7(),le7()))thenreturn falseendif
if(not getbooleanor(l37(),lk7()))thenreturn falseendifif(not
getbooleanor(ll7(),l57()))thenreturn falseendifreturn trueendfunctionfunction lu7
takes nothing returns booleanif(not lt7())thenreturn falseendifreturn true
endfunctionfunction lv7 takes nothing returns nothingif(lu7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894853))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919448168))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895089))call
createitemloc(1227895090,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction lw7 takes
nothing returns nothingset ou=createtrigger()call
triggerregisteranyuniteventbj(ou,event_player_unit_pickup_item)call
triggeraddcondition(ou,condition(function lx7))call triggeraddaction(ou,function
lv7)endfunctionfunction lx7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895109)endfunctionfunction ly7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894861)endfunctionfunction l27
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895094)endfunctionfunction lz7
takes nothing returns booleanreturn getbooleanor(ly7(),l27())endfunctionfunction
l_7 takes nothing returns booleanif(not getbooleanor(lx7(),lz7()))thenreturn false
endifreturn trueendfunctionfunction m47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894861)
endfunctionfunction m77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894861)
endfunctionfunction m87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894861)
endfunctionfunction m97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894861)
endfunctionfunction md7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894861)
endfunctionfunction me7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894861)
endfunctionfunction mf7 takes nothing returns booleanreturn
getbooleanor(md7(),me7())endfunctionfunction mg7 takes nothing returns boolean
return getbooleanor(m97(),mf7())endfunctionfunction mh7 takes nothing returns
booleanreturn getbooleanor(m87(),mg7())endfunctionfunction mi7 takes nothing
returns booleanreturn getbooleanor(m77(),mh7())endfunctionfunction mj7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895094)
endfunctionfunction mk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895094)
endfunctionfunction mm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895094)
endfunctionfunction mn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895094)
endfunctionfunction mo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895094)
endfunctionfunction mp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895094)
endfunctionfunction mq7 takes nothing returns booleanreturn
getbooleanor(mo7(),mp7())endfunctionfunction mr7 takes nothing returns boolean
return
getbooleanor(mn7(),mq7())endfunctionfunction ms7 takes nothing returns boolean
return getbooleanor(mm7(),mr7())endfunctionfunction mt7 takes nothing returns
booleanreturn getbooleanor(mk7(),ms7())endfunctionfunction mu7 takes nothing
returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895109)
endfunctionfunction mv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895109)
endfunctionfunction mw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895109)
endfunctionfunction mx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895109)
endfunctionfunction my7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895109)
endfunctionfunction mz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895109)
endfunctionfunction ma7 takes nothing returns booleanreturn
getbooleanor(my7(),mz7())endfunctionfunction ma7 takes nothing returns boolean
return getbooleanor(mx7(),ma7())endfunctionfunction mb7 takes nothing returns
booleanreturn getbooleanor(mw7(),ma7())endfunctionfunction mb7 takes nothing
returns booleanreturn getbooleanor(mv7(),mb7())endfunctionfunction mc7 takes
nothing returns booleanif(not getbooleanor(m47(),mi7()))thenreturn falseendif
if(not getbooleanor(mj7(),mt7()))thenreturn falseendifif(not
getbooleanor(mu7(),mb7()))thenreturn falseendifreturn trueendfunctionfunction mc7
takes nothing returns booleanif(not mc7())thenreturn falseendifreturn true
endfunctionfunction md7 takes nothing returns nothingif(mc7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895094))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894861))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895109))call
createitemloc(1227895108,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction me7 takes
nothing returns nothingset pu=createtrigger()call
triggerregisteranyuniteventbj(pu,event_player_unit_pickup_item)call
triggeraddcondition(pu,condition(function l_7))call triggeraddaction(pu,function
md7)endfunctionfunction m37 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895105)endfunctionfunction mf7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895096)endfunctionfunction mg7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895093)endfunctionfunction m67
takes nothing returns booleanreturn getbooleanor(mf7(),mg7())endfunctionfunction
mh7 takes nothing returns booleanif(not getbooleanor(m37(),m67()))thenreturn false
endifreturn trueendfunctionfunction mi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895096)
endfunctionfunction ml7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895096)
endfunctionfunction m17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895096)
endfunctionfunction mj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895096)
endfunctionfunction mk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895096)
endfunctionfunction ml7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895096)
endfunctionfunction mm7 takes nothing returns booleanreturn
getbooleanor(mk7(),ml7())endfunctionfunction mn7 takes nothing returns boolean
return getbooleanor(mj7(),mm7())endfunctionfunction mo7 takes nothing returns
booleanreturn getbooleanor(m17(),mn7())endfunctionfunction m07 takes nothing
returns booleanreturn getbooleanor(ml7(),mo7())endfunctionfunction mp7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895093)
endfunctionfunction mq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895093)
endfunctionfunction mr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895093)
endfunctionfunction ms7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895093)
endfunctionfunction m57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895093)
endfunctionfunction mt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895093)
endfunctionfunction mu7 takes nothing returns booleanreturn
getbooleanor(m57(),mt7())endfunctionfunction mv7 takes nothing returns boolean
return getbooleanor(ms7(),mu7())endfunctionfunction mw7 takes nothing returns
booleanreturn getbooleanor(mr7(),mv7())endfunctionfunction mx7 takes nothing
returns booleanreturn getbooleanor(mq7(),mw7())endfunctionfunction my7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895105)
endfunctionfunction m27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895105)
endfunctionfunction mz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895105)
endfunctionfunction m_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895105)
endfunctionfunction n47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895105)
endfunctionfunction n77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895105)
endfunctionfunction n87 takes nothing returns booleanreturn
getbooleanor(n47(),n77())endfunctionfunction n97 takes nothing returns boolean
return getbooleanor(m_7(),n87())endfunctionfunction nd7 takes nothing returns
booleanreturn getbooleanor(mz7(),n97())endfunctionfunction ne7 takes nothing
returns booleanreturn getbooleanor(m27(),nd7())endfunctionfunction nf7 takes
nothing returns booleanif(not getbooleanor(mi7(),m07()))thenreturn falseendif
if(not getbooleanor(mp7(),mx7()))thenreturn falseendifif(not
getbooleanor(my7(),ne7()))thenreturn falseendifreturn trueendfunctionfunction ng7
takes nothing returns booleanif(not nf7())thenreturn falseendifreturn true
endfunctionfunction nh7 takes nothing returns nothingif(ng7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895096))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895093))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895105))call
createitemloc(1227895106,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ni7 takes
nothing returns nothingset qu=createtrigger()call
triggerregisteranyuniteventbj(qu,event_player_unit_pickup_item)call
triggeraddcondition(qu,condition(function mh7))call triggeraddaction(qu,function
nh7)endfunctionfunction nj7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895110)endfunctionfunction nk7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1651732580)endfunctionfunction nm7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1752588652)endfunctionfunction nn7
takes nothing returns booleanreturn getbooleanor(nk7(),nm7())endfunctionfunction
no7 takes nothing returns booleanif(not getbooleanor(nj7(),nn7()))thenreturn false
endifreturn trueendfunctionfunction np7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1651732580)
endfunctionfunction nq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1651732580)
endfunctionfunction nr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1651732580)
endfunctionfunction ns7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1651732580)
endfunctionfunction nt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1651732580)
endfunctionfunction nu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1651732580)
endfunctionfunction nv7 takes nothing returns booleanreturn
getbooleanor(nt7(),nu7())endfunctionfunction nw7 takes nothing returns boolean
return getbooleanor(ns7(),nv7())endfunctionfunction nx7 takes nothing returns
booleanreturn getbooleanor(nr7(),nw7())endfunctionfunction ny7 takes nothing
returns booleanreturn getbooleanor(nq7(),nx7())endfunctionfunction nz7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895110)
endfunctionfunction na7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895110)
endfunctionfunction na7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895110)
endfunctionfunction nb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895110)
endfunctionfunc
tion nb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895110)
endfunctionfunction nc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895110)
endfunctionfunction nc7 takes nothing returns booleanreturn
getbooleanor(nb7(),nc7())endfunctionfunction nd7 takes nothing returns boolean
return getbooleanor(nb7(),nc7())endfunctionfunction ne7 takes nothing returns
booleanreturn getbooleanor(na7(),nd7())endfunctionfunction n37 takes nothing
returns booleanreturn getbooleanor(na7(),ne7())endfunctionfunction nf7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1752588652)
endfunctionfunction ng7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1752588652)
endfunctionfunction n67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1752588652)
endfunctionfunction nh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1752588652)
endfunctionfunction ni7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1752588652)
endfunctionfunction nl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1752588652)
endfunctionfunction n17 takes nothing returns booleanreturn
getbooleanor(ni7(),nl7())endfunctionfunction nj7 takes nothing returns boolean
return getbooleanor(nh7(),n17())endfunctionfunction nk7 takes nothing returns
booleanreturn getbooleanor(n67(),nj7())endfunctionfunction nl7 takes nothing
returns booleanreturn getbooleanor(ng7(),nk7())endfunctionfunction nm7 takes
nothing returns booleanif(not getbooleanor(np7(),ny7()))thenreturn falseendif
if(not getbooleanor(nz7(),n37()))thenreturn falseendifif(not
getbooleanor(nf7(),nl7()))thenreturn falseendifreturn trueendfunctionfunction nn7
takes nothing returns booleanif(not nm7())thenreturn falseendifreturn true
endfunctionfunction no7 takes nothing returns nothingif(nn7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1651732580))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1752588652))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895110))call
createitemloc(1227895107,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction n07 takes
nothing returns nothingset ru=createtrigger()call
triggerregisteranyuniteventbj(ru,event_player_unit_pickup_item)call
triggeraddcondition(ru,condition(function no7))call triggeraddaction(ru,function
no7)endfunctionfunction np7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894863)endfunctionfunction nq7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919512113)endfunctionfunction nr7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1751282792)endfunctionfunction ns7
takes nothing returns booleanreturn getbooleanor(nq7(),nr7())endfunctionfunction
n57 takes nothing returns booleanif(not getbooleanor(np7(),ns7()))thenreturn false
endifreturn trueendfunctionfunction nt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919512113)
endfunctionfunction nu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919512113)
endfunctionfunction nv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919512113)
endfunctionfunction nw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919512113)
endfunctionfunction nx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919512113)
endfunctionfunction ny7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919512113)
endfunctionfunction n27 takes nothing returns booleanreturn
getbooleanor(nx7(),ny7())endfunctionfunction nz7 takes nothing returns boolean
return getbooleanor(nw7(),n27())endfunctionfunction n_7 takes nothing returns
booleanreturn getbooleanor(nv7(),nz7())endfunctionfunction o47 takes nothing
returns booleanreturn getbooleanor(nu7(),n_7())endfunctionfunction o77 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1751282792)
endfunctionfunction o87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1751282792)
endfunctionfunction o97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1751282792)
endfunctionfunction od7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1751282792)
endfunctionfunction oe7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1751282792)
endfunctionfunction of7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1751282792)
endfunctionfunction og7 takes nothing returns booleanreturn
getbooleanor(oe7(),of7())endfunctionfunction oh7 takes nothing returns boolean
return getbooleanor(od7(),og7())endfunctionfunction oi7 takes nothing returns
booleanreturn getbooleanor(o97(),oh7())endfunctionfunction oj7 takes nothing
returns booleanreturn getbooleanor(o87(),oi7())endfunctionfunction ok7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894863)
endfunctionfunction om7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894863)
endfunctionfunction on7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894863)
endfunctionfunction oo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894863)
endfunctionfunction op7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894863)
endfunctionfunction oq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894863)
endfunctionfunction or7 takes nothing returns booleanreturn
getbooleanor(op7(),oq7())endfunctionfunction os7 takes nothing returns boolean
return getbooleanor(oo7(),or7())endfunctionfunction ot7 takes nothing returns
booleanreturn getbooleanor(on7(),os7())endfunctionfunction ou7 takes nothing
returns booleanreturn getbooleanor(om7(),ot7())endfunctionfunction ov7 takes
nothing returns booleanif(not getbooleanor(nt7(),o47()))thenreturn falseendif
if(not getbooleanor(o77(),oj7()))thenreturn falseendifif(not
getbooleanor(ok7(),ou7()))thenreturn falseendifreturn trueendfunctionfunction ow7
takes nothing returns booleanif(not ov7())thenreturn falseendifreturn true
endfunctionfunction ox7 takes nothing returns nothingif(ow7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1751282792))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919512113))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894863))call
createitemloc(1227894862,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction oy7 takes
nothing returns nothingset su=createtrigger()call
triggerregisteranyuniteventbj(su,event_player_unit_pickup_item)call
triggeraddcondition(su,condition(function n57))call triggeraddaction(su,function
ox7)endfunctionfunction oz7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894872)endfunctionfunction oa7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1935827816)endfunctionfunction oa7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919512113)endfunctionfunction ob7
takes nothing returns booleanreturn getbooleanor(oa7(),oa7())endfunctionfunction
ob7 takes nothing returns booleanif(not getbooleanor(oz7(),ob7()))thenreturn false
endifreturn trueendfunctionfunction oc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919512113)
endfunctionfunction oc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919512113)
endfunctionfunction od7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919512113)
endfunctionfunction oe7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919512113)
endfunctionfunction o37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919512113)
endfunctionfunction of7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919512113)
endfunctionfunction og7 takes nothing returns booleanreturn
getbooleanor(o37(),of7())endfunctionfunction o67 takes nothing returns boolean
return getbooleanor(oe7(),og7())endfunctionfunction oh7 takes nothing returns
booleanreturn getbooleanor(od7(),o67())endfunctionfunction oi7 takes nothing
returns booleanreturn getbooleanor(oc7(),oh7())endfunctionfunction ol7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1935827816)
endfunctionfun
ction o17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1935827816)
endfunctionfunction oj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1935827816)
endfunctionfunction ok7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1935827816)
endfunctionfunction ol7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1935827816)
endfunctionfunction om7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1935827816)
endfunctionfunction on7 takes nothing returns booleanreturn
getbooleanor(ol7(),om7())endfunctionfunction oo7 takes nothing returns boolean
return getbooleanor(ok7(),on7())endfunctionfunction o07 takes nothing returns
booleanreturn getbooleanor(oj7(),oo7())endfunctionfunction op7 takes nothing
returns booleanreturn getbooleanor(o17(),o07())endfunctionfunction oq7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894872)
endfunctionfunction or7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894872)
endfunctionfunction os7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894872)
endfunctionfunction o57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894872)
endfunctionfunction ot7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894872)
endfunctionfunction ou7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894872)
endfunctionfunction ov7 takes nothing returns booleanreturn
getbooleanor(ot7(),ou7())endfunctionfunction ow7 takes nothing returns boolean
return getbooleanor(o57(),ov7())endfunctionfunction ox7 takes nothing returns
booleanreturn getbooleanor(os7(),ow7())endfunctionfunction oy7 takes nothing
returns booleanreturn getbooleanor(or7(),ox7())endfunctionfunction o27 takes
nothing returns booleanif(not getbooleanor(oc7(),oi7()))thenreturn falseendif
if(not getbooleanor(ol7(),op7()))thenreturn falseendifif(not
getbooleanor(oq7(),oy7()))thenreturn falseendifreturn trueendfunctionfunction oz7
takes nothing returns booleanif(not o27())thenreturn falseendifreturn true
endfunctionfunction o_7 takes nothing returns nothingif(oz7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1935827816))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919512113))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894872))call
createitemloc(1936943468,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction p47 takes
nothing returns nothingset tu=createtrigger()call
triggerregisteranyuniteventbj(tu,event_player_unit_pickup_item)call
triggeraddcondition(tu,condition(function ob7))call triggeraddaction(tu,function
o_7)endfunctionfunction p77 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894856)endfunctionfunction p87
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1651732580)endfunctionfunction p97
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1734567276)endfunctionfunction pd7
takes nothing returns booleanreturn getbooleanor(p87(),p97())endfunctionfunction
pe7 takes nothing returns booleanif(not getbooleanor(p77(),pd7()))thenreturn false
endifreturn trueendfunctionfunction pf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894856)
endfunctionfunction pg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894856)
endfunctionfunction ph7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894856)
endfunctionfunction pi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894856)
endfunctionfunction pj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894856)
endfunctionfunction pk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894856)
endfunctionfunction pm7 takes nothing returns booleanreturn
getbooleanor(pj7(),pk7())endfunctionfunction pn7 takes nothing returns boolean
return getbooleanor(pi7(),pm7())endfunctionfunction po7 takes nothing returns
booleanreturn getbooleanor(ph7(),pn7())endfunctionfunction pp7 takes nothing
returns booleanreturn getbooleanor(pg7(),po7())endfunctionfunction pq7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1651732580)
endfunctionfunction pr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1651732580)
endfunctionfunction ps7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1651732580)
endfunctionfunction pt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1651732580)
endfunctionfunction pu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1651732580)
endfunctionfunction pv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1651732580)
endfunctionfunction pw7 takes nothing returns booleanreturn
getbooleanor(pu7(),pv7())endfunctionfunction px7 takes nothing returns boolean
return getbooleanor(pt7(),pw7())endfunctionfunction py7 takes nothing returns
booleanreturn getbooleanor(ps7(),px7())endfunctionfunction pz7 takes nothing
returns booleanreturn getbooleanor(pr7(),py7())endfunctionfunction pa7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1734567276)
endfunctionfunction pa7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1734567276)
endfunctionfunction pb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1734567276)
endfunctionfunction pb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1734567276)
endfunctionfunction pc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1734567276)
endfunctionfunction pc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1734567276)
endfunctionfunction pd7 takes nothing returns booleanreturn
getbooleanor(pc7(),pc7())endfunctionfunction pe7 takes nothing returns boolean
return getbooleanor(pb7(),pd7())endfunctionfunction p37 takes nothing returns
booleanreturn getbooleanor(pb7(),pe7())endfunctionfunction pf7 takes nothing
returns booleanreturn getbooleanor(pa7(),p37())endfunctionfunction pg7 takes
nothing returns booleanif(not getbooleanor(pf7(),pp7()))thenreturn falseendif
if(not getbooleanor(pq7(),pz7()))thenreturn falseendifif(not
getbooleanor(pa7(),pf7()))thenreturn falseendifreturn trueendfunctionfunction p67
takes nothing returns booleanif(not pg7())thenreturn falseendifreturn true
endfunctionfunction ph7 takes nothing returns nothingif(p67())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1651732580))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1734567276))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894856))call
createitemloc(1227894857,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction pi7 takes
nothing returns nothingset uu=createtrigger()call
triggerregisteranyuniteventbj(uu,event_player_unit_pickup_item)call
triggeraddcondition(uu,condition(function pe7))call triggeraddaction(uu,function
ph7)endfunctionfunction pl7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894850)endfunctionfunction p17
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1868984943)endfunctionfunction pj7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1734567276)endfunctionfunction pk7
takes nothing returns booleanreturn getbooleanor(p17(),pj7())endfunctionfunction
pl7 takes nothing returns booleanif(not getbooleanor(pl7(),pk7()))thenreturn false
endifreturn trueendfunctionfunction pm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1868984943)
endfunctionfunction pn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1868984943)
endfunctionfunction po7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1868984943)
endfunctionfunction p07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1868984943)
endfunctionfunction pp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1868984943)
endfunctionfunction pq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1868984943)
endfunctionfunction
pr7 takes nothing returns booleanreturn getbooleanor(pp7(),pq7())endfunction
function ps7 takes nothing returns booleanreturn getbooleanor(p07(),pr7())
endfunctionfunction p57 takes nothing returns booleanreturn
getbooleanor(po7(),ps7())endfunctionfunction pt7 takes nothing returns boolean
return getbooleanor(pn7(),p57())endfunctionfunction pu7 takes nothing returns
boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1734567276)
endfunctionfunction pv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1734567276)
endfunctionfunction pw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1734567276)
endfunctionfunction px7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1734567276)
endfunctionfunction py7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1734567276)
endfunctionfunction p27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1734567276)
endfunctionfunction pz7 takes nothing returns booleanreturn
getbooleanor(py7(),p27())endfunctionfunction p_7 takes nothing returns boolean
return getbooleanor(px7(),pz7())endfunctionfunction q47 takes nothing returns
booleanreturn getbooleanor(pw7(),p_7())endfunctionfunction q77 takes nothing
returns booleanreturn getbooleanor(pv7(),q47())endfunctionfunction q87 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894850)
endfunctionfunction q97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894850)
endfunctionfunction qd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894850)
endfunctionfunction qe7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894850)
endfunctionfunction qf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894850)
endfunctionfunction qg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894850)
endfunctionfunction qh7 takes nothing returns booleanreturn
getbooleanor(qf7(),qg7())endfunctionfunction qi7 takes nothing returns boolean
return getbooleanor(qe7(),qh7())endfunctionfunction qj7 takes nothing returns
booleanreturn getbooleanor(qd7(),qi7())endfunctionfunction qk7 takes nothing
returns booleanreturn getbooleanor(q97(),qj7())endfunctionfunction qm7 takes
nothing returns booleanif(not getbooleanor(pm7(),pt7()))thenreturn falseendif
if(not getbooleanor(pu7(),q77()))thenreturn falseendifif(not
getbooleanor(q87(),qk7()))thenreturn falseendifreturn trueendfunctionfunction qn7
takes nothing returns booleanif(not qm7())thenreturn falseendifreturn true
endfunctionfunction qo7 takes nothing returns nothingif(qn7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1868984943))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1734567276))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894850))call
createitemloc(1227894851,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction qp7 takes
nothing returns nothingset vu=createtrigger()call
triggerregisteranyuniteventbj(vu,event_player_unit_pickup_item)call
triggeraddcondition(vu,condition(function pl7))call triggeraddaction(vu,function
qo7)endfunctionfunction qq7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894860)endfunctionfunction qr7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1667984999)endfunctionfunction qs7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920428410)endfunctionfunction qt7
takes nothing returns booleanreturn getbooleanor(qr7(),qs7())endfunctionfunction
qu7 takes nothing returns booleanif(not getbooleanor(qq7(),qt7()))thenreturn false
endifreturn trueendfunctionfunction qv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894860)
endfunctionfunction qw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894860)
endfunctionfunction qx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894860)
endfunctionfunction qy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894860)
endfunctionfunction qz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894860)
endfunctionfunction qa7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894860)
endfunctionfunction qa7 takes nothing returns booleanreturn
getbooleanor(qz7(),qa7())endfunctionfunction qb7 takes nothing returns boolean
return getbooleanor(qy7(),qa7())endfunctionfunction qb7 takes nothing returns
booleanreturn getbooleanor(qx7(),qb7())endfunctionfunction qc7 takes nothing
returns booleanreturn getbooleanor(qw7(),qb7())endfunctionfunction qc7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920428410)
endfunctionfunction qd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920428410)
endfunctionfunction qe7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920428410)
endfunctionfunction q37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920428410)
endfunctionfunction qf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920428410)
endfunctionfunction qg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920428410)
endfunctionfunction q67 takes nothing returns booleanreturn
getbooleanor(qf7(),qg7())endfunctionfunction qh7 takes nothing returns boolean
return getbooleanor(q37(),q67())endfunctionfunction qi7 takes nothing returns
booleanreturn getbooleanor(qe7(),qh7())endfunctionfunction ql7 takes nothing
returns booleanreturn getbooleanor(qd7(),qi7())endfunctionfunction q17 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1667984999)
endfunctionfunction qj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1667984999)
endfunctionfunction qk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1667984999)
endfunctionfunction ql7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1667984999)
endfunctionfunction qm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1667984999)
endfunctionfunction qn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1667984999)
endfunctionfunction qo7 takes nothing returns booleanreturn
getbooleanor(qm7(),qn7())endfunctionfunction q07 takes nothing returns boolean
return getbooleanor(ql7(),qo7())endfunctionfunction qp7 takes nothing returns
booleanreturn getbooleanor(qk7(),q07())endfunctionfunction qq7 takes nothing
returns booleanreturn getbooleanor(qj7(),qp7())endfunctionfunction qr7 takes
nothing returns booleanif(not getbooleanor(qv7(),qc7()))thenreturn falseendif
if(not getbooleanor(qc7(),ql7()))thenreturn falseendifif(not
getbooleanor(q17(),qq7()))thenreturn falseendifreturn trueendfunctionfunction qs7
takes nothing returns booleanif(not qr7())thenreturn falseendifreturn true
endfunctionfunction q57 takes nothing returns nothingif(qs7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1667984999))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920428410))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894860))call
createitemloc(1227894861,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction qt7 takes
nothing returns nothingset wu=createtrigger()call
triggerregisteranyuniteventbj(wu,event_player_unit_pickup_item)call
triggeraddcondition(wu,condition(function qu7))call triggeraddaction(wu,function
q57)endfunctionfunction qu7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895123)endfunctionfunction qv7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1667984999)endfunctionfunction qw7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895125)endfunctionfunction qx7
takes nothing returns booleanreturn getbooleanor(qv7(),qw7())endfunctionfunction
qy7 takes nothing returns booleanif(not getbooleanor(qu7(),qx7()))thenreturn false
endifreturn trueendfunctionfunction q27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895125)
endfunctionfunction qz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895125)
endfunctionfunction q_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895125)
endfunctionfunctio
n r47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895125)
endfunctionfunction r77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895125)
endfunctionfunction r87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895125)
endfunctionfunction r97 takes nothing returns booleanreturn
getbooleanor(r77(),r87())endfunctionfunction rd7 takes nothing returns boolean
return getbooleanor(r47(),r97())endfunctionfunction re7 takes nothing returns
booleanreturn getbooleanor(q_7(),rd7())endfunctionfunction rf7 takes nothing
returns booleanreturn getbooleanor(qz7(),re7())endfunctionfunction rg7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1667984999)
endfunctionfunction rh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1667984999)
endfunctionfunction ri7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1667984999)
endfunctionfunction rj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1667984999)
endfunctionfunction rk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1667984999)
endfunctionfunction rm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1667984999)
endfunctionfunction rn7 takes nothing returns booleanreturn
getbooleanor(rk7(),rm7())endfunctionfunction ro7 takes nothing returns boolean
return getbooleanor(rj7(),rn7())endfunctionfunction rp7 takes nothing returns
booleanreturn getbooleanor(ri7(),ro7())endfunctionfunction rq7 takes nothing
returns booleanreturn getbooleanor(rh7(),rp7())endfunctionfunction rr7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895123)
endfunctionfunction rs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895123)
endfunctionfunction rt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895123)
endfunctionfunction ru7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895123)
endfunctionfunction rv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895123)
endfunctionfunction rw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895123)
endfunctionfunction rx7 takes nothing returns booleanreturn
getbooleanor(rv7(),rw7())endfunctionfunction ry7 takes nothing returns boolean
return getbooleanor(ru7(),rx7())endfunctionfunction rz7 takes nothing returns
booleanreturn getbooleanor(rt7(),ry7())endfunctionfunction ra7 takes nothing
returns booleanreturn getbooleanor(rs7(),rz7())endfunctionfunction ra7 takes
nothing returns booleanif(not getbooleanor(q27(),rf7()))thenreturn falseendif
if(not getbooleanor(rg7(),rq7()))thenreturn falseendifif(not
getbooleanor(rr7(),ra7()))thenreturn falseendifreturn trueendfunctionfunction rb7
takes nothing returns booleanif(not ra7())thenreturn falseendifreturn true
endfunctionfunction rb7 takes nothing returns nothingif(rb7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1667984999))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895125))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895123))call
createitemloc(1227895122,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction rc7 takes
nothing returns nothingset xu=createtrigger()call
triggerregisteranyuniteventbj(xu,event_player_unit_pickup_item)call
triggeraddcondition(xu,condition(function qy7))call triggeraddaction(xu,function
rb7)endfunctionfunction rc7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894870)endfunctionfunction rd7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1868787570)endfunctionfunction re7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1768842867)endfunctionfunction r37
takes nothing returns booleanreturn getbooleanor(rd7(),re7())endfunctionfunction
rf7 takes nothing returns booleanif(not getbooleanor(rc7(),r37()))thenreturn false
endifreturn trueendfunctionfunction rg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1868787570)
endfunctionfunction r67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1868787570)
endfunctionfunction rh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1868787570)
endfunctionfunction ri7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1868787570)
endfunctionfunction rl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1868787570)
endfunctionfunction r17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1868787570)
endfunctionfunction rj7 takes nothing returns booleanreturn
getbooleanor(rl7(),r17())endfunctionfunction rk7 takes nothing returns boolean
return getbooleanor(ri7(),rj7())endfunctionfunction rl7 takes nothing returns
booleanreturn getbooleanor(rh7(),rk7())endfunctionfunction rm7 takes nothing
returns booleanreturn getbooleanor(r67(),rl7())endfunctionfunction rn7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1768842867)
endfunctionfunction ro7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1768842867)
endfunctionfunction r07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1768842867)
endfunctionfunction rp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1768842867)
endfunctionfunction rq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1768842867)
endfunctionfunction rr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1768842867)
endfunctionfunction rs7 takes nothing returns booleanreturn
getbooleanor(rq7(),rr7())endfunctionfunction r57 takes nothing returns boolean
return getbooleanor(rp7(),rs7())endfunctionfunction rt7 takes nothing returns
booleanreturn getbooleanor(r07(),r57())endfunctionfunction ru7 takes nothing
returns booleanreturn getbooleanor(ro7(),rt7())endfunctionfunction rv7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894870)
endfunctionfunction rw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894870)
endfunctionfunction rx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894870)
endfunctionfunction ry7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894870)
endfunctionfunction r27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894870)
endfunctionfunction rz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894870)
endfunctionfunction r_7 takes nothing returns booleanreturn
getbooleanor(r27(),rz7())endfunctionfunction s47 takes nothing returns boolean
return getbooleanor(ry7(),r_7())endfunctionfunction s77 takes nothing returns
booleanreturn getbooleanor(rx7(),s47())endfunctionfunction s87 takes nothing
returns booleanreturn getbooleanor(rw7(),s77())endfunctionfunction s97 takes
nothing returns booleanif(not getbooleanor(rg7(),rm7()))thenreturn falseendif
if(not getbooleanor(rn7(),ru7()))thenreturn falseendifif(not
getbooleanor(rv7(),s87()))thenreturn falseendifreturn trueendfunctionfunction sd7
takes nothing returns booleanif(not s97())thenreturn falseendifreturn true
endfunctionfunction se7 takes nothing returns nothingif(sd7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1868787570))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1768842867))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894870))call
createitemloc(1227894871,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction sf7 takes
nothing returns nothingset yu=createtrigger()call
triggerregisteranyuniteventbj(yu,event_player_unit_pickup_item)call
triggeraddcondition(yu,condition(function rf7))call triggeraddaction(yu,function
se7)endfunctionfunction sg7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894867)endfunctionfunction sh7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989414)endfunctionfunction si7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1836016756)endfunctionfunction sj7
takes nothing returns booleanreturn getbooleanor(sh7(),si7())endfunctionfunction
sk7 takes nothing returns
booleanif(not getbooleanor(sg7(),sj7()))thenreturn falseendifreturn true
endfunctionfunction sm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894867)
endfunctionfunction sn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894867)
endfunctionfunction so7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894867)
endfunctionfunction sp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894867)
endfunctionfunction sq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894867)
endfunctionfunction sr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894867)
endfunctionfunction ss7 takes nothing returns booleanreturn
getbooleanor(sq7(),sr7())endfunctionfunction st7 takes nothing returns boolean
return getbooleanor(sp7(),ss7())endfunctionfunction su7 takes nothing returns
booleanreturn getbooleanor(so7(),st7())endfunctionfunction sv7 takes nothing
returns booleanreturn getbooleanor(sn7(),su7())endfunctionfunction sw7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1836016756)
endfunctionfunction sx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1836016756)
endfunctionfunction sy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1836016756)
endfunctionfunction sz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1836016756)
endfunctionfunction sa7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1836016756)
endfunctionfunction sa7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1836016756)
endfunctionfunction sb7 takes nothing returns booleanreturn
getbooleanor(sa7(),sa7())endfunctionfunction sb7 takes nothing returns boolean
return getbooleanor(sz7(),sb7())endfunctionfunction sc7 takes nothing returns
booleanreturn getbooleanor(sy7(),sb7())endfunctionfunction sc7 takes nothing
returns booleanreturn getbooleanor(sx7(),sc7())endfunctionfunction sd7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989414)
endfunctionfunction se7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989414)
endfunctionfunction s37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989414)
endfunctionfunction sf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989414)
endfunctionfunction sg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989414)
endfunctionfunction s67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989414)
endfunctionfunction sh7 takes nothing returns booleanreturn
getbooleanor(sg7(),s67())endfunctionfunction si7 takes nothing returns boolean
return getbooleanor(sf7(),sh7())endfunctionfunction sl7 takes nothing returns
booleanreturn getbooleanor(s37(),si7())endfunctionfunction s17 takes nothing
returns booleanreturn getbooleanor(se7(),sl7())endfunctionfunction sj7 takes
nothing returns booleanif(not getbooleanor(sm7(),sv7()))thenreturn falseendif
if(not getbooleanor(sw7(),sc7()))thenreturn falseendifif(not
getbooleanor(sd7(),s17()))thenreturn falseendifreturn trueendfunctionfunction sk7
takes nothing returns booleanif(not sj7())thenreturn falseendifreturn true
endfunctionfunction sl7 takes nothing returns nothingif(sk7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1836016756))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989414))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894867))call
createitemloc(1768842867,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction sm7 takes
nothing returns nothingset zu=createtrigger()call
triggerregisteranyuniteventbj(zu,event_player_unit_pickup_item)call
triggeraddcondition(zu,condition(function sk7))call triggeraddaction(zu,function
sl7)endfunctionfunction sn7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895370)endfunctionfunction so7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918986033)endfunctionfunction s07
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1751348590)endfunctionfunction sp7
takes nothing returns booleanreturn getbooleanor(so7(),s07())endfunctionfunction
sq7 takes nothing returns booleanif(not getbooleanor(sn7(),sp7()))thenreturn false
endifreturn trueendfunctionfunction sr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918986033)
endfunctionfunction ss7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918986033)
endfunctionfunction s57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918986033)
endfunctionfunction st7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918986033)
endfunctionfunction su7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918986033)
endfunctionfunction sv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918986033)
endfunctionfunction sw7 takes nothing returns booleanreturn
getbooleanor(su7(),sv7())endfunctionfunction sx7 takes nothing returns boolean
return getbooleanor(st7(),sw7())endfunctionfunction sy7 takes nothing returns
booleanreturn getbooleanor(s57(),sx7())endfunctionfunction s27 takes nothing
returns booleanreturn getbooleanor(ss7(),sy7())endfunctionfunction sz7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1751348590)
endfunctionfunction s_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1751348590)
endfunctionfunction t47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1751348590)
endfunctionfunction t77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1751348590)
endfunctionfunction t87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1751348590)
endfunctionfunction t97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1751348590)
endfunctionfunction td7 takes nothing returns booleanreturn
getbooleanor(t87(),t97())endfunctionfunction te7 takes nothing returns boolean
return getbooleanor(t77(),td7())endfunctionfunction tf7 takes nothing returns
booleanreturn getbooleanor(t47(),te7())endfunctionfunction tg7 takes nothing
returns booleanreturn getbooleanor(s_7(),tf7())endfunctionfunction th7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895370)
endfunctionfunction ti7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895370)
endfunctionfunction tj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895370)
endfunctionfunction tk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895370)
endfunctionfunction tm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895370)
endfunctionfunction tn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895370)
endfunctionfunction to7 takes nothing returns booleanreturn
getbooleanor(tm7(),tn7())endfunctionfunction tp7 takes nothing returns boolean
return getbooleanor(tk7(),to7())endfunctionfunction tq7 takes nothing returns
booleanreturn getbooleanor(tj7(),tp7())endfunctionfunction tr7 takes nothing
returns booleanreturn getbooleanor(ti7(),tq7())endfunctionfunction ts7 takes
nothing returns booleanif(not getbooleanor(sr7(),s27()))thenreturn falseendif
if(not getbooleanor(sz7(),tg7()))thenreturn falseendifif(not
getbooleanor(th7(),tr7()))thenreturn falseendifreturn trueendfunctionfunction tt7
takes nothing returns booleanif(not ts7())thenreturn falseendifreturn true
endfunctionfunction tu7 takes nothing returns nothingif(tt7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1751348590))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918986033))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895370))call
createitemloc(1868984943,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction tv7 takes
nothing returns nothingset au=createtrigger()call
triggerregisteranyuniteventbj(au,event_player_unit_pickup_item)call
triggeraddcondition(au,condition(function sq7))call triggeraddaction(au,function
tu7)endfunctionfunction tw7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895371)endfunctionfunction tx7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1650814070)endfunctionfunction ty7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936749416)endfunctionfunction tz7
takes nothing returns booleanreturn getbooleanor(tx7(),ty7())endfunctionfunction
ta7 takes nothing returns booleanif(not getbooleanor(tw7(),tz7()))thenreturn false
endifreturn trueendfunctionfunction ta7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1650814070)
endfunctionfunction tb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1650814070)
endfunctionfunction tb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1650814070)
endfunctionfunction tc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1650814070)
endfunctionfunction tc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1650814070)
endfunctionfunction td7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1650814070)
endfunctionfunction te7 takes nothing returns booleanreturn
getbooleanor(tc7(),td7())endfunctionfunction t37 takes nothing returns boolean
return getbooleanor(tc7(),te7())endfunctionfunction tf7 takes nothing returns
booleanreturn getbooleanor(tb7(),t37())endfunctionfunction tg7 takes nothing
returns booleanreturn getbooleanor(tb7(),tf7())endfunctionfunction t67 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936749416)
endfunctionfunction th7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936749416)
endfunctionfunction ti7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936749416)
endfunctionfunction tl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936749416)
endfunctionfunction t17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936749416)
endfunctionfunction tj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936749416)
endfunctionfunction tk7 takes nothing returns booleanreturn
getbooleanor(t17(),tj7())endfunctionfunction tl7 takes nothing returns boolean
return getbooleanor(tl7(),tk7())endfunctionfunction tm7 takes nothing returns
booleanreturn getbooleanor(ti7(),tl7())endfunctionfunction tn7 takes nothing
returns booleanreturn getbooleanor(th7(),tm7())endfunctionfunction to7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895371)
endfunctionfunction t07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895371)
endfunctionfunction tp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895371)
endfunctionfunction tq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895371)
endfunctionfunction tr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895371)
endfunctionfunction ts7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895371)
endfunctionfunction t57 takes nothing returns booleanreturn
getbooleanor(tr7(),ts7())endfunctionfunction tt7 takes nothing returns boolean
return getbooleanor(tq7(),t57())endfunctionfunction tu7 takes nothing returns
booleanreturn getbooleanor(tp7(),tt7())endfunctionfunction tv7 takes nothing
returns booleanreturn getbooleanor(t07(),tu7())endfunctionfunction tw7 takes
nothing returns booleanif(not getbooleanor(ta7(),tg7()))thenreturn falseendif
if(not getbooleanor(t67(),tn7()))thenreturn falseendifif(not
getbooleanor(to7(),tv7()))thenreturn falseendifreturn trueendfunctionfunction tx7
takes nothing returns booleanif(not tw7())thenreturn falseendifreturn true
endfunctionfunction ty7 takes nothing returns nothingif(tx7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1650814070))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936749416))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895371))call
createitemloc(1919512113,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction t27 takes
nothing returns nothingset au=createtrigger()call
triggerregisteranyuniteventbj(au,event_player_unit_pickup_item)call
triggeraddcondition(au,condition(function ta7))call triggeraddaction(au,function
ty7)endfunctionfunction tz7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895375)endfunctionfunction t_7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918986033)endfunctionfunction u47
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1752588652)endfunctionfunction u77
takes nothing returns booleanreturn getbooleanor(t_7(),u47())endfunctionfunction
u87 takes nothing returns booleanif(not getbooleanor(tz7(),u77()))thenreturn false
endifreturn trueendfunctionfunction u97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918986033)
endfunctionfunction ud7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918986033)
endfunctionfunction ue7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918986033)
endfunctionfunction uf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918986033)
endfunctionfunction ug7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918986033)
endfunctionfunction uh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918986033)
endfunctionfunction ui7 takes nothing returns booleanreturn
getbooleanor(ug7(),uh7())endfunctionfunction uj7 takes nothing returns boolean
return getbooleanor(uf7(),ui7())endfunctionfunction uk7 takes nothing returns
booleanreturn getbooleanor(ue7(),uj7())endfunctionfunction um7 takes nothing
returns booleanreturn getbooleanor(ud7(),uk7())endfunctionfunction un7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895375)
endfunctionfunction uo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895375)
endfunctionfunction up7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895375)
endfunctionfunction uq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895375)
endfunctionfunction ur7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895375)
endfunctionfunction us7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895375)
endfunctionfunction ut7 takes nothing returns booleanreturn
getbooleanor(ur7(),us7())endfunctionfunction uu7 takes nothing returns boolean
return getbooleanor(uq7(),ut7())endfunctionfunction uv7 takes nothing returns
booleanreturn getbooleanor(up7(),uu7())endfunctionfunction uw7 takes nothing
returns booleanreturn getbooleanor(uo7(),uv7())endfunctionfunction ux7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1752588652)
endfunctionfunction uy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1752588652)
endfunctionfunction uz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1752588652)
endfunctionfunction ua7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1752588652)
endfunctionfunction ua7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1752588652)
endfunctionfunction ub7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1752588652)
endfunctionfunction ub7 takes nothing returns booleanreturn
getbooleanor(ua7(),ub7())endfunctionfunction uc7 takes nothing returns boolean
return getbooleanor(ua7(),ub7())endfunctionfunction uc7 takes nothing returns
booleanreturn getbooleanor(uz7(),uc7())endfunctionfunction ud7 takes nothing
returns booleanreturn getbooleanor(uy7(),uc7())endfunctionfunction ue7 takes
nothing returns booleanif(not getbooleanor(u97(),um7()))thenreturn falseendif
if(not getbooleanor(un7(),uw7()))thenreturn falseendifif(not
getbooleanor(ux7(),ud7()))thenreturn falseendifreturn trueendfunctionfunction u37
takes nothing returns booleanif(not ue7())thenreturn falseendifreturn true
endfunctionfunction uf7 takes nothing returns nothingif(u37())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918986033))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895375))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1752588652))call
createitemloc(1668051812,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human
\\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ug7 takes
nothing returns nothingset bu=createtrigger()call
triggerregisteranyuniteventbj(bu,event_player_unit_pickup_item)call
triggeraddcondition(bu,condition(function u87))call triggeraddaction(bu,function
uf7)endfunctionfunction u67 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895376)endfunctionfunction uh7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction ui7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936749416)endfunctionfunction ul7
takes nothing returns booleanreturn getbooleanor(uh7(),ui7())endfunctionfunction
u17 takes nothing returns booleanif(not getbooleanor(u67(),ul7()))thenreturn false
endifreturn trueendfunctionfunction uj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction uk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction ul7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction um7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction un7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction uo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction u07 takes nothing returns booleanreturn
getbooleanor(un7(),uo7())endfunctionfunction up7 takes nothing returns boolean
return getbooleanor(um7(),u07())endfunctionfunction uq7 takes nothing returns
booleanreturn getbooleanor(ul7(),up7())endfunctionfunction ur7 takes nothing
returns booleanreturn getbooleanor(uk7(),uq7())endfunctionfunction us7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936749416)
endfunctionfunction u57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936749416)
endfunctionfunction ut7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936749416)
endfunctionfunction uu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936749416)
endfunctionfunction uv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936749416)
endfunctionfunction uw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936749416)
endfunctionfunction ux7 takes nothing returns booleanreturn
getbooleanor(uv7(),uw7())endfunctionfunction uy7 takes nothing returns boolean
return getbooleanor(uu7(),ux7())endfunctionfunction u27 takes nothing returns
booleanreturn getbooleanor(ut7(),uy7())endfunctionfunction uz7 takes nothing
returns booleanreturn getbooleanor(u57(),u27())endfunctionfunction u_7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895376)
endfunctionfunction v47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895376)
endfunctionfunction v77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895376)
endfunctionfunction v87 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895376)
endfunctionfunction v97 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895376)
endfunctionfunction vd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895376)
endfunctionfunction ve7 takes nothing returns booleanreturn
getbooleanor(v97(),vd7())endfunctionfunction vf7 takes nothing returns boolean
return getbooleanor(v87(),ve7())endfunctionfunction vg7 takes nothing returns
booleanreturn getbooleanor(v77(),vf7())endfunctionfunction vh7 takes nothing
returns booleanreturn getbooleanor(v47(),vg7())endfunctionfunction vi7 takes
nothing returns booleanif(not getbooleanor(uj7(),ur7()))thenreturn falseendif
if(not getbooleanor(us7(),uz7()))thenreturn falseendifif(not
getbooleanor(u_7(),vh7()))thenreturn falseendifreturn trueendfunctionfunction vj7
takes nothing returns booleanif(not vi7())thenreturn falseendifreturn true
endfunctionfunction vk7 takes nothing returns nothingif(vj7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936749416))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895376))call
createitemloc(1868787570,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction vm7 takes
nothing returns nothingset bu=createtrigger()call
triggerregisteranyuniteventbj(bu,event_player_unit_pickup_item)call
triggeraddcondition(bu,condition(function u17))call triggeraddaction(bu,function
vk7)endfunctionfunction vn7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895623)endfunctionfunction vo7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction vp7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction vq7
takes nothing returns booleanreturn getbooleanor(vo7(),vp7())endfunctionfunction
vr7 takes nothing returns booleanif(not getbooleanor(vn7(),vq7()))thenreturn false
endifreturn trueendfunctionfunction vs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895623)
endfunctionfunction vt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895623)
endfunctionfunction vu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895623)
endfunctionfunction vv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895623)
endfunctionfunction vw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895623)
endfunctionfunction vx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895623)
endfunctionfunction vy7 takes nothing returns booleanreturn
getbooleanor(vw7(),vx7())endfunctionfunction vz7 takes nothing returns boolean
return getbooleanor(vv7(),vy7())endfunctionfunction va7 takes nothing returns
booleanreturn getbooleanor(vu7(),vz7())endfunctionfunction va7 takes nothing
returns booleanreturn getbooleanor(vt7(),va7())endfunctionfunction vb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction vb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction vc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction vc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction vd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction ve7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction v37 takes nothing returns booleanreturn
getbooleanor(vd7(),ve7())endfunctionfunction vf7 takes nothing returns boolean
return getbooleanor(vc7(),v37())endfunctionfunction vg7 takes nothing returns
booleanreturn getbooleanor(vc7(),vf7())endfunctionfunction v67 takes nothing
returns booleanreturn getbooleanor(vb7(),vg7())endfunctionfunction vh7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction vi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction vl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction v17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction vj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction vk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction vl7 takes nothing returns booleanreturn
getbooleanor(vj7(),vk7())endfunctionfunction vm7 takes nothing returns boolean
return getbooleanor(v17(),vl7())endfunctionfunction vn7 takes nothing returns
booleanreturn getbooleanor(vl7(),vm7())endfunctionfunction vo7 takes nothing
returns booleanreturn getbooleanor(vi7(),vn7())endfunctionfunction v07 takes
nothing returns booleanif(not getbooleanor(vs7(),va7()))thenreturn falseendif
if(not getbooleanor(vb7(),v67()))thenreturn falseendifif(not
getbooleanor(vh7(),vo7()))thenreturn falseendifreturn trueendfunctionfunction vp7
takes nothing returns
booleanif(not v07())thenreturn falseendifreturn trueendfunctionfunction vq7 takes
nothing returns nothingif(vp7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895623))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
createitemloc(1227895622,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction vr7 takes
nothing returns nothingset cu=createtrigger()call
triggerregisteranyuniteventbj(cu,event_player_unit_pickup_item)call
triggeraddcondition(cu,condition(function vr7))call triggeraddaction(cu,function
vq7)endfunctionfunction vs7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895377)endfunctionfunction v57
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1818715240)endfunctionfunction vt7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989411)endfunctionfunction vu7
takes nothing returns booleanreturn getbooleanor(v57(),vt7())endfunctionfunction
vv7 takes nothing returns booleanif(not getbooleanor(vs7(),vu7()))thenreturn false
endifreturn trueendfunctionfunction vw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895377)
endfunctionfunction vx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895377)
endfunctionfunction vy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895377)
endfunctionfunction v27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895377)
endfunctionfunction vz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895377)
endfunctionfunction v_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895377)
endfunctionfunction w47 takes nothing returns booleanreturn
getbooleanor(vz7(),v_7())endfunctionfunction w77 takes nothing returns boolean
return getbooleanor(v27(),w47())endfunctionfunction w87 takes nothing returns
booleanreturn getbooleanor(vy7(),w77())endfunctionfunction w97 takes nothing
returns booleanreturn getbooleanor(vx7(),w87())endfunctionfunction wd7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1818715240)
endfunctionfunction we7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1818715240)
endfunctionfunction wf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1818715240)
endfunctionfunction wg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1818715240)
endfunctionfunction wh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1818715240)
endfunctionfunction wi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1818715240)
endfunctionfunction wj7 takes nothing returns booleanreturn
getbooleanor(wh7(),wi7())endfunctionfunction wk7 takes nothing returns boolean
return getbooleanor(wg7(),wj7())endfunctionfunction wm7 takes nothing returns
booleanreturn getbooleanor(wf7(),wk7())endfunctionfunction wn7 takes nothing
returns booleanreturn getbooleanor(we7(),wm7())endfunctionfunction wo7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989411)
endfunctionfunction wp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989411)
endfunctionfunction wq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989411)
endfunctionfunction wr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989411)
endfunctionfunction ws7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989411)
endfunctionfunction wt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989411)
endfunctionfunction wu7 takes nothing returns booleanreturn
getbooleanor(ws7(),wt7())endfunctionfunction wv7 takes nothing returns boolean
return getbooleanor(wr7(),wu7())endfunctionfunction ww7 takes nothing returns
booleanreturn getbooleanor(wq7(),wv7())endfunctionfunction wx7 takes nothing
returns booleanreturn getbooleanor(wp7(),ww7())endfunctionfunction wy7 takes
nothing returns booleanif(not getbooleanor(vw7(),w97()))thenreturn falseendif
if(not getbooleanor(wd7(),wn7()))thenreturn falseendifif(not
getbooleanor(wo7(),wx7()))thenreturn falseendifreturn trueendfunctionfunction wz7
takes nothing returns booleanif(not wy7())thenreturn falseendifreturn true
endfunctionfunction wa7 takes nothing returns nothingif(wz7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1818715240))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989411))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895377))call
createitemloc(1836016756,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction wa7 takes
nothing returns nothingset cu=createtrigger()call
triggerregisteranyuniteventbj(cu,event_player_unit_pickup_item)call
triggeraddcondition(cu,condition(function vv7))call triggeraddaction(cu,function
wa7)endfunctionfunction wb7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895372)endfunctionfunction wb7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1685288301)endfunctionfunction wc7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction wc7
takes nothing returns booleanreturn getbooleanor(wb7(),wc7())endfunctionfunction
wd7 takes nothing returns booleanif(not getbooleanor(wb7(),wc7()))thenreturn false
endifreturn trueendfunctionfunction we7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1685288301)
endfunctionfunction w37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1685288301)
endfunctionfunction wf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1685288301)
endfunctionfunction wg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1685288301)
endfunctionfunction w67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1685288301)
endfunctionfunction wh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1685288301)
endfunctionfunction wi7 takes nothing returns booleanreturn
getbooleanor(w67(),wh7())endfunctionfunction wl7 takes nothing returns boolean
return getbooleanor(wg7(),wi7())endfunctionfunction w17 takes nothing returns
booleanreturn getbooleanor(wf7(),wl7())endfunctionfunction wj7 takes nothing
returns booleanreturn getbooleanor(w37(),w17())endfunctionfunction wk7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction wl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction wm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction wn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction wo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction w07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction wp7 takes nothing returns booleanreturn
getbooleanor(wo7(),w07())endfunctionfunction wq7 takes nothing returns boolean
return getbooleanor(wn7(),wp7())endfunctionfunction wr7 takes nothing returns
booleanreturn getbooleanor(wm7(),wq7())endfunctionfunction ws7 takes nothing
returns booleanreturn getbooleanor(wl7(),wr7())endfunctionfunction w57 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895372)
endfunctionfunction wt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895372)
endfunctionfunction wu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895372)
endfunctionfunction wv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895372)
endfunctionfunction ww7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895372)
endfunctionfunction wx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895372)
endfunctionfunction wy7 takes nothing returns booleanreturn
getbooleanor(ww7(),wx7())endfunctionfunction w27 takes nothing returns boolean
return
getbooleanor(wv7(),wy7())endfunctionfunction wz7 takes nothing returns boolean
return getbooleanor(wu7(),w27())endfunctionfunction w_7 takes nothing returns
booleanreturn getbooleanor(wt7(),wz7())endfunctionfunction x47 takes nothing
returns booleanif(not getbooleanor(we7(),wj7()))thenreturn falseendifif(not
getbooleanor(wk7(),ws7()))thenreturn falseendifif(not
getbooleanor(w57(),w_7()))thenreturn falseendifreturn trueendfunctionfunction x77
takes nothing returns booleanif(not x47())thenreturn falseendifreturn true
endfunctionfunction x87 takes nothing returns nothingif(x77())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1685288301))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895372))call
createitemloc(1919707494,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction x97 takes
nothing returns nothingset du=createtrigger()call
triggerregisteranyuniteventbj(du,event_player_unit_pickup_item)call
triggeraddcondition(du,condition(function wd7))call triggeraddaction(du,function
x87)endfunctionfunction xd7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894866)endfunctionfunction xe7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919182131)endfunctionfunction xf7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919182132)endfunctionfunction xg7
takes nothing returns booleanreturn getbooleanor(xe7(),xf7())endfunctionfunction
xh7 takes nothing returns booleanif(not getbooleanor(xd7(),xg7()))thenreturn false
endifreturn trueendfunctionfunction xi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919182132)
endfunctionfunction xj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919182132)
endfunctionfunction xk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919182132)
endfunctionfunction xm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919182132)
endfunctionfunction xn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919182132)
endfunctionfunction xo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919182132)
endfunctionfunction xp7 takes nothing returns booleanreturn
getbooleanor(xn7(),xo7())endfunctionfunction xq7 takes nothing returns boolean
return getbooleanor(xm7(),xp7())endfunctionfunction xr7 takes nothing returns
booleanreturn getbooleanor(xk7(),xq7())endfunctionfunction xs7 takes nothing
returns booleanreturn getbooleanor(xj7(),xr7())endfunctionfunction xt7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919182131)
endfunctionfunction xu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919182131)
endfunctionfunction xv7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919182131)
endfunctionfunction xw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919182131)
endfunctionfunction xx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919182131)
endfunctionfunction xy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919182131)
endfunctionfunction xz7 takes nothing returns booleanreturn
getbooleanor(xx7(),xy7())endfunctionfunction xa7 takes nothing returns boolean
return getbooleanor(xw7(),xz7())endfunctionfunction xa7 takes nothing returns
booleanreturn getbooleanor(xv7(),xa7())endfunctionfunction xb7 takes nothing
returns booleanreturn getbooleanor(xu7(),xa7())endfunctionfunction xb7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894866)
endfunctionfunction xc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894866)
endfunctionfunction xc7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894866)
endfunctionfunction xd7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894866)
endfunctionfunction xe7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894866)
endfunctionfunction x37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894866)
endfunctionfunction xf7 takes nothing returns booleanreturn
getbooleanor(xe7(),x37())endfunctionfunction xg7 takes nothing returns boolean
return getbooleanor(xd7(),xf7())endfunctionfunction x67 takes nothing returns
booleanreturn getbooleanor(xc7(),xg7())endfunctionfunction xh7 takes nothing
returns booleanreturn getbooleanor(xc7(),x67())endfunctionfunction xi7 takes
nothing returns booleanif(not getbooleanor(xi7(),xs7()))thenreturn falseendif
if(not getbooleanor(xt7(),xb7()))thenreturn falseendifif(not
getbooleanor(xb7(),xh7()))thenreturn falseendifreturn trueendfunctionfunction xl7
takes nothing returns booleanif(not xi7())thenreturn falseendifreturn true
endfunctionfunction x17 takes nothing returns nothingif(xl7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919182132))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919182131))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894866))call
createitemloc(1835233141,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction xj7 takes
nothing returns nothingset eu=createtrigger()call
triggerregisteranyuniteventbj(eu,event_player_unit_pickup_item)call
triggeraddcondition(eu,condition(function xh7))call triggeraddaction(eu,function
x17)endfunctionfunction xk7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895625)endfunctionfunction xl7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895619)endfunctionfunction xm7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919182132)endfunctionfunction xn7
takes nothing returns booleanreturn getbooleanor(xl7(),xm7())endfunctionfunction
xo7 takes nothing returns booleanif(not getbooleanor(xk7(),xn7()))thenreturn false
endifreturn trueendfunctionfunction x07 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919182132)
endfunctionfunction xp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919182132)
endfunctionfunction xq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919182132)
endfunctionfunction xr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919182132)
endfunctionfunction xs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919182132)
endfunctionfunction x57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919182132)
endfunctionfunction xt7 takes nothing returns booleanreturn
getbooleanor(xs7(),x57())endfunctionfunction xu7 takes nothing returns boolean
return getbooleanor(xr7(),xt7())endfunctionfunction xv7 takes nothing returns
booleanreturn getbooleanor(xq7(),xu7())endfunctionfunction xw7 takes nothing
returns booleanreturn getbooleanor(xp7(),xv7())endfunctionfunction xx7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895619)
endfunctionfunction xy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895619)
endfunctionfunction x27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895619)
endfunctionfunction xz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895619)
endfunctionfunction x_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895619)
endfunctionfunction y47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895619)
endfunctionfunction y77 takes nothing returns booleanreturn
getbooleanor(x_7(),y47())endfunctionfunction y87 takes nothing returns boolean
return getbooleanor(xz7(),y77())endfunctionfunction y97 takes nothing returns
booleanreturn getbooleanor(x27(),y87())endfunctionfunction yd7 takes nothing
returns booleanreturn getbooleanor(xy7(),y97())endfunctionfunction ye7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895625)
endfunctionfunction yf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895625)
endfunctionfunction yg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895625)
endfunctionfunction yh7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895625)
endfunctionfunc
tion yi7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895625)
endfunctionfunction yj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895625)
endfunctionfunction yk7 takes nothing returns booleanreturn
getbooleanor(yi7(),yj7())endfunctionfunction ym7 takes nothing returns boolean
return getbooleanor(yh7(),yk7())endfunctionfunction yn7 takes nothing returns
booleanreturn getbooleanor(yg7(),ym7())endfunctionfunction yo7 takes nothing
returns booleanreturn getbooleanor(yf7(),yn7())endfunctionfunction yp7 takes
nothing returns booleanif(not getbooleanor(x07(),xw7()))thenreturn falseendif
if(not getbooleanor(xx7(),yd7()))thenreturn falseendifif(not
getbooleanor(ye7(),yo7()))thenreturn falseendifreturn trueendfunctionfunction yq7
takes nothing returns booleanif(not yp7())thenreturn falseendifreturn true
endfunctionfunction yr7 takes nothing returns nothingif(yq7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919182132))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895619))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895625))call
createitemloc(1227895626,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ys7 takes
nothing returns nothingset fu=createtrigger()call
triggerregisteranyuniteventbj(fu,event_player_unit_pickup_item)call
triggeraddcondition(fu,condition(function xo7))call triggeraddaction(fu,function
yr7)endfunctionfunction yt7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895625)endfunctionfunction yu7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895626)endfunctionfunction yv7
takes nothing returns booleanif(not getbooleanor(yt7(),yu7()))thenreturn false
endifreturn trueendfunctionfunction yw7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895626)
endfunctionfunction yx7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895626)
endfunctionfunction yy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895626)
endfunctionfunction yz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895626)
endfunctionfunction ya7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895626)
endfunctionfunction ya7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895626)
endfunctionfunction yb7 takes nothing returns booleanreturn
getbooleanor(ya7(),ya7())endfunctionfunction yb7 takes nothing returns boolean
return getbooleanor(yz7(),yb7())endfunctionfunction yc7 takes nothing returns
booleanreturn getbooleanor(yy7(),yb7())endfunctionfunction yc7 takes nothing
returns booleanreturn getbooleanor(yx7(),yc7())endfunctionfunction yd7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895625)
endfunctionfunction ye7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895625)
endfunctionfunction y37 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895625)
endfunctionfunction yf7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895625)
endfunctionfunction yg7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895625)
endfunctionfunction y67 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895625)
endfunctionfunction yh7 takes nothing returns booleanreturn
getbooleanor(yg7(),y67())endfunctionfunction yi7 takes nothing returns boolean
return getbooleanor(yf7(),yh7())endfunctionfunction yl7 takes nothing returns
booleanreturn getbooleanor(y37(),yi7())endfunctionfunction y17 takes nothing
returns booleanreturn getbooleanor(ye7(),yl7())endfunctionfunction yj7 takes
nothing returns booleanif(not getbooleanor(yw7(),yc7()))thenreturn falseendif
if(not getbooleanor(yd7(),y17()))thenreturn falseendifreturn trueendfunction
function yk7 takes nothing returns booleanif(not yj7())thenreturn falseendifreturn
trueendfunctionfunction yl7 takes nothing returns nothingif(yk7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895626))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895625))call
createitemloc(1227895627,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ym7 takes
nothing returns nothingset gu=createtrigger()call
triggerregisteranyuniteventbj(gu,event_player_unit_pickup_item)call
triggeraddcondition(gu,condition(function yv7))call triggeraddaction(gu,function
yl7)endfunctionfunction yn7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895625)endfunctionfunction yo7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895627)endfunctionfunction y07
takes nothing returns booleanif(not getbooleanor(yn7(),yo7()))thenreturn false
endifreturn trueendfunctionfunction yp7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895627)
endfunctionfunction yq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895627)
endfunctionfunction yr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895627)
endfunctionfunction ys7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895627)
endfunctionfunction y57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895627)
endfunctionfunction yt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895627)
endfunctionfunction yu7 takes nothing returns booleanreturn
getbooleanor(y57(),yt7())endfunctionfunction yv7 takes nothing returns boolean
return getbooleanor(ys7(),yu7())endfunctionfunction yw7 takes nothing returns
booleanreturn getbooleanor(yr7(),yv7())endfunctionfunction yx7 takes nothing
returns booleanreturn getbooleanor(yq7(),yw7())endfunctionfunction yy7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895625)
endfunctionfunction y27 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895625)
endfunctionfunction yz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895625)
endfunctionfunction y_7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895625)
endfunctionfunction z47 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895625)
endfunctionfunction z77 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895625)
endfunctionfunction z87 takes nothing returns booleanreturn
getbooleanor(z47(),z77())endfunctionfunction z97 takes nothing returns boolean
return getbooleanor(y_7(),z87())endfunctionfunction zd7 takes nothing returns
booleanreturn getbooleanor(yz7(),z97())endfunctionfunction ze7 takes nothing
returns booleanreturn getbooleanor(y27(),zd7())endfunctionfunction zf7 takes
nothing returns booleanif(not getbooleanor(yp7(),yx7()))thenreturn falseendif
if(not getbooleanor(yy7(),ze7()))thenreturn falseendifreturn trueendfunction
function zg7 takes nothing returns booleanif(not zf7())thenreturn falseendifreturn
trueendfunctionfunction zh7 takes nothing returns nothingif(zg7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895627))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895625))call
createitemloc(1227895628,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction zi7 takes
nothing returns nothingset hu=createtrigger()call
triggerregisteranyuniteventbj(hu,event_player_unit_pickup_item)call
triggeraddcondition(hu,condition(function y07))call triggeraddaction(hu,function
zh7)endfunctionfunction zj7 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895625)endfunctionfunction zk7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895628)endfunctionfunction zm7
takes nothing returns booleanif(not getbooleanor(zj7(),zk7()))thenreturn false
endifreturn trueendfunctionfunction zn7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895628)
endfunctionfunction zo7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895628)
endfunctionfunction zp7
takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895628)
endfunctionfunction zq7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895628)
endfunctionfunction zr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895628)
endfunctionfunction zs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895628)
endfunctionfunction zt7 takes nothing returns booleanreturn
getbooleanor(zr7(),zs7())endfunctionfunction zu7 takes nothing returns boolean
return getbooleanor(zq7(),zt7())endfunctionfunction zv7 takes nothing returns
booleanreturn getbooleanor(zp7(),zu7())endfunctionfunction zw7 takes nothing
returns booleanreturn getbooleanor(zo7(),zv7())endfunctionfunction zx7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895625)
endfunctionfunction zy7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895625)
endfunctionfunction zz7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895625)
endfunctionfunction za7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895625)
endfunctionfunction za7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895625)
endfunctionfunction zb7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895625)
endfunctionfunction zb7 takes nothing returns booleanreturn
getbooleanor(za7(),zb7())endfunctionfunction zc7 takes nothing returns boolean
return getbooleanor(za7(),zb7())endfunctionfunction zc7 takes nothing returns
booleanreturn getbooleanor(zz7(),zc7())endfunctionfunction zd7 takes nothing
returns booleanreturn getbooleanor(zy7(),zc7())endfunctionfunction ze7 takes
nothing returns booleanif(not getbooleanor(zn7(),zw7()))thenreturn falseendif
if(not getbooleanor(zx7(),zd7()))thenreturn falseendifreturn trueendfunction
function z37 takes nothing returns booleanif(not ze7())thenreturn falseendifreturn
trueendfunctionfunction zf7 takes nothing returns nothingif(z37())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895628))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895625))call
createitemloc(1227895629,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction zg7 takes
nothing returns nothingset iu=createtrigger()call
triggerregisteranyuniteventbj(iu,event_player_unit_pickup_item)call
triggeraddcondition(iu,condition(function zm7))call triggeraddaction(iu,function
zf7)endfunctionfunction z67 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895625)endfunctionfunction zh7
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895629)endfunctionfunction zi7
takes nothing returns booleanif(not getbooleanor(z67(),zh7()))thenreturn false
endifreturn trueendfunctionfunction zl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895629)
endfunctionfunction z17 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895629)
endfunctionfunction zj7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895629)
endfunctionfunction zk7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895629)
endfunctionfunction zl7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895629)
endfunctionfunction zm7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895629)
endfunctionfunction zn7 takes nothing returns booleanreturn
getbooleanor(zl7(),zm7())endfunctionfunction zo7 takes nothing returns boolean
return getbooleanor(zk7(),zn7())endfunctionfunction z07 takes nothing returns
booleanreturn getbooleanor(zj7(),zo7())endfunctionfunction zp7 takes nothing
returns booleanreturn getbooleanor(z17(),z07())endfunctionfunction zq7 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895625)
endfunctionfunction zr7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895625)
endfunctionfunction zs7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895625)
endfunctionfunction z57 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895625)
endfunctionfunction zt7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895625)
endfunctionfunction zu7 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895625)
endfunctionfunction zv7 takes nothing returns booleanreturn
getbooleanor(zt7(),zu7())endfunctionfunction zw7 takes nothing returns boolean
return getbooleanor(z57(),zv7())endfunctionfunction zx7 takes nothing returns
booleanreturn getbooleanor(zs7(),zw7())endfunctionfunction zy7 takes nothing
returns booleanreturn getbooleanor(zr7(),zx7())endfunctionfunction z27 takes
nothing returns booleanif(not getbooleanor(zl7(),zp7()))thenreturn falseendif
if(not getbooleanor(zq7(),zy7()))thenreturn falseendifreturn trueendfunction
function zz7 takes nothing returns booleanif(not z27())thenreturn falseendifreturn
trueendfunctionfunction z_7 takes nothing returns nothingif(zz7())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895629))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895625))call
createitemloc(1227895630,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction d48 takes
nothing returns nothingset lu=createtrigger()call
triggerregisteranyuniteventbj(lu,event_player_unit_pickup_item)call
triggeraddcondition(lu,condition(function zi7))call triggeraddaction(lu,function
z_7)endfunctionfunction d78 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895112)endfunctionfunction d88
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction d98
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1868982642)endfunctionfunction dd8
takes nothing returns booleanreturn getbooleanor(d88(),d98())endfunctionfunction
de8 takes nothing returns booleanif(not getbooleanor(d78(),dd8()))thenreturn false
endifreturn trueendfunctionfunction df8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction dg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction dh8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction di8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction dj8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction dk8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction dm8 takes nothing returns booleanreturn
getbooleanor(dj8(),dk8())endfunctionfunction dn8 takes nothing returns boolean
return getbooleanor(di8(),dm8())endfunctionfunction do8 takes nothing returns
booleanreturn getbooleanor(dh8(),dn8())endfunctionfunction dp8 takes nothing
returns booleanreturn getbooleanor(dg8(),do8())endfunctionfunction dq8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1868982642)
endfunctionfunction dr8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1868982642)
endfunctionfunction ds8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1868982642)
endfunctionfunction dt8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1868982642)
endfunctionfunction du8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1868982642)
endfunctionfunction dv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1868982642)
endfunctionfunction dw8 takes nothing returns booleanreturn
getbooleanor(du8(),dv8())endfunctionfunction dx8 takes nothing returns boolean
return getbooleanor(dt8(),dw8())endfunctionfunction dy8 takes nothing returns
booleanreturn getbooleanor(ds8(),dx8())endfunctionfunction dz8 takes nothing
returns booleanreturn getbooleanor(dr8(),dy8())endfunctionfunction da8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895112)
endfunctionfunction da8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895112)
endfunctionfunction
db8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895112)
endfunctionfunction db8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895112)
endfunctionfunction dc8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895112)
endfunctionfunction dc8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895112)
endfunctionfunction dd8 takes nothing returns booleanreturn
getbooleanor(dc8(),dc8())endfunctionfunction de8 takes nothing returns boolean
return getbooleanor(db8(),dd8())endfunctionfunction d38 takes nothing returns
booleanreturn getbooleanor(db8(),de8())endfunctionfunction df8 takes nothing
returns booleanreturn getbooleanor(da8(),d38())endfunctionfunction dg8 takes
nothing returns booleanif(not getbooleanor(df8(),dp8()))thenreturn falseendif
if(not getbooleanor(dq8(),dz8()))thenreturn falseendifif(not
getbooleanor(da8(),df8()))thenreturn falseendifreturn trueendfunctionfunction d68
takes nothing returns booleanif(not dg8())thenreturn falseendifreturn true
endfunctionfunction dh8 takes nothing returns nothingif(d68())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1868982642))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895112))call
createitemloc(1227895113,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction di8 takes
nothing returns nothingset ju=createtrigger()call
triggerregisteranyuniteventbj(ju,event_player_unit_pickup_item)call
triggeraddcondition(ju,condition(function de8))call triggeraddaction(ju,function
dh8)endfunctionfunction dl8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895379)endfunctionfunction d18
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989366)endfunctionfunction dj8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1802529134)endfunctionfunction dk8
takes nothing returns booleanreturn getbooleanor(d18(),dj8())endfunctionfunction
dl8 takes nothing returns booleanif(not getbooleanor(dl8(),dk8()))thenreturn false
endifreturn trueendfunctionfunction dm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1802529134)
endfunctionfunction dn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1802529134)
endfunctionfunction do8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1802529134)
endfunctionfunction d08 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1802529134)
endfunctionfunction dp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1802529134)
endfunctionfunction dq8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1802529134)
endfunctionfunction dr8 takes nothing returns booleanreturn
getbooleanor(dp8(),dq8())endfunctionfunction ds8 takes nothing returns boolean
return getbooleanor(d08(),dr8())endfunctionfunction d58 takes nothing returns
booleanreturn getbooleanor(do8(),ds8())endfunctionfunction dt8 takes nothing
returns booleanreturn getbooleanor(dn8(),d58())endfunctionfunction du8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1918989366)
endfunctionfunction dv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1918989366)
endfunctionfunction dw8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1918989366)
endfunctionfunction dx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1918989366)
endfunctionfunction dy8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1918989366)
endfunctionfunction d28 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1918989366)
endfunctionfunction dz8 takes nothing returns booleanreturn
getbooleanor(dy8(),d28())endfunctionfunction d_8 takes nothing returns boolean
return getbooleanor(dx8(),dz8())endfunctionfunction e48 takes nothing returns
booleanreturn getbooleanor(dw8(),d_8())endfunctionfunction e78 takes nothing
returns booleanreturn getbooleanor(dv8(),e48())endfunctionfunction e88 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895379)
endfunctionfunction e98 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895379)
endfunctionfunction ed8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895379)
endfunctionfunction ee8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895379)
endfunctionfunction ef8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895379)
endfunctionfunction eg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895379)
endfunctionfunction eh8 takes nothing returns booleanreturn
getbooleanor(ef8(),eg8())endfunctionfunction ei8 takes nothing returns boolean
return getbooleanor(ee8(),eh8())endfunctionfunction ej8 takes nothing returns
booleanreturn getbooleanor(ed8(),ei8())endfunctionfunction ek8 takes nothing
returns booleanreturn getbooleanor(e98(),ej8())endfunctionfunction em8 takes
nothing returns booleanif(not getbooleanor(dm8(),dt8()))thenreturn falseendif
if(not getbooleanor(du8(),e78()))thenreturn falseendifif(not
getbooleanor(e88(),ek8()))thenreturn falseendifreturn trueendfunctionfunction en8
takes nothing returns booleanif(not em8())thenreturn falseendifreturn true
endfunctionfunction eo8 takes nothing returns nothingif(en8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1802529134))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1918989366))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895379))call
createitemloc(1885891700,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ep8 takes
nothing returns nothingset ku=createtrigger()call
triggerregisteranyuniteventbj(ku,event_player_unit_pickup_item)call
triggeraddcondition(ku,condition(function dl8))call triggeraddaction(ku,function
eo8)endfunctionfunction eq8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895116)endfunctionfunction er8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936220530)endfunctionfunction es8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction et8
takes nothing returns booleanreturn getbooleanor(er8(),es8())endfunctionfunction
eu8 takes nothing returns booleanif(not getbooleanor(eq8(),et8()))thenreturn false
endifreturn trueendfunctionfunction ev8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction ew8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction ex8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction ey8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction ez8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction ea8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction ea8 takes nothing returns booleanreturn
getbooleanor(ez8(),ea8())endfunctionfunction eb8 takes nothing returns boolean
return getbooleanor(ey8(),ea8())endfunctionfunction eb8 takes nothing returns
booleanreturn getbooleanor(ex8(),eb8())endfunctionfunction ec8 takes nothing
returns booleanreturn getbooleanor(ew8(),eb8())endfunctionfunction ec8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936220530)
endfunctionfunction ed8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936220530)
endfunctionfunction ee8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936220530)
endfunctionfunction e38 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936220530)
endfunctionfunction ef8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936220530)
endfunctionfunction eg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936220530)
endfunctionfunction e68 takes nothing returns booleanreturn
getbooleanor(ef8(),eg8())endfunctionfunction eh8 takes nothing returns boolean
return
getbooleanor(e38(),e68())endfunctionfunction ei8 takes nothing returns boolean
return getbooleanor(ee8(),eh8())endfunctionfunction el8 takes nothing returns
booleanreturn getbooleanor(ed8(),ei8())endfunctionfunction e18 takes nothing
returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895116)
endfunctionfunction ej8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895116)
endfunctionfunction ek8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895116)
endfunctionfunction el8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895116)
endfunctionfunction em8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895116)
endfunctionfunction en8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895116)
endfunctionfunction eo8 takes nothing returns booleanreturn
getbooleanor(em8(),en8())endfunctionfunction e08 takes nothing returns boolean
return getbooleanor(el8(),eo8())endfunctionfunction ep8 takes nothing returns
booleanreturn getbooleanor(ek8(),e08())endfunctionfunction eq8 takes nothing
returns booleanreturn getbooleanor(ej8(),ep8())endfunctionfunction er8 takes
nothing returns booleanif(not getbooleanor(ev8(),ec8()))thenreturn falseendif
if(not getbooleanor(ec8(),el8()))thenreturn falseendifif(not
getbooleanor(e18(),eq8()))thenreturn falseendifreturn trueendfunctionfunction es8
takes nothing returns booleanif(not er8())thenreturn falseendifreturn true
endfunctionfunction e58 takes nothing returns nothingif(es8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936220530))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895116))call
createitemloc(1718055787,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction et8 takes
nothing returns nothingset lu=createtrigger()call
triggerregisteranyuniteventbj(lu,event_player_unit_pickup_item)call
triggeraddcondition(lu,condition(function eu8))call triggeraddaction(lu,function
e58)endfunctionfunction eu8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895111)endfunctionfunction ev8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1868984943)endfunctionfunction ew8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction ex8
takes nothing returns booleanreturn getbooleanor(ev8(),ew8())endfunctionfunction
ey8 takes nothing returns booleanif(not getbooleanor(eu8(),ex8()))thenreturn false
endifreturn trueendfunctionfunction e28 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction ez8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction e_8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction f48 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction f78 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction f88 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction f98 takes nothing returns booleanreturn
getbooleanor(f78(),f88())endfunctionfunction fd8 takes nothing returns boolean
return getbooleanor(f48(),f98())endfunctionfunction fe8 takes nothing returns
booleanreturn getbooleanor(e_8(),fd8())endfunctionfunction ff8 takes nothing
returns booleanreturn getbooleanor(ez8(),fe8())endfunctionfunction fg8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1868984943)
endfunctionfunction fh8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1868984943)
endfunctionfunction fi8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1868984943)
endfunctionfunction fj8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1868984943)
endfunctionfunction fk8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1868984943)
endfunctionfunction fm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1868984943)
endfunctionfunction fn8 takes nothing returns booleanreturn
getbooleanor(fk8(),fm8())endfunctionfunction fo8 takes nothing returns boolean
return getbooleanor(fj8(),fn8())endfunctionfunction fp8 takes nothing returns
booleanreturn getbooleanor(fi8(),fo8())endfunctionfunction fq8 takes nothing
returns booleanreturn getbooleanor(fh8(),fp8())endfunctionfunction fr8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895111)
endfunctionfunction fs8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895111)
endfunctionfunction ft8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895111)
endfunctionfunction fu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895111)
endfunctionfunction fv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895111)
endfunctionfunction fw8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895111)
endfunctionfunction fx8 takes nothing returns booleanreturn
getbooleanor(fv8(),fw8())endfunctionfunction fy8 takes nothing returns boolean
return getbooleanor(fu8(),fx8())endfunctionfunction fz8 takes nothing returns
booleanreturn getbooleanor(ft8(),fy8())endfunctionfunction fa8 takes nothing
returns booleanreturn getbooleanor(fs8(),fz8())endfunctionfunction fa8 takes
nothing returns booleanif(not getbooleanor(e28(),ff8()))thenreturn falseendif
if(not getbooleanor(fg8(),fq8()))thenreturn falseendifif(not
getbooleanor(fr8(),fa8()))thenreturn falseendifreturn trueendfunctionfunction fb8
takes nothing returns booleanif(not fa8())thenreturn falseendifreturn true
endfunctionfunction fb8 takes nothing returns nothingif(fb8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1868984943))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895111))call
createitemloc(1227895114,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction fc8 takes
nothing returns nothingset mu=createtrigger()call
triggerregisteranyuniteventbj(mu,event_player_unit_pickup_item)call
triggeraddcondition(mu,condition(function ey8))call triggeraddaction(mu,function
fb8)endfunctionfunction fc8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894852)endfunctionfunction fd8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919448168)endfunctionfunction fe8
takes nothing returns booleanif(not getbooleanor(fc8(),fd8()))thenreturn false
endifreturn trueendfunctionfunction f38 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919448168)
endfunctionfunction ff8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919448168)
endfunctionfunction fg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919448168)
endfunctionfunction f68 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919448168)
endfunctionfunction fh8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919448168)
endfunctionfunction fi8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919448168)
endfunctionfunction fl8 takes nothing returns booleanreturn
getbooleanor(fh8(),fi8())endfunctionfunction f18 takes nothing returns boolean
return getbooleanor(f68(),fl8())endfunctionfunction fj8 takes nothing returns
booleanreturn getbooleanor(fg8(),f18())endfunctionfunction fk8 takes nothing
returns booleanreturn getbooleanor(ff8(),fj8())endfunctionfunction fl8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894852)
endfunctionfunction fm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894852)
endfunctionfunction fn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894852)
endfunctionfunction fo8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894852)
endfunctionfunction f08 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894852)
endfunctionfunction
fp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894852)
endfunctionfunction fq8 takes nothing returns booleanreturn
getbooleanor(f08(),fp8())endfunctionfunction fr8 takes nothing returns boolean
return getbooleanor(fo8(),fq8())endfunctionfunction fs8 takes nothing returns
booleanreturn getbooleanor(fn8(),fr8())endfunctionfunction f58 takes nothing
returns booleanreturn getbooleanor(fm8(),fs8())endfunctionfunction ft8 takes
nothing returns booleanif(not getbooleanor(f38(),fk8()))thenreturn falseendif
if(not getbooleanor(fl8(),f58()))thenreturn falseendifreturn trueendfunction
function fu8 takes nothing returns booleanif(not ft8())thenreturn falseendifreturn
trueendfunctionfunction fv8 takes nothing returns nothingif(fu8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919448168))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894852))call
createitemloc(1227894853,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction fw8 takes
nothing returns nothingset nu=createtrigger()call
triggerregisteranyuniteventbj(nu,event_player_unit_pickup_item)call
triggeraddcondition(nu,condition(function fe8))call triggeraddaction(nu,function
fv8)endfunctionfunction fx8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894858)endfunctionfunction fy8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894857)endfunctionfunction f28
takes nothing returns booleanif(not getbooleanor(fx8(),fy8()))thenreturn false
endifreturn trueendfunctionfunction fz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894857)
endfunctionfunction f_8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894857)
endfunctionfunction g48 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894857)
endfunctionfunction g78 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894857)
endfunctionfunction g88 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894857)
endfunctionfunction g98 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894857)
endfunctionfunction gd8 takes nothing returns booleanreturn
getbooleanor(g88(),g98())endfunctionfunction ge8 takes nothing returns boolean
return getbooleanor(g78(),gd8())endfunctionfunction gf8 takes nothing returns
booleanreturn getbooleanor(g48(),ge8())endfunctionfunction gg8 takes nothing
returns booleanreturn getbooleanor(f_8(),gf8())endfunctionfunction gh8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894858)
endfunctionfunction gi8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894858)
endfunctionfunction gj8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894858)
endfunctionfunction gk8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894858)
endfunctionfunction gm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894858)
endfunctionfunction gn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894858)
endfunctionfunction go8 takes nothing returns booleanreturn
getbooleanor(gm8(),gn8())endfunctionfunction gp8 takes nothing returns boolean
return getbooleanor(gk8(),go8())endfunctionfunction gq8 takes nothing returns
booleanreturn getbooleanor(gj8(),gp8())endfunctionfunction gr8 takes nothing
returns booleanreturn getbooleanor(gi8(),gq8())endfunctionfunction gs8 takes
nothing returns booleanif(not getbooleanor(fz8(),gg8()))thenreturn falseendif
if(not getbooleanor(gh8(),gr8()))thenreturn falseendifreturn trueendfunction
function gt8 takes nothing returns booleanif(not gs8())thenreturn falseendifreturn
trueendfunctionfunction gu8 takes nothing returns nothingif(gt8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894857))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894858))call
createitemloc(1227894859,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction gv8 takes
nothing returns nothingset ou=createtrigger()call
triggerregisteranyuniteventbj(ou,event_player_unit_pickup_item)call
triggeraddcondition(ou,condition(function f28))call triggeraddaction(ou,function
gu8)endfunctionfunction gw8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895121)endfunctionfunction gx8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1836019566)endfunctionfunction gy8
takes nothing returns booleanif(not getbooleanor(gw8(),gx8()))thenreturn false
endifreturn trueendfunctionfunction gz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1836019566)
endfunctionfunction ga8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1836019566)
endfunctionfunction ga8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1836019566)
endfunctionfunction gb8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1836019566)
endfunctionfunction gb8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1836019566)
endfunctionfunction gc8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1836019566)
endfunctionfunction gc8 takes nothing returns booleanreturn
getbooleanor(gb8(),gc8())endfunctionfunction gd8 takes nothing returns boolean
return getbooleanor(gb8(),gc8())endfunctionfunction ge8 takes nothing returns
booleanreturn getbooleanor(ga8(),gd8())endfunctionfunction g38 takes nothing
returns booleanreturn getbooleanor(ga8(),ge8())endfunctionfunction gf8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895121)
endfunctionfunction gg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895121)
endfunctionfunction g68 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895121)
endfunctionfunction gh8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895121)
endfunctionfunction gi8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895121)
endfunctionfunction gl8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895121)
endfunctionfunction g18 takes nothing returns booleanreturn
getbooleanor(gi8(),gl8())endfunctionfunction gj8 takes nothing returns boolean
return getbooleanor(gh8(),g18())endfunctionfunction gk8 takes nothing returns
booleanreturn getbooleanor(g68(),gj8())endfunctionfunction gl8 takes nothing
returns booleanreturn getbooleanor(gg8(),gk8())endfunctionfunction gm8 takes
nothing returns booleanif(not getbooleanor(gz8(),g38()))thenreturn falseendif
if(not getbooleanor(gf8(),gl8()))thenreturn falseendifreturn trueendfunction
function gn8 takes nothing returns booleanif(not gm8())thenreturn falseendifreturn
trueendfunctionfunction go8 takes nothing returns nothingif(gn8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1836019566))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895121))call
createitemloc(1835233897,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction g08 takes
nothing returns nothingset pu=createtrigger()call
triggerregisteranyuniteventbj(pu,event_player_unit_pickup_item)call
triggeraddcondition(pu,condition(function gy8))call triggeraddaction(pu,function
go8)endfunctionfunction gp8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895373)endfunctionfunction gq8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1919707494)endfunctionfunction gr8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction gs8
takes nothing returns booleanreturn getbooleanor(gq8(),gr8())endfunctionfunction
g58 takes nothing returns booleanif(not getbooleanor(gp8(),gs8()))thenreturn false
endifreturn trueendfunctionfunction gt8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1919707494)
endfunctionfunction gu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1919707494)
endfunctionfunction gv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1919707494)
endfunctionfunction
gw8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1919707494)
endfunctionfunction gx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1919707494)
endfunctionfunction gy8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1919707494)
endfunctionfunction g28 takes nothing returns booleanreturn
getbooleanor(gx8(),gy8())endfunctionfunction gz8 takes nothing returns boolean
return getbooleanor(gw8(),g28())endfunctionfunction g_8 takes nothing returns
booleanreturn getbooleanor(gv8(),gz8())endfunctionfunction h48 takes nothing
returns booleanreturn getbooleanor(gu8(),g_8())endfunctionfunction h78 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction h88 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction h98 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction hd8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction he8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction hf8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction hg8 takes nothing returns booleanreturn
getbooleanor(he8(),hf8())endfunctionfunction hh8 takes nothing returns boolean
return getbooleanor(hd8(),hg8())endfunctionfunction hi8 takes nothing returns
booleanreturn getbooleanor(h98(),hh8())endfunctionfunction hj8 takes nothing
returns booleanreturn getbooleanor(h88(),hi8())endfunctionfunction hk8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895373)
endfunctionfunction hm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895373)
endfunctionfunction hn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895373)
endfunctionfunction ho8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895373)
endfunctionfunction hp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895373)
endfunctionfunction hq8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895373)
endfunctionfunction hr8 takes nothing returns booleanreturn
getbooleanor(hp8(),hq8())endfunctionfunction hs8 takes nothing returns boolean
return getbooleanor(ho8(),hr8())endfunctionfunction ht8 takes nothing returns
booleanreturn getbooleanor(hn8(),hs8())endfunctionfunction hu8 takes nothing
returns booleanreturn getbooleanor(hm8(),ht8())endfunctionfunction hv8 takes
nothing returns booleanif(not getbooleanor(gt8(),h48()))thenreturn falseendif
if(not getbooleanor(h78(),hj8()))thenreturn falseendifif(not
getbooleanor(hk8(),hu8()))thenreturn falseendifreturn trueendfunctionfunction hw8
takes nothing returns booleanif(not hv8())thenreturn falseendifreturn true
endfunctionfunction hx8 takes nothing returns nothingif(hw8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1919707494))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895373))call
createitemloc(1667854953,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction hy8 takes
nothing returns nothingset qu=createtrigger()call
triggerregisteranyuniteventbj(qu,event_player_unit_pickup_item)call
triggeraddcondition(qu,condition(function g58))call triggeraddaction(qu,function
hx8)endfunctionfunction hz8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895620)endfunctionfunction ha8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1936876132)endfunctionfunction ha8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction hb8
takes nothing returns booleanreturn getbooleanor(ha8(),ha8())endfunctionfunction
hb8 takes nothing returns booleanif(not getbooleanor(hz8(),hb8()))thenreturn false
endifreturn trueendfunctionfunction hc8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1936876132)
endfunctionfunction hc8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1936876132)
endfunctionfunction hd8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1936876132)
endfunctionfunction he8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1936876132)
endfunctionfunction h38 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1936876132)
endfunctionfunction hf8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1936876132)
endfunctionfunction hg8 takes nothing returns booleanreturn
getbooleanor(h38(),hf8())endfunctionfunction h68 takes nothing returns boolean
return getbooleanor(he8(),hg8())endfunctionfunction hh8 takes nothing returns
booleanreturn getbooleanor(hd8(),h68())endfunctionfunction hi8 takes nothing
returns booleanreturn getbooleanor(hc8(),hh8())endfunctionfunction hl8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction h18 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction hj8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction hk8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction hl8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction hm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction hn8 takes nothing returns booleanreturn
getbooleanor(hl8(),hm8())endfunctionfunction ho8 takes nothing returns boolean
return getbooleanor(hk8(),hn8())endfunctionfunction h08 takes nothing returns
booleanreturn getbooleanor(hj8(),ho8())endfunctionfunction hp8 takes nothing
returns booleanreturn getbooleanor(h18(),h08())endfunctionfunction hq8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895620)
endfunctionfunction hr8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895620)
endfunctionfunction hs8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895620)
endfunctionfunction h58 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895620)
endfunctionfunction ht8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895620)
endfunctionfunction hu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895620)
endfunctionfunction hv8 takes nothing returns booleanreturn
getbooleanor(ht8(),hu8())endfunctionfunction hw8 takes nothing returns boolean
return getbooleanor(h58(),hv8())endfunctionfunction hx8 takes nothing returns
booleanreturn getbooleanor(hs8(),hw8())endfunctionfunction hy8 takes nothing
returns booleanreturn getbooleanor(hr8(),hx8())endfunctionfunction h28 takes
nothing returns booleanif(not getbooleanor(hc8(),hi8()))thenreturn falseendif
if(not getbooleanor(hl8(),hp8()))thenreturn falseendifif(not
getbooleanor(hq8(),hy8()))thenreturn falseendifreturn trueendfunctionfunction hz8
takes nothing returns booleanif(not h28())thenreturn falseendifreturn true
endfunctionfunction h_8 takes nothing returns nothingif(hz8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1936876132))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895620))call
createitemloc(1227895621,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction i48 takes
nothing returns nothingset ru=createtrigger()call
triggerregisteranyuniteventbj(ru,event_player_unit_pickup_item)call
triggeraddcondition(ru,condition(function hb8))call triggeraddaction(ru,function
h_8)endfunctionfunction i78 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227895624)endfunctionfunction i88
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1802529134)endfunctionfunction i98
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction id8
takes nothing returns booleanreturn getbooleanor(i88(),i98())endfunctionfunction
ie8 takes nothing returns
booleanif(not getbooleanor(i78(),id8()))thenreturn falseendifreturn true
endfunctionfunction if8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction ig8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction ih8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction ii8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction ij8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction ik8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction im8 takes nothing returns booleanreturn
getbooleanor(ij8(),ik8())endfunctionfunction in8 takes nothing returns boolean
return getbooleanor(ii8(),im8())endfunctionfunction io8 takes nothing returns
booleanreturn getbooleanor(ih8(),in8())endfunctionfunction ip8 takes nothing
returns booleanreturn getbooleanor(ig8(),io8())endfunctionfunction iq8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1802529134)
endfunctionfunction ir8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1802529134)
endfunctionfunction is8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1802529134)
endfunctionfunction it8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1802529134)
endfunctionfunction iu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1802529134)
endfunctionfunction iv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1802529134)
endfunctionfunction iw8 takes nothing returns booleanreturn
getbooleanor(iu8(),iv8())endfunctionfunction ix8 takes nothing returns boolean
return getbooleanor(it8(),iw8())endfunctionfunction iy8 takes nothing returns
booleanreturn getbooleanor(is8(),ix8())endfunctionfunction iz8 takes nothing
returns booleanreturn getbooleanor(ir8(),iy8())endfunctionfunction ia8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895624)
endfunctionfunction ia8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895624)
endfunctionfunction ib8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895624)
endfunctionfunction ib8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895624)
endfunctionfunction ic8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895624)
endfunctionfunction ic8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895624)
endfunctionfunction id8 takes nothing returns booleanreturn
getbooleanor(ic8(),ic8())endfunctionfunction ie8 takes nothing returns boolean
return getbooleanor(ib8(),id8())endfunctionfunction i38 takes nothing returns
booleanreturn getbooleanor(ib8(),ie8())endfunctionfunction if8 takes nothing
returns booleanreturn getbooleanor(ia8(),i38())endfunctionfunction ig8 takes
nothing returns booleanif(not getbooleanor(if8(),ip8()))thenreturn falseendif
if(not getbooleanor(iq8(),iz8()))thenreturn falseendifif(not
getbooleanor(ia8(),if8()))thenreturn falseendifreturn trueendfunctionfunction i68
takes nothing returns booleanif(not ig8())thenreturn falseendifreturn true
endfunctionfunction ih8 takes nothing returns nothingif(i68())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1802529134))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227895624))call
createitemloc(1227895618,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ii8 takes
nothing returns nothingset su=createtrigger()call
triggerregisteranyuniteventbj(su,event_player_unit_pickup_item)call
triggeraddcondition(su,condition(function ie8))call triggeraddaction(su,function
ih8)endfunctionfunction il8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894873)endfunctionfunction i18
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1651732580)endfunctionfunction ij8
takes nothing returns booleanif(not getbooleanor(il8(),i18()))thenreturn false
endifreturn trueendfunctionfunction ik8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1651732580)
endfunctionfunction il8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1651732580)
endfunctionfunction im8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1651732580)
endfunctionfunction in8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1651732580)
endfunctionfunction io8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1651732580)
endfunctionfunction i08 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1651732580)
endfunctionfunction ip8 takes nothing returns booleanreturn
getbooleanor(io8(),i08())endfunctionfunction iq8 takes nothing returns boolean
return getbooleanor(in8(),ip8())endfunctionfunction ir8 takes nothing returns
booleanreturn getbooleanor(im8(),iq8())endfunctionfunction is8 takes nothing
returns booleanreturn getbooleanor(il8(),ir8())endfunctionfunction i58 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894873)
endfunctionfunction it8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894873)
endfunctionfunction iu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894873)
endfunctionfunction iv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894873)
endfunctionfunction iw8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894873)
endfunctionfunction ix8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894873)
endfunctionfunction iy8 takes nothing returns booleanreturn
getbooleanor(iw8(),ix8())endfunctionfunction i28 takes nothing returns boolean
return getbooleanor(iv8(),iy8())endfunctionfunction iz8 takes nothing returns
booleanreturn getbooleanor(iu8(),i28())endfunctionfunction i_8 takes nothing
returns booleanreturn getbooleanor(it8(),iz8())endfunctionfunction j48 takes
nothing returns booleanif(not getbooleanor(ik8(),is8()))thenreturn falseendif
if(not getbooleanor(i58(),i_8()))thenreturn falseendifreturn trueendfunction
function j78 takes nothing returns booleanif(not j48())thenreturn falseendifreturn
trueendfunctionfunction j88 takes nothing returns nothingif(j78())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1651732580))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894873))call
createitemloc(1803117164,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction j98 takes
nothing returns nothingset tu=createtrigger()call
triggerregisteranyuniteventbj(tu,event_player_unit_pickup_item)call
triggeraddcondition(tu,condition(function ij8))call triggeraddaction(tu,function
j88)endfunctionfunction jd8 takes nothing returns boolean
if(not(getspellabilityid()==1093679155))thenreturn falseendif
if(not(isunittype(getspellabilityunit(),unit_type_hero)==true))thenreturn false
endifif(not(getunittypeid(getspellabilityunit())!=1311780935))thenreturn false
endifif(not(getunittypeid(getspellabilityunit())!=1311781172))thenreturn false
endifreturn trueendfunctionfunction je8 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getspellabilityunit(),bj_modifymethod_add,2)call
modifyherostat(bj_herostat_agi,getspellabilityunit(),bj_modifymethod_add,2)call
modifyherostat(bj_herostat_int,getspellabilityunit(),bj_modifymethod_add,2)
endfunctionfunction jf8 takes nothing returns nothingset uu=createtrigger()call
triggerregisteranyuniteventbj(uu,event_player_unit_spell_finish)call
triggeraddcondition(uu,condition(function jd8))call triggeraddaction(uu,function
je8)endfunctionfunction jg8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1920169009)endfunctionfunction jh8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1650814070)endfunctionfunction ji8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==2003397732)endfunctionfunction jj8
takes nothing returns booleanreturn getbooleanor(jh8(),ji8())endfunctionfunction
jk8 takes nothing returns booleanif(not getbooleanor(jg8(),jj8()))thenreturn false
endifreturn
trueendfunctionfunction jm8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1650814070)
endfunctionfunction jn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1650814070)
endfunctionfunction jo8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1650814070)
endfunctionfunction jp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1650814070)
endfunctionfunction jq8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1650814070)
endfunctionfunction jr8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1650814070)
endfunctionfunction js8 takes nothing returns booleanreturn
getbooleanor(jq8(),jr8())endfunctionfunction jt8 takes nothing returns boolean
return getbooleanor(jp8(),js8())endfunctionfunction ju8 takes nothing returns
booleanreturn getbooleanor(jo8(),jt8())endfunctionfunction jv8 takes nothing
returns booleanreturn getbooleanor(jn8(),ju8())endfunctionfunction jw8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1920169009)
endfunctionfunction jx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1920169009)
endfunctionfunction jy8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1920169009)
endfunctionfunction jz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1920169009)
endfunctionfunction ja8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1920169009)
endfunctionfunction ja8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1920169009)
endfunctionfunction jb8 takes nothing returns booleanreturn
getbooleanor(ja8(),ja8())endfunctionfunction jb8 takes nothing returns boolean
return getbooleanor(jz8(),jb8())endfunctionfunction jc8 takes nothing returns
booleanreturn getbooleanor(jy8(),jb8())endfunctionfunction jc8 takes nothing
returns booleanreturn getbooleanor(jx8(),jc8())endfunctionfunction jd8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==2003397732)
endfunctionfunction je8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==2003397732)
endfunctionfunction j38 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==2003397732)
endfunctionfunction jf8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==2003397732)
endfunctionfunction jg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==2003397732)
endfunctionfunction j68 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==2003397732)
endfunctionfunction jh8 takes nothing returns booleanreturn
getbooleanor(jg8(),j68())endfunctionfunction ji8 takes nothing returns boolean
return getbooleanor(jf8(),jh8())endfunctionfunction jl8 takes nothing returns
booleanreturn getbooleanor(j38(),ji8())endfunctionfunction j18 takes nothing
returns booleanreturn getbooleanor(je8(),jl8())endfunctionfunction jj8 takes
nothing returns booleanif(not getbooleanor(jm8(),jv8()))thenreturn falseendif
if(not getbooleanor(jw8(),jc8()))thenreturn falseendifif(not
getbooleanor(jd8(),j18()))thenreturn falseendifreturn trueendfunctionfunction jk8
takes nothing returns booleanif(not jj8())thenreturn falseendifreturn true
endfunctionfunction jl8 takes nothing returns nothingif(jk8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1650814070))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1920169009))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),2003397732))call
createitemloc(1935827816,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction jm8 takes
nothing returns nothingset vu=createtrigger()call
triggerregisteranyuniteventbj(vu,event_player_unit_pickup_item)call
triggeraddcondition(vu,condition(function jk8))call triggeraddaction(vu,function
jl8)endfunctionfunction jn8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894868)endfunctionfunction jo8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1835233141)endfunctionfunction j08
takes nothing returns booleanif(not getbooleanor(jn8(),jo8()))thenreturn false
endifreturn trueendfunctionfunction jp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1835233141)
endfunctionfunction jq8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1835233141)
endfunctionfunction jr8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1835233141)
endfunctionfunction js8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1835233141)
endfunctionfunction j58 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1835233141)
endfunctionfunction jt8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1835233141)
endfunctionfunction ju8 takes nothing returns booleanreturn
getbooleanor(j58(),jt8())endfunctionfunction jv8 takes nothing returns boolean
return getbooleanor(js8(),ju8())endfunctionfunction jw8 takes nothing returns
booleanreturn getbooleanor(jr8(),jv8())endfunctionfunction jx8 takes nothing
returns booleanreturn getbooleanor(jq8(),jw8())endfunctionfunction jy8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894868)
endfunctionfunction j28 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894868)
endfunctionfunction jz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894868)
endfunctionfunction j_8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894868)
endfunctionfunction k48 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894868)
endfunctionfunction k78 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894868)
endfunctionfunction k88 takes nothing returns booleanreturn
getbooleanor(k48(),k78())endfunctionfunction k98 takes nothing returns boolean
return getbooleanor(j_8(),k88())endfunctionfunction kd8 takes nothing returns
booleanreturn getbooleanor(jz8(),k98())endfunctionfunction ke8 takes nothing
returns booleanreturn getbooleanor(j28(),kd8())endfunctionfunction kf8 takes
nothing returns booleanif(not getbooleanor(jp8(),jx8()))thenreturn falseendif
if(not getbooleanor(jy8(),ke8()))thenreturn falseendifreturn trueendfunction
function kg8 takes nothing returns booleanif(not kf8())thenreturn falseendifreturn
trueendfunctionfunction kh8 takes nothing returns nothingif(kg8())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1835233141))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894868))call
createitemloc(1227894869,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction ki8 takes
nothing returns nothingset wu=createtrigger()call
triggerregisteranyuniteventbj(wu,event_player_unit_pickup_item)call
triggeraddcondition(wu,condition(function j08))call triggeraddaction(wu,function
kh8)endfunctionfunction kj8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894865)endfunctionfunction kk8
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894855)endfunctionfunction km8
takes nothing returns booleanif(not getbooleanor(kj8(),kk8()))thenreturn false
endifreturn trueendfunctionfunction kn8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894855)
endfunctionfunction ko8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894855)
endfunctionfunction kp8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894855)
endfunctionfunction kq8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894855)
endfunctionfunction kr8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894855)
endfunctionfunction ks8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894855)
endfunctionfunction kt8 takes nothing returns booleanreturn
getbooleanor(kr8(),ks8())endfunctionfunction ku8 takes nothing returns boolean
return getbooleanor(kq8(),kt8())endfunctionfunction kv8 takes nothing returns
booleanreturn getbooleanor(kp8(),ku8())endfunctionfunction kw8 takes nothing
returns booleanreturn getbooleanor(ko8(),kv8())endfunctionfunction kx8 takes
nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227894865)
endfunctionfunction ky8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227894865)
endfunctionfunction kz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227894865)
endfunctionfunction ka8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227894865)
endfunctionfunction ka8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227894865)
endfunctionfunction kb8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227894865)
endfunctionfunction kb8 takes nothing returns booleanreturn
getbooleanor(ka8(),kb8())endfunctionfunction kc8 takes nothing returns boolean
return getbooleanor(ka8(),kb8())endfunctionfunction kc8 takes nothing returns
booleanreturn getbooleanor(kz8(),kc8())endfunctionfunction kd8 takes nothing
returns booleanreturn getbooleanor(ky8(),kc8())endfunctionfunction ke8 takes
nothing returns booleanif(not getbooleanor(kn8(),kw8()))thenreturn falseendif
if(not getbooleanor(kx8(),kd8()))thenreturn falseendifreturn trueendfunction
function k38 takes nothing returns booleanif(not ke8())thenreturn falseendifreturn
trueendfunctionfunction kf8 takes nothing returns nothingif(k38())thencall
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894855))call
removeitem(getitemoftypefromunitbj(getmanipulatingunit(),1227894865))call
createitemloc(1227894864,getunitloc(getmanipulatingunit()))call
unitadditemswapped(getlastcreateditem(),getmanipulatingunit())call
addspecialeffectlocbj(getunitloc(getmanipulatingunit()),"abilities\\spells\\human\
\thunderclap\\thunderclapcaster.mdl")call triggersleepaction(1.00)call
destroyeffectbj(getlastcreatedeffectbj())elseendifendfunctionfunction kg8 takes
nothing returns nothingset xu=createtrigger()call
triggerregisteranyuniteventbj(xu,event_player_unit_pickup_item)call
triggeraddcondition(xu,condition(function km8))call triggeraddaction(xu,function
kf8)endfunctionfunction k68 takes nothing returns boolean
if(not(getspellabilityid()==1093678648))thenreturn falseendifreturn true
endfunctionfunction kh8 takes nothing returns nothingcall triggersleepaction(0.50)
call setunitpositionloc(getspelltargetunit(),getunitloc(getspellabilityunit()))
endfunctionfunction ki8 takes nothing returns nothingset yu=createtrigger()call
triggerregisteranyuniteventbj(yu,event_player_unit_spell_channel)call
triggerregisteranyuniteventbj(yu,event_player_unit_spell_finish)call
triggeraddcondition(yu,condition(function k68))call triggeraddaction(yu,function
kh8)endfunctionfunction kl8 takes nothing returns boolean
if(not(unithasitemoftypebj(getattacker(),1227895386)==true))thenreturn falseendif
return trueendfunctionfunction k18 takes nothing returns boolean
if(not(vf[getconvertedplayerid(getowningplayer(getattacker()))]==1))thenreturn
falseendifreturn trueendfunctionfunction kj8 takes nothing returns nothingset
vf[getconvertedplayerid(getowningplayer(getattacker()))]=getrandomint(1,15)
if(k18())thencall
createnunitsatloc(1,1747989048,getowningplayer(getattacker()),xz(getunitloc(getatt
acker()),-150.00,getunitfacing(getattacker())),bj_unit_facing)call
unitapplytimedlifebj(3.00,1112820806,getlastcreatedunit())call
issuepointorderlocbj(getlastcreatedunit(),"shockwave",xz(xz(getunitloc(getattacker
()),200.00,getunitfacing(getattacker())),256,0))elseendifendfunctionfunction kk8
takes nothing returns nothingset zu=createtrigger()call
triggerregisteranyuniteventbj(zu,event_player_unit_attacked)call
triggeraddcondition(zu,condition(function kl8))call triggeraddaction(zu,function
kj8)endfunctionfunction kl8 takes nothing returns boolean
if(not(getspellabilityid()==1093677620))thenreturn falseendifreturn true
endfunctionfunction km8 takes nothing returns nothingcall
setunitpositionloc(getspelltargetunit(),getunitloc(getspellabilityunit()))
endfunctionfunction kn8 takes nothing returns nothingset dv=createtrigger()call
triggerregisteranyuniteventbj(dv,event_player_unit_spell_channel)call
triggerregisteranyuniteventbj(dv,event_player_unit_spell_finish)call
triggeraddcondition(dv,condition(function kl8))call triggeraddaction(dv,function
km8)endfunctionfunction ko8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989369)endfunctionfunction k08
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894832)endfunctionfunction kp8
takes nothing returns boolean
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifif(not getbooleanor(ko8(),k08()))thenreturn falseendifreturn trueendfunction
function kq8 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getmanipulatingunit(),bj_modifymethod_add,5)
endfunctionfunction kr8 takes nothing returns nothingset ev=createtrigger()call
triggerregisteranyuniteventbj(ev,event_player_unit_drop_item)call
triggeraddcondition(ev,condition(function kp8))call triggeraddaction(ev,function
kq8)endfunctionfunction ks8 takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1918989369)endfunctionfunction k58
takes nothing returns boolean
return(getitemtypeid(getmanipulateditem())==1227894832)endfunctionfunction kt8
takes nothing returns boolean
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifif(not getbooleanor(ks8(),k58()))thenreturn falseendifreturn trueendfunction
function ku8 takes nothing returns nothingcall
modifyherostat(bj_herostat_str,getmanipulatingunit(),bj_modifymethod_sub,5)
endfunctionfunction kv8 takes nothing returns nothingset fv=createtrigger()call
triggerregisteranyuniteventbj(fv,event_player_unit_pickup_item)call
triggeraddcondition(fv,condition(function kt8))call triggeraddaction(fv,function
ku8)endfunctionfunction kw8 takes nothing returns boolean
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())==1311780943))thenreturn false
endifif(not(getitemtypeid(getmanipulateditem())==1227895386))thenreturn falseendif
return trueendfunctionfunction kx8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getmanipulatingunit()))endfunction
function ky8 takes nothing returns nothingcall
modifyherostat(bj_herostat_agi,getmanipulatingunit(),bj_modifymethod_add,5)call
displaytexttoforce(wa(condition(function kx8)),"you feel a tremendous force
coursing through the soul slayer !")endfunctionfunction k28 takes nothing returns
nothingset gv=createtrigger()call
triggerregisteranyuniteventbj(gv,event_player_unit_pickup_item)call
triggeraddcondition(gv,condition(function kw8))call triggeraddaction(gv,function
ky8)endfunctionfunction kz8 takes nothing returns boolean
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())==1311780943))thenreturn false
endifif(not(getitemtypeid(getmanipulateditem())==1227895386))thenreturn falseendif
return trueendfunctionfunction k_8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getmanipulatingunit()))endfunction
function m48 takes nothing returns nothingcall
modifyherostat(bj_herostat_agi,getmanipulatingunit(),bj_modifymethod_sub,5)call
displaytexttoforce(wa(condition(function k_8)),"you feel like a part of your soul
is missing...")endfunctionfunction m78 takes nothing returns nothingset
hv=createtrigger()call
triggerregisteranyuniteventbj(hv,event_player_unit_drop_item)call
triggeraddcondition(hv,condition(function kz8))call triggeraddaction(hv,function
m48)endfunctionfunction m88 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895347))thenreturn falseendif
if(not(isunittype(getmanipulatingunit(),unit_type_hero)==true))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())!=1311780935))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())!=1311781172))thenreturn false
endifif(not(getunittypeid(getmanipulatingunit())!=1211118155))thenreturn false
endifreturn trueendfunctionfunction m98 takes nothing returns nothingset
yf=getitemcharges(getmanipulateditem())call
modifyherostat(bj_herostat_str,getmanipulatingunit(),bj_modifymethod_sub,yf)call
modifyherostat(bj_herostat_agi,getmanipulatingunit(),bj_modifymethod_sub,yf)call
modifyherostat(bj_herostat_int,getmanipulatingunit(),bj_modifymethod_sub,yf)
endfunctionfunction md8 takes nothing returns nothingset iv=createtrigger()call
triggerregisteranyuniteventbj(iv,event_player_unit_pickup_item)call
triggeraddcondition(iv,condition(function m88))call triggeraddaction(iv,function
m98)endfunctionfunction me8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1818784628)
endfunctionfunction mf8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1818784628)
endfunctionfunction mg8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1818784628)
endfunctionfunction mh8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1818784628)
endfunctionfunction mi8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1818784628)
endfunctionfunction mj8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1818784628)
endfunctionfunction mk8 takes nothing returns booleanreturn
getbooleanor(mi8(),mj8())endfunctionfunction mm8 takes nothing returns boolean
return
getbooleanor(mh8(),mk8())endfunctionfunction mn8 takes nothing returns boolean
return getbooleanor(mg8(),mm8())endfunctionfunction mo8 takes nothing returns
booleanreturn getbooleanor(mf8(),mn8())endfunctionfunction mp8 takes nothing
returns booleanif(not(getitemtypeid(getmanipulateditem())==1227895347))thenreturn
falseendifif(not getbooleanor(me8(),mo8()))thenreturn falseendifreturn true
endfunctionfunction mq8 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function mr8 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function mq8)),"you cannot wear the weights while
you hold on the the hexagonal crystal.")returnendfunctionfunction ms8 takes
nothing returns nothingset jv=createtrigger()call
triggerregisteranyuniteventbj(jv,event_player_unit_pickup_item)call
triggeraddcondition(jv,condition(function mp8))call triggeraddaction(jv,function
mr8)endfunctionfunction mt8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),1))==1227895347)
endfunctionfunction mu8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),2))==1227895347)
endfunctionfunction mv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),3))==1227895347)
endfunctionfunction mw8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),4))==1227895347)
endfunctionfunction mx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),5))==1227895347)
endfunctionfunction my8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(getmanipulatingunit(),6))==1227895347)
endfunctionfunction mz8 takes nothing returns booleanreturn
getbooleanor(mx8(),my8())endfunctionfunction ma8 takes nothing returns boolean
return getbooleanor(mw8(),mz8())endfunctionfunction ma8 takes nothing returns
booleanreturn getbooleanor(mv8(),ma8())endfunctionfunction mb8 takes nothing
returns booleanreturn getbooleanor(mu8(),ma8())endfunctionfunction mb8 takes
nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1818784628))thenreturn falseendif
if(not getbooleanor(mt8(),mb8()))thenreturn falseendifreturn trueendfunction
function mc8 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function mc8 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function mc8)),"you cannot use the hexagonal
crystal while training in your weights.")returnendfunctionfunction md8 takes
nothing returns nothingset kv=createtrigger()call
triggerregisteranyuniteventbj(kv,event_player_unit_pickup_item)call
triggeraddcondition(kv,condition(function mb8))call triggeraddaction(kv,function
mc8)endfunctionfunction me8 takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1311781172)endfunctionfunction m38
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1311780935)endfunctionfunction mf8
takes nothing returns boolean
return(getunittypeid(getmanipulatingunit())==1211118155)endfunctionfunction mg8
takes nothing returns booleanreturn getbooleanor(m38(),mf8())endfunctionfunction
m68 takes nothing returns boolean
if(not(getitemtypeid(getmanipulateditem())==1227895347))thenreturn falseendif
if(not getbooleanor(me8(),mg8()))thenreturn falseendifreturn trueendfunction
function mh8 takes nothing returns boolean
return(getowningplayer(getmanipulatingunit())==getfilterplayer())endfunction
function mi8 takes nothing returns nothingset s=getmanipulatingunit()set
t=getmanipulateditem()call unitremoveitemswapped(t,s)call
displaytexttoforce(wa(condition(function mh8)),"you cannot train with the
weights!")returnendfunctionfunction ml8 takes nothing returns nothingset
mv=createtrigger()call
triggerregisteranyuniteventbj(mv,event_player_unit_pickup_item)call
triggeraddcondition(mv,condition(function m68))call triggeraddaction(mv,function
mi8)endfunctionfunction m18 takes nothing returns boolean
return(getfilterplayer()==player(0))endfunctionfunction mj8 takes nothing returns
booleanif(not(j4[2]==null))thenreturn falseendifreturn trueendfunctionfunction mk8
takes nothing returns booleanreturn(getfilterplayer()==player(0))endfunction
function ml8 takes nothing returns booleanif(not(j4[1]==null))thenreturn false
endifreturn trueendfunctionfunction mm8 takes nothing returns boolean
return(getfilterplayer()==player(1))endfunctionfunction mn8 takes nothing returns
nothingif(mj8())thencall displaytexttoforce(wa(condition(function m18)),"player 2
does not have a shinobi !")returnelseendifif(ml8())thencall
displaytexttoforce(wa(condition(function mk8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(ev)call displaytexttoforce(wa(condition(function
mm8)),(getplayername(player(0))+" has requested to exchange shinobi with you. type
|cffffcc00-swap1|r to confirm."))endfunctionfunction mo8 takes nothing returns
nothingset nv=createtrigger()call
triggerregisterplayerchatevent(nv,player(0),"-swap2",true)call
triggeraddaction(nv,function mn8)endfunctionfunction m08 takes nothing returns
booleanreturn(getfilterplayer()==player(0))endfunctionfunction mp8 takes nothing
returns booleanif(not(j4[3]==null))thenreturn falseendifreturn trueendfunction
function mq8 takes nothing returns booleanreturn(getfilterplayer()==player(0))
endfunctionfunction mr8 takes nothing returns booleanif(not(j4[1]==null))then
return falseendifreturn trueendfunctionfunction ms8 takes nothing returns boolean
return(getfilterplayer()==player(2))endfunctionfunction m58 takes nothing returns
nothingif(mp8())thencall displaytexttoforce(wa(condition(function m08)),"player 3
does not have a shinobi !")returnelseendifif(mr8())thencall
displaytexttoforce(wa(condition(function mq8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(fv)call displaytexttoforce(wa(condition(function
ms8)),(getplayername(player(0))+" has requested to exchange shinobi with you. type
|cffffcc00-swap1|r to confirm."))endfunctionfunction mt8 takes nothing returns
nothingset ov=createtrigger()call
triggerregisterplayerchatevent(ov,player(0),"-swap3",true)call
triggeraddaction(ov,function m58)endfunctionfunction mu8 takes nothing returns
booleanreturn(getfilterplayer()==player(0))endfunctionfunction mv8 takes nothing
returns booleanif(not(j4[4]==null))thenreturn falseendifreturn trueendfunction
function mw8 takes nothing returns booleanreturn(getfilterplayer()==player(0))
endfunctionfunction mx8 takes nothing returns booleanif(not(j4[1]==null))then
return falseendifreturn trueendfunctionfunction my8 takes nothing returns boolean
return(getfilterplayer()==player(3))endfunctionfunction m28 takes nothing returns
nothingif(mv8())thencall displaytexttoforce(wa(condition(function mu8)),"player 4
does not have a shinobi !")returnelseendifif(mx8())thencall
displaytexttoforce(wa(condition(function mw8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(gv)call displaytexttoforce(wa(condition(function
my8)),(getplayername(player(0))+" has requested to exchange shinobi with you. type
|cffffcc00-swap1|r to confirm."))endfunctionfunction mz8 takes nothing returns
nothingset pv=createtrigger()call
triggerregisterplayerchatevent(pv,player(0),"-swap4",true)call
triggeraddaction(pv,function m28)endfunctionfunction m_8 takes nothing returns
booleanreturn(getfilterplayer()==player(0))endfunctionfunction n48 takes nothing
returns booleanif(not(j4[5]==null))thenreturn falseendifreturn trueendfunction
function n78 takes nothing returns booleanreturn(getfilterplayer()==player(0))
endfunctionfunction n88 takes nothing returns booleanif(not(j4[1]==null))then
return falseendifreturn trueendfunctionfunction n98 takes nothing returns boolean
return(getfilterplayer()==player(4))endfunctionfunction nd8 takes nothing returns
nothingif(n48())thencall displaytexttoforce(wa(condition(function m_8)),"player 5
does not have a shinobi !")returnelseendifif(n88())thencall
displaytexttoforce(wa(condition(function n78)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(hv)call displaytexttoforce(wa(condition(function
n98)),(getplayername(player(0))+" has requested to exchange shinobi with you. type
|cffffcc00-swap1|r to confirm."))endfunctionfunction ne8 takes nothing returns
nothingset qv=createtrigger()call
triggerregisterplayerchatevent(qv,player(0),"-swap5",true)call
triggeraddaction(qv,function nd8)endfunctionfunction nf8 takes nothing returns
booleanreturn(getfilterplayer()==player(1))endfunctionfunction ng8 takes nothing
returns booleanif(not(j4[3]==null))thenreturn falseendifreturn trueendfunction
function nh8 takes nothing returns booleanreturn(getfilterplayer()==player(1))
endfunctionfunction ni8 takes nothing returns booleanif(not(j4[2]==null))then
return falseendifreturn trueendfunctionfunction nj8 takes nothing returns boolean
return(getfilterplayer()==player(2))endfunctionfunction nk8 takes nothing returns
nothingif(ng8())thencall displaytexttoforce(wa(condition(function nf8)),"player 3
does not have a shinobi !")returnelseendifif(ni8())thencall
displaytexttoforce(wa(condition(function nh8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(iv)call displaytexttoforce(wa(condition(function
nj8)),(getplayername(player(1))+" has requested to exchange shinobi with you. type
|cffffcc00-swap2|r to confirm."))endfunctionfunction nm8
takes nothing returns nothingset rv=createtrigger()call
triggerregisterplayerchatevent(rv,player(1),"-swap3",true)call
triggeraddaction(rv,function nk8)endfunctionfunction nn8 takes nothing returns
booleanreturn(getfilterplayer()==player(1))endfunctionfunction no8 takes nothing
returns booleanif(not(j4[4]==null))thenreturn falseendifreturn trueendfunction
function np8 takes nothing returns booleanreturn(getfilterplayer()==player(1))
endfunctionfunction nq8 takes nothing returns booleanif(not(j4[2]==null))then
return falseendifreturn trueendfunctionfunction nr8 takes nothing returns boolean
return(getfilterplayer()==player(3))endfunctionfunction ns8 takes nothing returns
nothingif(no8())thencall displaytexttoforce(wa(condition(function nn8)),"player 4
does not have a shinobi !")returnelseendifif(nq8())thencall
displaytexttoforce(wa(condition(function np8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(lv)call displaytexttoforce(wa(condition(function
nr8)),(getplayername(player(1))+" has requested to exchange shinobi with you. type
|cffffcc00-swap2|r to confirm."))endfunctionfunction nt8 takes nothing returns
nothingset sv=createtrigger()call
triggerregisterplayerchatevent(sv,player(1),"-swap4",true)call
triggeraddaction(sv,function ns8)endfunctionfunction nu8 takes nothing returns
booleanreturn(getfilterplayer()==player(1))endfunctionfunction nv8 takes nothing
returns booleanif(not(j4[5]==null))thenreturn falseendifreturn trueendfunction
function nw8 takes nothing returns booleanreturn(getfilterplayer()==player(1))
endfunctionfunction nx8 takes nothing returns booleanif(not(j4[2]==null))then
return falseendifreturn trueendfunctionfunction ny8 takes nothing returns boolean
return(getfilterplayer()==player(4))endfunctionfunction nz8 takes nothing returns
nothingif(nv8())thencall displaytexttoforce(wa(condition(function nu8)),"player 5
does not have a shinobi !")returnelseendifif(nx8())thencall
displaytexttoforce(wa(condition(function nw8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(jv)call displaytexttoforce(wa(condition(function
ny8)),(getplayername(player(1))+" has requested to exchange shinobi with you. type
|cffffcc00-swap2|r to confirm."))endfunctionfunction na8 takes nothing returns
nothingset tv=createtrigger()call
triggerregisterplayerchatevent(tv,player(1),"-swap5",true)call
triggeraddaction(tv,function nz8)endfunctionfunction na8 takes nothing returns
booleanreturn(getfilterplayer()==player(2))endfunctionfunction nb8 takes nothing
returns booleanif(not(j4[4]==null))thenreturn falseendifreturn trueendfunction
function nb8 takes nothing returns booleanreturn(getfilterplayer()==player(2))
endfunctionfunction nc8 takes nothing returns booleanif(not(j4[3]==null))then
return falseendifreturn trueendfunctionfunction nc8 takes nothing returns boolean
return(getfilterplayer()==player(3))endfunctionfunction nd8 takes nothing returns
nothingif(nb8())thencall displaytexttoforce(wa(condition(function na8)),"player 4
does not have a shinobi !")returnelseendifif(nc8())thencall
displaytexttoforce(wa(condition(function nb8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(kv)call displaytexttoforce(wa(condition(function
nc8)),(getplayername(player(2))+" has requested to exchange shinobi with you. type
|cffffcc00-swap3|r to confirm."))endfunctionfunction ne8 takes nothing returns
nothingset uv=createtrigger()call
triggerregisterplayerchatevent(uv,player(2),"-swap4",true)call
triggeraddaction(uv,function nd8)endfunctionfunction n38 takes nothing returns
booleanreturn(getfilterplayer()==player(2))endfunctionfunction nf8 takes nothing
returns booleanif(not(j4[5]==null))thenreturn falseendifreturn trueendfunction
function ng8 takes nothing returns booleanreturn(getfilterplayer()==player(2))
endfunctionfunction n68 takes nothing returns booleanif(not(j4[3]==null))then
return falseendifreturn trueendfunctionfunction nh8 takes nothing returns boolean
return(getfilterplayer()==player(4))endfunctionfunction ni8 takes nothing returns
nothingif(nf8())thencall displaytexttoforce(wa(condition(function n38)),"player 5
does not have a shinobi !")returnelseendifif(n68())thencall
displaytexttoforce(wa(condition(function ng8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(lv)call displaytexttoforce(wa(condition(function
nh8)),(getplayername(player(2))+" has requested to exchange shinobi with you. type
|cffffcc00-swap3|r to confirm."))endfunctionfunction nl8 takes nothing returns
nothingset vv=createtrigger()call
triggerregisterplayerchatevent(vv,player(2),"-swap5",true)call
triggeraddaction(vv,function ni8)endfunctionfunction n18 takes nothing returns
booleanreturn(getfilterplayer()==player(3))endfunctionfunction nj8 takes nothing
returns booleanif(not(j4[5]==null))thenreturn falseendifreturn trueendfunction
function nk8 takes nothing returns booleanreturn(getfilterplayer()==player(3))
endfunctionfunction nl8 takes nothing returns booleanif(not(j4[4]==null))then
return falseendifreturn trueendfunctionfunction nm8 takes nothing returns boolean
return(getfilterplayer()==player(4))endfunctionfunction nn8 takes nothing returns
nothingif(nj8())thencall displaytexttoforce(wa(condition(function n18)),"player 5
does not have a shinobi !")returnelseendifif(nl8())thencall
displaytexttoforce(wa(condition(function nk8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(mv)call displaytexttoforce(wa(condition(function
nm8)),(getplayername(player(3))+" has requested to exchange shinobi with you. type
|cffffcc00-swap4|r to confirm."))endfunctionfunction no8 takes nothing returns
nothingset wv=createtrigger()call
triggerregisterplayerchatevent(wv,player(3),"-swap5",true)call
triggeraddaction(wv,function nn8)endfunctionfunction n08 takes nothing returns
booleanreturn(getfilterplayer()==player(5))endfunctionfunction np8 takes nothing
returns booleanif(not(j4[7]==null))thenreturn falseendifreturn trueendfunction
function nq8 takes nothing returns booleanreturn(getfilterplayer()==player(5))
endfunctionfunction nr8 takes nothing returns booleanif(not(j4[6]==null))then
return falseendifreturn trueendfunctionfunction ns8 takes nothing returns boolean
return(getfilterplayer()==player(6))endfunctionfunction n58 takes nothing returns
nothingif(np8())thencall displaytexttoforce(wa(condition(function n08)),"player 7
does not have a shinobi !")returnelseendifif(nr8())thencall
displaytexttoforce(wa(condition(function nq8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(nv)call displaytexttoforce(wa(condition(function
ns8)),(getplayername(player(5))+" has requested to exchange shinobi with you. type
|cffffcc00-swap6|r to confirm."))endfunctionfunction nt8 takes nothing returns
nothingset xv=createtrigger()call
triggerregisterplayerchatevent(xv,player(5),"-swap7",true)call
triggeraddaction(xv,function n58)endfunctionfunction nu8 takes nothing returns
booleanreturn(getfilterplayer()==player(5))endfunctionfunction nv8 takes nothing
returns booleanif(not(j4[8]==null))thenreturn falseendifreturn trueendfunction
function nw8 takes nothing returns booleanreturn(getfilterplayer()==player(5))
endfunctionfunction nx8 takes nothing returns booleanif(not(j4[6]==null))then
return falseendifreturn trueendfunctionfunction ny8 takes nothing returns boolean
return(getfilterplayer()==player(7))endfunctionfunction n28 takes nothing returns
nothingif(nv8())thencall displaytexttoforce(wa(condition(function nu8)),"player 8
does not have a shinobi !")returnelseendifif(nx8())thencall
displaytexttoforce(wa(condition(function nw8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(ov)call displaytexttoforce(wa(condition(function
ny8)),(getplayername(player(5))+" has requested to exchange shinobi with you. type
|cffffcc00-swap6|r to confirm."))endfunctionfunction nz8 takes nothing returns
nothingset yv=createtrigger()call
triggerregisterplayerchatevent(yv,player(5),"-swap8",true)call
triggeraddaction(yv,function n28)endfunctionfunction n_8 takes nothing returns
booleanreturn(getfilterplayer()==player(5))endfunctionfunction o48 takes nothing
returns booleanif(not(j4[9]==null))thenreturn falseendifreturn trueendfunction
function o78 takes nothing returns booleanreturn(getfilterplayer()==player(5))
endfunctionfunction o88 takes nothing returns booleanif(not(j4[6]==null))then
return falseendifreturn trueendfunctionfunction o98 takes nothing returns boolean
return(getfilterplayer()==player(8))endfunctionfunction od8 takes nothing returns
nothingif(o48())thencall displaytexttoforce(wa(condition(function n_8)),"player 9
does not have a shinobi !")returnelseendifif(o88())thencall
displaytexttoforce(wa(condition(function o78)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(pv)call displaytexttoforce(wa(condition(function
o98)),(getplayername(player(5))+" has requested to exchange shinobi with you. type
|cffffcc00-swap6|r to confirm."))endfunctionfunction oe8 takes nothing returns
nothingset zv=createtrigger()call
triggerregisterplayerchatevent(zv,player(5),"-swap9",true)call
triggeraddaction(zv,function od8)endfunctionfunction of8 takes nothing returns
booleanreturn(getfilterplayer()==player(5))endfunctionfunction og8 takes nothing
returns booleanif(not(j4[10]==null))thenreturn falseendifreturn trueendfunction
function oh8 takes nothing returns booleanreturn(getfilterplayer()==player(5))
endfunctionfunction oi8 takes nothing returns booleanif(not(j4[6]==null))then
return falseendifreturn trueendfunctionfunction oj8 takes nothing returns boolean
return(getfilterplayer()==player(9))endfunctionfunction
ok8 takes nothing returns nothingif(og8())thencall
displaytexttoforce(wa(condition(function of8)),"player 10 does not have a
shinobi !")returnelseendifif(oi8())thencall
displaytexttoforce(wa(condition(function oh8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(qv)call displaytexttoforce(wa(condition(function
oj8)),(getplayername(player(5))+" has requested to exchange shinobi with you. type
|cffffcc00-swap6|r to confirm."))endfunctionfunction om8 takes nothing returns
nothingset av=createtrigger()call
triggerregisterplayerchatevent(av,player(5),"-swap10",true)call
triggeraddaction(av,function ok8)endfunctionfunction on8 takes nothing returns
booleanreturn(getfilterplayer()==player(6))endfunctionfunction oo8 takes nothing
returns booleanif(not(j4[8]==null))thenreturn falseendifreturn trueendfunction
function op8 takes nothing returns booleanreturn(getfilterplayer()==player(6))
endfunctionfunction oq8 takes nothing returns booleanif(not(j4[7]==null))then
return falseendifreturn trueendfunctionfunction or8 takes nothing returns boolean
return(getfilterplayer()==player(7))endfunctionfunction os8 takes nothing returns
nothingif(oo8())thencall displaytexttoforce(wa(condition(function on8)),"player 8
does not have a shinobi !")returnelseendifif(oq8())thencall
displaytexttoforce(wa(condition(function op8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(rv)call displaytexttoforce(wa(condition(function
or8)),(getplayername(player(6))+" has requested to exchange shinobi with you. type
|cffffcc00-swap7|r to confirm."))endfunctionfunction ot8 takes nothing returns
nothingset av=createtrigger()call
triggerregisterplayerchatevent(av,player(6),"-swap8",true)call
triggeraddaction(av,function os8)endfunctionfunction ou8 takes nothing returns
booleanreturn(getfilterplayer()==player(6))endfunctionfunction ov8 takes nothing
returns booleanif(not(j4[9]==null))thenreturn falseendifreturn trueendfunction
function ow8 takes nothing returns booleanreturn(getfilterplayer()==player(6))
endfunctionfunction ox8 takes nothing returns booleanif(not(j4[7]==null))then
return falseendifreturn trueendfunctionfunction oy8 takes nothing returns boolean
return(getfilterplayer()==player(8))endfunctionfunction oz8 takes nothing returns
nothingif(ov8())thencall displaytexttoforce(wa(condition(function ou8)),"player 9
does not have a shinobi !")returnelseendifif(ox8())thencall
displaytexttoforce(wa(condition(function ow8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(sv)call displaytexttoforce(wa(condition(function
oy8)),(getplayername(player(6))+" has requested to exchange shinobi with you. type
|cffffcc00-swap7|r to confirm."))endfunctionfunction oa8 takes nothing returns
nothingset bv=createtrigger()call
triggerregisterplayerchatevent(bv,player(6),"-swap9",true)call
triggeraddaction(bv,function oz8)endfunctionfunction oa8 takes nothing returns
booleanreturn(getfilterplayer()==player(6))endfunctionfunction ob8 takes nothing
returns booleanif(not(j4[10]==null))thenreturn falseendifreturn trueendfunction
function ob8 takes nothing returns booleanreturn(getfilterplayer()==player(6))
endfunctionfunction oc8 takes nothing returns booleanif(not(j4[7]==null))then
return falseendifreturn trueendfunctionfunction oc8 takes nothing returns boolean
return(getfilterplayer()==player(9))endfunctionfunction od8 takes nothing returns
nothingif(ob8())thencall displaytexttoforce(wa(condition(function oa8)),"player 10
does not have a shinobi !")returnelseendifif(oc8())thencall
displaytexttoforce(wa(condition(function ob8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(tv)call displaytexttoforce(wa(condition(function
oc8)),(getplayername(player(6))+" has requested to exchange shinobi with you. type
|cffffcc00-swap7|r to confirm."))endfunctionfunction oe8 takes nothing returns
nothingset bv=createtrigger()call
triggerregisterplayerchatevent(bv,player(6),"-swap10",true)call
triggeraddaction(bv,function od8)endfunctionfunction o38 takes nothing returns
booleanreturn(getfilterplayer()==player(7))endfunctionfunction of8 takes nothing
returns booleanif(not(j4[9]==null))thenreturn falseendifreturn trueendfunction
function og8 takes nothing returns booleanreturn(getfilterplayer()==player(7))
endfunctionfunction o68 takes nothing returns booleanif(not(j4[8]==null))then
return falseendifreturn trueendfunctionfunction oh8 takes nothing returns boolean
return(getfilterplayer()==player(8))endfunctionfunction oi8 takes nothing returns
nothingif(of8())thencall displaytexttoforce(wa(condition(function o38)),"player 9
does not have a shinobi !")returnelseendifif(o68())thencall
displaytexttoforce(wa(condition(function og8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(uv)call displaytexttoforce(wa(condition(function
oh8)),(getplayername(player(7))+" has requested to exchange shinobi with you. type
|cffffcc00-swap8|r to confirm."))endfunctionfunction ol8 takes nothing returns
nothingset cv=createtrigger()call
triggerregisterplayerchatevent(cv,player(7),"-swap9",true)call
triggeraddaction(cv,function oi8)endfunctionfunction o18 takes nothing returns
booleanreturn(getfilterplayer()==player(7))endfunctionfunction oj8 takes nothing
returns booleanif(not(j4[10]==null))thenreturn falseendifreturn trueendfunction
function ok8 takes nothing returns booleanreturn(getfilterplayer()==player(7))
endfunctionfunction ol8 takes nothing returns booleanif(not(j4[8]==null))then
return falseendifreturn trueendfunctionfunction om8 takes nothing returns boolean
return(getfilterplayer()==player(9))endfunctionfunction on8 takes nothing returns
nothingif(oj8())thencall displaytexttoforce(wa(condition(function o18)),"player 10
does not have a shinobi !")returnelseendifif(ol8())thencall
displaytexttoforce(wa(condition(function ok8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(vv)call displaytexttoforce(wa(condition(function
om8)),(getplayername(player(7))+" has requested to exchange shinobi with you. type
|cffffcc00-swap8|r to confirm."))endfunctionfunction oo8 takes nothing returns
nothingset cv=createtrigger()call
triggerregisterplayerchatevent(cv,player(7),"-swap10",true)call
triggeraddaction(cv,function on8)endfunctionfunction o08 takes nothing returns
booleanreturn(getfilterplayer()==player(8))endfunctionfunction op8 takes nothing
returns booleanif(not(j4[10]==null))thenreturn falseendifreturn trueendfunction
function oq8 takes nothing returns booleanreturn(getfilterplayer()==player(8))
endfunctionfunction or8 takes nothing returns booleanif(not(j4[9]==null))then
return falseendifreturn trueendfunctionfunction os8 takes nothing returns boolean
return(getfilterplayer()==player(9))endfunctionfunction o58 takes nothing returns
nothingif(op8())thencall displaytexttoforce(wa(condition(function o08)),"player 10
does not have a shinobi !")returnelseendifif(or8())thencall
displaytexttoforce(wa(condition(function oq8)),"you do not have a shinobi yet !")
returnelseendifcall enabletrigger(wv)call displaytexttoforce(wa(condition(function
os8)),(getplayername(player(8))+" has requested to exchange shinobi with you. type
|cffffcc00-swap9|r to confirm."))endfunctionfunction ot8 takes nothing returns
nothingset dv=createtrigger()call
triggerregisterplayerchatevent(dv,player(8),"-swap10",true)call
triggeraddaction(dv,function o58)endfunctionfunction ou8 takes nothing returns
booleanreturn(getunittypeid(j4[1])==1328558134)endfunctionfunction ov8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(1),true)endfunction
function ow8 takes nothing returns booleanreturn(getunittypeid(j4[2])==1328558134)
endfunctionfunction ox8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(0),true)endfunctionfunction oy8 takes nothing
returns booleanreturn(getunittypeid(j4[1])==1160785974)endfunctionfunction o28
takes nothing returns nothingcall setunitowner(getenumunit(),player(1),true)
endfunctionfunction oz8 takes nothing returns boolean
return(getunittypeid(j4[2])==1160785974)endfunctionfunction o_8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(0),true)endfunctionfunction
p48 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(0))+(" has exchanged
shinobi with "+getplayername(player(1)))))call setunitowner(j4[1],player(1),true)
call setunitowner(j4[2],player(0),true)if(ou8())thencall
forgroupbj(pa(1328558135),function ov8)elsecall donothing()endifif(ow8())thencall
forgroupbj(pa(1328558135),function ox8)elsecall donothing()endifif(oy8())thencall
forgroupbj(pa(1160785973),function o28)elsecall donothing()endifif(oz8())thencall
forgroupbj(pa(1160785973),function o_8)elsecall donothing()endifset ve=j4[1]set
j4[1]=j4[2]set j4[2]=veendfunctionfunction p78 takes nothing returns nothingset
ev=createtrigger()call disabletrigger(ev)call
triggerregisterplayerchatevent(ev,player(1),"-swap1",true)call
triggeraddaction(ev,function p48)endfunctionfunction p88 takes nothing returns
booleanreturn(getunittypeid(j4[1])==1328558134)endfunctionfunction p98 takes
nothing returns nothingcall setunitowner(getenumunit(),player(2),true)endfunction
function pd8 takes nothing returns booleanreturn(getunittypeid(j4[3])==1328558134)
endfunctionfunction pe8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(0),true)endfunctionfunction pf8 takes nothing
returns booleanreturn(getunittypeid(j4[1])==1160785974)endfunctionfunction pg8
takes nothing returns nothingcall setunitowner(getenumunit(),player(2),true)
endfunctionfunction ph8 takes nothing
returns booleanreturn(getunittypeid(j4[3])==1160785974)endfunctionfunction pi8
takes nothing returns nothingcall setunitowner(getenumunit(),player(0),true)
endfunctionfunction pj8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(0))+(" has exchanged
shinobi with "+getplayername(player(2)))))call setunitowner(j4[1],player(2),true)
call setunitowner(j4[3],player(0),true)if(p88())thencall
forgroupbj(pa(1328558135),function p98)elsecall donothing()endifif(pd8())thencall
forgroupbj(pa(1328558135),function pe8)elsecall donothing()endifif(pf8())thencall
forgroupbj(pa(1160785973),function pg8)elsecall donothing()endifif(ph8())thencall
forgroupbj(pa(1160785973),function pi8)elsecall donothing()endifset ve=j4[1]set
j4[1]=j4[3]set j4[3]=veendfunctionfunction pk8 takes nothing returns nothingset
fv=createtrigger()call disabletrigger(fv)call
triggerregisterplayerchatevent(fv,player(2),"-swap1",true)call
triggeraddaction(fv,function pj8)endfunctionfunction pm8 takes nothing returns
booleanreturn(getunittypeid(j4[1])==1328558134)endfunctionfunction pn8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(3),true)endfunction
function po8 takes nothing returns booleanreturn(getunittypeid(j4[4])==1328558134)
endfunctionfunction pp8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(0),true)endfunctionfunction pq8 takes nothing
returns booleanreturn(getunittypeid(j4[1])==1160785974)endfunctionfunction pr8
takes nothing returns nothingcall setunitowner(getenumunit(),player(3),true)
endfunctionfunction ps8 takes nothing returns boolean
return(getunittypeid(j4[4])==1160785974)endfunctionfunction pt8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(0),true)endfunctionfunction
pu8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(0))+(" has exchanged
shinobi with "+getplayername(player(3)))))call setunitowner(j4[1],player(3),true)
call setunitowner(j4[4],player(0),true)if(pm8())thencall
forgroupbj(pa(1328558135),function pn8)elsecall donothing()endifif(po8())thencall
forgroupbj(pa(1328558135),function pp8)elsecall donothing()endifif(pq8())thencall
forgroupbj(pa(1160785973),function pr8)elsecall donothing()endifif(ps8())thencall
forgroupbj(pa(1160785973),function pt8)elsecall donothing()endifset ve=j4[1]set
j4[1]=j4[4]set j4[4]=veendfunctionfunction pv8 takes nothing returns nothingset
gv=createtrigger()call disabletrigger(gv)call
triggerregisterplayerchatevent(gv,player(3),"-swap1",true)call
triggeraddaction(gv,function pu8)endfunctionfunction pw8 takes nothing returns
booleanreturn(getunittypeid(j4[1])==1328558134)endfunctionfunction px8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(4),true)endfunction
function py8 takes nothing returns booleanreturn(getunittypeid(j4[5])==1328558134)
endfunctionfunction pz8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(0),true)endfunctionfunction pa8 takes nothing
returns booleanreturn(getunittypeid(j4[1])==1160785974)endfunctionfunction pa8
takes nothing returns nothingcall setunitowner(getenumunit(),player(4),true)
endfunctionfunction pb8 takes nothing returns boolean
return(getunittypeid(j4[5])==1160785974)endfunctionfunction pb8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(0),true)endfunctionfunction
pc8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(0))+(" has exchanged
shinobi with "+getplayername(player(4)))))call setunitowner(j4[1],player(4),true)
call setunitowner(j4[5],player(0),true)if(pw8())thencall
forgroupbj(pa(1328558135),function px8)elsecall donothing()endifif(py8())thencall
forgroupbj(pa(1328558135),function pz8)elsecall donothing()endifif(pa8())thencall
forgroupbj(pa(1160785973),function pa8)elsecall donothing()endifif(pb8())thencall
forgroupbj(pa(1160785973),function pb8)elsecall donothing()endifset ve=j4[1]set
j4[1]=j4[5]set j4[5]=veendfunctionfunction pc8 takes nothing returns nothingset
hv=createtrigger()call disabletrigger(hv)call
triggerregisterplayerchatevent(hv,player(4),"-swap1",true)call
triggeraddaction(hv,function pc8)endfunctionfunction pd8 takes nothing returns
booleanreturn(getunittypeid(j4[2])==1328558134)endfunctionfunction pe8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(2),true)endfunction
function p38 takes nothing returns booleanreturn(getunittypeid(j4[3])==1328558134)
endfunctionfunction pf8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(1),true)endfunctionfunction pg8 takes nothing
returns booleanreturn(getunittypeid(j4[2])==1160785974)endfunctionfunction p68
takes nothing returns nothingcall setunitowner(getenumunit(),player(2),true)
endfunctionfunction ph8 takes nothing returns boolean
return(getunittypeid(j4[3])==1160785974)endfunctionfunction pi8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(1),true)endfunctionfunction
pl8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(1))+(" has exchanged
shinobi with "+getplayername(player(2)))))call setunitowner(j4[2],player(2),true)
call setunitowner(j4[3],player(1),true)if(pd8())thencall
forgroupbj(pa(1328558135),function pe8)elsecall donothing()endifif(p38())thencall
forgroupbj(pa(1328558135),function pf8)elsecall donothing()endifif(pg8())thencall
forgroupbj(pa(1160785973),function p68)elsecall donothing()endifif(ph8())thencall
forgroupbj(pa(1160785973),function pi8)elsecall donothing()endifset ve=j4[2]set
j4[2]=j4[3]set j4[3]=veendfunctionfunction p18 takes nothing returns nothingset
iv=createtrigger()call disabletrigger(iv)call
triggerregisterplayerchatevent(iv,player(2),"-swap2",true)call
triggeraddaction(iv,function pl8)endfunctionfunction pj8 takes nothing returns
booleanreturn(getunittypeid(j4[2])==1328558134)endfunctionfunction pk8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(3),true)endfunction
function pl8 takes nothing returns booleanreturn(getunittypeid(j4[4])==1328558134)
endfunctionfunction pm8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(1),true)endfunctionfunction pn8 takes nothing
returns booleanreturn(getunittypeid(j4[2])==1160785974)endfunctionfunction po8
takes nothing returns nothingcall setunitowner(getenumunit(),player(3),true)
endfunctionfunction p08 takes nothing returns boolean
return(getunittypeid(j4[4])==1160785974)endfunctionfunction pp8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(1),true)endfunctionfunction
pq8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(1))+(" has exchanged
shinobi with "+getplayername(player(3)))))call setunitowner(j4[2],player(3),true)
call setunitowner(j4[4],player(1),true)if(pj8())thencall
forgroupbj(pa(1328558135),function pk8)elsecall donothing()endifif(pl8())thencall
forgroupbj(pa(1328558135),function pm8)elsecall donothing()endifif(pn8())thencall
forgroupbj(pa(1160785973),function po8)elsecall donothing()endifif(p08())thencall
forgroupbj(pa(1160785973),function pp8)elsecall donothing()endifset ve=j4[2]set
j4[2]=j4[4]set j4[4]=veendfunctionfunction pr8 takes nothing returns nothingset
lv=createtrigger()call disabletrigger(lv)call
triggerregisterplayerchatevent(lv,player(3),"-swap2",true)call
triggeraddaction(lv,function pq8)endfunctionfunction ps8 takes nothing returns
booleanreturn(getunittypeid(j4[2])==1328558134)endfunctionfunction p58 takes
nothing returns nothingcall setunitowner(getenumunit(),player(4),true)endfunction
function pt8 takes nothing returns booleanreturn(getunittypeid(j4[5])==1328558134)
endfunctionfunction pu8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(1),true)endfunctionfunction pv8 takes nothing
returns booleanreturn(getunittypeid(j4[2])==1160785974)endfunctionfunction pw8
takes nothing returns nothingcall setunitowner(getenumunit(),player(4),true)
endfunctionfunction px8 takes nothing returns boolean
return(getunittypeid(j4[5])==1160785974)endfunctionfunction py8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(1),true)endfunctionfunction
p28 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(1))+(" has exchanged
shinobi with "+getplayername(player(4)))))call setunitowner(j4[2],player(4),true)
call setunitowner(j4[5],player(1),true)if(ps8())thencall
forgroupbj(pa(1328558135),function p58)elsecall donothing()endifif(pt8())thencall
forgroupbj(pa(1328558135),function pu8)elsecall donothing()endifif(pv8())thencall
forgroupbj(pa(1160785973),function pw8)elsecall donothing()endifif(px8())thencall
forgroupbj(pa(1160785973),function py8)elsecall donothing()endifset ve=j4[2]set
j4[2]=j4[5]set j4[5]=veendfunctionfunction pz8 takes nothing returns nothingset
jv=createtrigger()call disabletrigger(jv)call
triggerregisterplayerchatevent(jv,player(4),"-swap2",true)call
triggeraddaction(jv,function p28)endfunctionfunction p_8 takes nothing returns
booleanreturn(getunittypeid(j4[3])==1328558134)endfunctionfunction q48 takes
nothing returns nothingcall setunitowner(getenumunit(),player(3),true)endfunction
function q78 takes nothing returns booleanreturn(getunittypeid(j4[4])==1328558134)
endfunctionfunction q88 takes nothing returns nothingcall
setunitowner(getenumunit(),player(2),true)endfunctionfunction q98 takes nothing
returns booleanreturn(getunittypeid(j4[3])==1160785974)endfunctionfunction qd8
takes nothing returns nothingcall setunitowner(getenumunit(),player(3),true)
endfunctionfunction qe8 takes
nothing returns booleanreturn(getunittypeid(j4[4])==1160785974)endfunction
function qf8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(2),true)endfunctionfunction qg8 takes nothing
returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(2))+(" has exchanged
shinobi with "+getplayername(player(3)))))call setunitowner(j4[3],player(3),true)
call setunitowner(j4[4],player(2),true)if(p_8())thencall
forgroupbj(pa(1328558135),function q48)elsecall donothing()endifif(q78())thencall
forgroupbj(pa(1328558135),function q88)elsecall donothing()endifif(q98())thencall
forgroupbj(pa(1160785973),function qd8)elsecall donothing()endifif(qe8())thencall
forgroupbj(pa(1160785973),function qf8)elsecall donothing()endifset ve=j4[3]set
j4[3]=j4[4]set j4[4]=veendfunctionfunction qh8 takes nothing returns nothingset
kv=createtrigger()call disabletrigger(kv)call
triggerregisterplayerchatevent(kv,player(3),"-swap3",true)call
triggeraddaction(kv,function qg8)endfunctionfunction qi8 takes nothing returns
booleanreturn(getunittypeid(j4[3])==1328558134)endfunctionfunction qj8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(4),true)endfunction
function qk8 takes nothing returns booleanreturn(getunittypeid(j4[5])==1328558134)
endfunctionfunction qm8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(2),true)endfunctionfunction qn8 takes nothing
returns booleanreturn(getunittypeid(j4[3])==1160785974)endfunctionfunction qo8
takes nothing returns nothingcall setunitowner(getenumunit(),player(4),true)
endfunctionfunction qp8 takes nothing returns boolean
return(getunittypeid(j4[5])==1160785974)endfunctionfunction qq8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(2),true)endfunctionfunction
qr8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(2))+(" has exchanged
shinobi with "+getplayername(player(4)))))call setunitowner(j4[3],player(4),true)
call setunitowner(j4[5],player(2),true)if(qi8())thencall
forgroupbj(pa(1328558135),function qj8)elsecall donothing()endifif(qk8())thencall
forgroupbj(pa(1328558135),function qm8)elsecall donothing()endifif(qn8())thencall
forgroupbj(pa(1160785973),function qo8)elsecall donothing()endifif(qp8())thencall
forgroupbj(pa(1160785973),function qq8)elsecall donothing()endifset ve=j4[3]set
j4[3]=j4[5]set j4[5]=veendfunctionfunction qs8 takes nothing returns nothingset
lv=createtrigger()call disabletrigger(lv)call
triggerregisterplayerchatevent(lv,player(4),"-swap3",true)call
triggeraddaction(lv,function qr8)endfunctionfunction qt8 takes nothing returns
booleanreturn(getunittypeid(j4[4])==1328558134)endfunctionfunction qu8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(4),true)endfunction
function qv8 takes nothing returns booleanreturn(getunittypeid(j4[5])==1328558134)
endfunctionfunction qw8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(3),true)endfunctionfunction qx8 takes nothing
returns booleanreturn(getunittypeid(j4[4])==1160785974)endfunctionfunction qy8
takes nothing returns nothingcall setunitowner(getenumunit(),player(4),true)
endfunctionfunction qz8 takes nothing returns boolean
return(getunittypeid(j4[5])==1160785974)endfunctionfunction qa8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(3),true)endfunctionfunction
qa8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(3))+(" has exchanged
shinobi with "+getplayername(player(4)))))call setunitowner(j4[4],player(4),true)
call setunitowner(j4[5],player(3),true)if(qt8())thencall
forgroupbj(pa(1328558135),function qu8)elsecall donothing()endifif(qv8())thencall
forgroupbj(pa(1328558135),function qw8)elsecall donothing()endifif(qx8())thencall
forgroupbj(pa(1160785973),function qy8)elsecall donothing()endifif(qz8())thencall
forgroupbj(pa(1160785973),function qa8)elsecall donothing()endifset ve=j4[4]set
j4[4]=j4[5]set j4[5]=veendfunctionfunction qb8 takes nothing returns nothingset
mv=createtrigger()call disabletrigger(mv)call
triggerregisterplayerchatevent(mv,player(4),"-swap4",true)call
triggeraddaction(mv,function qa8)endfunctionfunction qb8 takes nothing returns
booleanreturn(getunittypeid(j4[6])==1328558134)endfunctionfunction qc8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(6),true)endfunction
function qc8 takes nothing returns booleanreturn(getunittypeid(j4[7])==1328558134)
endfunctionfunction qd8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(5),true)endfunctionfunction qe8 takes nothing
returns booleanreturn(getunittypeid(j4[6])==1160785974)endfunctionfunction q38
takes nothing returns nothingcall setunitowner(getenumunit(),player(6),true)
endfunctionfunction qf8 takes nothing returns boolean
return(getunittypeid(j4[7])==1160785974)endfunctionfunction qg8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(5),true)endfunctionfunction
q68 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(5))+(" has exchanged
shinobi with "+getplayername(player(6)))))call setunitowner(j4[6],player(6),true)
call setunitowner(j4[7],player(5),true)if(qb8())thencall
forgroupbj(pa(1328558135),function qc8)elsecall donothing()endifif(qc8())thencall
forgroupbj(pa(1328558135),function qd8)elsecall donothing()endifif(qe8())thencall
forgroupbj(pa(1160785973),function q38)elsecall donothing()endifif(qf8())thencall
forgroupbj(pa(1160785973),function qg8)elsecall donothing()endifset ve=j4[6]set
j4[6]=j4[7]set j4[7]=veendfunctionfunction qh8 takes nothing returns nothingset
nv=createtrigger()call disabletrigger(nv)call
triggerregisterplayerchatevent(nv,player(6),"-swap6",true)call
triggeraddaction(nv,function q68)endfunctionfunction qi8 takes nothing returns
booleanreturn(getunittypeid(j4[6])==1328558134)endfunctionfunction ql8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(7),true)endfunction
function q18 takes nothing returns booleanreturn(getunittypeid(j4[8])==1328558134)
endfunctionfunction qj8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(5),true)endfunctionfunction qk8 takes nothing
returns booleanreturn(getunittypeid(j4[6])==1160785974)endfunctionfunction ql8
takes nothing returns nothingcall setunitowner(getenumunit(),player(7),true)
endfunctionfunction qm8 takes nothing returns boolean
return(getunittypeid(j4[8])==1160785974)endfunctionfunction qn8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(5),true)endfunctionfunction
qo8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(5))+(" has exchanged
shinobi with "+getplayername(player(7)))))call setunitowner(j4[6],player(7),true)
call setunitowner(j4[8],player(5),true)if(qi8())thencall
forgroupbj(pa(1328558135),function ql8)elsecall donothing()endifif(q18())thencall
forgroupbj(pa(1328558135),function qj8)elsecall donothing()endifif(qk8())thencall
forgroupbj(pa(1160785973),function ql8)elsecall donothing()endifif(qm8())thencall
forgroupbj(pa(1160785973),function qn8)elsecall donothing()endifset ve=j4[6]set
j4[6]=j4[8]set j4[8]=veendfunctionfunction q08 takes nothing returns nothingset
ov=createtrigger()call disabletrigger(ov)call
triggerregisterplayerchatevent(ov,player(7),"-swap6",true)call
triggeraddaction(ov,function qo8)endfunctionfunction qp8 takes nothing returns
booleanreturn(getunittypeid(j4[6])==1328558134)endfunctionfunction qq8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(8),true)endfunction
function qr8 takes nothing returns booleanreturn(getunittypeid(j4[9])==1328558134)
endfunctionfunction qs8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(5),true)endfunctionfunction q58 takes nothing
returns booleanreturn(getunittypeid(j4[6])==1160785974)endfunctionfunction qt8
takes nothing returns nothingcall setunitowner(getenumunit(),player(8),true)
endfunctionfunction qu8 takes nothing returns boolean
return(getunittypeid(j4[9])==1160785974)endfunctionfunction qv8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(5),true)endfunctionfunction
qw8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(5))+(" has exchanged
shinobi with "+getplayername(player(8)))))call setunitowner(j4[6],player(8),true)
call setunitowner(j4[9],player(5),true)if(qp8())thencall
forgroupbj(pa(1328558135),function qq8)elsecall donothing()endifif(qr8())thencall
forgroupbj(pa(1328558135),function qs8)elsecall donothing()endifif(q58())thencall
forgroupbj(pa(1160785973),function qt8)elsecall donothing()endifif(qu8())thencall
forgroupbj(pa(1160785973),function qv8)elsecall donothing()endifset ve=j4[6]set
j4[6]=j4[9]set j4[9]=veendfunctionfunction qx8 takes nothing returns nothingset
pv=createtrigger()call disabletrigger(pv)call
triggerregisterplayerchatevent(pv,player(8),"-swap6",true)call
triggeraddaction(pv,function qw8)endfunctionfunction qy8 takes nothing returns
booleanreturn(getunittypeid(j4[6])==1328558134)endfunctionfunction q28 takes
nothing returns nothingcall setunitowner(getenumunit(),player(9),true)endfunction
function qz8 takes nothing returns boolean
return(getunittypeid(j4[10])==1328558134)endfunctionfunction q_8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(5),true)endfunctionfunction
r48 takes nothing returns booleanreturn(getunittypeid(j4[6])==1160785974)
endfunctionfunction r78 takes nothing returns nothingcall
setunitowner(getenumunit(),player(9),true)endfunctionfunction
r88 takes nothing returns booleanreturn(getunittypeid(j4[10])==1160785974)
endfunctionfunction r98 takes nothing returns nothingcall
setunitowner(getenumunit(),player(5),true)endfunctionfunction rd8 takes nothing
returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(5))+(" has exchanged
shinobi with "+getplayername(player(9)))))call setunitowner(j4[6],player(9),true)
call setunitowner(j4[10],player(5),true)if(qy8())thencall
forgroupbj(pa(1328558135),function q28)elsecall donothing()endifif(qz8())thencall
forgroupbj(pa(1328558135),function q_8)elsecall donothing()endifif(r48())thencall
forgroupbj(pa(1160785973),function r78)elsecall donothing()endifif(r88())thencall
forgroupbj(pa(1160785973),function r98)elsecall donothing()endifset ve=j4[6]set
j4[6]=j4[10]set j4[10]=veendfunctionfunction re8 takes nothing returns nothingset
qv=createtrigger()call disabletrigger(qv)call
triggerregisterplayerchatevent(qv,player(9),"-swap6",true)call
triggeraddaction(qv,function rd8)endfunctionfunction rf8 takes nothing returns
booleanreturn(getunittypeid(j4[7])==1328558134)endfunctionfunction rg8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(7),true)endfunction
function rh8 takes nothing returns booleanreturn(getunittypeid(j4[8])==1328558134)
endfunctionfunction ri8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(6),true)endfunctionfunction rj8 takes nothing
returns booleanreturn(getunittypeid(j4[7])==1160785974)endfunctionfunction rk8
takes nothing returns nothingcall setunitowner(getenumunit(),player(7),true)
endfunctionfunction rm8 takes nothing returns boolean
return(getunittypeid(j4[8])==1160785974)endfunctionfunction rn8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(6),true)endfunctionfunction
ro8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(6))+(" has exchanged
shinobi with "+getplayername(player(7)))))call setunitowner(j4[7],player(7),true)
call setunitowner(j4[8],player(6),true)if(rf8())thencall
forgroupbj(pa(1328558135),function rg8)elsecall donothing()endifif(rh8())thencall
forgroupbj(pa(1328558135),function ri8)elsecall donothing()endifif(rj8())thencall
forgroupbj(pa(1160785973),function rk8)elsecall donothing()endifif(rm8())thencall
forgroupbj(pa(1160785973),function rn8)elsecall donothing()endifset ve=j4[7]set
j4[7]=j4[8]set j4[8]=veendfunctionfunction rp8 takes nothing returns nothingset
rv=createtrigger()call disabletrigger(rv)call
triggerregisterplayerchatevent(rv,player(7),"-swap7",true)call
triggeraddaction(rv,function ro8)endfunctionfunction rq8 takes nothing returns
booleanreturn(getunittypeid(j4[7])==1328558134)endfunctionfunction rr8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(8),true)endfunction
function rs8 takes nothing returns booleanreturn(getunittypeid(j4[9])==1328558134)
endfunctionfunction rt8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(6),true)endfunctionfunction ru8 takes nothing
returns booleanreturn(getunittypeid(j4[7])==1160785974)endfunctionfunction rv8
takes nothing returns nothingcall setunitowner(getenumunit(),player(8),true)
endfunctionfunction rw8 takes nothing returns boolean
return(getunittypeid(j4[9])==1160785974)endfunctionfunction rx8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(6),true)endfunctionfunction
ry8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(6))+(" has exchanged
shinobi with "+getplayername(player(8)))))call setunitowner(j4[7],player(8),true)
call setunitowner(j4[9],player(6),true)if(rq8())thencall
forgroupbj(pa(1328558135),function rr8)elsecall donothing()endifif(rs8())thencall
forgroupbj(pa(1328558135),function rt8)elsecall donothing()endifif(ru8())thencall
forgroupbj(pa(1160785973),function rv8)elsecall donothing()endifif(rw8())thencall
forgroupbj(pa(1160785973),function rx8)elsecall donothing()endifset ve=j4[7]set
j4[7]=j4[9]set j4[9]=veendfunctionfunction rz8 takes nothing returns nothingset
sv=createtrigger()call disabletrigger(sv)call
triggerregisterplayerchatevent(sv,player(8),"-swap7",true)call
triggeraddaction(sv,function ry8)endfunctionfunction ra8 takes nothing returns
booleanreturn(getunittypeid(j4[7])==1328558134)endfunctionfunction ra8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(9),true)endfunction
function rb8 takes nothing returns boolean
return(getunittypeid(j4[10])==1328558134)endfunctionfunction rb8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(6),true)endfunctionfunction
rc8 takes nothing returns booleanreturn(getunittypeid(j4[7])==1160785974)
endfunctionfunction rc8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(9),true)endfunctionfunction rd8 takes nothing
returns booleanreturn(getunittypeid(j4[10])==1160785974)endfunctionfunction re8
takes nothing returns nothingcall setunitowner(getenumunit(),player(6),true)
endfunctionfunction r38 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(6))+(" has exchanged
shinobi with "+getplayername(player(9)))))call setunitowner(j4[7],player(9),true)
call setunitowner(j4[10],player(6),true)if(ra8())thencall
forgroupbj(pa(1328558135),function ra8)elsecall donothing()endifif(rb8())thencall
forgroupbj(pa(1328558135),function rb8)elsecall donothing()endifif(rc8())thencall
forgroupbj(pa(1160785973),function rc8)elsecall donothing()endifif(rd8())thencall
forgroupbj(pa(1160785973),function re8)elsecall donothing()endifset ve=j4[7]set
j4[7]=j4[10]set j4[10]=veendfunctionfunction rf8 takes nothing returns nothingset
tv=createtrigger()call disabletrigger(tv)call
triggerregisterplayerchatevent(tv,player(9),"-swap7",true)call
triggeraddaction(tv,function r38)endfunctionfunction rg8 takes nothing returns
booleanreturn(getunittypeid(j4[8])==1328558134)endfunctionfunction r68 takes
nothing returns nothingcall setunitowner(getenumunit(),player(8),true)endfunction
function rh8 takes nothing returns booleanreturn(getunittypeid(j4[9])==1328558134)
endfunctionfunction ri8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(7),true)endfunctionfunction rl8 takes nothing
returns booleanreturn(getunittypeid(j4[8])==1160785974)endfunctionfunction r18
takes nothing returns nothingcall setunitowner(getenumunit(),player(8),true)
endfunctionfunction rj8 takes nothing returns boolean
return(getunittypeid(j4[9])==1160785974)endfunctionfunction rk8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(7),true)endfunctionfunction
rl8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(7))+(" has exchanged
shinobi with "+getplayername(player(8)))))call setunitowner(j4[8],player(8),true)
call setunitowner(j4[9],player(7),true)if(rg8())thencall
forgroupbj(pa(1328558135),function r68)elsecall donothing()endifif(rh8())thencall
forgroupbj(pa(1328558135),function ri8)elsecall donothing()endifif(rl8())thencall
forgroupbj(pa(1160785973),function r18)elsecall donothing()endifif(rj8())thencall
forgroupbj(pa(1160785973),function rk8)elsecall donothing()endifset ve=j4[8]set
j4[8]=j4[9]set j4[9]=veendfunctionfunction rm8 takes nothing returns nothingset
uv=createtrigger()call disabletrigger(uv)call
triggerregisterplayerchatevent(uv,player(8),"-swap8",true)call
triggeraddaction(uv,function rl8)endfunctionfunction rn8 takes nothing returns
booleanreturn(getunittypeid(j4[8])==1328558134)endfunctionfunction ro8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(9),true)endfunction
function r08 takes nothing returns boolean
return(getunittypeid(j4[10])==1328558134)endfunctionfunction rp8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(7),true)endfunctionfunction
rq8 takes nothing returns booleanreturn(getunittypeid(j4[8])==1160785974)
endfunctionfunction rr8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(9),true)endfunctionfunction rs8 takes nothing
returns booleanreturn(getunittypeid(j4[10])==1160785974)endfunctionfunction r58
takes nothing returns nothingcall setunitowner(getenumunit(),player(7),true)
endfunctionfunction rt8 takes nothing returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(7))+(" has exchanged
shinobi with "+getplayername(player(9)))))call setunitowner(j4[8],player(9),true)
call setunitowner(j4[10],player(7),true)if(rn8())thencall
forgroupbj(pa(1328558135),function ro8)elsecall donothing()endifif(r08())thencall
forgroupbj(pa(1328558135),function rp8)elsecall donothing()endifif(rq8())thencall
forgroupbj(pa(1160785973),function rr8)elsecall donothing()endifif(rs8())thencall
forgroupbj(pa(1160785973),function r58)elsecall donothing()endifset ve=j4[8]set
j4[8]=j4[10]set j4[10]=veendfunctionfunction ru8 takes nothing returns nothingset
vv=createtrigger()call disabletrigger(vv)call
triggerregisterplayerchatevent(vv,player(9),"-swap8",true)call
triggeraddaction(vv,function rt8)endfunctionfunction rv8 takes nothing returns
booleanreturn(getunittypeid(j4[9])==1328558134)endfunctionfunction rw8 takes
nothing returns nothingcall setunitowner(getenumunit(),player(9),true)endfunction
function rx8 takes nothing returns boolean
return(getunittypeid(j4[10])==1328558134)endfunctionfunction ry8 takes nothing
returns nothingcall setunitowner(getenumunit(),player(8),true)endfunctionfunction
r28 takes nothing returns booleanreturn(getunittypeid(j4[9])==1160785974)
endfunctionfunction rz8 takes nothing returns nothingcall
setunitowner(getenumunit(),player(9),true)endfunctionfunction
r_8 takes nothing returns booleanreturn(getunittypeid(j4[10])==1160785974)
endfunctionfunction s48 takes nothing returns nothingcall
setunitowner(getenumunit(),player(8),true)endfunctionfunction s78 takes nothing
returns nothingcall
displaytexttoforce(getplayersall(),(getplayername(player(8))+(" has exchanged
shinobi with "+getplayername(player(9)))))call setunitowner(j4[9],player(9),true)
call setunitowner(j4[10],player(8),true)if(rv8())thencall
forgroupbj(pa(1328558135),function rw8)elsecall donothing()endifif(rx8())thencall
forgroupbj(pa(1328558135),function ry8)elsecall donothing()endifif(r28())thencall
forgroupbj(pa(1160785973),function rz8)elsecall donothing()endifif(r_8())thencall
forgroupbj(pa(1160785973),function s48)elsecall donothing()endifset ve=j4[9]set
j4[9]=j4[10]set j4[10]=veendfunctionfunction s88 takes nothing returns nothingset
wv=createtrigger()call disabletrigger(wv)call
triggerregisterplayerchatevent(wv,player(9),"-swap9",true)call
triggeraddaction(wv,function s78)endfunctionfunction s98 takes nothing returns
nothingcall enabletrigger(gm)endfunctionfunction sd8 takes nothing returns nothing
set xv=createtrigger()call triggerregistertimereventsingle(xv,95.00)call
triggeraddaction(xv,function s98)endfunctionfunction se8 takes nothing returns
nothingcall setplayermaxheroesallowed(0,getenumplayer())endfunctionfunction sf8
takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction sg8
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1852666423)
endfunctionfunction sh8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1869636975)endfunctionfunction si8 takes
nothing returns booleanreturn getbooleanand(sg8(),sh8())endfunctionfunction sj8
takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction sk8
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1852666423)
endfunctionfunction sm8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1869636975)endfunctionfunction sn8 takes
nothing returns booleanreturn getbooleanand(sk8(),sm8())endfunctionfunction so8
takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction sp8
takes nothing returns nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction sq8 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction sr8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction ss8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction st8 takes nothing returns booleanreturn
getbooleanand(sr8(),ss8())endfunctionfunction su8 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction sv8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction sw8 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction sx8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction sy8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction sz8 takes nothing returns booleanreturn
getbooleanand(sx8(),sy8())endfunctionfunction sa8 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction sa8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction sb8 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction sb8 takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117652)endfunctionfunction sc8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780939)endfunctionfunction sc8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785970)endfunctionfunction sd8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1164666213)endfunctionfunction se8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117877)endfunctionfunction s38
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221448)endfunctionfunction sf8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1316122466)endfunctionfunction sg8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221447)endfunctionfunction s68
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311781197)endfunctionfunction sh8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118131)endfunctionfunction si8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780945)endfunctionfunction sl8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1328558134)endfunctionfunction s18
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785974)endfunctionfunction sj8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118134)endfunctionfunction sk8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction sl8
takes nothing returns booleanif(not(j4[getforloopindexa()]==null))thenreturn false
endif
if(not(getplayerslotstate(k4[getforloopindexa()])==player_slot_state_playing))then
return falseendif
if(not(getplayercontroller(k4[getforloopindexa()])==map_control_user))thenreturn
falseendifreturn trueendfunctionfunction sm8 takes nothing returns nothingset
a8=pa(1853056353)call forforce(getplayersall(),function se8)call
forgroupbj(a8,function sf8)call destroygroup(a8)set a8=nullcall enabletrigger(zv)
set bj_forloopaindex=1set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendif(sl8())thencall
displaytexttoforce(getplayersall(),((getplayername(k4[getforloopindexa()])+" has
taken too long to choose a hero...")+"forcing a hero upon the player!"))call
forgroupbj(ra(k4[getforloopindexa()],condition(function si8)),function sj8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],k4[getforloopindexa()],getplayerstartlocationloc(k4
[getforloopindexa()]),bj_unit_facing)set lf[ad]=kfset kf=(kf-1)set
z8[getforloopindexa()]=1call
adjustplayerstatebj(750,a4,player_state_resource_gold)if(sq8())thencall
forgroupbj(ra(gettriggerplayer(),condition(function sn8)),function so8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function sp8)set lf[ad]=kfset
kf=(kf-1)elseendifif(sw8())thencall
forgroupbj(ra(gettriggerplayer(),condition(function st8)),function su8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function sv8)set lf[ad]=kfset
kf=(kf-1)elseendifif(sb8())thencall
forgroupbj(ra(gettriggerplayer(),condition(function sz8)),function sa8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function sa8)set lf[ad]=kfset
kf=(kf-1)elseendifif(sb8())thencall disabletrigger(kw)elsecall donothing()endif
if(sc8())thencall disabletrigger(nw)elsecall donothing()endifif(sc8())thencall
disabletrigger(ow)elsecall donothing()endifif(sd8())thenset
ye=getlastcreatedunit()elsecall donothing()endifif(se8())thencall
disabletrigger(pw)elsecall donothing()endifif(s38())thencall disabletrigger(qw)
elsecall donothing()endifif(sf8())thencall disabletrigger(st)elsecall donothing()
endifif(sg8())thencall disabletrigger(rw)elsecall donothing()endifif(s68())then
call disabletrigger(uw)elsecall donothing()endifif(sh8())thencall
disabletrigger(mw)elsecall donothing()endifif(si8())thencall disabletrigger(sw)
elsecall donothing()endifif(sl8())thencall
createnunitsatloc(1,1328558135,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(s18())thencall
createnunitsatloc(1,1160785973,k4[getforloopindexa()],getunitloc(getlastcreateduni
t()),bj_unit_facing)elsecall donothing()endifif(sj8())thenset ee=getrandomint(1,3)
elsecall donothing()endifif(sk8())thencall
setplayerhandicapxpbj(k4[getforloopindexa()],90.00)elsecall donothing()endifcall
playsoundbj(di)set j4[getforloopindexa()]=getlastcreatedunit()call
pancameratotimedlocforplayer(k4[getforloopindexa()],getunitloc(getlastcreatedunit(
)),0)call selectunitforplayersingle(j4[getforloopindexa()],k4[getforloopindexa()])
call setplayerstatebj(k4[getforloopindexa()],player_state_resource_lumber,0)else
endifset bj_forloopaindex=bj_forloopaindex+1endloopcall uz(10.00)call
disabletrigger(fw)call disabletrigger(gw)endfunctionfunction sn8 takes nothing
returns nothingset yv=createtrigger()call
triggerregistertimereventsingle(yv,90.00)call triggeraddaction(yv,function sm8)
endfunctionfunction so8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction s08 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction sp8 takes
nothing returns booleanreturn(getowningplayer(getlastcreatedunit())==player(0))
endfunctionfunction sq8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction
sr8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction ss8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction s58
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction st8
takes nothing returns booleanreturn getbooleanor(ss8(),s58())endfunctionfunction
su8 takes nothing returns booleanreturn getbooleanor(sr8(),st8())endfunction
function sv8 takes nothing returns booleanreturn getbooleanor(sq8(),su8())
endfunctionfunction sw8 takes nothing returns booleanreturn
getbooleanor(sp8(),sv8())endfunctionfunction sx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(j4[getconvertedplayerid(gettriggerplayer())]
,1))==1802529134)endfunctionfunction sy8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(j4[getconvertedplayerid(gettriggerplayer())]
,2))==1802529134)endfunctionfunction s28 takes nothing returns booleanif(not
getbooleanand(sx8(),sy8()))thenreturn falseendifreturn trueendfunctionfunction sz8
takes nothing returns nothingif(s28())thencall
disabletrigger(gettriggeringtrigger())call
forgroupbj(ra(gettriggerplayer(),condition(function so8)),function s08)call
createnunitsatloc(1,1311780943,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(sw8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
adjustplayerstatebj(720,a4,player_state_resource_gold)call
displaytexttoforce(getplayersall(),"you feel a mighty rip in the fabric of
naruto's universe as something else enters this realm...")call enabletrigger(rq)
call enabletrigger(sq)call enabletrigger(qq)call enabletrigger(pq)call
enabletrigger(xq)call playsoundbj(li)returnelseendifendfunctionfunction s_8 takes
nothing returns nothingset zv=createtrigger()call disabletrigger(zv)call
triggerregisterplayerchatevent(zv,player(0),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(1),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(2),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(3),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(4),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(5),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(6),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(7),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(8),"-bleach",true)call
triggerregisterplayerchatevent(zv,player(9),"-bleach",true)call
triggeraddaction(zv,function sz8)endfunctionfunction t48 takes nothing returns
nothingcall disabletrigger(zv)call disabletrigger(gettriggeringtrigger())
endfunctionfunction t78 takes nothing returns nothingset dw=createtrigger()call
triggerregistertimereventsingle(dw,120.00)call triggeraddaction(dw,function t48)
endfunctionfunction t88 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction t98
takes nothing returns booleanreturn(getunittypeid(getfilterunit())!=1311780915)
endfunctionfunction td8 takes nothing returns booleanreturn
getbooleanand(t88(),t98())endfunctionfunction te8 takes nothing returns boolean
if(not(isplayerenemy(getowningplayer(getenumunit()),gettriggerplayer())==true))the
nreturn falseendifreturn trueendfunctionfunction tf8 takes nothing returns nothing
if(te8())thencall
displaytexttoforce(ta(gettriggerplayer()),(getplayername(getowningplayer(getenumun
it()))+(" is role-playing as "+getheropropername(getenumunit()))))elseendif
endfunctionfunction tg8 takes nothing returns nothingset
y4=fa(getplayablemaprect(),condition(function td8))call forgroupbj(y4,function
tf8)endfunctionfunction th8 takes nothing returns nothingset ew=createtrigger()
call triggerregisterplayerchatevent(ew,player(0),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(1),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(2),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(3),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(4),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(5),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(6),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(7),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(8),"-enemies",true)call
triggerregisterplayerchatevent(ew,player(9),"-enemies",true)call
triggeraddaction(ew,function tg8)endfunctionfunction ti8 takes nothing returns
booleanreturn(countlivingplayerunitsoftypeid(1328558135,player(0))>1)endfunction
function tj8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction tk8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(1))>1)endfunctionfunction
tm8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tn8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(2))>1)endfunctionfunction
to8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tp8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(3))>1)endfunctionfunction
tq8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tr8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(4))>1)endfunctionfunction
ts8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tt8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(5))>1)endfunctionfunction
tu8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tv8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(6))>1)endfunctionfunction
tw8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tx8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(7))>1)endfunctionfunction
ty8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tz8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(8))>1)endfunctionfunction
ta8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
ta8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1328558135,player(9))>1)endfunctionfunction
tb8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tb8 takes nothing returns nothingif(ti8())thencall
forgroupbj(xa(1,sa(player(0),1328558135)),function tj8)elsecall donothing()endif
if(tk8())thencall forgroupbj(xa(1,sa(player(1),1328558135)),function tm8)elsecall
donothing()endifif(tn8())thencall
forgroupbj(xa(1,sa(player(2),1328558135)),function to8)elsecall donothing()endif
if(tp8())thencall forgroupbj(xa(1,sa(player(3),1328558135)),function tq8)elsecall
donothing()endifif(tr8())thencall
forgroupbj(xa(1,sa(player(4),1328558135)),function ts8)elsecall donothing()endif
if(tt8())thencall forgroupbj(xa(1,sa(player(5),1328558135)),function tu8)elsecall
donothing()endifif(tv8())thencall
forgroupbj(xa(1,sa(player(6),1328558135)),function tw8)elsecall donothing()endif
if(tx8())thencall forgroupbj(xa(1,sa(player(7),1328558135)),function ty8)elsecall
donothing()endifif(tz8())thencall
forgroupbj(xa(1,sa(player(8),1328558135)),function ta8)elsecall donothing()endif
if(ta8())thencall forgroupbj(xa(1,sa(player(9),1328558135)),function tb8)elsecall
donothing()endifendfunctionfunction tc8 takes nothing returns nothingset
fw=createtrigger()call triggerregistertimereventperiodic(fw,7.00)call
triggeraddaction(fw,function tb8)endfunctionfunction tc8 takes nothing returns
booleanreturn(countlivingplayerunitsoftypeid(1160785973,player(0))>1)endfunction
function td8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction te8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(1))>1)endfunctionfunction
t38 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tf8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(2))>1)endfunctionfunction
tg8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
t68 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(3))>1)endfunctionfunction
th8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
ti8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(4))>1)endfunctionfunction
tl8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
t18 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(5))>1)endfunctionfunction
tj8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tk8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(6))>1)endfunctionfunction
tl8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tm8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(7))>1)endfunctionfunction
tn8 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
to8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(8))>1)endfunctionfunction
t08 takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction
tp8 takes nothing returns boolean
return(countlivingplayerunitsoftypeid(1160785973,player(9))>1)endfunctionfunction
tq8 takes nothing returns nothingcall removeunit(getenumunit())endfunction
function tr8 takes nothing returns nothingif(tc8())thencall
forgroupbj(xa(1,sa(player(0),1160785973)),function td8)elsecall donothing()endif
if(te8())thencall forgroupbj(xa(1,sa(player(1),1160785973)),function t38)elsecall
donothing()endifif(tf8())thencall
forgroupbj(xa(1,sa(player(2),1160785973)),function tg8)elsecall donothing()endif
if(t68())thencall forgroupbj(xa(1,sa(player(3),1160785973)),function th8)elsecall
donothing()endifif(ti8())thencall
forgroupbj(xa(1,sa(player(4),1160785973)),function tl8)elsecall donothing()endif
if(t18())thencall forgroupbj(xa(1,sa(player(5),1160785973)),function tj8)elsecall
donothing()endifif(tk8())thencall
forgroupbj(xa(1,sa(player(6),1160785973)),function tl8)elsecall donothing()endif
if(tm8())thencall forgroupbj(xa(1,sa(player(7),1160785973)),function tn8)elsecall
donothing()endifif(to8())thencall
forgroupbj(xa(1,sa(player(8),1160785973)),function t08)elsecall donothing()endif
if(tp8())thencall forgroupbj(xa(1,sa(player(9),1160785973)),function tq8)elsecall
donothing()endifendfunctionfunction ts8 takes nothing returns nothingset
gw=createtrigger()call triggerregistertimereventperiodic(gw,7.00)call
triggeraddaction(gw,function tr8)endfunctionfunction t58 takes nothing returns
nothingcall disabletrigger(xw)call disabletrigger(fw)call disabletrigger(yw)call
disabletrigger(ww)call disabletrigger(nv)call disabletrigger(wv)call
disabletrigger(xv)call disabletrigger(yv)call disabletrigger(zv)call
disabletrigger(av)call disabletrigger(av)call disabletrigger(bv)call
disabletrigger(bv)call disabletrigger(cv)call disabletrigger(cv)call
disabletrigger(ov)call disabletrigger(dv)call disabletrigger(pv)call
disabletrigger(qv)call disabletrigger(rv)call disabletrigger(sv)call
disabletrigger(tv)call disabletrigger(uv)call disabletrigger(vv)call
disabletrigger(ev)call disabletrigger(fv)call disabletrigger(gv)call
disabletrigger(hv)call disabletrigger(iv)call disabletrigger(lv)call
disabletrigger(jv)call disabletrigger(kv)call disabletrigger(lv)call
disabletrigger(mv)call disabletrigger(qv)call disabletrigger(nv)call
disabletrigger(ov)call disabletrigger(pv)call disabletrigger(tv)call
disabletrigger(rv)call disabletrigger(sv)call disabletrigger(vv)call
disabletrigger(uv)call disabletrigger(wv)endfunctionfunction tt8 takes nothing
returns nothingset hw=createtrigger()call
triggerregistertimereventsingle(hw,120.00)call triggeraddaction(hw,function t58)
endfunctionfunction tu8 takes nothing returns nothingcall disabletrigger(hj)call
disabletrigger(ij)call uz(2.00)call enabletrigger(ww)endfunctionfunction tv8 takes
nothing returns nothingset iw=createtrigger()call
triggerregistertimereventsingle(iw,9.00)call triggeraddaction(iw,function tu8)
endfunctionfunction tw8 takes nothing returns nothingcall disabletrigger(vm)call
disabletrigger(wm)call disabletrigger(jm)call disabletrigger(dw)call
disabletrigger(jn)call disabletrigger(em)call disabletrigger(dm)call
disabletrigger(cm)call disabletrigger(ln)call disabletrigger(kw)call
disabletrigger(mw)call disabletrigger(nw)call disabletrigger(ow)call
disabletrigger(pw)call disabletrigger(qw)call disabletrigger(rw)call
disabletrigger(sw)call disabletrigger(tw)call disabletrigger(uw)call
disabletrigger(gettriggeringtrigger())endfunctionfunction tx8 takes nothing
returns nothingset jw=createtrigger()call
triggerregistertimereventsingle(jw,45.00)call triggeraddaction(jw,function tw8)
endfunctionfunction ty8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1214409837))==1))thenreturn false
endifreturn trueendfunctionfunction t28 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction tz8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction t_8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction u48
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction u78
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction u88
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction u98
takes nothing returns booleanreturn getbooleanor(u78(),u88())endfunctionfunction
ud8 takes nothing returns booleanreturn getbooleanor(u48(),u98())endfunction
function ue8 takes nothing returns booleanreturn getbooleanor(t_8(),ud8())
endfunctionfunction uf8 takes nothing returns booleanreturn
getbooleanor(tz8(),ue8())endfunctionfunction ug8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1214409837),function t28)call
createnunitsatloc(1,1211117652,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(uf8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"the third kazekage hath been
unlocked !")returnendfunctionfunction uh8 takes nothing returns nothingset
kw=createtrigger()call triggerregisterplayerchatevent(kw,player(0),"-unlock
3rd",true)call triggerregisterplayerchatevent(kw,player(1),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(2),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(3),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(4),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(5),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(6),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(7),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(8),"-unlock 3rd",true)call
triggerregisterplayerchatevent(kw,player(9),"-unlock 3rd",true)call
triggeraddcondition(kw,condition(function ty8))call triggeraddaction(kw,function
ug8)endfunctionfunction ui8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1215324524))==1))thenreturn false
endifreturn ga(geteventplayerchatstring())endfunctionfunction uj8 takes nothing
returns nothingcall removeunit(getenumunit())endfunctionfunction uk8 takes nothing
returns booleanreturn(getowningplayer(getlastcreatedunit())==player(0))endfunction
function um8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction un8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction uo8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction up8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction uq8
takes nothing returns booleanreturn getbooleanor(uo8(),up8())endfunctionfunction
ur8 takes nothing returns booleanreturn getbooleanor(un8(),uq8())endfunction
function us8 takes nothing returns booleanreturn getbooleanor(um8(),ur8())
endfunctionfunction ut8 takes nothing returns booleanreturn
getbooleanor(uk8(),us8())endfunctionfunction uu8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1215324524),function uj8)call
createnunitsatloc(1,1211118131,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(ut8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"kakashi suddenly reveals his
hidden history !")returnendfunctionfunction uv8 takes nothing returns nothingset
mw=createtrigger()call triggerregisterplayerchatevent(mw,player(0),"-",false)call
triggerregisterplayerchatevent(mw,player(1),"-",false)call
triggerregisterplayerchatevent(mw,player(2),"-",false)call
triggerregisterplayerchatevent(mw,player(3),"-",false)call
triggerregisterplayerchatevent(mw,player(4),"-",false)call
triggerregisterplayerchatevent(mw,player(5),"-",false)call
triggerregisterplayerchatevent(mw,player(6),"-",false)call
triggerregisterplayerchatevent(mw,player(7),"-",false)call
triggerregisterplayerchatevent(mw,player(8),"-",false)call
triggerregisterplayerchatevent(mw,player(9),"-",false)call
triggeraddcondition(mw,condition(function ui8))call triggeraddaction(mw,function
uu8)endfunctionfunction uw8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1311780931))==1))thenreturn false
endifreturn trueendfunctionfunction ux8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction uy8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction uz8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction ua8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction ua8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction ub8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction ub8
takes nothing returns booleanreturn getbooleanor(ua8(),ub8())endfunctionfunction
uc8 takes nothing returns booleanreturn
getbooleanor(ua8(),ub8())endfunctionfunction uc8 takes nothing returns boolean
return getbooleanor(uz8(),uc8())endfunctionfunction ud8 takes nothing returns
booleanreturn getbooleanor(uy8(),uc8())endfunctionfunction ue8 takes nothing
returns nothingcall disabletrigger(gettriggeringtrigger())set
bj_wantdestroygroup=truecall forgroupbj(sa(gettriggerplayer(),1311780931),function
ux8)set ef=getrectcenter(getplayablemaprect())call
createnunitsatloc(1,1311780939,gettriggerplayer(),ef,bj_unit_facing)call
removelocation(ef)if(ud8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"sasori has emerged from hiroku's
body !")returnendfunctionfunction u38 takes nothing returns nothingset
nw=createtrigger()call triggerregisterplayerchatevent(nw,player(0),"-open
shell",true)call triggerregisterplayerchatevent(nw,player(1),"-open shell",true)
call triggerregisterplayerchatevent(nw,player(2),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(3),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(4),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(5),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(6),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(7),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(8),"-open shell",true)call
triggerregisterplayerchatevent(nw,player(9),"-open shell",true)call
triggeraddcondition(nw,condition(function uw8))call triggeraddaction(nw,function
ue8)endfunctionfunction uf8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1164666213))==1))thenreturn false
endifreturn trueendfunctionfunction ug8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction u68 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction uh8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction ui8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction ul8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction u18
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction uj8
takes nothing returns booleanreturn getbooleanor(ul8(),u18())endfunctionfunction
uk8 takes nothing returns booleanreturn getbooleanor(ui8(),uj8())endfunction
function ul8 takes nothing returns booleanreturn getbooleanor(uh8(),uk8())
endfunctionfunction um8 takes nothing returns booleanreturn
getbooleanor(u68(),ul8())endfunctionfunction un8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1164666213),function ug8)call
createnunitsatloc(1,1160785970,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(um8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"orochimaru suddenly seems much
deadlier !")returnendfunctionfunction uo8 takes nothing returns nothingset
ow=createtrigger()call triggerregisterplayerchatevent(ow,player(0),"-3
years",true)call triggerregisterplayerchatevent(ow,player(1),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(2),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(3),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(4),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(5),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(6),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(7),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(8),"-3 years",true)call
triggerregisterplayerchatevent(ow,player(9),"-3 years",true)call
triggeraddcondition(ow,condition(function uf8))call triggeraddaction(ow,function
un8)endfunctionfunction u08 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1215324524))==1))thenreturn false
endifreturn trueendfunctionfunction up8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction uq8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction ur8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction us8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction u58
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction ut8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction uu8
takes nothing returns booleanreturn getbooleanor(u58(),ut8())endfunctionfunction
uv8 takes nothing returns booleanreturn getbooleanor(us8(),uu8())endfunction
function uw8 takes nothing returns booleanreturn getbooleanor(ur8(),uv8())
endfunctionfunction ux8 takes nothing returns booleanreturn
getbooleanor(uq8(),uw8())endfunctionfunction uy8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1215324524),function up8)call
createnunitsatloc(1,1211117877,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(ux8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"kakashi suddenly looks older...")
returnendfunctionfunction u28 takes nothing returns nothingset pw=createtrigger()
call triggerregisterplayerchatevent(pw,player(0),"-future",true)call
triggerregisterplayerchatevent(pw,player(1),"-future",true)call
triggerregisterplayerchatevent(pw,player(2),"-future",true)call
triggerregisterplayerchatevent(pw,player(3),"-future",true)call
triggerregisterplayerchatevent(pw,player(4),"-future",true)call
triggerregisterplayerchatevent(pw,player(5),"-future",true)call
triggerregisterplayerchatevent(pw,player(6),"-future",true)call
triggerregisterplayerchatevent(pw,player(7),"-future",true)call
triggerregisterplayerchatevent(pw,player(8),"-future",true)call
triggerregisterplayerchatevent(pw,player(9),"-future",true)call
triggeraddcondition(pw,condition(function u08))call triggeraddaction(pw,function
uy8)endfunctionfunction uz8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1433168227))==1))thenreturn false
endifreturn trueendfunctionfunction u_8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction v48 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction v78
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction v88
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction v98
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vd8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction ve8
takes nothing returns booleanreturn getbooleanor(v98(),vd8())endfunctionfunction
vf8 takes nothing returns booleanreturn getbooleanor(v88(),ve8())endfunction
function vg8 takes nothing returns booleanreturn getbooleanor(v78(),vf8())
endfunctionfunction vh8 takes nothing returns booleanreturn
getbooleanor(v48(),vg8())endfunctionfunction vi8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1433168227),function u_8)call
createnunitsatloc(1,1429221448,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(vh8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"neji suddenly looks more
matured...")returnendfunctionfunction vj8 takes nothing returns nothingset
qw=createtrigger()call triggerregisterplayerchatevent(qw,player(0),"-new
age",true)call triggerregisterplayerchatevent(qw,player(1),"-new age",true)call
triggerregisterplayerchatevent(qw,player(2),"-new age",true)call
triggerregisterplayerchatevent(qw,player(3),"-new age",true)call
triggerregisterplayerchatevent(qw,player(4),"-new age",true)call
triggerregisterplayerchatevent(qw,player(5),"-new age",true)call
triggerregisterplayerchatevent(qw,player(6),"-new age",true)call
triggerregisterplayerchatevent(qw,player(7),"-new age",true)call
triggerregisterplayerchatevent(qw,player(8),"-new age",true)call
triggerregisterplayerchatevent(qw,player(9),"-new age",true)call
triggeraddcondition(qw,condition(function uz8))call triggeraddaction(qw,function
vi8)endfunctionfunction vk8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1432646245))==1))thenreturn
falseendifreturn trueendfunctionfunction vm8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction vn8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction vo8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction vp8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction vq8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vr8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction vs8
takes nothing returns booleanreturn getbooleanor(vq8(),vr8())endfunctionfunction
vt8 takes nothing returns booleanreturn getbooleanor(vp8(),vs8())endfunction
function vu8 takes nothing returns booleanreturn getbooleanor(vo8(),vt8())
endfunctionfunction vv8 takes nothing returns booleanreturn
getbooleanor(vn8(),vu8())endfunctionfunction vw8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1432646245),function vm8)call
createnunitsatloc(1,1429221447,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(vv8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"naruto suddenly goes on a wild
rampage ~ !")returnendfunctionfunction vx8 takes nothing returns nothingset
rw=createtrigger()call triggerregisterplayerchatevent(rw,player(0),"-go
wild",true)call triggerregisterplayerchatevent(rw,player(1),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(2),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(3),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(4),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(5),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(6),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(7),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(8),"-go wild",true)call
triggerregisterplayerchatevent(rw,player(9),"-go wild",true)call
triggeraddcondition(rw,condition(function vk8))call triggeraddaction(rw,function
vw8)endfunctionfunction vy8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1315334514))==1))thenreturn false
endifreturn trueendfunctionfunction vz8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction va8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(0))endfunctionfunction va8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction vb8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction vb8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vc8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction vc8
takes nothing returns booleanreturn getbooleanor(vb8(),vc8())endfunctionfunction
vd8 takes nothing returns booleanreturn getbooleanor(vb8(),vc8())endfunction
function ve8 takes nothing returns booleanreturn getbooleanor(va8(),vd8())
endfunctionfunction v38 takes nothing returns booleanreturn
getbooleanor(va8(),ve8())endfunctionfunction vf8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1315334514),function vz8)call
createnunitsatloc(1,1311780945,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(v38())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"shikamaru is suddenly wearing the
jounin badge !")returnendfunctionfunction vg8 takes nothing returns nothingset
sw=createtrigger()call triggerregisterplayerchatevent(sw,player(0),"-after
3",true)call triggerregisterplayerchatevent(sw,player(1),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(2),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(3),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(4),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(5),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(6),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(7),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(8),"-after 3",true)call
triggerregisterplayerchatevent(sw,player(9),"-after 3",true)call
triggeraddcondition(sw,condition(function vy8))call triggeraddaction(sw,function
vf8)endfunctionfunction v68 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1164799855))==1))thenreturn false
endifreturn ia(geteventplayerchatstring())endfunctionfunction vh8 takes nothing
returns nothingcall removeunit(getenumunit())endfunctionfunction vi8 takes nothing
returns booleanreturn(getowningplayer(getlastcreatedunit())==player(0))endfunction
function vl8 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction v18
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction vj8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vk8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction vl8
takes nothing returns booleanreturn getbooleanor(vj8(),vk8())endfunctionfunction
vm8 takes nothing returns booleanreturn getbooleanor(v18(),vl8())endfunction
function vn8 takes nothing returns booleanreturn getbooleanor(vl8(),vm8())
endfunctionfunction vo8 takes nothing returns booleanreturn
getbooleanor(vi8(),vn8())endfunctionfunction v08 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1164799855),function vh8)call
createnunitsatloc(1,1211118155,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(vo8())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"uchiha madara lives again...")
returnendfunctionfunction vp8 takes nothing returns nothingset tw=createtrigger()
call triggerregisterplayerchatevent(tw,player(0),"-",false)call
triggerregisterplayerchatevent(tw,player(1),"-",false)call
triggerregisterplayerchatevent(tw,player(2),"-",false)call
triggerregisterplayerchatevent(tw,player(3),"-",false)call
triggerregisterplayerchatevent(tw,player(4),"-",false)call
triggerregisterplayerchatevent(tw,player(5),"-",false)call
triggerregisterplayerchatevent(tw,player(6),"-",false)call
triggerregisterplayerchatevent(tw,player(7),"-",false)call
triggerregisterplayerchatevent(tw,player(8),"-",false)call
triggerregisterplayerchatevent(tw,player(9),"-",false)call
triggeraddcondition(tw,condition(function v68))call triggeraddaction(tw,function
v08)endfunctionfunction vq8 takes nothing returns boolean
if(not(countunitsingroup(sa(gettriggerplayer(),1315990632))==1))thenreturn false
endifreturn la(geteventplayerchatstring())endfunctionfunction vr8 takes nothing
returns nothingcall removeunit(getenumunit())endfunctionfunction vs8 takes nothing
returns booleanreturn(getowningplayer(getlastcreatedunit())==player(0))endfunction
function v58 takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(1))endfunctionfunction vt8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(2))endfunctionfunction vu8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(3))endfunctionfunction vv8
takes nothing returns boolean
return(getowningplayer(getlastcreatedunit())==player(4))endfunctionfunction vw8
takes nothing returns booleanreturn getbooleanor(vu8(),vv8())endfunctionfunction
vx8 takes nothing returns booleanreturn getbooleanor(vt8(),vw8())endfunction
function vy8 takes nothing returns booleanreturn getbooleanor(v58(),vx8())
endfunctionfunction v28 takes nothing returns booleanreturn
getbooleanor(vs8(),vy8())endfunctionfunction vz8 takes nothing returns nothingcall
disabletrigger(gettriggeringtrigger())call
forgroupbj(sa(gettriggerplayer(),1315990632),function vr8)call
createnunitsatloc(1,1311781197,gettriggerplayer(),getrectcenter(getplayablemaprect
()),bj_unit_facing)if(v28())thencall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(cg))elsecall
setunitpositionloc(getlastcreatedunit(),getrandomlocinrect(dg))endifset
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call displaytexttoforce(getplayersall(),"jiraiya starts to get
serious...")returnendfunctionfunction v_8 takes nothing returns nothingset
uw=createtrigger()call triggerregisterplayerchatevent(uw,player(0),"-",false)call
triggerregisterplayerchatevent(uw,player(1),"-",false)call
triggerregisterplayerchatevent(uw,player(2),"-",false)call
triggerregisterplayerchatevent(uw,player(3),"-",false)call
triggerregisterplayerchatevent(uw,player(4),"-",false)call
triggerregisterplayerchatevent(uw,player(5),"-",false)call
triggerregisterplayerchatevent(uw,player(6),"-",false)call
triggerregisterplayerchatevent(uw,player(7),"-",false)call
triggerregisterplayerchatevent(uw,player(8),"-",false)call
triggerregisterplayerchatevent(uw,player(9),"-",false)call
triggeraddcondition(uw,condition(function vq8))call triggeraddaction(uw,function
vz8)endfunctionfunction w48 takes nothing returns boolean
return(getplayercontroller(player(0))==map_control_user)endfunctionfunction w78
takes nothing returns boolean
return(getplayerslotstate(player(0))==player_slot_state_playing)endfunction
function w88 takes nothing returns booleanreturn getbooleanand(w48(),w78())
endfunctionfunction w98 takes nothing returns boolean
return(getplayercontroller(player(1))==map_control_user)endfunctionfunction wd8
takes nothing returns boolean
return(getplayerslotstate(player(1))==player_slot_state_playing)endfunction
function we8 takes nothing returns booleanreturn getbooleanand(w98(),wd8())
endfunctionfunction wf8 takes nothing returns boolean
return(getplayercontroller(player(2))==map_control_user)endfunctionfunction wg8
takes nothing returns boolean
return(getplayerslotstate(player(2))==player_slot_state_playing)endfunction
function wh8 takes nothing returns booleanreturn getbooleanand(wf8(),wg8())
endfunctionfunction wi8 takes nothing returns boolean
return(getplayercontroller(player(3))==map_control_user)endfunctionfunction wj8
takes nothing returns boolean
return(getplayerslotstate(player(3))==player_slot_state_playing)endfunction
function wk8 takes nothing returns booleanreturn getbooleanand(wi8(),wj8())
endfunctionfunction wm8 takes nothing returns boolean
return(getplayerslotstate(player(4))==player_slot_state_playing)endfunction
function wn8 takes nothing returns boolean
return(getplayercontroller(player(4))==map_control_user)endfunctionfunction wo8
takes nothing returns booleanreturn getbooleanand(wm8(),wn8())endfunctionfunction
wp8 takes nothing returns boolean
return(getplayerslotstate(player(5))==player_slot_state_playing)endfunction
function wq8 takes nothing returns boolean
return(getplayercontroller(player(5))==map_control_user)endfunctionfunction wr8
takes nothing returns booleanreturn getbooleanand(wp8(),wq8())endfunctionfunction
ws8 takes nothing returns boolean
return(getplayerslotstate(player(6))==player_slot_state_playing)endfunction
function wt8 takes nothing returns boolean
return(getplayercontroller(player(6))==map_control_user)endfunctionfunction wu8
takes nothing returns booleanreturn getbooleanand(ws8(),wt8())endfunctionfunction
wv8 takes nothing returns boolean
return(getplayercontroller(player(7))==map_control_user)endfunctionfunction ww8
takes nothing returns boolean
return(getplayerslotstate(player(7))==player_slot_state_playing)endfunction
function wx8 takes nothing returns booleanreturn getbooleanand(wv8(),ww8())
endfunctionfunction wy8 takes nothing returns boolean
return(getplayercontroller(player(8))==map_control_user)endfunctionfunction wz8
takes nothing returns boolean
return(getplayerslotstate(player(8))==player_slot_state_playing)endfunction
function wa8 takes nothing returns booleanreturn getbooleanand(wy8(),wz8())
endfunctionfunction wa8 takes nothing returns boolean
return(getplayercontroller(player(9))==map_control_user)endfunctionfunction wb8
takes nothing returns boolean
return(getplayerslotstate(player(9))==player_slot_state_playing)endfunction
function wb8 takes nothing returns booleanreturn getbooleanand(wa8(),wb8())
endfunctionfunction wc8 takes nothing returns booleanreturn(i==l)endfunction
function wc8 takes nothing returns booleanreturn(i>l)endfunctionfunction wd8 takes
nothing returns booleanreturn(l>i)endfunctionfunction we8 takes nothing returns
booleanreturn(i>l)endfunctionfunction w38 takes nothing returns booleanreturn(i>l)
endfunctionfunction wf8 takes nothing returns booleanreturn(i>l)endfunction
function wg8 takes nothing returns booleanreturn(i>l)endfunctionfunction w68 takes
nothing returns booleanreturn(i>l)endfunctionfunction wh8 takes nothing returns
booleanreturn(l>i)endfunctionfunction wi8 takes nothing returns booleanreturn(l>i)
endfunctionfunction wl8 takes nothing returns booleanreturn(l>i)endfunction
function w18 takes nothing returns booleanreturn(l>i)endfunctionfunction wj8 takes
nothing returns booleanreturn(l>i)endfunctionfunction wk8 takes nothing returns
booleanreturn(l>i)endfunctionfunction wl8 takes nothing returns booleanreturn(i>l)
endfunctionfunction wm8 takes nothing returns nothingset i=0set l=0if(w88())then
set i=(i+1)elsecall donothing()endifif(we8())thenset i=(i+1)elsecall donothing()
endifif(wh8())thenset i=(i+1)elsecall donothing()endifif(wk8())thenset i=(i+1)else
call donothing()endifif(wo8())thenset i=(i+1)elsecall donothing()endif
if(wr8())thenset l=(l+1)elsecall donothing()endifif(wu8())thenset l=(l+1)elsecall
donothing()endifif(wx8())thenset l=(l+1)elsecall donothing()endifif(wa8())thenset
l=(l+1)elsecall donothing()endifif(wb8())thenset l=(l+1)elsecall donothing()endif
if(wc8())thenreturnelsecall donothing()endifif(wc8())thenset e=(i-l)elsecall
donothing()endifif(wd8())thenset e=(l-i)elsecall donothing()endifset e=(e*750)
if(we8())thencall adjustplayerstatebj(e,player(5),player_state_resource_gold)else
call donothing()endifif(w38())thencall
adjustplayerstatebj(e,player(6),player_state_resource_gold)elsecall donothing()
endifif(wf8())thencall adjustplayerstatebj(e,player(7),player_state_resource_gold)
elsecall donothing()endifif(wg8())thencall
adjustplayerstatebj(e,player(8),player_state_resource_gold)elsecall donothing()
endifif(w68())thencall adjustplayerstatebj(e,player(9),player_state_resource_gold)
elsecall donothing()endifif(wh8())thencall
adjustplayerstatebj(e,player(0),player_state_resource_gold)elsecall donothing()
endifif(wi8())thencall adjustplayerstatebj(e,player(1),player_state_resource_gold)
elsecall donothing()endifif(wl8())thencall
adjustplayerstatebj(e,player(2),player_state_resource_gold)elsecall donothing()
endifif(w18())thencall adjustplayerstatebj(e,player(3),player_state_resource_gold)
elsecall donothing()endifif(wj8())thencall
adjustplayerstatebj(e,player(4),player_state_resource_gold)elsecall donothing()
endifif(wk8())thencall displaytexttoforce(getplayersall(),("konoha alliance has
less shinobi than sound union. all members of konoha will receive "+(i2s(e)+"
extra gold!")))elsecall donothing()endifif(wl8())thencall
displaytexttoforce(getplayersall(),("sound union has less shinobi than konoha
alliance. all members of sound will receive "+(i2s(e)+" extra gold!")))elsecall
donothing()endifcall playsoundbj(ci)call uz(2)endfunctionfunction wn8 takes
nothing returns nothingset vw=createtrigger()call
triggerregistertimereventsingle(vw,5.00)call triggeraddaction(vw,function wm8)
endfunctionfunction wo8 takes nothing returns boolean
if(not(getplayerstate(gettriggerplayer(),player_state_resource_lumber)>=1))then
return falseendifif(not(id==0))thenreturn falseendifreturn trueendfunctionfunction
w08 takes nothing returns boolean
return(isunittype(getfilterunit(),unit_type_hero)==true)endfunctionfunction wp8
takes nothing returns boolean
return(countunitsingroup(ra(gettriggerplayer(),condition(function w08)))>0)
endfunctionfunction wq8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction wr8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction ws8 takes nothing returns booleanreturn
getbooleanand(wq8(),wr8())endfunctionfunction w58 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction wt8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction wu8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction wv8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction ww8 takes nothing returns booleanreturn
getbooleanand(wu8(),wv8())endfunctionfunction wx8 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction wy8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction w28 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction wz8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction w_8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction x48 takes nothing returns booleanreturn
getbooleanand(wz8(),w_8())endfunctionfunction x78 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction x88 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction x98 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction xd8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction xe8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction xf8 takes nothing returns booleanreturn
getbooleanand(xd8(),xe8())endfunctionfunction
xg8 takes nothing returns nothingcall removeunit(getenumunit())endfunction
function xh8 takes nothing returns nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction xi8 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction xj8 takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117652)endfunctionfunction xk8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780939)endfunctionfunction xm8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785970)endfunctionfunction xn8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117877)endfunctionfunction xo8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221448)endfunctionfunction xp8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221447)endfunctionfunction xq8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780945)endfunctionfunction xr8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction xs8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311781197)endfunctionfunction xt8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118131)endfunctionfunction xu8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1328558134)endfunctionfunction xv8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1316122466)endfunctionfunction xw8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118134)endfunctionfunction xx8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction xy8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785974)endfunctionfunction xz8
takes nothing returns nothingif(wp8())thenreturnelsecall donothing()endifcall
setplayermaxheroesallowed(1,gettriggerplayer())call
forgroupbj(ra(gettriggerplayer(),condition(function ws8)),function w58)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function wt8)set lf[ad]=kfset
kf=(kf-1)if(w28())thencall forgroupbj(ra(gettriggerplayer(),condition(function
ww8)),function wx8)set ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function wy8)set lf[ad]=kfset
kf=(kf-1)elseendifif(x98())thencall
forgroupbj(ra(gettriggerplayer(),condition(function x48)),function x78)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function x88)set lf[ad]=kfset
kf=(kf-1)elseendifif(xi8())thencall
forgroupbj(ra(gettriggerplayer(),condition(function xf8)),function xg8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function xh8)set lf[ad]=kfset
kf=(kf-1)elseendifif(xj8())thencall disabletrigger(kw)elsecall donothing()endif
if(xk8())thencall disabletrigger(nw)elsecall donothing()endifif(xm8())thencall
disabletrigger(ow)elsecall donothing()endifif(xn8())thencall disabletrigger(pw)
elsecall donothing()endifif(xo8())thencall disabletrigger(qw)elsecall donothing()
endifif(xp8())thencall disabletrigger(rw)elsecall donothing()endifif(xq8())then
call disabletrigger(sw)elsecall donothing()endifif(xr8())thencall
disabletrigger(tw)elsecall donothing()endifif(xs8())thencall disabletrigger(uw)
elsecall donothing()endifif(xt8())thencall disabletrigger(mw)elsecall donothing()
endifif(xu8())thencall
createnunitsatloc(1,1328558135,gettriggerplayer(),getunitloc(getlastcreatedunit())
,bj_unit_facing)elsecall donothing()endifif(xv8())thencall disabletrigger(st)else
call donothing()endifif(xw8())thenset ee=getrandomint(1,3)elsecall donothing()
endifif(xx8())thencall setplayerhandicapxpbj(gettriggerplayer(),90.00)elsecall
donothing()endifif(xy8())thencall
createnunitsatloc(1,1160785973,gettriggerplayer(),getunitloc(getlastcreatedunit())
,bj_unit_facing)elsecall donothing()endifcall playsoundbj(di)set
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
displaytimedtexttoforce(getplayersall(),8.00,((getheropropername(getlastcreateduni
t())+" has been randomed by
")+getplayername(getowningplayer(getlastcreatedunit()))))call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(getlastcreatedunit()),0
)call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())call setplayerstatebj(gettriggerplayer(),player_state_resource_lumber,0)
call adjustplayerstatebj(750,gettriggerplayer(),player_state_resource_gold)return
endfunctionfunction xa8 takes nothing returns nothingset ww=createtrigger()call
disabletrigger(ww)call triggerregisterplayerchatevent(ww,player(0),"-random",true)
call triggerregisterplayerchatevent(ww,player(1),"-random",true)call
triggerregisterplayerchatevent(ww,player(2),"-random",true)call
triggerregisterplayerchatevent(ww,player(3),"-random",true)call
triggerregisterplayerchatevent(ww,player(4),"-random",true)call
triggerregisterplayerchatevent(ww,player(5),"-random",true)call
triggerregisterplayerchatevent(ww,player(6),"-random",true)call
triggerregisterplayerchatevent(ww,player(7),"-random",true)call
triggerregisterplayerchatevent(ww,player(8),"-random",true)call
triggerregisterplayerchatevent(ww,player(9),"-random",true)call
triggerregisterplayerchatevent(ww,player(0),"-ra",true)call
triggerregisterplayerchatevent(ww,player(1),"-ra",true)call
triggerregisterplayerchatevent(ww,player(2),"-ra",true)call
triggerregisterplayerchatevent(ww,player(3),"-ra",true)call
triggerregisterplayerchatevent(ww,player(4),"-ra",true)call
triggerregisterplayerchatevent(ww,player(5),"-ra",true)call
triggerregisterplayerchatevent(ww,player(6),"-ra",true)call
triggerregisterplayerchatevent(ww,player(7),"-ra",true)call
triggerregisterplayerchatevent(ww,player(8),"-ra",true)call
triggerregisterplayerchatevent(ww,player(9),"-ra",true)call
triggeraddcondition(ww,condition(function wo8))call triggeraddaction(ww,function
xz8)endfunctionfunction xa8 takes nothing returns boolean
if(not(isunittype(getenteringunit(),unit_type_hero)==true))thenreturn falseendif
return trueendfunctionfunction xb8 takes nothing returns boolean
return(isplayerally(getowningplayer(getenteringunit()),player(10))==true)
endfunctionfunction xb8 takes nothing returns boolean
return(getunittypeid(getenteringunit())==1328558134)endfunctionfunction xc8 takes
nothing returns booleanreturn(getunittypeid(getenteringunit())==1211118134)
endfunctionfunction xc8 takes nothing returns boolean
return(getunittypeid(getenteringunit())==1160785974)endfunctionfunction xd8 takes
nothing returns booleanreturn(getunittypeid(getenteringunit())==1164666213)
endfunctionfunction xe8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction x38 takes nothing returns nothingcall
setplayerunitavailablebj(getunittypeid(getenteringunit()),false,getenumplayer())
endfunctionfunction xf8 takes nothing returns nothingif(xb8())thencall
setunitpositionloc(getenteringunit(),getrectcenter(cg))elsecall
setunitpositionloc(getenteringunit(),getrectcenter(dg))endifcall
displaytimedtexttoforce(getplayersall(),8.00,((getheropropername(getenteringunit()
)+" has been chosen by ")+getplayername(getowningplayer(getenteringunit()))))call
playsoundbj(di)if(xb8())thencall
createnunitsatloc(1,1328558135,getowningplayer(getenteringunit()),getunitloc(geten
teringunit()),bj_unit_facing)elsecall donothing()endifif(xc8())thenset
ee=getrandomint(1,3)elsecall donothing()endifif(xc8())thencall
createnunitsatloc(1,1160785973,getowningplayer(getenteringunit()),getunitloc(geten
teringunit()),bj_unit_facing)elsecall donothing()endifif(xd8())thenset
ye=getenteringunit()elsecall donothing()endifset
j4[getconvertedplayerid(getowningplayer(getenteringunit()))]=getenteringunit()call
pancameratotimedlocforplayer(getowningplayer(getenteringunit()),getunitloc(getente
ringunit()),0)call
selectunitforplayersingle(j4[getconvertedplayerid(getowningplayer(getenteringunit(
)))],getowningplayer(getenteringunit()))call
adjustplayerstatebj(450,getowningplayer(getenteringunit()),player_state_resource_g
old)call forgroupbj(sa(getowningplayer(getenteringunit()),1853056353),function
xe8)call forforce(zd,function x38)endfunctionfunction xg8 takes nothing returns
nothingset xw=createtrigger()call triggerregisterenterrectsimple(xw,ug)call
triggeraddcondition(xw,condition(function xa8))call triggeraddaction(xw,function
xf8)endfunctionfunction x68 takes nothing returns boolean
if(not(getplayerstate(gettriggerplayer(),player_state_resource_gold)>=600))then
return falseendifreturn trueendfunctionfunction xh8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction xi8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction xl8 takes nothing returns booleanreturn
getbooleanand(xh8(),xi8())endfunctionfunction x18 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction xj8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction xk8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction
xl8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1869636975)endfunctionfunction xm8 takes
nothing returns booleanreturn getbooleanand(xk8(),xl8())endfunctionfunction xn8
takes nothing returns nothingcall removeunit(getenumunit())endfunctionfunction xo8
takes nothing returns nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction x08 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction xp8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction xq8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction xr8 takes nothing returns booleanreturn
getbooleanand(xp8(),xq8())endfunctionfunction xs8 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction x58 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction xt8 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction xu8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction xv8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction xw8 takes nothing returns booleanreturn
getbooleanand(xu8(),xv8())endfunctionfunction xx8 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction xy8 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction x28 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction xz8 takes nothing returns boolean
return(getunittypeid(getfilterunit())!=1852666423)endfunctionfunction x_8 takes
nothing returns booleanreturn(getunittypeid(getfilterunit())!=1869636975)
endfunctionfunction y48 takes nothing returns booleanreturn
getbooleanand(xz8(),x_8())endfunctionfunction y78 takes nothing returns nothing
call removeunit(getenumunit())endfunctionfunction y88 takes nothing returns
nothingcall
setplayerunitavailablebj(getunittypeid(getlastcreatedunit()),false,getenumplayer()
)endfunctionfunction y98 takes nothing returns boolean
if(not(countunitsingroup(pa(getunittypeid(getlastcreatedunit())))>1))thenreturn
falseendifreturn trueendfunctionfunction yd8 takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117652)endfunctionfunction ye8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780939)endfunctionfunction yf8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785970)endfunctionfunction yg8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1164666213)endfunctionfunction yh8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211117877)endfunctionfunction yi8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221448)endfunctionfunction yj8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1429221447)endfunctionfunction yk8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311781197)endfunctionfunction ym8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118131)endfunctionfunction yn8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118134)endfunctionfunction yo8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1316122466)endfunctionfunction yp8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1311780945)endfunctionfunction yq8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1328558134)endfunctionfunction yr8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1211118155)endfunctionfunction ys8
takes nothing returns boolean
return(getunittypeid(getlastcreatedunit())==1160785974)endfunctionfunction yt8
takes nothing returns nothingcall
forgroupbj(ra(gettriggerplayer(),condition(function xl8)),function x18)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function xj8)set lf[ad]=kfset
kf=(kf-1)if(x08())thencall forgroupbj(ra(gettriggerplayer(),condition(function
xm8)),function xn8)set ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function xo8)set lf[ad]=kfset
kf=(kf-1)elseendifif(xt8())thencall
forgroupbj(ra(gettriggerplayer(),condition(function xr8)),function xs8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function x58)set lf[ad]=kfset
kf=(kf-1)elseendifif(x28())thencall
forgroupbj(ra(gettriggerplayer(),condition(function xw8)),function xx8)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function xy8)set lf[ad]=kfset
kf=(kf-1)elseendifif(y98())thencall
forgroupbj(ra(gettriggerplayer(),condition(function y48)),function y78)set
ad=getrandomint(1,kf)call
createnunitsatloc(1,td[lf[ad]],gettriggerplayer(),getplayerstartlocationloc(gettri
ggerplayer()),bj_unit_facing)call forforce(zd,function y88)set lf[ad]=kfset
kf=(kf-1)elseendifif(yd8())thencall disabletrigger(kw)elsecall donothing()endif
if(ye8())thencall disabletrigger(nw)elsecall donothing()endifif(yf8())thencall
disabletrigger(ow)elsecall donothing()endifif(yg8())thenset
ye=getlastcreatedunit()elsecall donothing()endifif(yh8())thencall
disabletrigger(pw)elsecall donothing()endifif(yi8())thencall disabletrigger(qw)
elsecall donothing()endifif(yj8())thencall disabletrigger(rw)elsecall donothing()
endifif(yk8())thencall disabletrigger(uw)elsecall donothing()endifif(ym8())then
call disabletrigger(mw)elsecall donothing()endifif(yn8())thenset
ee=getrandomint(1,3)elsecall donothing()endifif(yo8())thencall disabletrigger(st)
elsecall donothing()endifif(yp8())thencall disabletrigger(sw)elsecall donothing()
endifif(yq8())thencall
createnunitsatloc(1,1328558135,gettriggerplayer(),getunitloc(getlastcreatedunit())
,bj_unit_facing)elsecall donothing()endifif(yr8())thencall
setplayerhandicapxpbj(gettriggerplayer(),90.00)elsecall donothing()endif
if(ys8())thencall
createnunitsatloc(1,1160785973,gettriggerplayer(),getunitloc(getlastcreatedunit())
,bj_unit_facing)elsecall donothing()endifcall playsoundbj(di)set
j4[getconvertedplayerid(gettriggerplayer())]=getlastcreatedunit()call
displaytimedtexttoforce(getplayersall(),8.00,((getheropropername(getlastcreateduni
t())+" has been repicked by
")+getplayername(getowningplayer(getlastcreatedunit()))))call
setplayerstatebj(gettriggerplayer(),player_state_resource_lumber,0)call
adjustplayerstatebj(-600,gettriggerplayer(),player_state_resource_gold)call
pancameratotimedlocforplayer(gettriggerplayer(),getunitloc(getlastcreatedunit()),0
)call
selectunitforplayersingle(j4[getconvertedplayerid(gettriggerplayer())],gettriggerp
layer())returnendfunctionfunction yu8 takes nothing returns nothingset
yw=createtrigger()call triggerregisterplayerchatevent(yw,player(0),"-change",true)
call triggerregisterplayerchatevent(yw,player(1),"-change",true)call
triggerregisterplayerchatevent(yw,player(2),"-change",true)call
triggerregisterplayerchatevent(yw,player(3),"-change",true)call
triggerregisterplayerchatevent(yw,player(4),"-change",true)call
triggerregisterplayerchatevent(yw,player(5),"-change",true)call
triggerregisterplayerchatevent(yw,player(6),"-change",true)call
triggerregisterplayerchatevent(yw,player(7),"-change",true)call
triggerregisterplayerchatevent(yw,player(8),"-change",true)call
triggerregisterplayerchatevent(yw,player(9),"-change",true)call
triggeraddcondition(yw,condition(function x68))call triggeraddaction(yw,function
yt8)endfunctionfunction yv8 takes nothing returns boolean
return(isplayerally(getfilterplayer(),player(10))==true)endfunctionfunction yw8
takes nothing returns nothingcall questmessagebj(wa(condition(function
yv8)),bj_questmessage_completed,"konoha look-outs have sighted an approaching army
of foreign ninja! watch out!")call uz(20.00)call
displaytexttoforce(getplayersall(),"konoha has been invaded by ambitious feudal
lords !!!")call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(ag),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(ag),bj_unit_facing)call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(xg),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(xg),bj_unit_facing)call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(zg),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(zg),bj_unit_facing)call disabletrigger(gettriggeringtrigger())endfunction
function yx8 takes nothing returns nothingset zw=createtrigger()call
triggerregistertimereventsingle(zw,getrandomreal(900.00,1200.00))call
triggeraddaction(zw,function yw8)endfunctionfunction yy8 takes nothing returns
booleanreturn(isplayerally(getfilterplayer(),player(10))==true)endfunctionfunction
yz8 takes nothing returns nothingcall questmessagebj(wa(condition(function
yy8)),bj_questmessage_completed,"konoha look-outs have sighted an approaching army
of foreign ninja! watch out!")call uz(20.00)call
displaytexttoforce(getplayersall(),"konoha has been invaded by ambitious feudal
lords !!!")call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(ag),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(ag),bj_unit_facing)call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(xg),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(xg),bj_unit_facing)call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(zg),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(zg),bj_unit_facing)call disabletrigger(gettriggeringtrigger())endfunction
function ya8 takes nothing returns nothingset aw=createtrigger()call
triggerregistertimereventsingle(aw,getrandomreal(2100.00,2400.00))call
triggeraddaction(aw,function yz8)endfunctionfunction ya8 takes nothing returns
booleanreturn(isplayerally(getfilterplayer(),player(10))==true)endfunctionfunction
yb8 takes nothing returns nothingcall questmessagebj(wa(condition(function
ya8)),bj_questmessage_completed,"sound look-outs have sighted an approaching army
of foreign ninja! watch out!")call uz(20.00)call
displaytexttoforce(getplayersall(),"sound has been invaded by ambitious feudal
lords !!!")call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(wg),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(wg),bj_unit_facing)call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(vg),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(vg),bj_unit_facing)call
createnunitsatloc(4,1747988814,player(player_neutral_aggressive),getrandomlocinrec
t(yg),bj_unit_facing)call
createnunitsatloc(1,1747988815,player(player_neutral_aggressive),getrandomlocinrec
t(yg),bj_unit_facing)call disabletrigger(gettriggeringtrigger())endfunction
function yb8 takes nothing returns nothingset aw=createtrigger()call
triggerregistertimereventsingle(aw,getrandomreal(900.00,1200.00))call
triggeraddaction(aw,function yb8)endfunctionfunction yc8 takes nothing returns
booleanreturn(isplayerally(getfilterplayer(),player(10))==true)endfunctionfunction
yc8 takes nothing returns nothingcall questmessagebj(wa(condition(function
yc8)),bj_questmessage_completed,"sound look-outs have sighted an approaching army
of foreign ninja! watch out!")call uz(20.00)call
displaytexttoforce(getplayersall(),"sound has been invaded by ambitious feudal
lords !!!")call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(wg),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(wg),bj_unit_facing)call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(vg),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(vg),bj_unit_facing)call
createnunitsatloc(4,1747988817,player(player_neutral_aggressive),getrandomlocinrec
t(yg),bj_unit_facing)call
createnunitsatloc(1,1747988816,player(player_neutral_aggressive),getrandomlocinrec
t(yg),bj_unit_facing)call disabletrigger(gettriggeringtrigger())endfunction
function yd8 takes nothing returns nothingset bw=createtrigger()call
triggerregistertimereventsingle(bw,getrandomreal(2100.00,2400.00))call
triggeraddaction(bw,function yc8)endfunctionfunction ye8 takes nothing returns
booleanreturn(getunittypeid(getdyingunit())==1852666477)endfunctionfunction y38
takes nothing returns booleanreturn(getunittypeid(getdyingunit())==1852207205)
endfunctionfunction yf8 takes nothing returns boolean
return(getunittypeid(getdyingunit())==1852733297)endfunctionfunction yg8 takes
nothing returns booleanreturn getbooleanor(y38(),yf8())endfunctionfunction y68
takes nothing returns booleanif(not getbooleanor(ye8(),yg8()))thenreturn false
endifreturn trueendfunctionfunction yh8 takes nothing returns boolean
return(isunitally(getkillingunitbj(),player(10))==true)endfunctionfunction yi8
takes nothing returns boolean
return(isunitally(getkillingunitbj(),player(10))==true)endfunctionfunction yl8
takes nothing returns booleanreturn(e==1)endfunctionfunction y18 takes nothing
returns booleanreturn(e==2)endfunctionfunction yj8 takes nothing returns boolean
return(e==3)endfunctionfunction yk8 takes nothing returns booleanreturn(e==1)
endfunctionfunction yl8 takes nothing returns booleanreturn(e==2)endfunction
function ym8 takes nothing returns booleanreturn(e==3)endfunctionfunction yn8
takes nothing returns nothingcall
questmessagebj(getplayersall(),bj_questmessage_completed,(getplayername(getowningp
layer(getkillingunitbj()))+" has harvested the great bijyuu !!!"))if(yh8())then
call displaytexttoforce(getplayersall(),"konoha has earned 2 fame points for
slaying a bijyuu !!!")elsecall displaytexttoforce(getplayersall(),"sound has
earned 2 fame points for slaying a bijyuu !!!")endifif(yi8())thenset c7=(c7+2)else
set d7=(d7+2)endifset e=getrandomint(1,25)if(yl8())thencall
createitemloc(1227895127,getunitloc(getdyingunit()))elseif(y18())thencall
createitemloc(1227894855,getunitloc(getdyingunit()))elseif(yj8())thencall
createitemloc(1227895118,getunitloc(getdyingunit()))elsecall donothing()endifendif
endifif(yk8())thencall createitemloc(1227895127,getunitloc(getdyingunit()))else
if(yl8())thencall createitemloc(1227895127,getunitloc(getdyingunit()))else
if(ym8())thencall createitemloc(1227895127,getunitloc(getdyingunit()))elsecall
donothing()endifendifendifendfunctionfunction yo8 takes nothing returns nothingset
bw=createtrigger()call
triggerregisterplayeruniteventsimple(bw,player(player_neutral_aggressive),event_pl
ayer_unit_death)call triggeraddcondition(bw,condition(function y68))call
triggeraddaction(bw,function yn8)endfunctionfunction y08 takes nothing returns
booleanreturn(e>5)endfunctionfunction yp8 takes nothing returns boolean
return(e==1)endfunctionfunction yq8 takes nothing returns booleanreturn(e==2)
endfunctionfunction yr8 takes nothing returns booleanreturn(e==1)endfunction
function ys8 takes nothing returns booleanreturn(e==2)endfunctionfunction y58
takes nothing returns booleanif(not(e==1))thenreturn falseendifreturn true
endfunctionfunction yt8 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction yu8 takes nothing returns boolean
if(not(e==3))thenreturn falseendifreturn trueendfunctionfunction yv8 takes nothing
returns nothingset e=getrandomint(1,10)if(y08())thenreturnelsecall donothing()
endifset e=getrandomint(1,3)if(yp8())thencall
createnunitsatloc(1,1852666477,player(player_neutral_aggressive),getrectcenter(dh)
,bj_unit_facing)elseif(yq8())thencall
createnunitsatloc(1,1852207205,player(player_neutral_aggressive),getrectcenter(dh)
,bj_unit_facing)elsecall
createnunitsatloc(1,1852733297,player(player_neutral_aggressive),getrectcenter(dh)
,bj_unit_facing)endifendifset e=getrandomint(1,3)if(yr8())thencall
setunitpositionloc(getlastcreatedunit(),getrectcenter(mh))elseif(ys8())thencall
setunitpositionloc(getlastcreatedunit(),getrectcenter(lh))elsecall
setunitpositionloc(getlastcreatedunit(),getrectcenter(nh))endifendifif(y58())then
call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifif(yt8())thencall
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifif(yu8())thencall
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifcall
questmessagebj(getplayersall(),bj_questmessage_discovered,"a mighty bijyuu has
appeared out of nowhere !!!")call enabletrigger(bw)endfunctionfunction yw8 takes
nothing returns nothingset cw=createtrigger()call
triggerregistertimereventperiodic(cw,1000.00)call triggeraddaction(cw,function
yv8)endfunctionfunction yx8 takes nothing returns booleanreturn(e>5)endfunction
function yy8 takes nothing returns booleanreturn(e==1)endfunctionfunction y28
takes nothing returns booleanreturn(e==2)endfunctionfunction yz8 takes nothing
returns booleanreturn(e==1)endfunctionfunction y_8 takes nothing returns boolean
return(e==2)endfunctionfunction z48 takes nothing returns booleanif(not(e==1))then
return falseendifreturn trueendfunctionfunction z78 takes nothing returns boolean
if(not(e==2))thenreturn falseendifreturn trueendfunctionfunction z88 takes nothing
returns booleanif(not(e==3))thenreturn falseendifreturn trueendfunctionfunction
z98 takes nothing returns nothingset e=getrandomint(1,10)if(yx8())thenreturnelse
call donothing()endifset e=getrandomint(1,3)if(yy8())thencall
createnunitsatloc(1,1852666477,player(player_neutral_aggressive),getrectcenter(dh
),bj_unit_facing)elseif(y28())thencall
createnunitsatloc(1,1852207205,player(player_neutral_aggressive),getrectcenter(dh)
,bj_unit_facing)elsecall
createnunitsatloc(1,1852733297,player(player_neutral_aggressive),getrectcenter(dh)
,bj_unit_facing)endifendifset e=getrandomint(1,3)if(yz8())thencall
setunitpositionloc(getlastcreatedunit(),getrectcenter(mh))elseif(y_8())thencall
setunitpositionloc(getlastcreatedunit(),getrectcenter(lh))elsecall
setunitpositionloc(getlastcreatedunit(),getrectcenter(nh))endifendifif(z48())then
call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(mh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifif(z78())thencall
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(lh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifif(z88())thencall
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_simple,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_flashy,100,100,100)call
pingminimaplocforforceex(getplayersall(),getrectcenter(nh),5.00,bj_minimappingstyl
e_attack,100,100,100)elseendifcall
questmessagebj(getplayersall(),bj_questmessage_discovered,"a mighty bijyuu has
appeared out of nowhere !!!")call enabletrigger(bw)endfunctionfunction zd8 takes
nothing returns nothingset cw=createtrigger()call disabletrigger(cw)call
triggerregistertimereventperiodic(cw,300.00)call triggeraddaction(cw,function z98)
endfunctionfunction ze8 takes nothing returns booleanreturn(z4==1)endfunction
function zf8 takes nothing returns booleanreturn(z4==1)endfunctionfunction zg8
takes nothing returns nothingcall setplayerhandicapbj(getenumplayer(),175.00)
endfunctionfunction zh8 takes nothing returns nothingcall
setplayerhandicapbj(getenumplayer(),175.00)endfunctionfunction zi8 takes nothing
returns nothingif(ze8())thencall displaytexttoforce(getplayersall(),"|
cffffcc00noob|r mode has already been activated !")elsecall donothing()endif
if(zf8())thenreturnelsecall donothing()endifset z4=1call forforce(u4,function zg8)
call forforce(v4,function zh8)set zd[3]=getplayerhandicapbj(player(0))set
zd[4]=getplayerhandicapbj(player(5))call displaytexttoforce(getplayersall(),"|
cffffcc00noob|r mode has been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")endfunctionfunction zj8 takes nothing returns nothingset
dw=createtrigger()call triggerregisterplayerchatevent(dw,player(0),"-noob",true)
call triggerregisterplayerchatevent(dw,player(0),"-nb",true)call
triggeraddaction(dw,function zi8)endfunctionfunction zk8 takes nothing returns
booleanreturn(r4==1)endfunctionfunction zm8 takes nothing returns boolean
return(r4==1)endfunctionfunction zn8 takes nothing returns nothingif(zk8())then
call displaytexttoforce(getplayersall(),"|cffffcc00no seals|r mode has already
been activated !")elsecall donothing()endifif(zm8())thenreturnelsecall donothing()
endifset r4=1call removeunit(by)call displaytexttoforce(getplayersall(),"|
cffffcc00no seals|r mode has been activated !")call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"note: this game mode
is not recommended for a good match since the original game was never meant to be
played this way. it will imbalance certain heroes and cause unfairness to the
matches.")endfunctionfunction zo8 takes nothing returns nothingset
ew=createtrigger()call triggerregisterplayerchatevent(ew,player(0),"-no
seals",true)call triggerregisterplayerchatevent(ew,player(0),"-ns",true)call
triggeraddaction(ew,function zn8)endfunctionfunction zp8 takes nothing returns
booleanif(not(getowningplayer(getenteringunit())!=player(10)))thenreturn false
endifif(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zq8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(mg))endfunctionfunction
zr8 takes nothing returns nothingset fw=createtrigger()call
triggerregisterenterrectsimple(fw,ng)call
triggeraddcondition(fw,condition(function zp8))call triggeraddaction(fw,function
zq8)endfunctionfunction zs8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zt8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(qg))endfunctionfunction
zu8 takes nothing returns nothingset gw=createtrigger()call
triggerregisterenterrectsimple(gw,kg)call
triggeraddcondition(gw,condition(function zs8))call triggeraddaction(gw,function
zt8)endfunctionfunction zv8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zw8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(pg))endfunctionfunction
zx8 takes nothing returns nothingset hw=createtrigger()call
triggerregisterenterrectsimple(hw,jg)call
triggeraddcondition(hw,condition(function zv8))call triggeraddaction(hw,function
zw8)endfunctionfunction zy8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zz8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(lg))endfunctionfunction
za8 takes nothing returns nothingset iw=createtrigger()call
triggerregisterenterrectsimple(iw,og)call
triggeraddcondition(iw,condition(function zy8))call triggeraddaction(iw,function
zz8)endfunctionfunction za8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zb8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(fh))endfunctionfunction
zb8 takes nothing returns nothingset lw=createtrigger()call
triggerregisterenterrectsimple(lw,rg)call
triggeraddcondition(lw,condition(function za8))call triggeraddaction(lw,function
zb8)endfunctionfunction zc8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zc8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(xg))endfunctionfunction
zd8 takes nothing returns nothingset jw=createtrigger()call
triggerregisterenterrectsimple(jw,zg)call
triggeraddcondition(jw,condition(function zc8))call triggeraddaction(jw,function
zc8)endfunctionfunction ze8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction z38 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(yg))endfunctionfunction
zf8 takes nothing returns nothingset kw=createtrigger()call
triggerregisterenterrectsimple(kw,dh)call
triggeraddcondition(kw,condition(function ze8))call triggeraddaction(kw,function
z38)endfunctionfunction zg8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return
falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction z68 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(eh))endfunctionfunction
zh8 takes nothing returns nothingset lw=createtrigger()call
triggerregisterenterrectsimple(lw,sg)call
triggeraddcondition(lw,condition(function zg8))call triggeraddaction(lw,function
z68)endfunctionfunction zi8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zl8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(ih))endfunctionfunction
z18 takes nothing returns nothingset mw=createtrigger()call
triggerregisterenterrectsimple(mw,ug)call
triggeraddcondition(mw,condition(function zi8))call triggeraddaction(mw,function
zl8)endfunctionfunction zj8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zk8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(vg))endfunctionfunction
zl8 takes nothing returns nothingset nw=createtrigger()call
triggerregisterenterrectsimple(nw,hh)call
triggeraddcondition(nw,condition(function zj8))call triggeraddaction(nw,function
zk8)endfunctionfunction zm8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zn8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(jh))endfunctionfunction
zo8 takes nothing returns nothingset ow=createtrigger()call
triggerregisterenterrectsimple(ow,tg)call
triggeraddcondition(ow,condition(function zm8))call triggeraddaction(ow,function
zn8)endfunctionfunction z08 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zp8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(wg))endfunctionfunction
zq8 takes nothing returns nothingset pw=createtrigger()call
triggerregisterenterrectsimple(pw,gh)call
triggeraddcondition(pw,condition(function z08))call triggeraddaction(pw,function
zp8)endfunctionfunction zr8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zs8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(mh))endfunctionfunction
z58 takes nothing returns nothingset qw=createtrigger()call
triggerregisterenterrectsimple(qw,nh)call
triggeraddcondition(qw,condition(function zr8))call triggeraddaction(qw,function
zs8)endfunctionfunction zt8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zu8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(oh))endfunctionfunction
zv8 takes nothing returns nothingset rw=createtrigger()call
triggerregisterenterrectsimple(rw,kh)call
triggeraddcondition(rw,condition(function zt8))call triggeraddaction(rw,function
zu8)endfunctionfunction zw8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zx8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(sh))endfunctionfunction
zy8 takes nothing returns nothingset sw=createtrigger()call
triggerregisterenterrectsimple(sw,qh)call
triggeraddcondition(sw,condition(function zw8))call triggeraddaction(sw,function
zx8)endfunctionfunction z28 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction zz8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(rh))endfunctionfunction
z_8 takes nothing returns nothingset tw=createtrigger()call
triggerregisterenterrectsimple(tw,ph)call
triggeraddcondition(tw,condition(function z28))call triggeraddaction(tw,function
zz8)endfunctionfunction a48 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction a78 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(fh))endfunctionfunction
a88 takes nothing returns nothingset uw=createtrigger()call
triggerregisterenterrectsimple(uw,gh)call
triggeraddcondition(uw,condition(function a48))call triggeraddaction(uw,function
a78)endfunctionfunction a98 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction ad8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(hh))endfunctionfunction
ae8 takes nothing returns nothingset vw=createtrigger()call
triggerregisterenterrectsimple(vw,eh)call
triggeraddcondition(vw,condition(function a98))call triggeraddaction(vw,function
ad8)endfunctionfunction af8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction ag8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(lh))endfunctionfunction
ah8 takes nothing returns nothingset ww=createtrigger()call
triggerregisterenterrectsimple(ww,jh)call
triggeraddcondition(ww,condition(function af8))call triggeraddaction(ww,function
ag8)endfunctionfunction ai8 takes nothing returns boolean
if(not(getowningplayer(getenteringunit())!=player(10)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(11)))thenreturn falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_aggressive)))then
return falseendif
if(not(getowningplayer(getenteringunit())!=player(player_neutral_passive)))then
return falseendifreturn trueendfunctionfunction aj8 takes nothing returns nothing
call setunitpositionloc(getenteringunit(),getrectcenter(kh))endfunctionfunction
ak8 takes nothing returns nothingset xw=createtrigger()call
triggerregisterenterrectsimple(xw,ih)call
triggeraddcondition(xw,condition(function ai8))call triggeraddaction(xw,function
aj8)endfunctionfunction am8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652088))thenreturn falseendifreturn
trueendfunctionfunction an8 takes nothing returns nothingcall
issuepointorderlocbj(getenteringunit(),"move",getrectcenter(zi))endfunction
function ao8 takes nothing returns nothingset yw=createtrigger()call
triggerregisterenterrectsimple(yw,vi)call
triggeraddcondition(yw,condition(function am8))call triggeraddaction(yw,function
an8)endfunctionfunction ap8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction aq8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ar8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction as8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function at8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function ap8)),getrectcenter(th),3.00)call
pingminimaplocforforce(wa(condition(function aq8)),getrectcenter(sh),3.00)call
pingminimaplocforforce(wa(condition(function ar8)),getrectcenter(uh),3.00)call
pingminimaplocforforce(wa(condition(function as8)),getrectcenter(vh),3.00)
endfunctionfunction au8 takes nothing returns nothingset zw=createtrigger()call
triggeraddaction(zw,function at8)endfunctionfunction av8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(h7))endfunctionfunction aw8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ax8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction ay8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function az8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function av8)),getrectcenter(wh),3.00)call
pingminimaplocforforce(wa(condition(function aw8)),getrectcenter(xh),3.00)call
pingminimaplocforforce(wa(condition(function ax8)),getrectcenter(yh),3.00)call
pingminimaplocforforce(wa(condition(function ay8)),getrectcenter(zh),3.00)
endfunctionfunction aa8 takes nothing returns nothingset ex=createtrigger()call
triggeraddaction(ex,function az8)endfunctionfunction aa8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(h7))endfunctionfunction ab8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ab8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction ac8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ac8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function aa8)),getrectcenter(di),3.00)call
pingminimaplocforforce(wa(condition(function ab8)),getrectcenter(ei),3.00)call
pingminimaplocforforce(wa(condition(function ab8)),getrectcenter(fi),3.00)call
pingminimaplocforforce(wa(condition(function ac8)),getrectcenter(gi),3.00)
endfunctionfunction ad8 takes nothing returns nothingset fx=createtrigger()call
triggeraddaction(fx,function ac8)endfunctionfunction ae8 takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction a38 takes
nothing returns booleanif(not(y7==1))thenreturn falseendifreturn trueendfunction
function af8 takes nothing returns booleanif(not(y7==2))thenreturn falseendif
return trueendfunctionfunction ag8 takes nothing returns booleanif(not(y7==3))then
return falseendifreturn trueendfunctionfunction a68 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction ah8 takes
nothing returns booleanif(not(y7==4))thenreturn falseendifreturn trueendfunction
function ai8 takes nothing returns booleanif(not(y7==6))thenreturn falseendif
return trueendfunctionfunction al8 takes nothing returns booleanif(not(y7==7))then
return falseendifreturn trueendfunctionfunction a18 takes nothing returns boolean
if(not(y7==8))thenreturn falseendifreturn trueendfunctionfunction aj8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ak8 takes nothing returns booleanif(not(y7==11))thenreturn falseendif
return trueendfunctionfunction al8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction am8 takes
nothing returns booleanif(not(y7==12))thenreturn falseendifreturn trueendfunction
function an8 takes nothing returns booleanif(not(y7==13))thenreturn falseendif
return trueendfunctionfunction ao8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction a08 takes
nothing returns booleanif(not(y7==16))thenreturn falseendifreturn trueendfunction
function ap8 takes nothing returns booleanif(not(y7==17))thenreturn falseendif
return trueendfunctionfunction aq8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction ar8 takes
nothing returns booleanif(not(y7==18))thenreturn falseendifreturn trueendfunction
function as8 takes nothing returns nothingcall
displaytexttoforce(wa(condition(function
ae8)),v7[getconvertedplayerid(gettriggerplayer())])if(a38())thencall
triggerexecute(zw)elseendifif(af8())thencall triggerexecute(zw)elseendif
if(ag8())thencall triggerexecute(zw)elseendifif(ah8())thencall
pingminimaplocforforce(wa(condition(function a68)),getrectcenter(wh),3.00)else
endifif(ai8())thencall triggerexecute(ex)elseendifif(al8())thencall
triggerexecute(ex)elseendifif(a18())thencall triggerexecute(fx)elseendif
if(ak8())thencall pingminimaplocforforce(wa(condition(function
aj8)),getrectcenter(wh),3.00)elseendifif(am8())thencall
pingminimaplocforforce(wa(condition(function al8)),getrectcenter(ch),3.00)else
endifif(an8())thencall triggerexecute(ex)elseendifif(a08())thencall
pingminimaplocforforce(wa(condition(function ao8)),getrectcenter(dh),3.00)else
endifif(ap8())thencall triggerexecute(fx)elseendifif(ar8())thencall
pingminimaplocforforce(wa(condition(function aq8)),getrectcenter(fh),3.00)else
endifendfunctionfunction a58 takes nothing returns nothingset gx=createtrigger()
call triggerregisterplayerchatevent(gx,player(0),"-check",true)call
triggerregisterplayerchatevent(gx,player(1),"-check",true)call
triggerregisterplayerchatevent(gx,player(2),"-check",true)call
triggerregisterplayerchatevent(gx,player(3),"-check",true)call
triggerregisterplayerchatevent(gx,player(4),"-check",true)call
triggeraddaction(gx,function as8)endfunctionfunction at8 takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction au8 takes
nothing returns booleanif(not(r8==1))thenreturn falseendifreturn trueendfunction
function av8 takes nothing returns booleanif(not(r8==2))thenreturn falseendif
return trueendfunctionfunction aw8 takes nothing returns booleanif(not(r8==3))then
return falseendifreturn trueendfunctionfunction ax8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ay8 takes
nothing returns booleanif(not(r8==4))thenreturn falseendifreturn trueendfunction
function a28 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction az8 takes
nothing returns booleanif(not(r8==6))thenreturn falseendifreturn trueendfunction
function a_8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction a48 takes
nothing returns booleanif(not(r8==7))thenreturn falseendifreturn trueendfunction
function a78 takes nothing returns booleanif(not(r8==8))thenreturn falseendif
return trueendfunctionfunction a88 takes nothing returns boolean
if(not(r8==11))thenreturn falseendifreturn trueendfunctionfunction a98 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function ad8 takes nothing returns booleanif(not(r8==12))thenreturn falseendif
return trueendfunctionfunction ae8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction af8 takes
nothing returns booleanif(not(r8==13))thenreturn falseendifreturn trueendfunction
function ag8 takes nothing returns booleanif(not(r8==16))thenreturn falseendif
return trueendfunctionfunction ah8 takes nothing returns boolean
if(not(r8==17))thenreturn falseendifreturn trueendfunctionfunction ai8 takes
nothing returns booleanif(not(r8==18))thenreturn falseendifreturn trueendfunction
function aj8 takes nothing returns nothingcall
displaytexttoforce(wa(condition(function
at8)),v7[getconvertedplayerid(gettriggerplayer())])if(au8())thencall
triggerexecute(kx)elseendifif(av8())thencall triggerexecute(kx)elseendif
if(aw8())thencall triggerexecute(kx)elseendifif(ay8())thencall
pingminimaplocforforce(wa(condition(function ax8)),getrectcenter(gi),3.00)else
endifif(az8())thencall pingminimaplocforforce(wa(condition(function
a28)),getrectcenter(ch),3.00)elseendifif(a48())thencall
pingminimaplocforforce(wa(condition(function a_8)),getrectcenter(gi),3.00)else
endifif(a78())thencall triggerexecute(kx)elseendifif(a88())thencall
triggerexecute(lx)elseendifif(ad8())thencall
pingminimaplocforforce(wa(condition(function a98)),getrectcenter(wh),3.00)else
endifif(af8())thencall pingminimaplocforforce(wa(condition(function
ae8)),getrectcenter(dh),3.00)elseendifif(ag8())thencall triggerexecute(mx)else
endifif(ah8())thencall triggerexecute(mx)elseendifif(ai8())thencall
triggerexecute(mx)elseendifendfunctionfunction ak8 takes nothing returns nothing
set hx=createtrigger()call
triggerregisterplayerchatevent(hx,player(5),"-check",true)call
triggerregisterplayerchatevent(hx,player(6),"-check",true)call
triggerregisterplayerchatevent(hx,player(7),"-check",true)call
triggerregisterplayerchatevent(hx,player(8),"-check",true)call
triggerregisterplayerchatevent(hx,player(9),"-check",true)call
triggeraddaction(hx,function aj8)endfunctionfunction am8 takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction an8 takes
nothing
returns nothingcall displaytexttoforce(wa(condition(function am8)),("your village
currently has "+(i2s(c7)+" fame.")))endfunctionfunction ao8 takes nothing returns
nothingset ix=createtrigger()call
triggerregisterplayerchatevent(ix,player(0),"-fame",true)call
triggerregisterplayerchatevent(ix,player(1),"-fame",true)call
triggerregisterplayerchatevent(ix,player(2),"-fame",true)call
triggerregisterplayerchatevent(ix,player(3),"-fame",true)call
triggerregisterplayerchatevent(ix,player(4),"-fame",true)call
triggeraddaction(ix,function an8)endfunctionfunction ap8 takes nothing returns
booleanif(not(gettriggerplayer()==getowningplayer(h7)))thenreturn falseendifreturn
trueendfunctionfunction aq8 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction ar8 takes nothing
returns booleanif(not(b7==0))thenreturn falseendifreturn trueendfunctionfunction
as8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1667786099),getenumuni
t())endfunctionfunction at8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction au8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction av8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction aw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction ax8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction ay8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction az8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction aa8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction aa8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction ab8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction ab8 takes nothing returns booleanif(not(y7==1))thenreturn
falseendifreturn trueendfunctionfunction ac8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187749),getenumuni
t())endfunctionfunction ac8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction ad8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction ae8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction a38 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction af8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction ag8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction a68 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction ah8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction ai8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction al8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction a18 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction aj8 takes nothing returns boolean
if(not(y7==2))thenreturn falseendifreturn trueendfunctionfunction ak8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction al8 takes
nothing returns booleanif(not(y7==4))thenreturn falseendifreturn trueendfunction
function am8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1701734259),getenumuni
t())endfunctionfunction an8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction ao8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction a08 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction ap8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction aq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction ar8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction as8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction a58 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction at8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction au8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction av8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction aw8 takes nothing returns booleanif(not(y7==7))thenreturn
falseendifreturn trueendfunctionfunction ax8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187750),getenumuni
t())endfunctionfunction ay8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction a28 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction az8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction a_8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction b48 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction b78 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction b88 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction b98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction bd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction be8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction bf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction bg8 takes nothing returns booleanif(not(y7==11))thenreturn
falseendifreturn trueendfunctionfunction bh8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735222898),getenumuni
t())endfunctionfunction bi8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction bj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction bk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction bm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction bn8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction bo8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction bp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction bq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction br8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction bs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction bt8 takes nothing returns booleanif(not(y7==12))thenreturn
falseendifreturn trueendfunctionfunction bu8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1785753204),getenumuni
t())endfunctionfunction bv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction bw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction bx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction by8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction bz8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction ba8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction ba8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction bb8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction bb8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction bc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction bc8 takes nothing returns booleanif(not(y7==13))thenreturn
falseendifreturn trueendfunctionfunction bd8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1818584167),getenumuni
t())endfunctionfunction be8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction b38 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction bf8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction bg8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction b68 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction
bh8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction bi8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction bl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction b18 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction bj8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction bk8 takes
nothing returns booleanif(not(y7==16))thenreturn falseendifreturn trueendfunction
function bl8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction bm8 takes nothing returns booleanif(not(y7==17))thenreturn
falseendifreturn trueendfunctionfunction bn8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532402),getenumuni
t())endfunctionfunction bo8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction b08 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction bp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction bq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction br8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction bs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction b58 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction bt8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction bu8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction bv8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction bw8 takes nothing returns booleanif(not(y7==8))thenreturn
falseendifreturn trueendfunctionfunction bx8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735356530),getenumuni
t())endfunctionfunction by8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction b28 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction bz8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction b_8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction b48 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction b78 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction b88 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction b98 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction bd8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction be8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction bf8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction bg8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction bh8 takes
nothing returns booleanif(not(y7==18))thenreturn falseendifreturn trueendfunction
function bi8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction bj8 takes nothing returns booleanif(not(y7==3))thenreturn
falseendifreturn trueendfunctionfunction bk8 takes nothing returns nothing
if(ar8())thencall displaytexttoforce(wa(condition(function aq8)),"quest master:
give up what???")returnelseendifif(ab8())thencall
forgroupbj(ha(getplayablemaprect()),function as8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function at8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function au8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function av8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function aw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ax8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ay8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function az8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function aa8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function aa8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ab8)))call
disabletrigger(yx)elseendifif(aj8())thencall
forgroupbj(ha(getplayablemaprect()),function ac8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ac8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ad8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ae8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a38)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function af8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ag8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a68)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ah8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ai8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function al8)))call
forgroupbj(pa(1747988792),function a18)call disabletrigger(fx)call
disabletrigger(gx)elseendifif(al8())thencall disabletrigger(xx)call
forgroupbj(pa(1848652088),function ak8)elseendifif(aw8())thencall
forgroupbj(ha(getplayablemaprect()),function am8)call
forgroupbj(pa(1747988793),function an8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ao8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ap8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function aq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ar8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function as8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function at8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function au8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function av8)))call
disabletrigger(jx)call disabletrigger(lx)elseendifif(bg8())thencall
forgroupbj(ha(getplayablemaprect()),function ax8)call
forgroupbj(pa(1865429071),function ay8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a28)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function az8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function a_8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b48)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function be8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bf8)))call
disabletrigger(hx)call disabletrigger(ix)elseendifif(bt8())thencall
forgroupbj(ha(getplayablemaprect()),function bh8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bi8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bn8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bo8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function br8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bs8)))call
disabletrigger(cx)elseendifif(bc8())thencall
forgroupbj(ha(getplayablemaprect()),function bu8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function by8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ba8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ba8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bc8)))call
disabletrigger(ax)elseendifif(bk8())thencall
forgroupbj(ha(getplayablemaprect()),function bd8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function be8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b38)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b68)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bi8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bj8)))call
disabletrigger(cx)elseendifif(bm8())thencall disabletrigger(bx)call
disabletrigger(ax)set n8=pa(m8)call forgroupbj(n8,function bl8)call
destroygroup(n8)set n8=nullelseendifif(bw8())thencall
forgroupbj(ha(getplayablemaprect()),function bn8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bo8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function br8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bv8)))call
disabletrigger(zx)elseendifif(bh8())thencall
forgroupbj(ha(getplayablemaprect()),function bx8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function by8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b28)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b_8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b48)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function b98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function be8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function bf8)))call
forgroupbj(pa(1751672179),function bg8)call disabletrigger(dx)call
disabletrigger(ex)elseendifif(bj8())thenset n8=pa(m8)call forgroupbj(n8,function
bi8)call destroygroup(n8)set n8=nullcall disabletrigger(bx)call disabletrigger(bx)
elseendifset c7=(c7-3)call playsoundbj(ki)set b7=0set t9=0call
displaytexttoforce(getplayersall(),"konoha has been shamed by the failure of a
mission ! they will pay a penalty of |cffffcc00350 gold|r each...")set h7=nullset
v7[getconvertedplayerid(gettriggerplayer())]="you have no missions at the moment."
set e7="no missions."set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
350,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction bm8 takes nothing
returns nothingset jx=createtrigger()call
triggerregisterplayerchatevent(jx,player(0),"-give up",true)call
triggerregisterplayerchatevent(jx,player(1),"-give up",true)call
triggerregisterplayerchatevent(jx,player(2),"-give up",true)call
triggerregisterplayerchatevent(jx,player(3),"-give up",true)call
triggerregisterplayerchatevent(jx,player(4),"-give up",true)call
triggeraddcondition(jx,condition(function ap8))call triggeraddaction(jx,function
bk8)endfunctionfunction bn8 takes nothing returns nothingcall enabletrigger(mx)
endfunctionfunction bo8 takes nothing returns nothingset kx=createtrigger()call
triggerregistertimereventsingle(kx,605.00)call triggeraddaction(kx,function bn8)
endfunctionfunction bp8 takes nothing returns booleanreturn(c7==d7)endfunction
function bq8 takes nothing returns booleanreturn(c7==d7)endfunctionfunction br8
takes nothing returns booleanif(not(c7>d7))thenreturn falseendifreturn true
endfunctionfunction bs8 takes nothing returns booleanif(not(d7>c7))thenreturn
falseendifreturn trueendfunctionfunction bt8 takes nothing returns nothing
if(bp8())thencall displaytexttoforce(getplayersall(),"both konoha and sound
villages are equally famous for their efficiency in completing missions! the
neighbouring countries have no idea who to pay their tribute to...")elsecall
donothing()endifif(bq8())thenreturnelsecall donothing()endifcall playsoundbj(oi)
if(br8())thencall questmessagebj(getplayersall(),bj_questmessage_completed,"konoha
village is more popular than sound village. the neighbouring countries have
decided to donate |cffffcc00500 gold|r to the village as a token of good will.")
set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(500,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifif(bs8())thencall
questmessagebj(getplayersall(),bj_questmessage_completed,"sound village is more
popular than konoha village. the neighbouring countries have decided to donate |
cffffcc00500 gold|r to the village as a token of good will.")set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(500,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopelseendifendfunctionfunction bu8 takes
nothing returns nothingset mx=createtrigger()call disabletrigger(mx)call
triggerregistertimereventperiodic(mx,600.00)call triggeraddaction(mx,function bt8)
endfunctionfunction bv8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1752196449))thenreturn falseendifreturn
trueendfunctionfunction bw8 takes nothing returns booleanif(not(e==1))thenreturn
falseendifreturn trueendfunctionfunction bx8 takes nothing returns nothingcall
removeunit(getenteringunit())set e=getrandomint(1,2)if(bw8())thencall
displaytexttoforce(ua(getowningplayer(getenteringunit())),"the spy was caught and
executed !")call displaytexttoforce(va(getowningplayer(getenteringunit())),"an
enemy spy was caught and executed in time before information was leaked...")else
call displaytexttoforce(ua(getowningplayer(getenteringunit())),("a spy has
successfully infiltrated the enemy base :"+(" sound village has a reputation of
"+(i2s(d7)+(". the enemy village is currently undertaking "+f7)))))endif
endfunctionfunction by8 takes nothing returns nothingset nx=createtrigger()call
triggerregisterenterrectsimple(nx,qh)call
triggeraddcondition(nx,condition(function bv8))call triggeraddaction(nx,function
bx8)endfunctionfunction bz8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1752003693))thenreturn falseendifreturn
trueendfunctionfunction ba8 takes nothing returns nothingcall
unitapplytimedlifebj(480.00,1112820806,getenteringunit())endfunctionfunction ba8
takes nothing returns nothingset ox=createtrigger()call
triggerregisterenterrectsimple(ox,qh)call triggerregisterenterrectsimple(ox,rh)
call triggeraddcondition(ox,condition(function bz8))call
triggeraddaction(ox,function ba8)endfunctionfunction bb8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(h7))endfunctionfunction bb8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function bc8 takes nothing returns booleanif(not(e==1))thenreturn falseendifreturn
trueendfunctionfunction bc8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction bd8 takes
nothing returns booleanreturn(e==1)endfunctionfunction be8 takes nothing returns
booleanreturn(e==2)endfunctionfunction b38 takes nothing returns boolean
return(e==3)endfunctionfunction bf8 takes nothing returns booleanreturn(e==4)
endfunctionfunction bg8 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction b68 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction bh8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function bi8 takes nothing returns booleanif(not(e==3))thenreturn falseendifreturn
trueendfunctionfunction bl8 takes nothing returns nothingset e7="a rank s
mission."set b8=5000set e=getrandomint(1,3)if(bc8())thencall
displaytimedtexttoforce(wa(condition(function bb8)),15.00,"quest master : in the
distant ocean country, a couple were aboard a ship known as titanic. the ship met
a tragic end and the man died. his wife however, survived and wishes to find back
the heart of the ocean, a gift from her lover. it is rumoured that all items lost
at sea can be found in the thieves' hideout.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to snatch back the heart
of the ocean from the thieves' hideout. (rank s mission)"call enabletrigger(cx)set
x7=1227895385set y7=16call pingminimaplocforforce(wa(condition(function
bb8)),getrectcenter(dh),3.00)call createitemloc(1227895385,getrandomlocinrect(dh))
returnelseendifif(bg8())thencall displaytimedtexttoforce(wa(condition(function
bc8)),15.00,"quest master : a worried mother has reported her missing son, last
seen near the sound village. quickly escort the boy back to konoha safely before
the sound nins use him for unspeakable experiments!")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to escort a boy back
safely to the quest master. he was last seen near the sound village. (rank s
mission)"call enabletrigger(ax)call enabletrigger(bx)set y7=17set t9=1set
m8=1853254763set e=getrandomint(1,4)call triggerexecute(fx)if(bd8())thenset
f8=getrandomlocinrect(di)elsecall donothing()endifif(be8())thenset
f8=getrandomlocinrect(ei)elsecall donothing()endifif(b38())thenset
f8=getrandomlocinrect(fi)elsecall donothing()endifif(bf8())thenset
f8=getrandomlocinrect(gi)elsecall donothing()endifcall
createnunitsatloc(1,1853254763,player(player_neutral_passive),f8,bj_unit_facing)
call removelocation(f8)set f8=nullreturnelseendifif(bi8())thencall
displaytimedtexttoforce(wa(condition(function b68)),15.00,"quest master : a dark
shinobi has invaded our allied village, the hidden falls. quickly dispose of the
enemy before he can cause any collateral damage to the village. as usual, bring
his head back as proof of deed. (rank s mission)")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to defend the hidden falls
against a dark shinobi."call enabletrigger(ex)call enabletrigger(dx)call
pingminimaplocforforce(wa(condition(function bh8)),getrectcenter(fh),3.00)set
x7=1735356530set y7=18call
createnunitsatloc(1,1751672179,player(player_neutral_aggressive),getrandomlocinrec
t(fh),bj_unit_facing)returnelseendifendfunctionfunction b18 takes nothing returns
nothingset px=createtrigger()call triggeraddaction(px,function bl8)endfunction
function bj8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction bk8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function bl8 takes nothing returns booleanif(not(e==1))thenreturn falseendifreturn
trueendfunctionfunction bm8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction bn8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function bo8 takes nothing returns booleanif(not(e==2))thenreturn falseendifreturn
trueendfunctionfunction b08 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction bp8 takes
nothing returns booleanreturn(e==1)endfunctionfunction bq8 takes nothing returns
booleanreturn(e==2)endfunctionfunction br8 takes nothing returns boolean
return(e==3)endfunctionfunction bs8 takes nothing returns booleanreturn(e==4)
endfunctionfunction b58 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction bt8 takes nothing returns nothingset e7="a
rank a mission."set b8=2500set e=getrandomint(1,3)if(bl8())thencall
displaytimedtexttoforce(wa(condition(function bj8)),15.00,"quest master : a group
of bandits have been reigning terror over the hut of seals, causing problems to
the owner of the hut. she has requested for help in removing the troublemakers.
bring back the leader of the bandit leader as proof of the deed.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to kill the bandits
camping around the hut of seals. (rank a mission)"call enabletrigger(hx)call
enabletrigger(ix)set x7=1652187750set y7=11call
pingminimaplocforforce(wa(condition(function bk8)),getrectcenter(wh),3.00)call
createnunitsatloc(1,1865429071,player(player_neutral_aggressive),getrandomlocinrec
t(wh),bj_unit_facing)call
createnunitsatloc(3,1865429070,player(player_neutral_aggressive),getrandomlocinrec
t(wh),bj_unit_facing)returnelseendifif(bo8())thencall
displaytimedtexttoforce(wa(condition(function bm8)),15.00,"quest master : a young
man had travelled through the water passage afew weeks back, but did not make it
past the oni no mizu. his family requests the retrieval of his skull to provide
him some semblance of a proper burial.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to retrieve a young man's
skull from the water passage. (rank a mission)"call
pingminimaplocforforce(wa(condition(function bn8)),getrectcenter(ch),3.00)call
enabletrigger(cx)set x7=1735222898set y7=12call
createitemloc(1735222898,getrectcenter(ch))returnelseendifif(b58())thencall
displaytimedtexttoforce(wa(condition(function b08)),15.00,"quest master : word has
reached us that a sound elite has killed a very important feudal lord allied to
us. his entire entourage was massacred. recover his feudal lord badge of authority
quickly before the sound realise their mistake in not taking it.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to find a badge of
authority around the middle of the land. (rank a mission)"call enabletrigger(ax)
set x7=1785753204set y7=13set e=getrandomint(1,4)call triggerexecute(ex)
if(bp8())thenset f8=getrandomlocinrect(wh)elsecall donothing()endifif(bq8())then
set f8=getrandomlocinrect(xh)elsecall donothing()endifif(br8())thenset
f8=getrandomlocinrect(yh)elsecall donothing()endifif(bs8())thenset
f8=getrandomlocinrect(zh)elsecall donothing()endifcall
createitemloc(1785753204,f8)call removelocation(f8)set f8=nullreturnelseendif
endfunctionfunction bu8 takes nothing returns nothingset qx=createtrigger()call
triggeraddaction(qx,function bt8)endfunctionfunction bv8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(h7))endfunctionfunction bw8 takes
nothing returns booleanreturn(e==1)endfunctionfunction bx8 takes nothing returns
booleanreturn(e==2)endfunctionfunction by8 takes nothing returns boolean
return(e==3)endfunctionfunction b28 takes nothing returns booleanreturn(e==4)
endfunctionfunction bz8 takes nothing returns booleanif(not(e==1))thenreturn false
endifreturn trueendfunctionfunction b_8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction c48 takes
nothing returns booleanreturn(e==1)endfunctionfunction c78 takes nothing returns
booleanreturn(e==2)endfunctionfunction c88 takes nothing returns boolean
return(e==3)endfunctionfunction c98 takes nothing returns booleanreturn(e==4)
endfunctionfunction cd8 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction ce8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction cf8 takes
nothing returns booleanreturn(e==1)endfunctionfunction cg8 takes nothing returns
booleanreturn(e==2)endfunctionfunction ch8 takes nothing returns boolean
return(e==3)endfunctionfunction ci8 takes nothing returns booleanreturn(e==4)
endfunctionfunction cj8 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction ck8 takes nothing returns nothingset e7="a
rank b mission."set b8=1200set e=getrandomint(1,3)if(bz8())thencall
displaytimedtexttoforce(wa(condition(function bv8)),15.00,"quest master : an elite
anbu was travelling outside the village when he was jumped by enemy shinobi. he
has returned safely but has lost his mask in the fight. get it back before it
lands in enemy hands. he claims to have dropped it around the middle line of the
land.")set v7[getconvertedplayerid(getowningplayer(h7))]="you have to find a
missing anbu mask around the middle line of the land. (rank b mission)"call
enabletrigger(yx)set x7=1667786099set y7=6set e=getrandomint(1,4)call
triggerexecute(ex)if(bw8())thencall
createitemloc(1667786099,getrandomlocinrect(wh))elsecall donothing()endif
if(bx8())thencall createitemloc(1667786099,getrandomlocinrect(xh))elsecall
donothing()endifif(by8())thencall createitemloc(1667786099,getrandomlocinrect(yh))
elsecall donothing()endifif(b28())thencall
createitemloc(1667786099,getrandomlocinrect(zh))elsecall donothing()endifreturn
elseendifif(cd8())thencall displaytimedtexttoforce(wa(condition(function
b_8)),15.00,"quest master : a rich merchant was on his way to trade in konoha when
sound nins attacked his caravan. he escaped alive but lost everything else. the
merchant wishes to get back his most precious naked doll, claiming he needs it
every night for his own lewd purposes. he was attacked around the middle line of
the land.")set v7[getconvertedplayerid(getowningplayer(h7))]="you have to take
back a stolen naked doll around the middle line of the land. (rank b mission)"call
enabletrigger(lx)call enabletrigger(jx)set x7=1701734259set y7=7set
e=getrandomint(1,4)call triggerexecute(ex)if(c48())thenset
f8=getrandomlocinrect(wh)elsecall donothing()endifif(c78())thenset
f8=getrandomlocinrect(xh)elsecall donothing()endifif(c88())thenset
f8=getrandomlocinrect(yh)elsecall donothing()endifif(c98())thenset
f8=getrandomlocinrect(zh)elsecall donothing()endifcall
createnunitsatloc(1,1747988793,player(player_neutral_aggressive),f8,bj_unit_facing
)call removelocation(f8)set f8=nullreturnelseendifif(cj8())thencall
displaytimedtexttoforce(wa(condition(function ce8)),15.00,"quest master : a top
konoha councillor was ambushed by sound elites outside the sound village, all his
anbu guards were slaughtered as well. out of respect, we have to find back his
ashes and bring it back to konoha for a proper burial.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to bring back the ashes of
a councillor. it should be near sound village. (rank b mission)"call
enabletrigger(zx)set x7=1798532402set y7=8set e=getrandomint(1,4)call
triggerexecute(fx)if(cf8())thenset f8=getrandomlocinrect(di)elsecall donothing()
endifif(cg8())thenset f8=getrandomlocinrect(ei)elsecall donothing()endif
if(ch8())thenset f8=getrandomlocinrect(fi)elsecall
donothing()endifif(ci8())thenset f8=getrandomlocinrect(gi)elsecall donothing()
endifcall createitemloc(1798532402,f8)call removelocation(f8)set f8=nullreturnelse
endifendfunctionfunction cm8 takes nothing returns nothingset rx=createtrigger()
call triggeraddaction(rx,function ck8)endfunctionfunction cn8 takes nothing
returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunctionfunction
co8 takes nothing returns booleanreturn(e==1)endfunctionfunction cp8 takes nothing
returns booleanreturn(e==2)endfunctionfunction cq8 takes nothing returns boolean
return(e==3)endfunctionfunction cr8 takes nothing returns booleanreturn(e==4)
endfunctionfunction cs8 takes nothing returns booleanif(not(e==1))thenreturn false
endifreturn trueendfunctionfunction ct8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction cu8 takes
nothing returns booleanreturn(e==1)endfunctionfunction cv8 takes nothing returns
booleanreturn(e==2)endfunctionfunction cw8 takes nothing returns boolean
return(e==3)endfunctionfunction cx8 takes nothing returns booleanreturn(e==4)
endfunctionfunction cy8 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction cz8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction ca8 takes
nothing returns booleanreturn(e==1)endfunctionfunction ca8 takes nothing returns
booleanreturn(e==2)endfunctionfunction cb8 takes nothing returns boolean
return(e==3)endfunctionfunction cb8 takes nothing returns booleanreturn(e==4)
endfunctionfunction cc8 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction cc8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(h7))endfunctionfunction cd8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(h7))endfunction
function ce8 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"move",getrectcenter(vi))endfunctionfunction
c38 takes nothing returns booleanif(not(e==4))thenreturn falseendifreturn true
endfunctionfunction cf8 takes nothing returns nothingset e7="a rank c mission."set
b8=500set e=getrandomint(1,4)if(cs8())thencall
displaytimedtexttoforce(wa(condition(function cn8)),10.00,"trigstr_9308")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to find a missing anbu
mask near konoha village. (rank c mission)"call enabletrigger(yx)set x7=1667786099
set y7=1set e=getrandomint(1,4)call triggerexecute(zw)if(co8())thenset
f8=getrandomlocinrect(th)elsecall donothing()endifif(cp8())thenset
f8=getrandomlocinrect(sh)elsecall donothing()endifif(cq8())thenset
f8=getrandomlocinrect(uh)elsecall donothing()endifif(cr8())thenset
f8=getrandomlocinrect(vh)elsecall donothing()endifcall
createitemloc(1667786099,f8)call removelocation(f8)set f8=nullreturnelseendif
if(cy8())thencall displaytimedtexttoforce(wa(condition(function ct8)),10.00,"quest
master : a suspicious-looking character was seen wandering around just outside the
village. find him and kill him, remember to bring his head back as proof.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to kill a suspicious-
looking character near konoha village. (rank c mission)"call enabletrigger(fx)call
enabletrigger(gx)set x7=1652187749set y7=2set e=getrandomint(1,4)call
triggerexecute(zw)if(cu8())thencall
createnunitsatloc(1,1747988792,player(player_neutral_aggressive),getrandomlocinrec
t(th),bj_unit_facing)elsecall donothing()endifif(cv8())thencall
createnunitsatloc(1,1747988792,player(player_neutral_aggressive),getrandomlocinrec
t(sh),bj_unit_facing)elsecall donothing()endifif(cw8())thencall
createnunitsatloc(1,1747988792,player(player_neutral_aggressive),getrandomlocinrec
t(uh),bj_unit_facing)elsecall donothing()endifif(cx8())thencall
createnunitsatloc(1,1747988792,player(player_neutral_aggressive),getrandomlocinrec
t(vh),bj_unit_facing)elsecall donothing()endifreturnelseendifif(cc8())thencall
displaytimedtexttoforce(wa(condition(function cz8)),15.00,"quest master : a konoha
councillor has been tipped off that sound elites are on the way to assassinate his
wife, who is taking a stroll outside konoha village, still unaware of the danger.
quickly escort her back safely inside to me before she gets her silly self
killed!")set v7[getconvertedplayerid(getowningplayer(h7))]="you have to escort the
wife of a konoha councillor back safely. she was last seen outside konoha village.
(rank c mission)"call enabletrigger(bx)call enabletrigger(bx)set y7=3set t9=1set
m8=1848651861set e=getrandomint(1,4)call triggerexecute(zw)if(ca8())thenset
f8=getrandomlocinrect(th)elsecall donothing()endifif(ca8())thenset
f8=getrandomlocinrect(sh)elsecall donothing()endifif(cb8())thenset
f8=getrandomlocinrect(uh)elsecall donothing()endifif(cb8())thenset
f8=getrandomlocinrect(vh)elsecall donothing()endifcall
createnunitsatloc(1,1848651861,player(player_neutral_passive),f8,bj_unit_facing)
call removelocation(f8)set f8=nullreturnelseendifif(c38())thencall
displaytexttoforce(getplayersall(),"konoha will be protecting a caravan to their
black market")call displaytimedtexttoforce(wa(condition(function
cc8)),15.00,"quest master : a cavaran is on its way to the black market, carrying
supplies for the owner. the contents are worth a fortune and should be protected
from enemy assault at all cost.")set
v7[getconvertedplayerid(getowningplayer(h7))]="you have to protect a caravan from
enemy attacks whilst it makes its journey to the black market on konoha's side.
(rank c mission)"call pingminimaplocforforce(wa(condition(function
cd8)),getrectcenter(zi),3.00)call enabletrigger(xx)set y7=4set t9=1call
createnunitsatloc(1,1848652088,player(10),getrandomlocinrect(qh),bj_unit_facing)
call setunitpathing(getlastcreatedunit(),false)call
forgroupbj(sa(player(10),1848652088),function ce8)returnelseendifendfunction
function cg8 takes nothing returns nothingset sx=createtrigger()call
triggeraddaction(sx,function cf8)endfunctionfunction c68 takes nothing returns
booleanreturn(isunittype(getenteringunit(),unit_type_hero)==true)endfunction
function ch8 takes nothing returns boolean
return(isunittype(getenteringunit(),unit_type_ancient)!=true)endfunctionfunction
ci8 takes nothing returns booleanreturn(getenteringunit()!=h7)endfunctionfunction
cl8 takes nothing returns booleanreturn getbooleanand(ch8(),ci8())endfunction
function c18 takes nothing returns booleanif(not getbooleanand(c68(),cl8()))then
return falseendifif(not(isunitally(getenteringunit(),player(10))==true))thenreturn
falseendifreturn trueendfunctionfunction cj8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
ck8 takes nothing returns booleanif(not(b7!=0))thenreturn falseendifreturn true
endfunctionfunction cl8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
cm8 takes nothing returns booleanif(not(getunitlevel(h7)<11))thenreturn falseendif
return trueendfunctionfunction cn8 takes nothing returns boolean
return(getunitlevel(h7)>10)endfunctionfunction co8 takes nothing returns boolean
return(getunitlevel(h7)<21)endfunctionfunction c08 takes nothing returns boolean
if(not getbooleanand(cn8(),co8()))thenreturn falseendifreturn trueendfunction
function cp8 takes nothing returns booleanreturn(getunitlevel(h7)>20)endfunction
function cq8 takes nothing returns booleanreturn(getunitlevel(h7)<31)endfunction
function cr8 takes nothing returns booleanif(not getbooleanand(cp8(),cq8()))then
return falseendifreturn trueendfunctionfunction cs8 takes nothing returns boolean
return(getunitlevel(h7)>30)endfunctionfunction c58 takes nothing returns boolean
return(getunitlevel(h7)<41)endfunctionfunction ct8 takes nothing returns boolean
if(not getbooleanand(cs8(),c58()))thenreturn falseendifreturn trueendfunction
function cu8 takes nothing returns booleanif(not(getunitlevel(h7)>40))thenreturn
falseendifreturn trueendfunctionfunction cv8 takes nothing returns nothing
if(ck8())thencall displaytexttoforce(wa(condition(function cj8)),("quest master :
all missions have currently been undertaken, please come again later. currently
the shinobi on a mission is: "+getplayername(getowningplayer(h7))))returnelseendif
set b7=1set g7=getconvertedplayerid(getowningplayer(getenteringunit()))set
h7=j4[g7]if(cm8())thencall displaytexttoforce(wa(condition(function
cl8)),"trigstr_9105")set b7=0set h7=nullreturnelseendifif(c08())thencall
triggerexecute(sx)returnelseendifif(cr8())thencall triggerexecute(rx)returnelse
endifif(ct8())thencall triggerexecute(qx)returnelseendifif(cu8())thencall
triggerexecute(px)returnelseendifendfunctionfunction cw8 takes nothing returns
nothingset tx=createtrigger()call triggerregisterenterrectsimple(tx,oh)call
triggeraddcondition(tx,condition(function c18))call triggeraddaction(tx,function
cv8)endfunctionfunction cx8 takes nothing returns boolean
return(getfilterunit()==h7)endfunctionfunction cy8 takes nothing returns boolean
if(not(countunitsingroup(fa(oh,condition(function cx8)))==1))thenreturn falseendif
return trueendfunctionfunction c28 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187749),getenumuni
t())endfunctionfunction cz8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction c_8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction c48 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction
c78 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction c88 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction c98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction cd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction ce8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction cf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187749)
endfunctionfunction cg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187749)endfunctionfunction ch8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction ci8 takes
nothing returns booleanif(not(y7==2))thenreturn falseendifreturn trueendfunction
function cj8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1667786099),getenumuni
t())endfunctionfunction ck8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cn8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction co8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cr8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction ct8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cu8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cv8 takes nothing returns booleanif(not(y7==1))thenreturn
falseendifreturn trueendfunctionfunction cw8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1667786099),getenumuni
t())endfunctionfunction cx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cy8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cz8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction ca8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction ca8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cb8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cb8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction cc8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1667786099)endfunctionfunction cd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1667786099)
endfunctionfunction ce8 takes nothing returns booleanif(not(y7==6))thenreturn
falseendifreturn trueendfunctionfunction c38 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction cf8 takes nothing
returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1701734259),getenumuni
t())endfunctionfunction cg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction c68 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction ch8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction ci8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction cl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction c18 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction cj8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction ck8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction cl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1701734259)endfunctionfunction cm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1701734259)
endfunctionfunction cn8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction co8 takes nothing returns boolean
if(not(y7==7))thenreturn falseendifreturn trueendfunctionfunction c08 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1652187750),getenumuni
t())endfunctionfunction cp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction cq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction cr8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction cs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction c58 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction ct8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction cu8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction cv8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction cw8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1652187750)endfunctionfunction cx8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1652187750)
endfunctionfunction cy8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction c28 takes nothing returns boolean
if(not(y7==11))thenreturn falseendifreturn trueendfunctionfunction cz8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735222898),getenumuni
t())endfunctionfunction c_8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction d48 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction d78 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction d88 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction d98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction dd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction de8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction df8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction dg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735222898)endfunctionfunction dh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735222898)
endfunctionfunction di8 takes nothing returns booleanif(not(y7==12))thenreturn
falseendifreturn trueendfunctionfunction dj8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1227895385),getenumuni
t())endfunctionfunction dk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction dm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1227895385)
endfunctionfunction dn8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction do8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1227895385)
endfunctionfunction dp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction dq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1227895385)
endfunctionfunction dr8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction ds8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1227895385)
endfunctionfunction dt8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1227895385)endfunctionfunction du8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1227895385)
endfunctionfunction dv8 takes nothing returns booleanif(not(y7==16))thenreturn
falseendifreturn trueendfunctionfunction dw8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1735356530),getenumuni
t())endfunctionfunction dx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction dy8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction dz8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction da8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction da8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction db8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction db8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction
dc8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction dc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1735356530)
endfunctionfunction dd8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1735356530)endfunctionfunction de8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction d38 takes
nothing returns booleanif(not(y7==18))thenreturn falseendifreturn trueendfunction
function df8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1785753204),getenumuni
t())endfunctionfunction dg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction d68 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction dh8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction di8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction dl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction d18 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction dj8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction dk8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction dl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1785753204)endfunctionfunction dm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1785753204)
endfunctionfunction dn8 takes nothing returns booleanif(not(y7==13))thenreturn
falseendifreturn trueendfunctionfunction do8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532402),getenumuni
t())endfunctionfunction d08 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction dp8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction dq8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction dr8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction ds8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction d58 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction dt8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction du8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction dv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532402)endfunctionfunction dw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532402)
endfunctionfunction dx8 takes nothing returns booleanif(not(y7==8))thenreturn
falseendifreturn trueendfunctionfunction dy8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(h7,1))==x7)endfunctionfunction d28 takes
nothing returns booleanreturn(getitemtypeid(unititeminslotbj(h7,2))==x7)
endfunctionfunction dz8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(h7,3))==x7)endfunctionfunction d_8 takes
nothing returns booleanreturn(getitemtypeid(unititeminslotbj(h7,4))==x7)
endfunctionfunction e48 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(h7,5))==x7)endfunctionfunction e78 takes
nothing returns booleanreturn(getitemtypeid(unititeminslotbj(h7,6))==x7)
endfunctionfunction e88 takes nothing returns booleanreturn
getbooleanor(e48(),e78())endfunctionfunction e98 takes nothing returns boolean
return getbooleanor(d_8(),e88())endfunctionfunction ed8 takes nothing returns
booleanreturn getbooleanor(dz8(),e98())endfunctionfunction ee8 takes nothing
returns booleanreturn getbooleanor(d28(),ed8())endfunctionfunction ef8 takes
nothing returns booleanif(not getbooleanor(dy8(),ee8()))thenreturn falseendif
if(not(t9==0))thenreturn falseendifreturn trueendfunctionfunction eg8 takes
nothing returns nothingif(ef8())thencall playsoundbj(ei)call playsoundbj(mi)call
addheroxpswapped(b8,h7,true)if(cv8())thencall
forgroupbj(ha(getplayablemaprect()),function cj8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ck8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cn8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function co8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ct8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cu8)))call
disabletrigger(yx)elseif(ci8())thencall
forgroupbj(ha(getplayablemaprect()),function c28)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c_8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c48)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ce8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cg8)))call
forgroupbj(pa(1747988792),function ch8)call disabletrigger(fx)call
disabletrigger(gx)elseendifendifif(ce8())thencall
forgroupbj(ha(getplayablemaprect()),function cw8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cy8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ca8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ca8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cd8)))call
disabletrigger(yx)elseendifif(co8())thencall
forgroupbj(ha(getplayablemaprect()),function cf8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c68)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ch8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ci8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ck8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cm8)))call
forgroupbj(pa(1747988793),function cn8)call disabletrigger(jx)call
disabletrigger(lx)elseendifif(c28())thencall
forgroupbj(ha(getplayablemaprect()),function c08)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ct8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function cx8)))call
forgroupbj(pa(1747988793),function cy8)call disabletrigger(hx)call
disabletrigger(ix)elseendifif(di8())thencall
forgroupbj(ha(getplayablemaprect()),function cz8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function c_8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d48)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function de8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
df8)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
dg8)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
dh8)))call disabletrigger(cx)elseendifif(dv8())thencall
forgroupbj(ha(getplayablemaprect()),function dj8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dn8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function do8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ds8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function du8)))else
endifif(d38())thencall forgroupbj(ha(getplayablemaprect()),function dw8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dy8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function da8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function da8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function db8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function db8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dd8)))call
forgroupbj(pa(1751672179),function de8)call disabletrigger(dx)call
disabletrigger(ex)elseendifif(dn8())thencall
forgroupbj(ha(getplayablemaprect()),function df8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d68)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function di8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dm8)))call
disabletrigger(ax)elseendifif(dx8())thencall
forgroupbj(ha(getplayablemaprect()),function do8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ds8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function d58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function du8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function dw8)))call
disabletrigger(zx)elseendifset c7=(c7+1)set b7=0set
v7[getconvertedplayerid(getowningplayer(h7))]="you have no missions at the
moment."set e7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_9211")call
adjustplayerstatebj(150,getowningplayer(h7),player_state_resource_gold)set h7=null
set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopelsecall
displaytexttoforce(wa(condition(function c38)),"quest master : report what??? you
do not have the item i seek, do not test my patience, kid !")endifreturn
endfunctionfunction eh8 takes nothing returns nothingset ux=createtrigger()call
triggerregisterplayerchatevent(ux,player(0),"-report",true)call
triggerregisterplayerchatevent(ux,player(1),"-report",true)call
triggerregisterplayerchatevent(ux,player(2),"-report",true)call
triggerregisterplayerchatevent(ux,player(3),"-report",true)call
triggerregisterplayerchatevent(ux,player(4),"-report",true)call
triggeraddcondition(ux,condition(function cy8))call triggeraddaction(ux,function
eg8)endfunctionfunction ei8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==m8))thenreturn falseendifreturn true
endfunctionfunction ej8 takes nothing returns booleanif(not(y7==17))thenreturn
falseendifreturn trueendfunctionfunction ek8 takes nothing returns boolean
if(not(y7==3))thenreturn falseendifreturn trueendfunctionfunction em8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction en8 takes
nothing returns nothingcall addheroxpswapped(b8,h7,true)if(ej8())thencall
disabletrigger(bx)call disabletrigger(ax)elseendifif(ek8())thencall
disabletrigger(bx)call disabletrigger(bx)elseendifset n8=pa(m8)call
forgroupbj(n8,function em8)call destroygroup(n8)set n8=nullcall playsoundbj(ei)
call playsoundbj(mi)set c7=(c7+1)set b7=0set t9=0set
v7[getconvertedplayerid(getowningplayer(h7))]="you have no missions at the
moment."set e7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_9341")call
adjustplayerstatebj(150,getowningplayer(h7),player_state_resource_gold)set h7=null
set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopreturnendfunctionfunction eo8 takes
nothing returns nothingset vx=createtrigger()call
triggerregisterenterrectsimple(vx,qh)call
triggeraddcondition(vx,condition(function ei8))call triggeraddaction(vx,function
en8)endfunctionfunction ep8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1848652088))thenreturn falseendifreturn
trueendfunctionfunction eq8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction er8 takes nothing returns boolean
if(not(y7==4))thenreturn falseendifreturn trueendfunctionfunction es8 takes
nothing returns nothingcall addheroxpswapped(b8,h7,true)if(er8())thencall
forgroupbj(sa(player(10),1848652088),function eq8)call disabletrigger(xx)elseendif
call playsoundbj(ei)call playsoundbj(mi)set c7=(c7+1)set b7=0set t9=0set
v7[getconvertedplayerid(getowningplayer(h7))]="you have no missions at the
moment."set e7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_2338")call
adjustplayerstatebj(150,getowningplayer(h7),player_state_resource_gold)set h7=null
set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopreturnendfunctionfunction et8 takes
nothing returns nothingset wx=createtrigger()call
triggerregisterenterrectsimple(wx,zi)call
triggeraddcondition(wx,condition(function ep8))call triggeraddaction(wx,function
es8)endfunctionfunction eu8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1848652088))thenreturn falseendifreturn true
endfunctionfunction ev8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set t9=0set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ew8 takes nothing
returns nothingset xx=createtrigger()call disabletrigger(xx)call
triggerregisteranyuniteventbj(xx,event_player_unit_death)call
triggeraddcondition(xx,condition(function eu8))call triggeraddaction(xx,function
ev8)endfunctionfunction ex8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1667786099))thenreturn falseendifreturn true
endfunctionfunction ey8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction
ez8 takes nothing returns nothingset yx=createtrigger()call disabletrigger(yx)
call triggerregisteranyuniteventbj(yx,event_player_unit_pawn_item)call
triggeraddcondition(yx,condition(function ex8))call triggeraddaction(yx,function
ey8)endfunctionfunction ea8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1798532402))thenreturn falseendifreturn true
endfunctionfunction ea8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction eb8 takes nothing
returns nothingset zx=createtrigger()call disabletrigger(zx)call
triggerregisteranyuniteventbj(zx,event_player_unit_pawn_item)call
triggeraddcondition(zx,condition(function ea8))call triggeraddaction(zx,function
ea8)endfunctionfunction eb8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1785753204))thenreturn falseendifreturn true
endfunctionfunction ec8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ec8 takes nothing
returns nothingset ax=createtrigger()call disabletrigger(ax)call
triggerregisteranyuniteventbj(ax,event_player_unit_pawn_item)call
triggeraddcondition(ax,condition(function eb8))call triggeraddaction(ax,function
ec8)endfunctionfunction ed8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1853254763))thenreturn falseendifreturn true
endfunctionfunction ee8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(bx)set t9=0set h7=null
set e7="no missions."set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction e38 takes nothing
returns nothingset ax=createtrigger()call disabletrigger(ax)call
triggerregisteranyuniteventbj(ax,event_player_unit_death)call
triggeraddcondition(ax,condition(function ed8))call triggeraddaction(ax,function
ee8)endfunctionfunction ef8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1848651861))thenreturn falseendifreturn true
endfunctionfunction eg8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(bx)set h7=nullset t9=0
set e7="no missions."set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction e68 takes nothing
returns nothingset bx=createtrigger()call disabletrigger(bx)call
triggerregisteranyuniteventbj(bx,event_player_unit_death)call
triggeraddcondition(bx,condition(function ef8))call triggeraddaction(bx,function
eg8)endfunctionfunction eh8 takes nothing returns nothingset
k8=getunitloc(getenumunit())endfunctionfunction ei8 takes nothing returns boolean
return(getfilterunit()==h7)endfunctionfunction el8 takes nothing returns boolean
if(not(countunitsingroup(ka(400.00,k8,condition(function ei8)))==1))thenreturn
falseendifreturn trueendfunctionfunction e18 takes nothing returns nothingset
o8=pa(m8)set p8=grouppickrandomunit(o8)call forgroupbj(o8,function eh8)call
destroygroup(o8)set o8=nullif(el8())thenset x8=getunitloc(h7)call
issuepointorderlocbj(p8,"move",x8)call removelocation(x8)set x8=nullelseendif
endfunctionfunction ej8 takes nothing returns nothingset bx=createtrigger()call
disabletrigger(bx)call triggerregistertimereventperiodic(bx,2)call
triggeraddaction(bx,function e18)endfunctionfunction ek8 takes nothing returns
booleanif(not(getitemtypeid(getsolditem())==1227895385))thenreturn falseendif
return trueendfunctionfunction el8 takes nothing returns nothingset c7=(c7-4)set
b7=0call questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's
missions has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all
konoha shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction em8 takes nothing
returns nothingset cx=createtrigger()call disabletrigger(cx)call
triggerregisteranyuniteventbj(cx,event_player_unit_pawn_item)call
triggeraddcondition(cx,condition(function ek8))call triggeraddaction(cx,function
el8)endfunctionfunction en8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1735222898))thenreturn falseendifreturn true
endfunctionfunction eo8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set h7=nullset e7="no missions."set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction e08 takes nothing
returns nothingset cx=createtrigger()call disabletrigger(cx)call
triggerregisteranyuniteventbj(cx,event_player_unit_pawn_item)call
triggeraddcondition(cx,condition(function en8))call triggeraddaction(cx,function
eo8)endfunctionfunction ep8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1735356530))thenreturn falseendifreturn true
endfunctionfunction eq8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."set e7="no missions."set h7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(ex)set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction er8 takes nothing
returns nothingset dx=createtrigger()call disabletrigger(dx)call
triggerregisteranyuniteventbj(dx,event_player_unit_pawn_item)call
triggeraddcondition(dx,condition(function ep8))call triggeraddaction(dx,function
eq8)endfunctionfunction es8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1751672179))thenreturn falseendifreturn true
endfunctionfunction e58 takes nothing returns nothingcall
createitemloc(1735356530,getunitloc(getdyingunit()))returnendfunctionfunction et8
takes nothing returns nothingset ex=createtrigger()call disabletrigger(ex)call
triggerregisteranyuniteventbj(ex,event_player_unit_death)call
triggeraddcondition(ex,condition(function es8))call triggeraddaction(ex,function
e58)endfunctionfunction eu8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1652187749))thenreturn falseendifreturn true
endfunctionfunction ev8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."set e7="no missions."set h7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(gx)set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ew8 takes nothing
returns nothingset fx=createtrigger()call disabletrigger(fx)call
triggerregisteranyuniteventbj(fx,event_player_unit_pawn_item)call
triggeraddcondition(fx,condition(function eu8))call triggeraddaction(fx,function
ev8)endfunctionfunction ex8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1747988792))thenreturn falseendifreturn true
endfunctionfunction ey8 takes nothing returns nothingcall
createitemloc(1652187749,getunitloc(getdyingunit()))returnendfunctionfunction e28
takes nothing returns nothingset gx=createtrigger()call disabletrigger(gx)call
triggerregisteranyuniteventbj(gx,event_player_unit_death)call
triggeraddcondition(gx,condition(function ex8))call triggeraddaction(gx,function
ey8)endfunctionfunction ez8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1865429071))thenreturn falseendifreturn true
endfunctionfunction e_8 takes nothing returns nothingcall
createitemloc(1652187750,getunitloc(getdyingunit()))returnendfunctionfunction f48
takes nothing returns nothingset hx=createtrigger()call disabletrigger(hx)call
triggerregisteranyuniteventbj(hx,event_player_unit_death)call
triggeraddcondition(hx,condition(function ez8))call triggeraddaction(hx,function
e_8)endfunctionfunction f78 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1652187750))thenreturn falseendifreturn true
endfunctionfunction f88 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of konoha's missions
has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all konoha
shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."set e7="no missions."set h7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(hx)set
bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction f98 takes nothing
returns nothingset ix=createtrigger()call disabletrigger(ix)call
triggerregisteranyuniteventbj(ix,event_player_unit_pawn_item)call
triggeraddcondition(ix,condition(function f78))call triggeraddaction(ix,function
f88)endfunctionfunction fd8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1747988793))thenreturn falseendifreturn true
endfunctionfunction fe8 takes nothing returns nothingcall
createitemloc(1701734259,getunitloc(getdyingunit()))returnendfunctionfunction ff8
takes nothing returns nothingset lx=createtrigger()call disabletrigger(lx)call
triggerregisteranyuniteventbj(lx,event_player_unit_death)call
triggeraddcondition(lx,condition(function fd8))call triggeraddaction(lx,function
fe8)endfunctionfunction fg8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1701734259))thenreturn falseendifreturn true
endfunctionfunction fh8 takes nothing returns nothingset c7=(c7-4)set b7=0call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"one of konoha's
missions has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all
konoha shinobi...")set v7[getconvertedplayerid(getowningplayer(h7))]="you have no
missions at the moment."set e7="no missions."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(lx)set h7=nullcall
disabletrigger(lx)set bj_forloopaindex=1set bj_forloopaindexend=5loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction fi8 takes nothing
returns nothingset jx=createtrigger()call disabletrigger(jx)call
triggerregisteranyuniteventbj(jx,event_player_unit_pawn_item)call
triggeraddcondition(jx,condition(function fg8))call triggeraddaction(jx,function
fh8)endfunctionfunction fj8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction fk8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fm8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction fn8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fo8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function fj8)),getrectcenter(di),3.00)call
pingminimaplocforforce(wa(condition(function fk8)),getrectcenter(ei),3.00)call
pingminimaplocforforce(wa(condition(function fm8)),getrectcenter(fi),3.00)call
pingminimaplocforforce(wa(condition(function fn8)),getrectcenter(gi),3.00)
endfunctionfunction fp8 takes nothing returns nothingset kx=createtrigger()call
triggeraddaction(kx,function fo8)endfunctionfunction fq8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(l7))endfunctionfunction fr8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fs8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ft8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fu8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function fq8)),getrectcenter(wh),3.00)call
pingminimaplocforforce(wa(condition(function fr8)),getrectcenter(xh),3.00)call
pingminimaplocforforce(wa(condition(function fs8)),getrectcenter(yh),3.00)call
pingminimaplocforforce(wa(condition(function ft8)),getrectcenter(zh),3.00)
endfunctionfunction fv8 takes nothing returns nothingset lx=createtrigger()call
triggeraddaction(lx,function fu8)endfunctionfunction fw8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(l7))endfunctionfunction fx8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fy8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction fz8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function fa8 takes nothing returns nothingcall
pingminimaplocforforce(wa(condition(function fw8)),getrectcenter(th),3.00)call
pingminimaplocforforce(wa(condition(function fx8)),getrectcenter(sh),3.00)call
pingminimaplocforforce(wa(condition(function fy8)),getrectcenter(uh),3.00)call
pingminimaplocforforce(wa(condition(function fz8)),getrectcenter(vh),3.00)
endfunctionfunction fa8 takes nothing returns nothingset mx=createtrigger()call
triggeraddaction(mx,function fa8)endfunctionfunction fb8 takes nothing returns
booleanreturn(getfilterplayer()==gettriggerplayer())endfunctionfunction fb8 takes
nothing returns nothingcall displaytexttoforce(wa(condition(function fb8)),("your
village currently has "+(i2s(d7)+" fame.")))endfunctionfunction fc8 takes nothing
returns nothingset nx=createtrigger()call
triggerregisterplayerchatevent(nx,player(5),"-fame",true)call
triggerregisterplayerchatevent(nx,player(6),"-fame",true)call
triggerregisterplayerchatevent(nx,player(7),"-fame",true)call
triggerregisterplayerchatevent(nx,player(8),"-fame",true)call
triggerregisterplayerchatevent(nx,player(9),"-fame",true)call
triggeraddaction(nx,function fb8)endfunctionfunction fc8 takes nothing returns
booleanif(not(gettriggerplayer()==getowningplayer(l7)))thenreturn falseendifreturn
trueendfunctionfunction fd8 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction fe8 takes nothing
returns booleanif(not(c7==0))thenreturn falseendifreturn trueendfunctionfunction
f38 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1635412082),getenumuni
t())endfunctionfunction ff8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fg8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction f68 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction fi8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fl8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction f18 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction fk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction fl8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction fm8 takes nothing returns booleanif(not(r8==1))thenreturn
falseendifreturn trueendfunctionfunction fn8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction fo8 takes nothing returns boolean
if(not(r8==2))thenreturn falseendifreturn trueendfunctionfunction f08 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1836020340),getenumuni
t())endfunctionfunction fp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction fq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction fr8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction fs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction
f58 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction ft8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction fu8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction fv8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction fw8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction fx8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction fy8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction f28 takes nothing returns boolean
if(not(r8==3))thenreturn falseendifreturn trueendfunctionfunction fz8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction f_8 takes
nothing returns booleanif(not(r8==4))thenreturn falseendifreturn trueendfunction
function g48 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1818584167),getenumuni
t())endfunctionfunction g78 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction g88 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction g98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction gd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction ge8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction gf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction gg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction gh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction gi8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction gj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction gk8 takes nothing returns booleanif(not(r8==6))thenreturn
falseendifreturn trueendfunctionfunction gm8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction gn8 takes nothing returns boolean
if(not(r8==7))thenreturn falseendifreturn trueendfunctionfunction go8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1668180078),getenumuni
t())endfunctionfunction gp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction gq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction gr8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction gs8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction gt8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction gu8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction gv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction gw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction gx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction gy8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction gz8 takes nothing returns booleanif(not(r8==11))thenreturn
falseendifreturn trueendfunctionfunction ga8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1684760183),getenumuni
t())endfunctionfunction ga8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction gb8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction gb8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction gc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction gc8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction gd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction ge8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction g38 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction gf8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction gg8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction g68 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction gh8 takes nothing returns boolean
if(not(r8==12))thenreturn falseendifreturn trueendfunctionfunction gi8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532403),getenumuni
t())endfunctionfunction gl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction g18 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction gj8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction gk8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction gl8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction gm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction gn8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction go8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction g08 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction gp8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction gq8 takes nothing returns booleanif(not(r8==16))thenreturn
falseendifreturn trueendfunctionfunction gr8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532401),getenumuni
t())endfunctionfunction gs8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction g58 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction gt8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction gu8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction gv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction gw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction gx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction gy8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction g28 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction gz8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction g_8 takes nothing returns booleanif(not(r8==13))thenreturn
falseendifreturn trueendfunctionfunction h48 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1835496555),getenumuni
t())endfunctionfunction h78 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction h88 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction h98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction hd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction he8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction hf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction hg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction hh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction hi8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction hj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction hk8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction hm8 takes nothing returns boolean
if(not(r8==17))thenreturn falseendifreturn trueendfunctionfunction hn8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1803119982),getenumuni
t())endfunctionfunction ho8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction hp8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction hq8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction hr8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction hs8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction
ht8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction hu8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction hv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction hw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction hx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction hy8 takes
nothing returns nothingcall removeunit(getenumunit())endfunctionfunction hz8 takes
nothing returns booleanif(not(r8==8))thenreturn falseendifreturn trueendfunction
function ha8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction ha8 takes nothing returns booleanif(not(r8==18))thenreturn
falseendifreturn trueendfunctionfunction hb8 takes nothing returns nothing
if(fe8())thencall displaytexttoforce(wa(condition(function fd8)),"quest master:
give up what???")returnelseendifif(fm8())thencall
forgroupbj(ha(getplayablemaprect()),function f38)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ff8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function f68)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fi8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function f18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fl8)))call
disabletrigger(qy)elseendifif(fo8())thenset w8=pa(t8)call forgroupbj(w8,function
fn8)call destroygroup(w8)set w8=nullcall disabletrigger(ny)call disabletrigger(my)
elseendifif(f28())thencall forgroupbj(ha(getplayablemaprect()),function f08)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function f58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ft8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function fx8)))call
forgroupbj(pa(1747988805),function fy8)call disabletrigger(iy)call
disabletrigger(ey)elseendifif(f_8())thencall disabletrigger(yx)call
forgroupbj(pa(1848652089),function fz8)elseendifif(gk8())thencall
forgroupbj(ha(getplayablemaprect()),function g48)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ge8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gi8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gj8)))call
disabletrigger(uy)elseendifif(gn8())thenset w8=pa(t8)call forgroupbj(w8,function
gm8)call destroygroup(w8)set w8=nullcall disabletrigger(oy)call disabletrigger(my)
elseendifif(gz8())thencall forgroupbj(ha(getplayablemaprect()),function go8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gy8)))call
disabletrigger(sy)elseendifif(gh8())thencall
forgroupbj(ha(getplayablemaprect()),function ga8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ga8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ge8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g38)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gg8)))call
forgroupbj(pa(1747988802),function g68)call disabletrigger(zx)call
disabletrigger(hy)elseendifif(gq8())thencall
forgroupbj(ha(getplayablemaprect()),function gi8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gn8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function go8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gp8)))call
disabletrigger(ry)elseendifif(g_8())thencall
forgroupbj(ha(getplayablemaprect()),function gr8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g58)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gy8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function g28)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function gz8)))call
disabletrigger(ty)elseendifif(hm8())thencall
forgroupbj(ha(getplayablemaprect()),function h48)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function h78)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function h88)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function h98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function he8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hi8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hj8)))call
forgroupbj(pa(1747988803),function hk8)call disabletrigger(gy)call
disabletrigger(ky)elseendifif(hz8())thencall
forgroupbj(ha(getplayablemaprect()),function hn8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ho8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hs8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ht8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function hw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
hx8)))call forgroupbj(pa(1865429075),function hy8)call disabletrigger(jy)call
disabletrigger(fy)elseendifif(ha8())thenset w8=pa(t8)call forgroupbj(w8,function
ha8)call destroygroup(w8)set w8=nullcall disabletrigger(py)call disabletrigger(my)
elseendifset d7=(d7-3)call playsoundbj(ki)set c7=0set u9=0call
questmessagebj(getplayersall(),bj_questmessage_missionfailed,"sound has been
shamed by the failure of a mission ! they will pay a penalty of |cffffcc00350
gold|r each...")set l7=nullset v7[getconvertedplayerid(gettriggerplayer())]="you
have no missions at the moment."set f7="no missions."set bj_forloopaindex=6set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(-350,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction hb8 takes nothing
returns nothingset ox=createtrigger()call
triggerregisterplayerchatevent(ox,player(5),"-give up",true)call
triggerregisterplayerchatevent(ox,player(6),"-give up",true)call
triggerregisterplayerchatevent(ox,player(7),"-give up",true)call
triggerregisterplayerchatevent(ox,player(8),"-give up",true)call
triggerregisterplayerchatevent(ox,player(9),"-give up",true)call
triggeraddcondition(ox,condition(function fc8))call triggeraddaction(ox,function
hb8)endfunctionfunction hc8 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==1752196449))thenreturn falseendifreturn
trueendfunctionfunction hc8 takes nothing returns booleanif(not(e==1))thenreturn
falseendifreturn trueendfunctionfunction hd8 takes nothing returns nothingcall
removeunit(getenteringunit())set e=getrandomint(1,2)if(hc8())thencall
displaytexttoforce(ua(getowningplayer(getenteringunit())),"the spy was caught and
executed !")call displaytexttoforce(va(getowningplayer(getenteringunit())),"an
enemy spy was caught and executed in time before information was leaked...")else
call displaytexttoforce(ua(getowningplayer(getenteringunit())),("a spy has
successfully infiltrated the enemy base :"+(" konoha village has a reputation of
"+(i2s(c7)+(". the enemy village is currently undertaking "+e7)))))endif
endfunctionfunction he8 takes nothing returns nothingset px=createtrigger()call
triggerregisterenterrectsimple(px,rh)call
triggeraddcondition(px,condition(function hc8))call triggeraddaction(px,function
hd8)endfunctionfunction h38 takes nothing returns boolean
return(isunittype(getenteringunit(),unit_type_hero)==true)endfunctionfunction hf8
takes nothing returns boolean
return(isunittype(getenteringunit(),unit_type_ancient)!=true)endfunctionfunction
hg8 takes nothing returns booleanreturn(getenteringunit()!=l7)endfunctionfunction
h68 takes nothing returns booleanreturn getbooleanand(hf8(),hg8())endfunction
function hh8 takes nothing returns booleanif(not getbooleanand(h38(),h68()))then
return falseendifif(not(isunitally(getenteringunit(),player(11))==true))thenreturn
falseendifreturn trueendfunctionfunction hi8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
hl8 takes nothing returns booleanif(not(c7!=0))thenreturn falseendifreturn true
endfunctionfunction h18 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(getenteringunit()))endfunctionfunction
hj8 takes nothing returns booleanif(not(getunitlevel(l7)<11))thenreturn falseendif
return trueendfunctionfunction hk8 takes nothing returns boolean
return(getunitlevel(l7)>10)endfunctionfunction hl8 takes nothing returns boolean
return(getunitlevel(l7)<21)endfunctionfunction hm8 takes nothing returns boolean
if(not getbooleanand(hk8(),hl8()))thenreturn falseendifreturn trueendfunction
function hn8 takes nothing returns booleanreturn(getunitlevel(l7)>20)endfunction
function ho8 takes nothing returns booleanreturn(getunitlevel(l7)<31)endfunction
function h08 takes nothing returns booleanif(not getbooleanand(hn8(),ho8()))then
return falseendifreturn trueendfunctionfunction hp8 takes nothing returns boolean
return(getunitlevel(l7)>30)endfunctionfunction hq8 takes nothing returns boolean
return(getunitlevel(l7)<41)endfunctionfunction hr8 takes nothing returns boolean
if(not getbooleanand(hp8(),hq8()))thenreturn falseendifreturn trueendfunction
function hs8 takes nothing returns booleanif(not(getunitlevel(l7)>40))thenreturn
falseendifreturn trueendfunctionfunction h58 takes nothing returns nothing
if(hl8())thencall displaytexttoforce(wa(condition(function hi8)),("quest master :
all missions have currently been undertaken, please come again later. currently
the shinobi on a mission is: "+getplayername(getowningplayer(l7))))returnelseendif
set c7=1set i7=getconvertedplayerid(getowningplayer(getenteringunit()))set
l7=j4[i7]if(hj8())thencall displaytexttoforce(wa(condition(function
h18)),"trigstr_9122")set c7=0set l7=nullreturnelseendifif(hm8())thencall
triggerexecute(rx)returnelseendifif(h08())thencall triggerexecute(sx)returnelse
endifif(hr8())thencall triggerexecute(tx)returnelseendifif(hs8())thencall
triggerexecute(ux)returnelseendifendfunctionfunction ht8 takes nothing returns
nothingset qx=createtrigger()call triggerregisterenterrectsimple(qx,ph)call
triggeraddcondition(qx,condition(function hh8))call triggeraddaction(qx,function
h58)endfunctionfunction hu8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction hv8 takes
nothing returns booleanreturn(e==1)endfunctionfunction hw8 takes nothing returns
booleanreturn(e==2)endfunctionfunction hx8 takes nothing returns boolean
return(e==3)endfunctionfunction hy8 takes nothing returns booleanreturn(e==4)
endfunctionfunction h28 takes nothing returns booleanif(not(e==1))thenreturn false
endifreturn trueendfunctionfunction hz8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction h_8 takes
nothing returns booleanreturn(e==1)endfunctionfunction i48 takes nothing returns
booleanreturn(e==2)endfunctionfunction i78 takes nothing returns boolean
return(e==3)endfunctionfunction i88 takes nothing returns booleanreturn(e==4)
endfunctionfunction i98 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction id8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ie8 takes
nothing returns booleanreturn(e==1)endfunctionfunction if8 takes nothing returns
booleanreturn(e==2)endfunctionfunction ig8 takes nothing returns boolean
return(e==3)endfunctionfunction ih8 takes nothing returns booleanreturn(e==4)
endfunctionfunction ii8 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction ij8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ik8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function im8 takes nothing returns nothingcall
issuepointorderlocbj(getenumunit(),"move",getrectcenter(wi))endfunctionfunction
in8 takes nothing returns booleanif(not(e==4))thenreturn falseendifreturn true
endfunctionfunction io8 takes nothing returns nothingset f7="a rank c mission."set
c8=250set e=getrandomint(1,4)if(h28())thencall
displaytimedtexttoforce(wa(condition(function hu8)),10.00,"quest master : we have
been tipped off that an anbu from konoha was spying on our village. after driving
him away, he dropped his mask in the process. the anbu mask would be useful for
disguise in the near future. find it and bring it back.")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to find a lost anbu mask
near sound village. (rank c mission)"call enabletrigger(qy)set q8=1635412082set
r8=1set e=getrandomint(1,4)call triggerexecute(kx)if(hv8())thenset
f8=getrandomlocinrect(di)elsecall donothing()endifif(hw8())thenset
f8=getrandomlocinrect(ei)elsecall donothing()endifif(hx8())thenset
f8=getrandomlocinrect(fi)elsecall donothing()endifif(hy8())thenset
f8=getrandomlocinrect(gi)elsecall donothing()endifcall
createitemloc(1635412082,f8)call removelocation(f8)set f8=nullreturnelseendif
if(i98())thencall displaytimedtexttoforce(wa(condition(function hz8)),10.00,"quest
master : a small kid was spotted near the edge of our village. he will make a very
good test subject. quickly lure him to me before he disappears.")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to lure a little kid back
to the quest master. he must be kept safe at all times. (rank c mission)"call
enabletrigger(ny)call enabletrigger(my)set r8=2set u9=1set t8=1853254450set
e=getrandomint(1,4)call triggerexecute(kx)if(h_8())thenset
f8=getrandomlocinrect(di)elsecall donothing()endifif(i48())thenset
f8=getrandomlocinrect(ei)elsecall donothing()endifif(i78())thenset
f8=getrandomlocinrect(fi)elsecall donothing()endifif(i88())thenset
f8=getrandomlocinrect(gi)elsecall donothing()endifcall
createnunitsatloc(1,1853254450,player(player_neutral_passive),f8,bj_unit_facing)
call removelocation(f8)set f8=nullreturnelseendifif(ii8())thencall
displaytimedtexttoforce(wa(condition(function id8)),10.00,"quest master : a konoha
spy has been detected within our ranks. we have filtered him out but he realised
his cover was blown quickly enough, and is now making his way back! kill him
quickly, he shouldn't be far from our village yet. i want his badge!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to kill a konoha spy, near
sound village. (rank c mission)"call enabletrigger(iy)call enabletrigger(ey)set
q8=1836020340set r8=3set e=getrandomint(1,4)call triggerexecute(kx)if(ie8())then
set f8=getrandomlocinrect(di)elsecall donothing()endifif(if8())thenset
f8=getrandomlocinrect(ei)elsecall donothing()endifif(ig8())thenset
f8=getrandomlocinrect(fi)elsecall donothing()endifif(ih8())thenset
f8=getrandomlocinrect(gi)elsecall donothing()endifcall
createnunitsatloc(1,1747988805,player(player_neutral_aggressive),f8,bj_unit_facing
)call removelocation(f8)set f8=nullreturnelseendifif(in8())thencall
displaytexttoforce(getplayersall(),"sound will be protecting an illegal crate to
their black market !!!")call displaytimedtexttoforce(wa(condition(function
ij8)),10.00,"quest master : you are required to protect a stock of illegal cargo
to the black market. this business transaction is worth alot of gold for the sound
village, do not allow any weak konoha shinobi to stop it.")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to protect an illegal
crate to the black market on sound side. (rank c mission)"call enabletrigger(yx)
set r8=4set u9=1call
createnunitsatloc(1,1848652089,player(11),getrectcenter(rh),bj_unit_facing)call
pingminimaplocforforce(wa(condition(function ik8)),getrectcenter(wi),3.00)call
setunitpathing(getlastcreatedunit(),false)call
forgroupbj(sa(player(11),1848652089),function im8)returnelseendifendfunction
function ip8 takes nothing returns nothingset rx=createtrigger()call
triggeraddaction(rx,function io8)endfunctionfunction iq8 takes nothing returns
booleanreturn(getfilterplayer()==getowningplayer(l7))endfunctionfunction ir8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function is8 takes nothing returns booleanif(not(e==1))thenreturn falseendifreturn
trueendfunctionfunction it8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction iu8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function iv8 takes nothing returns booleanif(not(e==2))thenreturn falseendifreturn
trueendfunctionfunction iw8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ix8 takes
nothing returns booleanreturn(e==1)endfunctionfunction iy8 takes nothing returns
booleanreturn(e==2)endfunctionfunction iz8 takes nothing returns boolean
return(e==3)endfunctionfunction ia8 takes nothing returns booleanreturn(e==4)
endfunctionfunction ia8 takes nothing returns booleanif(not(e==3))thenreturn false
endifreturn trueendfunctionfunction ib8 takes nothing returns nothingset f7="a
rank b mission."set e=getrandomint(1,3)set c8=500if(is8())thencall
displaytimedtexttoforce(wa(condition(function iq8)),10.00,"quest master : while on
a quest to capture an oni no mizu for experiments, one of our elite sound shinobi
was killed. there are very important documents on his body, quickly recover them
before konoha finds out about it. leave his body to rot, i only want the
documents.")set v7[getconvertedplayerid(getowningplayer(l7))]="you have to reclaim
back some lost documents in the water passage. (rank b mission)"call
pingminimaplocforforce(wa(condition(function ir8)),getrectcenter(ch),3.00)call
enabletrigger(uy)set q8=1818584167set r8=6call
createitemloc(1818584167,getrandomlocinrect(ch))returnelseendifif(iv8())thencall
displaytimedtexttoforce(wa(condition(function it8)),10.00,"quest master : a sound
spy has reported that a lady from konoha is strolling along the forsaken hill. she
is alone, hehe. you know what to do, we could have some fun with her back here.
lure her here safely!")set v7[getconvertedplayerid(getowningplayer(l7))]="you have
to trick a woman to return with you to the quest master from the forsaken hill.
(rank b mission)"call enabletrigger(oy)call enabletrigger(my)set r8=7set u9=1set
t8=1853254775call pingminimaplocforforce(wa(condition(function
iu8)),getrectcenter(gi),3.00)call
createnunitsatloc(1,1853254775,player(player_neutral_passive),getrandomlocinrect(g
i),bj_unit_facing)returnelseendifif(ia8())thencall
displaytimedtexttoforce(wa(condition(function iw8)),10.00,"quest master : one of
the top konoha councillors is out travelling! we must seize this chance to
eliminate him! he is well guarded by anbu elites, but then again, afew pussy
ninjas are not going to stop us sound shinobi. i want his head!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to kill a konoha
councillor, outside sound village. (rank b mission)"call enabletrigger(jy)call
enabletrigger(fy)set q8=1803119982set r8=8set e=getrandomint(1,4)call
triggerexecute(kx)if(ix8())thenset f8=getrandomlocinrect(di)elsecall donothing()
endifif(iy8())thenset f8=getrandomlocinrect(ei)elsecall donothing()endif
if(iz8())thenset f8=getrandomlocinrect(fi)elsecall donothing()endifif(ia8())then
set f8=getrandomlocinrect(gi)elsecall donothing()endifcall
createnunitsatloc(1,1865429075,player(player_neutral_aggressive),f8,bj_unit_facing
)call
createnunitsatloc(3,1865429074,player(player_neutral_aggressive),f8,bj_unit_facing
)call removelocation(f8)set f8=nullreturnelseendifendfunctionfunction ib8 takes
nothing returns nothingset sx=createtrigger()call triggeraddaction(sx,function
ib8)endfunctionfunction ic8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction ic8 takes
nothing returns booleanreturn(e==1)endfunctionfunction id8 takes nothing returns
booleanreturn(e==2)endfunctionfunction ie8 takes nothing returns boolean
return(e==3)endfunctionfunction i38 takes nothing returns booleanreturn(e==4)
endfunctionfunction if8 takes nothing returns booleanif(not(e==1))thenreturn false
endifreturn trueendfunctionfunction ig8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction i68 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function ih8 takes nothing returns booleanif(not(e==2))thenreturn falseendifreturn
trueendfunctionfunction ii8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction il8 takes
nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunction
function i18 takes nothing returns booleanif(not(e==3))thenreturn falseendifreturn
trueendfunctionfunction ij8 takes nothing returns nothingset f7="a rank a
mission."set e=getrandomint(1,3)set c8=1000if(if8())thencall
displaytimedtexttoforce(wa(condition(function ic8)),10.00,"quest master : news
have come in that konoha has dropped a precious flute around the middle of the
land. it holds great sentimental value to them, if we can steal it before they
find it back then surely their morale will plunge! get it back now!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to find a missing flute
around the middle of the land. (rank a mission)"call enabletrigger(sy)set
q8=1668180078set r8=11set e=getrandomint(1,4)call triggerexecute(lx)if(ic8())then
set f8=getrandomlocinrect(wh)elsecall donothing()endifif(id8())thenset
f8=getrandomlocinrect(xh)elsecall donothing()endifif(ie8())thenset
f8=getrandomlocinrect(yh)elsecall donothing()endifif(i38())thenset
f8=getrandomlocinrect(zh)elsecall donothing()endifcall
createitemloc(1668180078,f8)call removelocation(f8)set f8=nullreturnelseendif
if(ih8())thencall displaytimedtexttoforce(wa(condition(function ig8)),10.00,"quest
master : great news! a konoha anbu elite has been spotted at the hut of seals,
probably buying some for his friends. take this golden opportunity to kill him
while he's alone. bring his head back!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to kill a konoha anbu
elite at the hut of seals. (rank a mission)"call
pingminimaplocforforce(wa(condition(function i68)),getrectcenter(wh),3.00)call
enabletrigger(hy)call enabletrigger(zx)set q8=1684760183set r8=12call
createnunitsatloc(1,1747988802,player(player_neutral_aggressive),getrandomlocinrec
t(wh),bj_unit_facing)returnelseendifif(i18())thencall
displaytimedtexttoforce(wa(condition(function ii8)),10.00,"quest master : the
thieves at their hideout are beginning to become rebellious and are forgetting
their place. they no longer treat us sound shinobi with fear and respect. show
them we are the greater evil by entering their lair and stealing their treasure
chest right from under their nose!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to steal a treasure chest
in thieves' hideout. (rank a mission)"call
pingminimaplocforforce(wa(condition(function il8)),getrectcenter(dh),3.00)call
enabletrigger(ty)set q8=1798532401set r8=13call
createitemloc(1798532401,getrandomlocinrect(dh))call removelocation(f8)set f8=null
returnelseendifendfunctionfunction ik8 takes nothing returns nothingset
tx=createtrigger()call triggeraddaction(tx,function ij8)endfunctionfunction il8
takes nothing returns booleanreturn(getfilterplayer()==getowningplayer(l7))
endfunctionfunction im8 takes nothing returns booleanreturn(e==1)endfunction
function in8 takes nothing returns booleanreturn(e==2)endfunctionfunction io8
takes nothing returns booleanreturn(e==3)endfunctionfunction i08 takes nothing
returns booleanreturn(e==4)endfunctionfunction ip8 takes nothing returns boolean
if(not(e==1))thenreturn falseendifreturn trueendfunctionfunction iq8 takes nothing
returns booleanreturn(getfilterplayer()==getowningplayer(l7))endfunctionfunction
ir8 takes nothing returns booleanreturn(e==1)endfunctionfunction is8 takes nothing
returns booleanreturn(e==2)endfunctionfunction i58 takes nothing returns boolean
return(e==3)endfunctionfunction it8 takes nothing returns booleanreturn(e==4)
endfunctionfunction iu8 takes nothing returns booleanif(not(e==2))thenreturn false
endifreturn trueendfunctionfunction iv8 takes nothing returns boolean
return(getfilterplayer()==getowningplayer(l7))endfunctionfunction
iw8 takes nothing returns booleanreturn(e==1)endfunctionfunction ix8 takes
nothing returns booleanreturn(e==2)endfunctionfunction iy8 takes nothing returns
booleanreturn(e==3)endfunctionfunction i28 takes nothing returns boolean
return(e==4)endfunctionfunction iz8 takes nothing returns booleanif(not(e==3))then
return falseendifreturn trueendfunctionfunction i_8 takes nothing returns nothing
set f7="a rank s mission."set e=getrandomint(1,3)set c8=2000if(ip8())thencall
displaytimedtexttoforce(wa(condition(function il8)),10.00,"quest master : we
ambushed an anbu and severely wounded him. he had some important notes on him. he
probably won't make it back considering his fatal injuries. go search around the
outside of konoha village for his body and the notes. wait, just his notes, leave
his body to rot.")set v7[getconvertedplayerid(getowningplayer(l7))]="you have to
find some important notes near konoha village. (rank s mission)"call
enabletrigger(ry)set q8=1798532403set r8=16set e=getrandomint(1,4)call
triggerexecute(mx)if(im8())thenset f8=getrandomlocinrect(th)elsecall donothing()
endifif(in8())thenset f8=getrandomlocinrect(sh)elsecall donothing()endif
if(io8())thenset f8=getrandomlocinrect(uh)elsecall donothing()endifif(i08())then
set f8=getrandomlocinrect(vh)elsecall donothing()endifcall
createitemloc(1798532403,f8)call removelocation(f8)set f8=nullreturnelseendif
if(iu8())thencall displaytimedtexttoforce(wa(condition(function iq8)),10.00,"quest
master : an akatsuki spy has been caught by a group of sound jounins, but he
managed to kill them all and escape. track him down and kill the insolent fool, he
is suspected to be hiding out around the edge of konoha village. i want his head,
now!")set v7[getconvertedplayerid(getowningplayer(l7))]="you have to get rid of an
akatsuki spy near konoha village. (rank s mission)"call enabletrigger(gy)call
enabletrigger(ky)call enabletrigger(zx)set q8=1835496555set r8=17set
e=getrandomint(1,4)call triggerexecute(mx)if(ir8())thenset
f8=getrandomlocinrect(th)elsecall donothing()endifif(is8())thenset
f8=getrandomlocinrect(sh)elsecall donothing()endifif(i58())thenset
f8=getrandomlocinrect(uh)elsecall donothing()endifif(it8())thenset
f8=getrandomlocinrect(vh)elsecall donothing()endifcall
createnunitsatloc(1,1747988803,player(player_neutral_aggressive),f8,bj_unit_facing
)call removelocation(f8)set f8=nullreturnelseendifif(iz8())thencall
displaytimedtexttoforce(wa(condition(function iv8)),10.00,"quest master : the wife
of a top seat konoha councillor is taking a 'safe' stroll just outside her
village. let's show her how safe she really is. you know what to do, we could have
some fun with her back here. lure her here safely!")set
v7[getconvertedplayerid(getowningplayer(l7))]="you have to trick the wife of a
konoha elite to return with you to the quest master. she was last seen near konoha
village. (rank s mission)"call enabletrigger(py)call enabletrigger(my)set r8=18set
u9=1set t8=1852335462set e=getrandomint(1,4)call triggerexecute(mx)if(iw8())then
set f8=getrandomlocinrect(th)elsecall donothing()endifif(ix8())thenset
f8=getrandomlocinrect(sh)elsecall donothing()endifif(iy8())thenset
f8=getrandomlocinrect(uh)elsecall donothing()endifif(i28())thenset
f8=getrandomlocinrect(vh)elsecall donothing()endifcall
createnunitsatloc(1,1852335462,player(player_neutral_passive),f8,bj_unit_facing)
call removelocation(f8)set f8=nullreturnelseendifendfunctionfunction l48 takes
nothing returns nothingset ux=createtrigger()call triggeraddaction(ux,function
i_8)endfunctionfunction l78 takes nothing returns boolean
return(getfilterunit()==l7)endfunctionfunction l88 takes nothing returns boolean
if(not(countunitsingroup(fa(ph,condition(function l78)))==1))thenreturn falseendif
return trueendfunctionfunction l98 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1635412082),getenumuni
t())endfunctionfunction ld8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction le8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction lf8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction lg8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction lh8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction li8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction lj8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction lk8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction lm8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1635412082)endfunctionfunction ln8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1635412082)
endfunctionfunction lo8 takes nothing returns booleanif(not(r8==1))thenreturn
falseendifreturn trueendfunctionfunction lp8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1836020340),getenumuni
t())endfunctionfunction lq8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction lr8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction ls8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction lt8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction lu8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction lv8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction lw8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction lx8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction ly8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1836020340)endfunctionfunction lz8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1836020340)
endfunctionfunction la8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction la8 takes nothing returns boolean
if(not(r8==3))thenreturn falseendifreturn trueendfunctionfunction lb8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1818584167),getenumuni
t())endfunctionfunction lb8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction lc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction lc8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction ld8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction le8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction l38 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction lf8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction lg8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction l68 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1818584167)endfunctionfunction lh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1818584167)
endfunctionfunction li8 takes nothing returns booleanif(not(r8==6))thenreturn
falseendifreturn trueendfunctionfunction ll8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1803119982),getenumuni
t())endfunctionfunction l18 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction lj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction lk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction ll8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction lm8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction ln8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction lo8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction l08 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction lp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1803119982)endfunctionfunction lq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1803119982)
endfunctionfunction lr8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction ls8 takes nothing returns boolean
if(not(r8==8))thenreturn falseendifreturn trueendfunctionfunction l58 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1668180078),getenumuni
t())endfunctionfunction lt8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction lu8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction lv8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction lw8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction
lx8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction ly8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction l28 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction lz8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction l_8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1668180078)endfunctionfunction j48 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1668180078)
endfunctionfunction j78 takes nothing returns booleanif(not(r8==11))thenreturn
falseendifreturn trueendfunctionfunction j88 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1684760183),getenumuni
t())endfunctionfunction j98 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction jd8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction je8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction jf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction jg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction jh8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction ji8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction jj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction jk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1684760183)endfunctionfunction jm8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1684760183)
endfunctionfunction jn8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction jo8 takes nothing returns boolean
if(not(r8==12))thenreturn falseendifreturn trueendfunctionfunction jp8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532403),getenumuni
t())endfunctionfunction jq8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction jr8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction js8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction jt8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction ju8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction jv8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction jw8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction jx8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction jy8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532403)endfunctionfunction jz8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532403)
endfunctionfunction ja8 takes nothing returns booleanif(not(r8==16))thenreturn
falseendifreturn trueendfunctionfunction ja8 takes nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1835496555),getenumuni
t())endfunctionfunction jb8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction jb8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction jc8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction jc8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction jd8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction je8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction j38 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction jf8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction jg8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1835496555)endfunctionfunction j68 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1835496555)
endfunctionfunction jh8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction ji8 takes nothing returns boolean
if(not(r8==17))thenreturn falseendifreturn trueendfunctionfunction jl8 takes
nothing returns nothingcall
unitremoveitemswapped(getitemoftypefromunitbj(getenumunit(),1798532401),getenumuni
t())endfunctionfunction j18 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction jj8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction jk8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction jl8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction jm8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction jn8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction jo8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction j08 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction jp8 takes nothing returns boolean
return(getitemtypeid(getfilteritem())==1798532401)endfunctionfunction jq8 takes
nothing returns booleanreturn(getitemtypeid(getfilteritem())==1798532401)
endfunctionfunction jr8 takes nothing returns booleanif(not(r8==13))thenreturn
falseendifreturn trueendfunctionfunction js8 takes nothing returns boolean
return(getfilterplayer()==gettriggerplayer())endfunctionfunction j58 takes nothing
returns booleanreturn(getitemtypeid(unititeminslotbj(l7,1))==q8)endfunction
function jt8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(l7,2))==q8)endfunctionfunction ju8 takes
nothing returns booleanreturn(getitemtypeid(unititeminslotbj(l7,3))==q8)
endfunctionfunction jv8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(l7,4))==q8)endfunctionfunction jw8 takes
nothing returns booleanreturn(getitemtypeid(unititeminslotbj(l7,5))==q8)
endfunctionfunction jx8 takes nothing returns boolean
return(getitemtypeid(unititeminslotbj(l7,6))==q8)endfunctionfunction jy8 takes
nothing returns booleanreturn getbooleanor(jw8(),jx8())endfunctionfunction j28
takes nothing returns booleanreturn getbooleanor(jv8(),jy8())endfunctionfunction
jz8 takes nothing returns booleanreturn getbooleanor(ju8(),j28())endfunction
function j_8 takes nothing returns booleanreturn getbooleanor(jt8(),jz8())
endfunctionfunction k48 takes nothing returns booleanif(not
getbooleanor(j58(),j_8()))thenreturn falseendifif(not(u9==0))thenreturn falseendif
return trueendfunctionfunction k78 takes nothing returns nothingif(k48())thencall
playsoundbj(ei)call playsoundbj(mi)call addheroxpswapped(c8,l7,true)if(lo8())then
call forgroupbj(ha(getplayablemaprect()),function l98)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ld8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function le8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function li8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ln8)))call
disabletrigger(qy)elseendifif(la8())thencall
forgroupbj(ha(getplayablemaprect()),function lp8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ls8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ly8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lz8)))call
forgroupbj(pa(1747988805),function la8)call disabletrigger(iy)call
disabletrigger(ey)elseendifif(li8())thencall
forgroupbj(ha(getplayablemaprect()),function lb8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ld8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
le8)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
l38)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
lf8)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
lg8)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
l68)))call removeitem(randomiteminrectbj(getplayablemaprect(),condition(function
lh8)))call disabletrigger(uy)elseendifif(ls8())thencall
forgroupbj(ha(getplayablemaprect()),function ll8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function l18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ll8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ln8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lo8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function l08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lq8)))call
forgroupbj(pa(1865429075),function lr8)call disabletrigger(jy)call
disabletrigger(fy)elseendifif(j78())thencall
forgroupbj(ha(getplayablemaprect()),function l58)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lu8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ly8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function l28)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function lz8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function l_8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j48)))call
disabletrigger(sy)elseendifif(jo8())thencall
forgroupbj(ha(getplayablemaprect()),function j88)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j98)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function je8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jh8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ji8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jm8)))call
forgroupbj(pa(1747988802),function jn8)call disabletrigger(zx)call
disabletrigger(hy)elseendifif(ja8())thencall
forgroupbj(ha(getplayablemaprect()),function jp8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jq8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jr8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function js8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jt8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function ju8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jv8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jw8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jx8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jy8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jz8)))call
disabletrigger(ry)elseendifif(ji8())thencall
forgroupbj(ha(getplayablemaprect()),function ja8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jb8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jc8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jd8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function je8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j38)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jf8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jg8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j68)))call
forgroupbj(pa(1747988803),function jh8)call disabletrigger(gy)call
disabletrigger(ky)elseendifif(jr8())thencall
forgroupbj(ha(getplayablemaprect()),function jl8)call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j18)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jj8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jk8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jl8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jm8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jn8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jo8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function j08)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jp8)))call
removeitem(randomiteminrectbj(getplayablemaprect(),condition(function jq8)))call
disabletrigger(ty)elseendifset d7=(d7+1)set c7=0set
v7[getconvertedplayerid(getowningplayer(l7))]="you have no missions at the
moment."set f7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_9377")call
adjustplayerstatebj(150,getowningplayer(l7),player_state_resource_gold)set l7=null
set bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopelsecall
displaytexttoforce(wa(condition(function js8)),"quest master : report what??? you
do not have the item i seek, do not test my patience, kid !")endifendfunction
function k88 takes nothing returns nothingset vx=createtrigger()call
triggerregisterplayerchatevent(vx,player(5),"-report",true)call
triggerregisterplayerchatevent(vx,player(6),"-report",true)call
triggerregisterplayerchatevent(vx,player(7),"-report",true)call
triggerregisterplayerchatevent(vx,player(8),"-report",true)call
triggerregisterplayerchatevent(vx,player(9),"-report",true)call
triggeraddcondition(vx,condition(function l88))call triggeraddaction(vx,function
k78)endfunctionfunction k98 takes nothing returns boolean
if(not(getunittypeid(getenteringunit())==t8))thenreturn falseendifreturn true
endfunctionfunction kd8 takes nothing returns booleanif(not(r8==2))thenreturn
falseendifreturn trueendfunctionfunction ke8 takes nothing returns boolean
if(not(r8==7))thenreturn falseendifreturn trueendfunctionfunction kf8 takes
nothing returns booleanif(not(r8==18))thenreturn falseendifreturn trueendfunction
function kg8 takes nothing returns nothingcall removeunit(getenumunit())
endfunctionfunction kh8 takes nothing returns nothingif(kd8())thencall
disabletrigger(ny)call disabletrigger(my)elseendifif(ke8())thencall
disabletrigger(oy)call disabletrigger(my)elseendifif(kf8())thencall
disabletrigger(py)call disabletrigger(my)elseendifset w8=pa(t8)call
forgroupbj(w8,function kg8)call destroygroup(w8)set w8=nullcall playsoundbj(ei)
call playsoundbj(mi)set d7=(d7+1)set c7=0set u9=0set
v7[getconvertedplayerid(getowningplayer(l7))]="you have no missions at the
moment."set f7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_9381")call
adjustplayerstatebj(150,getowningplayer(l7),player_state_resource_gold)call
addheroxpswapped(c8,l7,true)set l7=nullset bj_forloopaindex=6set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ki8 takes nothing
returns nothingset wx=createtrigger()call triggerregisterenterrectsimple(wx,rh)
call triggeraddcondition(wx,condition(function k98))call
triggeraddaction(wx,function kh8)endfunctionfunction kj8 takes nothing returns
booleanif(not(getunittypeid(getenteringunit())==1848652089))thenreturn falseendif
return trueendfunctionfunction kk8 takes nothing returns nothingcall
removeunit(getenumunit())endfunctionfunction km8 takes nothing returns boolean
if(not(r8==4))thenreturn falseendifreturn trueendfunctionfunction kn8 takes
nothing returns nothingcall addheroxpswapped(c8,l7,true)if(km8())thencall
forgroupbj(sa(player(11),1848652089),function kk8)call disabletrigger(yx)elseendif
call playsoundbj(ei)call playsoundbj(mi)set d7=(d7+1)set c7=0set u9=0set
v7[getconvertedplayerid(getowningplayer(l7))]="you have no missions at the
moment."set f7="no missions."call
questmessagebj(getplayersall(),bj_questmessage_unitacquired,"trigstr_2346")call
adjustplayerstatebj(150,getowningplayer(h7),player_state_resource_gold)set
l7=nullset bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(250,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopreturnendfunctionfunction ko8 takes
nothing returns nothingset xx=createtrigger()call
triggerregisterenterrectsimple(xx,wi)call
triggeraddcondition(xx,condition(function kj8))call triggeraddaction(xx,function
kn8)endfunctionfunction kp8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1848652089))thenreturn falseendifreturn true
endfunctionfunction kq8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."set f7="no missions."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set u9=0set l7=nullset bj_forloopaindex=6set
bj_forloopaindexend=10loopexitwhen bj_forloopaindex>bj_forloopaindexendcall
adjustplayerstatebj(-400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kr8 takes nothing
returns nothingset yx=createtrigger()call disabletrigger(yx)call
triggerregisteranyuniteventbj(yx,event_player_unit_death)call
triggeraddcondition(yx,condition(function kp8))call triggeraddaction(yx,function
kq8)endfunctionfunction ks8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1747988802))thenreturn falseendifreturn true
endfunctionfunction kt8 takes nothing returns nothingcall
createitemloc(1684760183,getunitloc(getdyingunit()))returnendfunctionfunction ku8
takes nothing returns nothingset zx=createtrigger()call disabletrigger(zx)call
triggerregisteranyuniteventbj(zx,event_player_unit_death)call
triggeraddcondition(zx,condition(function ks8))call triggeraddaction(zx,function
kt8)endfunctionfunction kv8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1747988805))thenreturn falseendifreturn true
endfunctionfunction kw8 takes nothing returns nothingcall
createitemloc(1836020340,getunitloc(getdyingunit()))returnendfunctionfunction kx8
takes nothing returns nothingset ey=createtrigger()call disabletrigger(ey)call
triggerregisteranyuniteventbj(ey,event_player_unit_death)call
triggeraddcondition(ey,condition(function kv8))call triggeraddaction(ey,function
kw8)endfunctionfunction ky8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1865429075))thenreturn falseendifreturn true
endfunctionfunction kz8 takes nothing returns nothingcall
createitemloc(1803119982,getunitloc(getdyingunit()))returnendfunctionfunction ka8
takes nothing returns nothingset fy=createtrigger()call disabletrigger(fy)call
triggerregisteranyuniteventbj(fy,event_player_unit_death)call
triggeraddcondition(fy,condition(function ky8))call triggeraddaction(fy,function
kz8)endfunctionfunction ka8 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1747988803))thenreturn falseendifreturn true
endfunctionfunction kb8 takes nothing returns nothingcall
createitemloc(1835496555,getunitloc(getdyingunit()))returnendfunctionfunction kb8
takes nothing returns nothingset gy=createtrigger()call disabletrigger(gy)call
triggerregisteranyuniteventbj(gy,event_player_unit_death)call
triggeraddcondition(gy,condition(function ka8))call triggeraddaction(gy,function
kb8)endfunctionfunction kc8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1684760183))thenreturn falseendifreturn true
endfunctionfunction kc8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."set f7="no missions."set l7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(zx)set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kd8 takes nothing
returns nothingset hy=createtrigger()call disabletrigger(hy)call
triggerregisteranyuniteventbj(hy,event_player_unit_pawn_item)call
triggeraddcondition(hy,condition(function kc8))call triggeraddaction(hy,function
kc8)endfunctionfunction ke8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1836020340))thenreturn falseendifreturn true
endfunctionfunction k38 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."set f7="no missions."set l7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(ey)set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kf8 takes nothing
returns nothingset iy=createtrigger()call disabletrigger(iy)call
triggerregisteranyuniteventbj(iy,event_player_unit_pawn_item)call
triggeraddcondition(iy,condition(function ke8))call triggeraddaction(iy,function
k38)endfunctionfunction kg8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1803119982))thenreturn falseendifreturn true
endfunctionfunction k68 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."set f7="no missions."set l7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(fy)set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kh8 takes nothing
returns nothingset jy=createtrigger()call disabletrigger(jy)call
triggerregisteranyuniteventbj(jy,event_player_unit_pawn_item)call
triggeraddcondition(jy,condition(function kg8))call triggeraddaction(jy,function
k68)endfunctionfunction ki8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1835496555))thenreturn falseendifreturn true
endfunctionfunction kl8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."set f7="no missions."set l7=nullcall playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(gy)set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction k18 takes nothing
returns nothingset ky=createtrigger()call disabletrigger(ky)call
triggerregisteranyuniteventbj(ky,event_player_unit_pawn_item)call
triggeraddcondition(ky,condition(function ki8))call triggeraddaction(ky,function
kl8)endfunctionfunction kj8 takes nothing returns nothingset
v8=getunitloc(getenumunit())endfunctionfunction kk8 takes nothing returns boolean
return(getfilterunit()==l7)endfunctionfunction kl8 takes nothing returns boolean
if(not(countunitsingroup(ka(400.00,v8,condition(function kk8)))==1))thenreturn
falseendifreturn trueendfunctionfunction km8 takes nothing returns nothingset
s8=pa(t8)set u8=grouppickrandomunit(s8)call forgroupbj(s8,function kj8)call
destroygroup(s8)set s8=nullif(kl8())thenset y8=getunitloc(l7)call
issuepointorderlocbj(u8,"move",y8)call removelocation(y8)set y8=nullelseendif
endfunctionfunction kn8 takes nothing returns nothingset my=createtrigger()call
disabletrigger(my)call triggerregistertimereventperiodic(my,2)call
triggeraddaction(my,function km8)endfunctionfunction ko8 takes nothing returns
booleanif(not(getunittypeid(getdyingunit())==1853254450))thenreturn falseendif
return trueendfunctionfunction k08 takes nothing returns nothingset d7=(d7-4)set
c7=0call questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's
missions has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all
sound shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)set u9=0call
disabletrigger(gettriggeringtrigger())call disabletrigger(my)set l7=nullset f7="no
missions."set bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kp8 takes nothing
returns nothingset ny=createtrigger()call disabletrigger(ny)call
triggerregisteranyuniteventbj(ny,event_player_unit_death)call
triggeraddcondition(ny,condition(function
ko8))call triggeraddaction(ny,function k08)endfunctionfunction kq8 takes nothing
returns booleanif(not(getunittypeid(getdyingunit())==1853254775))thenreturn false
endifreturn trueendfunctionfunction kr8 takes nothing returns nothingset d7=(d7-4)
set c7=0call questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's
missions has been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all
sound shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())call disabletrigger(my)set u9=0set l7=null
set f7="no missions."set bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ks8 takes nothing
returns nothingset oy=createtrigger()call disabletrigger(oy)call
triggerregisteranyuniteventbj(oy,event_player_unit_death)call
triggeraddcondition(oy,condition(function kq8))call triggeraddaction(oy,function
kr8)endfunctionfunction k58 takes nothing returns boolean
if(not(getunittypeid(getdyingunit())==1852335462))thenreturn falseendifreturn true
endfunctionfunction kt8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set u9=0call disabletrigger(my)set l7=null
set f7="no missions."set bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ku8 takes nothing
returns nothingset py=createtrigger()call disabletrigger(py)call
triggerregisteranyuniteventbj(py,event_player_unit_death)call
triggeraddcondition(py,condition(function k58))call triggeraddaction(py,function
kt8)endfunctionfunction kv8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1635412082))thenreturn falseendifreturn true
endfunctionfunction kw8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set l7=nullset f7="no missions."set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kx8 takes nothing
returns nothingset qy=createtrigger()call disabletrigger(qy)call
triggerregisteranyuniteventbj(qy,event_player_unit_pawn_item)call
triggeraddcondition(qy,condition(function kv8))call triggeraddaction(qy,function
kw8)endfunctionfunction ky8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1798532403))thenreturn falseendifreturn true
endfunctionfunction k28 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set l7=nullset f7="no missions."set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction kz8 takes nothing
returns nothingset ry=createtrigger()call disabletrigger(ry)call
triggerregisteranyuniteventbj(ry,event_player_unit_pawn_item)call
triggeraddcondition(ry,condition(function ky8))call triggeraddaction(ry,function
k28)endfunctionfunction k_8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1668180078))thenreturn falseendifreturn true
endfunctionfunction l48 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set l7=nullset f7="no missions."set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction l78 takes nothing
returns nothingset sy=createtrigger()call disabletrigger(sy)call
triggerregisteranyuniteventbj(sy,event_player_unit_pawn_item)call
triggeraddcondition(sy,condition(function k_8))call triggeraddaction(sy,function
l48)endfunctionfunction l88 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1798532401))thenreturn falseendifreturn true
endfunctionfunction l98 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set l7=nullset f7="no missions."set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction ld8 takes nothing
returns nothingset ty=createtrigger()call disabletrigger(ty)call
triggerregisteranyuniteventbj(ty,event_player_unit_pawn_item)call
triggeraddcondition(ty,condition(function l88))call triggeraddaction(ty,function
l98)endfunctionfunction le8 takes nothing returns boolean
if(not(getitemtypeid(getsolditem())==1818584167))thenreturn falseendifreturn true
endfunctionfunction lf8 takes nothing returns nothingset d7=(d7-4)set c7=0call
questmessagebj(getplayersall(),bj_questmessage_failed,"one of sound's missions has
been thwarted ! a penalty of |cffffcc00400 gold|r is charged to all sound
shinobi...")set v7[getconvertedplayerid(getowningplayer(l7))]="you have no
missions at the moment."call playsoundbj(ki)call
disabletrigger(gettriggeringtrigger())set l7=nullset f7="no missions."set
bj_forloopaindex=6set bj_forloopaindexend=10loopexitwhen
bj_forloopaindex>bj_forloopaindexendcall adjustplayerstatebj(-
400,k4[getforloopindexa()],player_state_resource_gold)set
bj_forloopaindex=bj_forloopaindex+1endloopendfunctionfunction lg8 takes nothing
returns nothingset uy=createtrigger()call disabletrigger(uy)call
triggerregisteranyuniteventbj(uy,event_player_unit_pawn_item)call
triggeraddcondition(uy,condition(function le8))call triggeraddaction(uy,function
lf8)endfunctionfunction lh8 takes nothing returns nothingcall nb()call ub()call
xb()call lb()call sb()call sb()call lb()call lb()call nb()call qb()call sb()call
vb()call xb()call dc()call fc()call ic()call kc()call oc()call qc()call tc()call
vc()call yc()call ac()call bc()call cc()call fc()call hc()call lc()call kc()call
mc()call oc()call qc()call sc()call uc()call wc()call yc()call dc()call hc()call
tc()call cc()call rc()call od()call qd()call ee()call re()call q3()call i3()call
y3()call uf()call qf()call wf()call ag()call lg()call lg()call pg()call tg()call
vg()call xg()call zg()call e6()call g6()call i6()call k6()call n6()call p6()call
v6()call x6()call z6()call a6()call c6()call e6()call g6()call k6()call p6()call
s6()call v6()call y6()call eh()call gh()call ih()call mh()call ph()call sh()call
vh()call yh()call ah()call bh()call ch()call eh()call gh()call ih()call jh()call
mh()call ph()call sh()call vh()call yh()call ei()call gi()call ii()call ki()call
ni()call qi()call ti()call wi()call zi()call pi()call zi()call hl()call pl()call
ll()call kl()call nl()call q1()call y1()call mj()call pj()call rj()call wj()call
ek()call hk()call sk()call uk()call wk()call zk()call tk()call km()call bm()call
xm()call en()call jn()call nn()call pn()call rn()call tn()call bn()call gn()call
mn()call vn()call no()call po()call ro()call wo()call eo()call n0()call p0()call
zp()call lp()call mp()call jq()call mq()call pq()call sq()call vq()call yq()call
aq()call cq()call dq()call fq()call hq()call lq()call kq()call mq()call qq()call
zs()call mu()call vw()call dy()call nz()call e64()call gy4()call ik4()call jz4()
call m04()call oe4()call qs4()call s94()call tr4()call vg4()call xv4()call zf4()
call at4()call bi4()call cy4()call ca4()call ce4()call cn4()call cy4()call ch4()
call ck4()call co4()call cu4()call cw4()call cy4()call cl4()call cv4()call cx4()
call c24()call dd4()call dg4()call dp4()call es4()call e24()call e_4()call fe4()
call fg4()call fn4()call fp4()call fv4()call fa4()call fb4()call fp4()call gf4()
call gi4()call gs4()call hf4()call hx4()call ha4()call hi4()call
hj4()call hs4()call hv4()call i84()call ie4()call ii4()call iw4()call ic4()call
il4()call ik4()call is4()call iu4()call le4()call ln4()call ly4()call la4()call
lb4()call ld4()call lf4()call lt4()call lx4()call lz4()call m74()call me4()call
mm4()call mr4()call mu4()call mc4()call mi4()call mj4()call mm4()call ms4()call
mu4()call mx4()call np4()call nj4()call og4()call ok4()call ox4()call oa4()call
ol4()call ok4()call ow4()call p84()call pe4()call pr4()call pu4()call px4()call
qn4()call qr4()call qd4()call qf4()call qk4()call qn4()call qq4()call qt4()call
rj4()call rt4()call rw4()call rc4()call ri4()call rj4()call rm4()call r04()call
rv4()call r_4()call se4()call sh4()call sk4()call st4()call sx4()call sa4()call
sb4()call s54()call sz4()call tf4()call tk4()call tq4()call tt4()call tw4()call
ty4()call ta4()call tg4()call tr4()call tu4()call ty4()call t_4()call ur4()call
uu4()call ux4()call ua4()call ub4()call uf4()call u14()call uo4()call up4()call
uw4()call vx4()call vl4()call vj4()call vx4()call vz4()call wf4()call wi4()call
wq4()call wt4()call wc4()call w34()call wl4()call wn4()call ws4()call wt4()call
w_4()call xv4()call xc4()call xh4()call xj4()call xu4()call y44()call y94()call
yp4()call yv4()call ya4()call ye4()call yi4()call yr4()call yw4()call z44()call
zp4()call zd4()call zg4()call zi4()call zo4()call dd7()call dk7()call do7()call
dr7()call dv7()call dy7()call da7()call dc7()call d67()call dl7()call d07()call
dt7()call d27()call e97()call em7()call ep7()call ea7()call ei7()call er7()call
f47()call fm7()call fy7()call fg7()call f07()call f27()call gi7()call gm7()call
gp7()call ga7()call gg7()call gi7()call hd7()call hm7()call hr7()call hx7()call
hh7()call iw7()call ii7()call iv7()call i_7()call js7()call jw7()call km7()call
kj7()call mr7()call mf7()call mj7()call m07()call mv7()call nh7()call no7()call
nv7()call o47()call om7()call oi7()call pt7()call pa7()call pu7()call qy7()call
qa7()call qh7()call q17()call qp7()call qy7()call r77()call re7()call rj7()call
ro7()call rt7()call rv7()call rx7()call ra7()call sn7()call sq7()call sy7()call
sa7()call sf7()call sq7()call ss7()call s27()call te7()call ts7()call tu7()call
te7()call tf7()call tq7()call ts7()call tw7()call u77()call ud7()call ui7()call
um7()call up7()call us7()call uv7()call uy7()call ua7()call u37()call up7()call
uv7()call uy7()call v47()call v97()call vo7()call vr7()call vb7()call vc7()call
vl7()call vk7()call vt7()call vw7()call v27()call w77()call wd7()call wg7()call
wu7()call wb7()call wl7()call wt7()call xe7()call xh7()call xq7()call xb7()call
xc7()call xe7()call xj7()call xm7()call x07()call xx7()call xz7()call yd7()call
yq7()call yv7()call ya7()call yc7()call yg7()call y17()call yn7()call yr7()call
yv7()call y27()call z77()call ze7()call zi7()call zm7()call zr7()call aa7()call
ak7()call ar7()call a47()call ah7()call aq7()call ay7()call at7()call b87()call
bw7()call ba7()call b87()call bz7()call c67()call cz7()call dn7()call e77()call
es7()call fb7()call gd7()call gk7()call ht7()call ig7()call in7()call lw7()call
lz7()call jp7()call k97()call kj7()call ls7()call lw7()call me7()call ni7()call
n07()call oy7()call p47()call pi7()call qp7()call qt7()call rc7()call sf7()call
sm7()call tv7()call t27()call ug7()call vm7()call vr7()call wa7()call x97()call
xj7()call ys7()call ym7()call zi7()call zg7()call d48()call di8()call ep8()call
et8()call fc8()call fw8()call gv8()call g08()call hy8()call i48()call ii8()call
j98()call jf8()call jm8()call ki8()call kg8()call ki8()call kk8()call kn8()call
kr8()call kv8()call k28()call m78()call md8()call ms8()call md8()call ml8()call
mo8()call mt8()call mz8()call ne8()call nm8()call nt8()call na8()call ne8()call
nl8()call no8()call nt8()call nz8()call oe8()call om8()call ot8()call oa8()call
oe8()call ol8()call oo8()call ot8()call p78()call pk8()call pv8()call pc8()call
p18()call pr8()call pz8()call qh8()call qs8()call qb8()call qh8()call q08()call
qx8()call re8()call rp8()call rz8()call rf8()call rm8()call ru8()call s88()call
sd8()call sn8()call s_8()call t78()call th8()call tc8()call ts8()call tt8()call
tv8()call tx8()call uh8()call uv8()call u38()call uo8()call u28()call vj8()call
vx8()call vg8()call vp8()call v_8()call wn8()call xa8()call xg8()call yu8()call
yx8()call ya8()call yb8()call yd8()call yo8()call yw8()call zd8()call zj8()call
zo8()call zr8()call zu8()call zx8()call za8()call zb8()call zd8()call zf8()call
zh8()call z18()call zl8()call zo8()call zq8()call z58()call zv8()call zy8()call
z_8()call a88()call ae8()call ah8()call ak8()call ao8()call au8()call aa8()call
ad8()call a58()call ak8()call ao8()call bm8()call bo8()call bu8()call by8()call
ba8()call b18()call bu8()call cm8()call cg8()call cw8()call eh8()call eo8()call
et8()call ew8()call ez8()call eb8()call ec8()call e38()call e68()call ej8()call
em8()call e08()call er8()call et8()call ew8()call e28()call f48()call f98()call
ff8()call fi8()call fp8()call fv8()call fa8()call fc8()call hb8()call he8()call
ht8()call ip8()call ib8()call ik8()call l48()call k88()call ki8()call ko8()call
kr8()call ku8()call kx8()call ka8()call kb8()call kd8()call kf8()call kh8()call
k18()call kn8()call kp8()call ks8()call ku8()call kx8()call kz8()call l78()call
ld8()call lg8()endfunctionfunction li8 takes nothing returns nothingcall
conditionaltriggerexecute(pn)endfunctionfunction lj8 takes nothing returns nothing
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(10),10)call forceplayerstartlocation(player(10),10)
call setplayercolor(player(10),convertplayercolor(10))call
setplayerracepreference(player(10),race_pref_human)call
setplayerraceselectable(player(10),false)call
setplayercontroller(player(10),map_control_computer)call
setplayerstartlocation(player(11),11)call forceplayerstartlocation(player(11),11)
call setplayercolor(player(11),convertplayercolor(11))call
setplayerracepreference(player(11),race_pref_human)call
setplayerraceselectable(player(11),false)call
setplayercontroller(player(11),map_control_computer)endfunctionfunction
initcustomteams takes nothing returns nothingcall 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(10),0)call
setplayerstate(player(10),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(10),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(10),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(10),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(10),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(10),true)call
setplayeralliancestateallybj(player(10),player(0),true)call
setplayeralliancestateallybj(player(10),player(1),true)call
setplayeralliancestateallybj(player(10),player(2),true)call
setplayeralliancestateallybj(player(10),player(3),true)call
setplayeralliancestateallybj(player(10),player(4),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(10),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(10),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(10),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(10),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(10),true)call
setplayeralliancestatevisionbj(player(10),player(0),true)call
setplayeralliancestatevisionbj(player(10),player(1),true)call
setplayeralliancestatevisionbj(player(10),player(2),true)call
setplayeralliancestatevisionbj(player(10),player(3),true)call
setplayeralliancestatevisionbj(player(10),player(4),true)call
setplayerteam(player(5),1)call
setplayerstate(player(5),player_state_allied_victory,1)call
setplayerteam(player(6),1)call
setplayerstate(player(6),player_state_allied_victory,1)call
setplayerteam(player(7),1)call
setplayerstate(player(7),player_state_allied_victory,1)call
setplayerteam(player(8),1)call
setplayerstate(player(8),player_state_allied_victory,1)call
setplayerteam(player(9),1)call
setplayerstate(player(9),player_state_allied_victory,1)call
setplayerteam(player(11),1)call
setplayerstate(player(11),player_state_allied_victory,1)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(5),player(11),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(6),player(11),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(7),player(11),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(8),player(11),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
setplayeralliancestateallybj(player(9),player(11),true)call
setplayeralliancestateallybj(player(11),player(5),true)call
setplayeralliancestateallybj(player(11),player(6),true)call
setplayeralliancestateallybj(player(11),player(7),true)call
setplayeralliancestateallybj(player(11),player(8),true)call
setplayeralliancestateallybj(player(11),player(9),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(5),player(11),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(6),player(11),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(7),player(11),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(8),player(11),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
setplayeralliancestatevisionbj(player(9),player(11),true)call
setplayeralliancestatevisionbj(player(11),player(5),true)call
setplayeralliancestatevisionbj(player(11),player(6),true)call
setplayeralliancestatevisionbj(player(11),player(7),true)call
setplayeralliancestatevisionbj(player(11),player(8),true)call
setplayeralliancestatevisionbj(player(11),player(9),true)endfunctionfunction lk8
takes nothing returns nothingcall setstartlocpriocount(0,3)call
setstartlocprio(0,0,1,map_loc_prio_low)call
setstartlocprio(0,1,3,map_loc_prio_high)call
setstartlocprio(0,2,4,map_loc_prio_high)call setstartlocpriocount(1,2)call
setstartlocprio(1,0,0,map_loc_prio_low)call
setstartlocprio(1,1,4,map_loc_prio_high)call setstartlocpriocount(2,2)call
setstartlocprio(2,0,3,map_loc_prio_low)call
setstartlocprio(2,1,4,map_loc_prio_high)call setstartlocpriocount(3,2)call
setstartlocprio(3,0,0,map_loc_prio_high)call
setstartlocprio(3,1,4,map_loc_prio_low)call setstartlocpriocount(4,4)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_low)call
setstartlocprio(4,3,3,map_loc_prio_low)call setstartlocpriocount(5,3)call
setstartlocprio(5,0,7,map_loc_prio_low)call
setstartlocprio(5,1,8,map_loc_prio_high)call
setstartlocprio(5,2,9,map_loc_prio_low)call setstartlocpriocount(6,3)call
setstartlocprio(6,0,7,map_loc_prio_low)call
setstartlocprio(6,1,8,map_loc_prio_high)call
setstartlocprio(6,2,9,map_loc_prio_low)call setstartlocpriocount(7,1)call
setstartlocprio(7,0,9,map_loc_prio_high)call setstartlocpriocount(8,4)call
setstartlocprio(8,0,5,map_loc_prio_high)call
setstartlocprio(8,1,6,map_loc_prio_high)call
setstartlocprio(8,2,7,map_loc_prio_high)call
setstartlocprio(8,3,9,map_loc_prio_high)call setstartlocpriocount(9,1)call
setstartlocprio(9,0,7,map_loc_prio_high)endfunctionfunction main takes nothing
returns nothinglocal weathereffect wecall setcamerabounds(-
9472.0+getcameramargin(camera_margin_left),-
10368.0+getcameramargin(camera_margin_bottom),6016.0-
getcameramargin(camera_margin_right),9216.0-getcameramargin(camera_margin_top),-
9472.0+getcameramargin(camera_margin_left),9216.0-
getcameramargin(camera_margin_top),6016.0-getcameramargin(camera_margin_right),-
10368.0+getcameramargin(camera_margin_bottom))call
setdaynightmodels("environment\\dnc\\dnclordaeron\\dnclordaeronterrain\\dnclordae
ronterrain.mdl","environment\\dnc\\dnclordaeron\\dnclordaeronunit\\dnclordaeronuni
t.mdl")call setwaterbasecolor(255,255,255,255)set we=addweathereffect(rect(-
9728.0,-10752.0,6656.0,9728.0),1380019314)call enableweathereffect(we,true)call
newsoundenvironment("default")call setambientdaysound("icecrownday")call
setambientnightsound("icecrownnight")call setmapmusic("music",true,0)call la()call
ta()call ma()call sa()call ja()call ka()call lh8()call li8()endfunctionfunction
config takes nothing returns nothingcall setmapname("trigstr_048")call
setmapdescription("trigstr_050")call setplayers(12)call setteams(12)call
setgameplacement(map_placement_teams_together)call definestartlocation(0,-
8960.0,8768.0)call definestartlocation(1,-8960.0,8768.0)call
definestartlocation(2,-8960.0,8768.0)call definestartlocation(3,-8960.0,8768.0)
call definestartlocation(4,-8960.0,8768.0)call definestartlocation(5,5504.0,-
5760.0)call definestartlocation(6,5504.0,-5760.0)call
definestartlocation(7,5504.0,-5760.0)call definestartlocation(8,5504.0,-5760.0)
call definestartlocation(9,5504.0,-5760.0)call definestartlocation(10,-
8960.0,8768.0)call definestartlocation(11,5504.0,-5760.0)call lj8()call
initcustomteams()call lk8()endfunction

S-ar putea să vă placă și