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

AbilityId.MORPH_LIBERATORAGMODE not working #189

Open
Felixvillas opened this issue Jan 28, 2024 · 2 comments
Open

AbilityId.MORPH_LIBERATORAGMODE not working #189

Felixvillas opened this issue Jan 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Felixvillas
Copy link

Hi~

I want to switch the LIBERATOR to the state where they can attack ground units. Here is my python code.

# unit.type_id == UnitTypeId.LIBERATOR
unit(AbilityId.MORPH_LIBERATORAGMODE, target)  # cannot working
# unit(AbilityId.MORPH_LIBERATORAGMODE)  # still cannot working 

Both of them cannot work.
It's bug or it's my error?

@BurnySc2
Copy link
Owner

Hello,
is the target a unit or a position?
According to

UnitTypeId.LIBERATOR: {
AbilityId.ATTACK_ATTACK, AbilityId.HOLDPOSITION_HOLD, AbilityId.MORPH_LIBERATORAGMODE, AbilityId.MOVE_MOVE,
AbilityId.PATROL_PATROL, AbilityId.SMART, AbilityId.STOP_STOP
it is the correct abilityID

@Felixvillas
Copy link
Author

Hello, is the target a unit or a position? According to

UnitTypeId.LIBERATOR: {
AbilityId.ATTACK_ATTACK, AbilityId.HOLDPOSITION_HOLD, AbilityId.MORPH_LIBERATORAGMODE, AbilityId.MOVE_MOVE,
AbilityId.PATROL_PATROL, AbilityId.SMART, AbilityId.STOP_STOP

it is the correct abilityID

Yes. I tried passing the unit or position as target parameters, but both of them didn't work.

@BurnySc2 BurnySc2 added the bug Something isn't working label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants