summary: Better Damage Round to stop fractional damage --> Faction Specific Armor/Shield/Ammo Acti/Effects
Description has changed:
Diff:
--- old+++ new@@ -1,3 +1,3 @@-https://sourceforge.net/u/vanoi/dropshock/ci/2f560482d029c10356516a38bed0e0f56ff4a844/+https://sourceforge.net/u/vanoi/dropshock/ci/3d981cfd1dcb3c151292ea0655239c43ede1e76c/-Stops damage numbers like 40.25 coming out on units like Ares, just an improvement to damage rounding. +Things like resupply depots and command armour repair are now faction specific (so enemies can't stack on you and get stuff)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,3 +1,2 @@-https://sourceforge.net/u/vanoi/dropshock/ci/3d981cfd1dcb3c151292ea0655239c43ede1e76c/-+https://sourceforge.net/u/vanoi/dropshock/ci/27305ee76f37ec4c44ed5908d265cf006045c40d/
Things like resupply depots and command armour repair are now faction specific (so enemies can't stack on you and get stuff)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,2 +1,2 @@-https://sourceforge.net/u/vanoi/dropshock/ci/27305ee76f37ec4c44ed5908d265cf006045c40d/+https://sourceforge.net/u/vanoi/dropshock/ci/81712bb73d14d7037b6085076376a594d1449650/
Things like resupply depots and command armour repair are now faction specific (so enemies can't stack on you and get stuff)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,2 +1,2 @@-https://sourceforge.net/u/vanoi/dropshock/ci/81712bb73d14d7037b6085076376a594d1449650/+http://sourceforge.net/u/vanoi/dropshock/ci/766b89362926c348d5c0b966aad2546365213b1b/
Things like resupply depots and command armour repair are now faction specific (so enemies can't stack on you and get stuff)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Code doesn't work:
It's treating $user & $unitdata arrays as objects, this gives NULL values
https://sourceforge.net/u/vanoi/dropshock/ci/27305ee76f37ec4c44ed5908d265cf006045c40d/
Recoded.
Diff:
Diff:
Still not right:
Make the commit from scratch, there was a conflict when I tried to merge this because it didn't take into account the revert.
$unitdata isn't being accessed correctly, it's an associative array by unitIds ... you'd access it with:
$unitdata[SOME_UNIT_ID_HERE]["i_owner"] ... doing $unitdata["i_owner"] = NULL
(see other examples in-code)
Diff:
I have no freakin' idea what I was doing lol... This should do it.