|
|
|
|
@ -1,30 +1,30 @@
@@ -1,30 +1,30 @@
|
|
|
|
|
export const RELICS = { |
|
|
|
|
mech_kb: { |
|
|
|
|
id: "mech_kb", name: "Kinesis", |
|
|
|
|
kinesis: { |
|
|
|
|
id: "kinesis", name: "Kinesis", |
|
|
|
|
text: "+1 card draw each turn.", |
|
|
|
|
art: "Monk_29.png", |
|
|
|
|
hooks: { onTurnStart: (ctx) => ctx.draw(1) } |
|
|
|
|
}, |
|
|
|
|
standing_desk: { |
|
|
|
|
id: "standing_desk", name: "Vim Motions", |
|
|
|
|
vim_motions: { |
|
|
|
|
id: "vim_motions", name: "Vim Motions", |
|
|
|
|
text: "+10 Max HP.", |
|
|
|
|
art: "Monk_30.png", |
|
|
|
|
hooks: { onRunStart: (ctx) => { ctx.player.maxHp += 10; ctx.player.hp += 10; } } |
|
|
|
|
}, |
|
|
|
|
prime_hat: { |
|
|
|
|
id: "prime_hat", name: "VS Code", |
|
|
|
|
vs_code: { |
|
|
|
|
id: "vs_code", name: "VS Code", |
|
|
|
|
text: "-10% damage taken.", |
|
|
|
|
art: "Monk_31.png", |
|
|
|
|
hooks: { onDamageTaken: (ctx, dmg) => Math.ceil(dmg * 0.9) } |
|
|
|
|
}, |
|
|
|
|
coffee_thermos: { |
|
|
|
|
id: "coffee_thermos", name: "Terminal Coffee Thermos", |
|
|
|
|
terminal_coffee_thermos: { |
|
|
|
|
id: "terminal_coffee_thermos", name: "Terminal Coffee Thermos", |
|
|
|
|
text: "Start each fight with Coffee Rush.", |
|
|
|
|
art: "Monk_32.png", |
|
|
|
|
hooks: { onBattleStart: (ctx) => { ctx.player.energy += 2; ctx.log("Your coffee thermos provides an energizing boost!") } } |
|
|
|
|
}, |
|
|
|
|
cpp_compiler: { |
|
|
|
|
id: "cpp_compiler", name: "Haskell", |
|
|
|
|
haskell: { |
|
|
|
|
id: "haskell", name: "Haskell", |
|
|
|
|
text: "First attack each turn deals double.", |
|
|
|
|
art: "Monk_33.png", |
|
|
|
|
state: { used: false }, |
|
|
|
|
@ -33,8 +33,8 @@ export const RELICS = {
@@ -33,8 +33,8 @@ export const RELICS = {
|
|
|
|
|
onPlayerAttack: (ctx, st, amount) => st.used ? amount : (st.used = true, amount * 2) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
chat_mod_sword: { |
|
|
|
|
id: "chat_mod_sword", name: "Worst Streamer Award", |
|
|
|
|
worst_streamer_award: { |
|
|
|
|
id: "worst_streamer_award", name: "Worst Streamer Award", |
|
|
|
|
text: "Start fights with 1 Weak on all enemies.", |
|
|
|
|
art: "Monk_34.png", |
|
|
|
|
hooks: {
|
|
|
|
|
@ -46,4 +46,4 @@ export const RELICS = {
@@ -46,4 +46,4 @@ export const RELICS = {
|
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
export const START_RELIC_CHOICES = ["mech_kb", "standing_desk", "prime_hat", "coffee_thermos", "cpp_compiler", "chat_mod_sword"]; |
|
|
|
|
export const START_RELIC_CHOICES = ["kinesis", "vim_motions", "vs_code", "terminal_coffee_thermos", "haskell", "worst_streamer_award"]; |
|
|
|
|
|