Negating the loss of capital
-
I want a power to be unaffected by the loss of a capital. I tried this code:
<attachment name="rulesAttachment" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="retainCapitalNumber" value="0"/> <option name="retainCapitalProduceNumber" value="0"/> </attachment>I received the error:
GameParseException: map name: 'file:/C:/Users/Roger/triplea/downloadedMaps/Hypothetical_Operations/games/Operation-Dandelion.xml', game name: 'Operation Dandelion', Missing property definition for option 'retainCapitalNumber' in attachment 'rulesAttachment'
What am I doing wrong?
-
Try
playerAttachmentinstead ofrulesAttachmentin bothnameandjavaClass. -
Thank you
-
@alkexr said in Negating the loss of capital:
Try
playerAttachmentinstead ofrulesAttachmentin bothnameandjavaClass.mcdvoiceThank you for the explanation. It is clear for me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login