Skip to content

Commit a428ae9

Browse files
committed
wip: 新効果の「やる気減少1」がある
1 parent a8529f3 commit a428ae9

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

src/data/producer-items.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,6 +1802,47 @@ export const producerItemsAsConst = [
18021802
},
18031803
},
18041804
},
1805+
{
1806+
id: "sutairisshumodo",
1807+
name: "スタイリッシュモード",
1808+
producerItemPossessionKind: "logic",
1809+
producerItemProviderKind: "idol",
1810+
rarity: "ssr",
1811+
base: {
1812+
condition: {
1813+
kind: "countModifier",
1814+
modifierKind: "motivation",
1815+
range: { min: 3 },
1816+
},
1817+
effects: [
1818+
{
1819+
kind: "getModifier",
1820+
modifier: { kind: "motivation", amount: 3 },
1821+
},
1822+
],
1823+
times: 3,
1824+
trigger: {
1825+
kind: "turnStart",
1826+
},
1827+
},
1828+
enhanced: {
1829+
condition: {
1830+
kind: "countModifier",
1831+
modifierKind: "motivation",
1832+
range: { min: 3 },
1833+
},
1834+
effects: [
1835+
{
1836+
kind: "getModifier",
1837+
modifier: { kind: "motivation", amount: 3 },
1838+
},
1839+
],
1840+
times: 4,
1841+
trigger: {
1842+
kind: "turnStart",
1843+
},
1844+
},
1845+
},
18051846
{
18061847
id: "etainoshirenaimono",
18071848
name: "得体の知れないモノ",

src/text-generation.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,14 @@ describe("generateProducerItemDescription", () => {
13991399
"(レッスン内2回)",
14001400
].join("\n"),
14011401
},
1402+
{
1403+
producerItemId: "sutairisshumodo",
1404+
expected: [
1405+
"ターン開始時{{やる気}}が3以上の場合、{{好印象}}+3",
1406+
"{{やる気減少}}1",
1407+
"(レッスン内3回)",
1408+
].join("\n"),
1409+
},
14021410
];
14031411
test.each(testParameters)(
14041412
'$producerItemId => "$expected"',

0 commit comments

Comments
 (0)