Hi there,
I'm working on a unit type with a carrier-like attack. This attack works fine alone.
Then there should be an upgrade. With that upgrade the attack permenently changes to a broodlord-like style. That attack also works fine alone.
When I give all four abilities (2 times Hangar + 2 times queue) the broodlord attack seems to be superior. When i remove the broodlord - hangar ability, the attack changes to carrier-style. So all i have to do is to remove that ability by upgrade.
Since I didn't find any upgrade effect like "Unit - Add ability", I tried to work with behaviours ("Buff - Activate Abilitiy" and "Buff- Deactivate Behaviour") and validators checking the status of the Upgrade. Doesn't work. Any ideas?
Problem solved. Broodlord Ability was superior because of the "extern" flag.
Adding that flag to the carrier ability allows the use of both abilities simultaniously.
Just for the record, you add or remove abilities to a unit via upgrades by making a requirement that requires that upgrade then adding that requirement to the ability directly (not the command card, requirements there are for visual purposes only).
Just for the record, you add or remove abilities to a unit via upgrades by making a requirement that requires that upgrade then adding that requirement to the ability directly (not the command card, requirements there are for visual purposes only).
No, that's only deactivating the ability until the upgrade is researched. That way you would have to give the (disabled) ability to the unit or am i getting something wrong?
I can't find any requirements or validators for abilities, only for ability commands.
Hi there, I'm working on a unit type with a carrier-like attack. This attack works fine alone. Then there should be an upgrade. With that upgrade the attack permenently changes to a broodlord-like style. That attack also works fine alone.
When I give all four abilities (2 times Hangar + 2 times queue) the broodlord attack seems to be superior. When i remove the broodlord - hangar ability, the attack changes to carrier-style. So all i have to do is to remove that ability by upgrade. Since I didn't find any upgrade effect like "Unit - Add ability", I tried to work with behaviours ("Buff - Activate Abilitiy" and "Buff- Deactivate Behaviour") and validators checking the status of the Upgrade. Doesn't work. Any ideas?
I just can't see it atm.
@MaNtEc0r: Go
Problem solved. Broodlord Ability was superior because of the "extern" flag. Adding that flag to the carrier ability allows the use of both abilities simultaniously.
Just for the record, you add or remove abilities to a unit via upgrades by making a requirement that requires that upgrade then adding that requirement to the ability directly (not the command card, requirements there are for visual purposes only).
No, that's only deactivating the ability until the upgrade is researched. That way you would have to give the (disabled) ability to the unit or am i getting something wrong?
I can't find any requirements or validators for abilities, only for ability commands.
Well you always have to give the disabled ability to a unit first no matter what method of showing the ability you use.
You attach the requirement to the ability command, and set the command's state to "Restricted".