Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

3.1: Fix production of barbarian foot soldiers. They were classified as

heavy bodies, when factory only could produce light bodies. Closes ticket:3358
scavfact.js: Remove useless conversions to world coordinates. Closes ticket:3356
  • Loading branch information...
commit 951abc1cb8dd25c1147f7110301dcb805e6e62ce 1 parent 09c5d84
@perim perim authored
View
2  data/base/stats/body.txt
@@ -33,4 +33,4 @@ B3bodyRKbuggy01,Level One,LIGHT,3,80,900,100,exbugRK.PIE,50,1,2200,3,1,3,1,3,1,3
B3body-sml-buggy01,Level One,LIGHT,3,80,900,100,exbuggy.PIE,50,1,2200,3,1,3,1,3,1,3,1,3,1,3,1,0,0
B2RKJeepBody,Level One,LIGHT,4,75,900,120,EXjeepRK.PIE,50,1,2200,4,1,4,1,4,1,4,1,4,1,4,1,0,0
B2JeepBody,Level One,LIGHT,4,75,900,120,EXjeep.PIE,50,1,2200,4,1,4,1,4,1,4,1,4,1,4,1,0,0
-B1BaBaPerson01,Level All,HEAVY,1,20,100,29,EXBLOKE.PIE,50,1,125,1,1,1,1,1,1,1,1,1,1,1,1,0,0
+B1BaBaPerson01,Level All,LIGHT,1,20,100,29,EXBLOKE.PIE,50,1,125,1,1,1,1,1,1,1,1,1,1,1,1,0,0
View
4 data/mp/multiplay/script/scavfact.js
@@ -85,7 +85,7 @@ function eventGameInit()
makeComponentAvailable("BabaFlame", me);
makeComponentAvailable("BaBaMG", me);
attackGroup = newGroup(); // allocate a new group
- groupAddArea(attackGroup, 0, 0, (mapWidth * 128), (mapHeight * 128));
+ groupAddArea(attackGroup, 0, 0, mapWidth, mapHeight);
}
function eventStartLevel()
@@ -125,7 +125,7 @@ function eventAttacked(victim, attacker)
for (var i = 0; i < droidlist.length; i++)
{
var droid = droidlist[i];
- if (distBetweenTwoPoints(victim.x, victim.y, attacker.x, attacker.y) < (24 * 128))
+ if (distBetweenTwoPoints(victim.x, victim.y, attacker.x, attacker.y) < 24)
{
orderDroidLoc(droid, DORDER_MOVE, attacker.x, attacker.y);
}
View
2  data/mp/stats/body.txt
@@ -47,4 +47,4 @@ B3bodyRKbuggy01,Level One,LIGHT,3,80,900,100,exbugRK.PIE,50,1,2200,3,1,3,1,3,1,3
B3body-sml-buggy01,Level One,LIGHT,3,80,900,100,exbuggy.PIE,50,1,2200,3,1,3,1,3,1,3,1,3,1,3,1,0,0
B2RKJeepBody,Level One,LIGHT,4,75,900,120,EXjeepRK.PIE,50,1,2200,4,1,4,1,4,1,4,1,4,1,4,1,0,0
B2JeepBody,Level One,LIGHT,4,75,900,120,EXjeep.PIE,50,1,2200,4,1,4,1,4,1,4,1,4,1,4,1,0,0
-B1BaBaPerson01,Level All,HEAVY,1,20,100,29,EXBLOKE.PIE,50,1,125,1,1,1,1,1,1,1,1,1,1,1,1,0,0
+B1BaBaPerson01,Level All,LIGHT,1,20,100,29,EXBLOKE.PIE,50,1,125,1,1,1,1,1,1,1,1,1,1,1,1,0,0
Please sign in to comment.
Something went wrong with that request. Please try again.