-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow each armament to define ammo used #19362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as advertised. I wonder if we want to adjust the minelayer too:
OpenRA/OpenRA.Mods.Cnc/Activities/LayMines.cs
Line 150 in fe12995
pool.TakeAmmo(self, 1); |
You can also remove the testcase now.
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
fix gh actions
This allows modders to make certain weapons use more ammo from the same pool than others. Test case included: RA Longbow should be only able to fire half as many missiles against air as it does against ground, no unexpected changes with behavior of other use cases so far.