fix(catan): correct ship placement to use edge coordinates
fix(dominion): increase Platinum cost in Prosperity expansion - Update Catan ship placement logic to calculate destination using edge positions like roads - Adjust Dominion Prosperity expansion Platinum card cost from 5 to 9 coins for balance
This commit is contained in:
parent
9dbf3feae4
commit
2958de16ce
|
|
@ -2124,7 +2124,7 @@ export default class CatanGame extends Phaser.Scene {
|
|||
this.busy = true;
|
||||
this.clearHighlights();
|
||||
this.placeMode = null;
|
||||
const dest = type === 'road' ? this.edgePos(id) : this.nodePos(id);
|
||||
const dest = (type === 'road' || type === 'ship') ? this.edgePos(id) : this.nodePos(id);
|
||||
enqueueSpeech(`catan-purchase-${type}`);
|
||||
await this.animateCostPayment(0, type);
|
||||
await this.animatePiecePlacement(0, type, dest.x, dest.y);
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const d = (id, frame, cost, types, extra = {}) =>
|
|||
// ── Card table ──────────────────────────────────────────────────────────────
|
||||
const CARD_DEFS = [
|
||||
// Basic cards (added to the supply whenever Prosperity is in play).
|
||||
d('platinum', 0, 5, ['treasure'], { name: 'Platinum', coin: 5, text: 'Worth 5 Coins.' }),
|
||||
d('platinum', 0, 9, ['treasure'], { name: 'Platinum', coin: 5, text: 'Worth 5 Coins.' }),
|
||||
d('colony', 1, 11, ['victory'], { name: 'Colony', vp: 10, text: 'Worth 10 Victory Points.' }),
|
||||
|
||||
// $3
|
||||
|
|
|
|||
Loading…
Reference in New Issue