View Full Version : Zealot's Attack: 16 or 32?
Merlinqxg
03-15-2004, 7:24 AM
I've always wondered about this while I watch my (or someone else's) zealots attack something. The in-game stats say that their attack is 16, but when I watch the opponent's health, their hp goes down twice; once for each swipe (since zealots always make two swipes and then they have their cooldown). So MY question: is each swipe 8 or 16? I would have thought it would have made the most sense to be 8, but from watching my zergling explode with 2 zealots....
assassin_666
03-15-2004, 8:52 AM
each swipe is 8 damage for a total of 16 and a zlot killz a ling in 3 hits but if he has more attack then you have d its 2 hits.so lesson of the day is dont let p getting attack ups for its zlots without you matching it with your own d
Merlinqxg
03-15-2004, 9:05 AM
thanks. I imagine they don't have any size ratio damage modifiers, either, eh?
BSTRhino
03-15-2004, 6:28 PM
No, Zealots do a normal attack. Lucky them.
Ark-templarius
03-15-2004, 6:34 PM
Because it is a two swipe attack, they sometimes only do eight damage because the other one misses somehow. This is not true for Firebats, however, because their "double attack" is at the same time.
Merlinqxg
03-16-2004, 3:31 PM
I wasn't familiar with the "double" attack from the Firebat. Is that really the case? It makes sense, but it diminishes their attack from what I thought it was. Is this phenomena present in other units, like Goliaths?
BSTRhino
03-16-2004, 3:48 PM
Right... I'm a StarCraft iscript programmer, which means I've basically seen and modified the programming of StarCraft's units.
Firebats attack three times. Only a few weeks ago I discovered that they actually attack at three different distances. So... if you look at a firebat's flame, there are actually three points along the flame which are the hottest parts and cause damage. If you stand right in the middle one, you can be hit by all three.
And contrary to what TemplarTenshi said, the attacks are actually done in quick succession, not all at the same time. But, I believe they never miss because of the splash damage they do.
If you want to see the programming code for the firebat, I can fish it out for you on the weekend when I have more time.
Ark-templarius
03-16-2004, 4:10 PM
Must be a quicker succession than the Zealot then.
Yeah, it is three hits. That was a careless mistake on my part. :/
You can see it in the editor as well.
Max hits: X
The X variable is how many times the unit can be hit. This also explains why in the editor the attack is * +1X. That means it's 8 per hit and 1 per up. In game, though, it shows 16 + 2X. The reason for this is the 'Max hits 2. That means double your number, and you got it. This is also present in the Goliath air shot missles. They have the same Damage modifier. The only thing I don't get it, is that in the editor, it says 3 hit max for Firebats, but they get double damage. Shouldn't it be triple? BST, if you wouldn't mind clearing that one up for me, please do, of course when you have time! ^.^
~Larry "Geno" Meyers
BSTRhino
03-16-2004, 6:00 PM
Well, I don't know if you really care about all the little scary details.
The short answer is, max hit is only displayed in StarEdit. In-game, weapon damages are multiplied by some other number from a different source.
It's interesting you ask, because Zealots and Firebats are the only two units that have their attack values doubled from some long lost coding somewhere. Must be from a previous version.
You forgot Goliath Anti Air missles. They are doubled as well... o.O
~Larry "Geno" Meyers
--Edit-- Almost forgot one of my best friends, the Scout's missles! ^.^ Those are doubled as well.
BSTRhino
03-16-2004, 6:14 PM
lol, no no, I didn't forget those, I was just trying to make my explanation simple.
It's interesting you ask, because Zealots and Firebats are the only two units that have their attack values doubled from some long lost coding somewhere. Must be from a previous version
What I meant there is, Zealots and Firebat values are two exceptions. Their attack values are doubled because of hard-coding.
However, scouts and goliath damage values are doubled because of the data files, and that's different from hard-coding.
So, there's two different reasons for them both. It was a pointless fact, I guess I could've just skipped out the part where I drew a line between hard-coding and soft-coding values. I don't know why Blizzard made the Zealot and Firebat units more complicated than needed, but that's what they did.
BroodBoy
07-03-2004, 11:23 PM
firebat has three hits, well that makes sense. \I/ yea i get it. well people wont even read this oh well
Sambo83
07-04-2004, 2:48 AM
so lesson of the day is dont let p getting attack ups for its zlots without you matching it with your own d
Zealot 1-0 kills a zergling 0-1 in 2 hits.
TF-Sasuke
07-04-2004, 3:57 PM
if you mean zealots with attack upgrade kills lings with armor upgrade in 2 hits then no, they dont.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.