- Joined
- Aug 11, 2009
- Messages
- 6,528
I already know what my score is c:
So its too late to join then?
Prepare for? if start before the contest it's cheating,so we're not allowed to post itIf you know what theme it will be, post it So i can be prepared!
if IsUnitInGroup(u2,Tossed.Affected) then
call Tossed.Change(u2,R[2],R[1],R[3],R[4],SETargetAttachEffect,SETargetEffect)
else
call Tossed.Create(u2,R[2],R[1],R[3],R[4],SETargetAttachEffect,SETargetEffect)
endif
25.5?!
Woho, I didn't know I was that good.
er... it only used the UnitUserData for dummy for the 'first explosion' effect, and if i make a separate unit indexer or struct for it, it can easily surpass the 8192 limit.-1 for UnitUserData which makes your spell difficult to import for people who use that for other things. A hashtable or use of a unit indexer would have been better here.
it is? dang. I'm so outdated.Destroying boolexprs is no longer needed since patch 1.24 or so.
well, i just dislike it to see many temp real variable hangin' in declaration line. The temp real itself is optional though. But done to make reading it easier. Maybe I should just use that many temp real variable...Using a real array for the temp values is a lot slower than using scalar variables.
Btw after casting 1000 needles awhile my war3 crashed and the spell stops awhile after i casted it again while the caster is shooting (Cast it on yourself or your portrait)
I think for the next contest we should have multiple judges or perhaps a poll (and an award icon).
It's obscure bugs like this that suggest to me that there should be more than one person reviewing for errors and quality testing.
..which is a zephyr challenge.I think for the next contest we should have multiple judges or perhaps a poll (and an award icon).
set .dist=SquareRoot(Pow(GetUnitX(.cast)-GetSpellTargetX(),2)+Pow(GetUnitY(.cast)-GetSpellTargetY(),2))
if .dist<=0. then
set .dist=100.
endif