Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand GetPlayerTechCount #77

Open
Luashine opened this issue Oct 5, 2022 · 1 comment
Open

Expand GetPlayerTechCount #77

Luashine opened this issue Oct 5, 2022 · 1 comment

Comments

@Luashine
Copy link
Collaborator

Luashine commented Oct 5, 2022

"Daratrix" on Discord:

just finished testing it and it does that exactly, but thank you for that resource!
And it also ignores dead units, perfect 👌

dead with corpses is ignored?
Seems like it
Although is seems to not behave correctly with building currently being upgraded
A building being upgraded counts toward its equivalent dependency count and not itself, even it is not yet unlocking the related tach, that's an odd quirk
Might be related to the fact I'm an older version though

  1. Dead/Corpses missing from description
  2. Buildings during upgrade
  3. There was also a video / bug report made recently where v1.33 tech requirements on 2 different unit types only need ONE of them to be enabled. Posted on blz forums and Hive
@WaterKnight
Copy link
Contributor

  1. A building being upgraded counts toward its equivalent dependency count and not itself, even it is not yet unlocking

Test map? I have some counter indication but not sure I did it as meant.
GetUnitTypeId returns the type being upgraded into, by the way.

  1. Seems like it only considers the first tech item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants