Allow bribes during native Basic response windows
This commit is contained in:
1 parent
de7fe7d64a
commit
812fe9d6e0
10 files changed
+346
-2
No files matched your search
@@ -118,7 +118,7 @@ export function cardPresentation(card: VisibleCard): CardPresentation {
|
||||
guidance: ecaz.summary,
|
||||
gameplay: ecaz.gameplay,
|
||||
availability: ecaz.card.effect === 'recruits'
|
||||
? 'Recruits has Revival controls in classic and selected Ix/CHOAM Basic/Advanced Worlds, optionally retaining original Tech3+ and Advanced Strongholds2+. Double current native free rates within the ordinary seven-force total; native unlimited allowances, typed deposits and special-force caps stay. Axlotl keeps its original once-per-phase trigger and delayed payout. Prior paid returns keep payment under the provisional no-refund policy. Pending transactions, unknown ledgers, later Fremen grants and replay remain guarded.'
|
||||
? 'Play during Revival to double current free revival rates and raise the ordinary force limit to seven. Unlimited faction allowances and special-force caps remain. If the physical card is recovered, it can be played again; each play provisionally doubles the rate again. A later Fremen allied grant can still be made. Earlier paid returns keep their payment; finish any pending transaction before playing.'
|
||||
: ecaz.card.effect === 'harassWithdraw'
|
||||
? 'Harass & Withdraw uses either battle-card slot and exact physical allocation after reveal, including classic and selected Ix/CHOAM Worlds with original Tech3+ and Advanced Strongholds2+. Return actual native types: Advanced Emperor normal to Kaitain/Sardaukar to Salusa; other natives to their original primary World. Never withdraw on any own World. Original commitment/support stays. Returns are not free revival or shipment. Own No-Field provisionally materializes first; Stone keeps its separate profile/allocation guards.'
|
||||
: 'Reinforcements uses either slot, including classic and selected Ix/CHOAM Basic/Advanced Worlds with original Tech3+ and Advanced Strongholds2+. Pay three original own reserves normal-first for +2 normal score, not support or physical tokens. Exact native sources seal when ambiguous; an own-World fee cannot also fund its dial, while original traits/face stay. Own No-Field must leave three before payment, including native World reserves; future Harass cannot fund it. Earned bank subsidy pays only actual support. Remaining profile guards and cost/order interpretations stay provisional.',
|
||||
|
||||
+44
-1
@@ -18243,12 +18243,19 @@ function bribePaymentPreservesPromises(g: Game, p: Player, recipient: string, am
|
||||
* advancing their pending state. Existing whole-promise planners retain their
|
||||
* original timing boundary until those compositions are implemented. */
|
||||
function basicBribeInterrupt(g: Game, p: Player): boolean {
|
||||
const battlePowerResponse = !!g.battle &&
|
||||
(g.response?.kind === 'voice' || g.response?.kind === 'prescience') &&
|
||||
// A mixed answer may or may not have a private residual promise. The
|
||||
// public interruption must not reveal which case its private fact created.
|
||||
!(g.mixedBattleQuestions ?? []).some(question => question.turn === g.turn && question.battle === g.battle?.event) &&
|
||||
!g.battle.truthPromises?.some(promise => !promise.released) &&
|
||||
!g.battle.traitorDecisionPromises?.length;
|
||||
if (g.status !== 'playing' || g.advanced ||
|
||||
g.inflation?.side === 'double' || g.techTokens || g.strongholdCards || g.leaderSkills ||
|
||||
g.homeworlds || g.nexusCards || g.discoveryEnabled || g.discoveries || g.discoveryStash || g.greatMaker || g.coalitionState ||
|
||||
g.ecazTreachery || g.semutaRecruitsPreview || g.truthtrance ||
|
||||
g.pendingKarama || g.pendingKull || g.pendingTreacheryDiscard || g.pendingNullentropy ||
|
||||
g.bureaucratPayments?.pending || g.battle || g.pendingRicheseGift || g.pendingShipment ||
|
||||
g.bureaucratPayments?.pending || g.battle && !battlePowerResponse || g.pendingRicheseGift || g.pendingShipment ||
|
||||
g.pendingGuildTransport || g.pendingArrivalOverlap || g.pendingAmbassador || g.pendingEmperorAuctionGift ||
|
||||
liveShipmentPromises(g.shipmentPromises ?? [], p.id, g.turn).length ||
|
||||
liveTravelPromises(g.travelPromises ?? [], p.id, g.turn).length ||
|
||||
@@ -18271,6 +18278,42 @@ function basicBribeInterrupt(g: Game, p: Player): boolean {
|
||||
const classic = ['atreides', 'beneGesserit', 'emperor', 'fremen', 'guild', 'harkonnen'];
|
||||
const nativeRoster = !g.expansions.length
|
||||
? g.players.every(seat => classic.includes(seat.faction)) : selectedPhaseModuleRoster(g);
|
||||
// These responses have no outstanding invoice: the original battle power
|
||||
// has been declared, the worm awaits its native outcome, or the shipment
|
||||
// was already paid before the Guild's income response opened. Keep the
|
||||
// original response, its passes and any committed arrival in place.
|
||||
const response = g.response;
|
||||
if (nativeRoster && !g.phaseOpening && !g.choamMarket && !g.ixAuction && response && !g.decision &&
|
||||
Array.isArray(response.passed) && new Set(response.passed).size === response.passed.length &&
|
||||
response.passed.every(id => g.players.some(seat => seat.id === id))) {
|
||||
const pending = Object.entries(g).filter(([key, value]) => key.startsWith('pending') &&
|
||||
(Array.isArray(value) ? value.length > 0 : value !== null && value !== undefined && value !== false));
|
||||
const owner = g.players.find(seat => seat.id === response.owner);
|
||||
if (battlePowerResponse && !pending.length && g.phase === 6 &&
|
||||
Object.keys(response).sort().join(',') === 'kind,owner,passed') {
|
||||
try {
|
||||
currentCombatResponseQuote(g, {kind:'response', response:{kind:response.kind as 'voice' | 'prescience',
|
||||
owner:response.owner}, canceled:false});
|
||||
return true;
|
||||
} catch (error) { if (error instanceof RuleError) return false; throw error; }
|
||||
}
|
||||
if (response.kind === 'wormSurvival' && !pending.length && !g.battle && g.phase === 1 &&
|
||||
owner?.faction === 'fremen' && !!response.location && at(owner, response.location) > 0 &&
|
||||
Object.keys(response).every(key => ['kind','owner','passed','location','recipient'].includes(key)))
|
||||
return true;
|
||||
const arrivals = g.pendingArrivalReaction;
|
||||
if (response.kind === 'guildIncome' && !g.battle && g.phase === 5 && owner?.faction === 'guild' &&
|
||||
Object.keys(response).sort().join(',') === 'amount,kind,owner,passed' &&
|
||||
Number.isSafeInteger(response.amount) && response.amount! > 0 &&
|
||||
pending.length === 1 && pending[0][0] === 'pendingArrivalReaction' && arrivals?.length === 1) {
|
||||
const arrival = arrivals[0], entrant = g.players.find(seat => seat.id === arrival.entrant);
|
||||
return arrival.turn === g.turn && arrival.phase === 5 && arrival.cause === 'shipment' &&
|
||||
arrival.resume === 'none' && arrival.entrant === g.active && !!entrant &&
|
||||
(entrant.forces[location(arrival.territory,arrival.sector)] ?? 0) >= arrival.amount &&
|
||||
arrival.amount > 0 && arrival.elite >= 0 && arrival.elite <= arrival.amount &&
|
||||
Object.keys(arrival).every(key => ['entrant','territory','sector','amount','elite','cause','resume','turn','phase'].includes(key));
|
||||
}
|
||||
}
|
||||
if (nativeRoster && !g.phaseOpening && !g.choamMarket && !g.ixAuction && basicPendingMovement(g)) return true;
|
||||
if (nativeRoster && !g.phaseOpening && !g.choamMarket && !g.ixAuction &&
|
||||
!Object.entries(g).some(([key, value]) => key.startsWith('pending') &&
|
||||
|
||||
@@ -302,6 +302,7 @@ export const RULE_TOPICS: RuleTopic[] = [
|
||||
'In supported classic Advanced games, the Emperor may share spice before a pending Guild shipment-rate response continues. Allowing or canceling the gift returns to the same rate decision and shipment.',
|
||||
'You may pay out of turn when no decision or response is pending, including during Mentat after opening collection. In supported Basic games with classic or selected native expansion factions, direct bribes can also interrupt a normal auction-payment decision, Atreides auction inspection, Fremen allied-revival grant, ordinary Fremen or Ixian movement response, or CHOAM movement decision. Supported Basic Ix and Moritani games also allow payments during the Amal opening or an Extortion choice. The original parent and its passes remain pending. You cannot bribe yourself or your ally, or while Inflation shows Double. Emperor gifts to allies use their own power controls.',
|
||||
'Supported clean Basic games also permit a direct bribe while a Fremen worm-ride choice or winner’s optional battle-card decision is pending. The decision and physical pieces remain in place, and the recipient collects the bribe at the original Mentat opening. Other interruption families and optional combinations remain partial.',
|
||||
'In supported clean Basic games, direct bribes can also interrupt Fremen worm survival, Voice or Prescience, or the Guild income response after an already-paid ordinary shipment. The original response, battle or shipment and its waiting arrival remain intact. Live battle promises and other pending combinations remain limited.',
|
||||
'Your payment limit excludes reserved spending and preserves binding Truthtrance answers. If an alliance, pending decision or available supply changes, recheck the recipient and amount. A rejected payment does not change the game.',
|
||||
'In the Basic group preview, group allies are excluded from ordinary bribes and nonallied deals. Existing agreements remain recorded and can be released; a deferred bribe to a newly allied recipient stays pending while it is unavailable, subject to its original deadline.',
|
||||
'A qualifying Bureaucrat may divert two spice to the Bank without reducing the payer’s cost. The remainder stays deferred. Unsupported combinations remain unavailable and do not imply an official rule prohibition.',
|
||||
|
||||
Reference in new issue
Block a user