From f1c776e1a305b40451b2e66410beeb904f53a3ef Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 30 Jun 2015 23:03:47 +0200 Subject: [PATCH] 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. --- sc-units-bw.inc.pl | 10 +++++----- sc.plp | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) 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 +.
<: -- 2.30.0