Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Develop - Know the Terrain #3777

Closed

Conversation

marcsoiferman-cm
Copy link
Collaborator

@marcsoiferman-cm marcsoiferman-cm commented Dec 7, 2019

Closes #3760

Needs a ruling about when exactly in the conflict declaration the interrupt window for this opens.

@marcsoiferman-cm
Copy link
Collaborator Author

Needs testing to see what happens if all attackers becomes ineligible after this event is played but before the conflict officially starts

@marcsoiferman-cm marcsoiferman-cm changed the title SD - Know the Terrain SD - Know the Terrain (Needs Castigated to test) Dec 7, 2019
@coveralls
Copy link

coveralls commented Dec 7, 2019

Coverage Status

Coverage increased (+0.02%) to 88.063% when pulling 7902b98 on marcsoiferman-cm:sd-know-the-terrain into 0e3f82f on gryffon:develop.

context.player.isDefendingPlayer() &&
event.conflict.conflictProvince.location !== Locations.StrongholdProvince
},
target: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the card doesn't target, you need to use a selectCard action (or promptForSelect if you're using a handler)

@@ -1177,6 +1177,45 @@ class Player extends GameObject {
return this.anyEffect(EffectNames.EventsCannotBeCancelled);
}

switchProvinces(province1, province2) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be dealt with by moveCard

cardsInLocation2.push(province1);
}

getProvinceArray(location) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be dealt with by getSourceList

ringFate: ring.fate
})];

this.game.openEventWindow(events);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really the right way to do this - we need to make conflict declaration a proper event which can be interrupted and reacted to. We need to know where covert fits in to do it correctly though

@marcsoiferman-cm marcsoiferman-cm changed the title SD - Know the Terrain (Needs Castigated to test) SD - Know the Terrain (Waiting for Rulings) Dec 9, 2019
@marcsoiferman-cm marcsoiferman-cm changed the title SD - Know the Terrain (Waiting for Rulings) SD - Know the Terrain Dec 20, 2019
@marcsoiferman-cm marcsoiferman-cm changed the base branch from shojus-duty to develop January 6, 2020 22:36
@marcsoiferman-cm marcsoiferman-cm changed the title SD - Know the Terrain Develop - Know the Terrain Jan 6, 2020
Marc Soiferman added 2 commits January 18, 2020 16:43
… now:

1) Reactions to fate being taken (including a new event for Enlightened Warrior)
2) Province is revealed, if facedown, (interrupt window for Know the Terrain)
3) Reaction to conflict declaration

Had to update Enlightened Warrior as a result (he reacted to conflict declaration, rather than a ring with fate being chosen)
@marcsoiferman-cm
Copy link
Collaborator Author

Not sure how important this ruling actually is. The event works as expected now, based on the RAW. Updates for this required splitting taking ring fate and revealing the province, so the chat messages are re-arranged, I think.

@gryffon
Copy link
Owner

gryffon commented Jan 27, 2020

Closing in preparation of migration. Can be re-opened against new repository after migration if necessary.

@gryffon gryffon closed this Jan 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SD - Know the Terrain
4 participants