From: Mischa POSLAWSKY Date: Tue, 30 Jun 2015 21:03:47 +0000 (+0200) Subject: sc: convert to fast bw seconds for sc2 compatibility X-Git-Tag: v1.8~74 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/f1c776e1a305b40451b2e66410beeb904f53a3ef?hp=6962abaabd527e65ec7f6e719ec2a42ef1f5fadb sc: convert to fast bw seconds for sc2 compatibility Unit speeds match only if "Fast" speed of 56ms frames is used instead of more commonly used "Fastest" of 42ms. Affects dps calculations as well, also better matching StarCraft 2 in-game seconds. --- diff --git a/sc-units-bw.inc.pl b/sc-units-bw.inc.pl index 74cfba0..196be63 100644 --- a/sc-units-bw.inc.pl +++ b/sc-units-bw.inc.pl @@ -1,11 +1,11 @@ use utf8; use strict; -# time in fastest game seconds -my $FPS = 24; # frames per second -# toss shield += .65 per second -# zerg regen += .37 per second -my $SM = .555; # pixels per frame to tiles per second multiplication +my $FPS = 1000 / 56; # frames per second on fast +# energy += 8HP/frame ≈ .74 per second +# toss shield += 7HP/frame ≈ .65/s +# zerg regen += 4HP/frame ≈ .37/s +my $SM = $FPS / 32; # pixels per frame to tiles per second multiplication [ 'version≥1.08', diff --git a/sc.plp b/sc.plp index 5f18477..ac78eb6 100644 --- a/sc.plp +++ b/sc.plp @@ -450,7 +450,8 @@ if ($scver{major} > 1) {
attack
damage given per single hit
dps indicates relative amount of damage - done in 1 second of in-game time + done in 1 second of <:= $scver{major} > 1 ? 'Normal in-game time' : + 'time on Fast game speed' :>
splash damage hits all objects nearby ⁜ or in a straight line +.
<: