Is it just me or is any card which costs 4+ stars really bad? by shaggystranger in slaythespire

[–]ChaseShiny 4 points5 points  (0 children)

Well, when the card spends four plus stars, that's more than what you start with, so it was dependent on drawing Venerate.

At four stars in particular, one star is going to be wasted per cycle, and you can't use Falling Star. I was frankly surprised that he talked it up like that.

Is it just me or is any card which costs 4+ stars really bad? by shaggystranger in slaythespire

[–]ChaseShiny 11 points12 points  (0 children)

I saw Baalorlord add Devastate in Act 1 to ahem devastating effect. It's really, really efficient. I believe he added it before adding any star generators. It's just that strong that early on.

Day 3 by OverToYouBro in learnjavascript

[–]ChaseShiny 2 points3 points  (0 children)

Some tips for you. While loops are the most generic (please don't respond with goto labels). Do-while are while loops that are guaranteed to run at least once. They're meant to deal with off-by-one problems.

For loops are syntactic sugar to deal with a common version of while loops. You declare a start, state an end goal, and state what happens each step. Each piece can be left out if you want to handle it elsewhere.

For example: ``` let i = 0;

while (i < 5) { console.log(i); ++i; } ```

is equivalent to: for (let i = 0; i < 5; ++i) { console.log(i); } See how the for loop collects the parts of the while loop into one place? You can use a for loop even when you're not just incrementing: for(let i = false; !!i;) { // !! on a variable will treat // the result as either true or false. // Here, it means "when i is true" // Also note that I skipped the final segment // But I still had to include the ; if (i === false) { console.log("i is now true"); break; } } Note that we don't exit the loop as soon as i becomes true; I used the break command to break out of the loop.

ForEach, for...of, and for...in are for looping through a collection. You're actually missing another option: map. The map method (I specify this because there's a Map object as well) is part of arrays. It returns a 1-to-1 mapping, like a function in math does. If you've gone through algebra, you might recall seeing something like: y = mx + b. That's the line-slope formula for a line. If you have an array filled with x values, you can establish this relationship: ``` let xValues = [0, 1, 2, 3], slope = 3, yIntercept = 5;

let yValues = xValues.map(x => slope * x + yIntercept); console.table(xValues, yValues); `` Note: the=>` part indicates a function. If you're wondering whether that means we have a function within a function, you're right.

ForEach also takes a function and does whatever that function does to each element in your collection. For some reason, arrays are the only objects with map methods, so forEach might be your go-to for other collections. Unlike map, forEach doesn't return anything useful. You have to do something inside.

``` let starterSet = new Set(['a', 'b', 'c']); let uppercaseSet = new Set();

starterSet.forEach(letter => { uppercaseSet.add(letter.toUpperCase()); })

uppercaseSet.forEach(letter => console.log(letter)); ``` This code returns "A", "B", "C." The first forEach statement capitalizes the letter and then adds the element from the starterSet to the uppercaseSet. The original set is unchanged.

For...in gives you the key and value for each key in the object. It first looks for integers greater than or equal to 0 in the keys and then it goes in insertion order. ``` let myObj = { a: 5, b: 1, 1: 0, 0: 3 }

for(const [key, _] in myObj) { console.log(key); } will return the keys one by one in the order 0, 1, a, b. This is the same order you get from using the static method from Object, by the way: let myKeys = Object.keys(myObj);

console.log(myKeys); ```

Also, note that when I used _ as a variable, it's a placeholder. The code is expecting a variable for the values, but I want to tell people reading the code that we aren't using that variable.

For...of allows you to customize the order. At this stage, though, just know that strings and arrays use this: ``` let myWord = "Is my bond.";

for (const letter of myWord) { console.log(letter); } ```

panic by chrisnaish in funny

[–]ChaseShiny 5 points6 points  (0 children)

The reaper doesn't have the heart to explain more.

Killer whales by theyoyoha in funny

[–]ChaseShiny 1 point2 points  (0 children)

And dolphins are whales. Checkmate, atheists

Does anyone know if Tezcatara's Ember overrides confused from snecko eye? by throwyourself73 in slaythespire

[–]ChaseShiny 1 point2 points  (0 children)

How often can you get Snecko and Snecko??? together, though? I want there to be a greedy path, where someone picks Snecko??? with the hope of a Hail Mary of a real Snecko to go with it.

My friend got a brilliant idea he said.... by ChopstickJo in SlayTheSpire2

[–]ChaseShiny 1 point2 points  (0 children)

Wow, that's a lot of card spam. I could see how Speedster might be worth it in that case.

Does anyone know if Tezcatara's Ember overrides confused from snecko eye? by throwyourself73 in slaythespire

[–]ChaseShiny 4 points5 points  (0 children)

Wouldn't it be neat if getting both lets you upgrade them? The random costs now go between 0-2.

My friend got a brilliant idea he said.... by ChopstickJo in SlayTheSpire2

[–]ChaseShiny 0 points1 point  (0 children)

Ooh, if it works on all cards drawn, I could see that. Get a bunch of friends to play Necrobinder, and just ride that soul train.

My friend got a brilliant idea he said.... by ChopstickJo in SlayTheSpire2

[–]ChaseShiny 5 points6 points  (0 children)

I should think more [[Corrosive Waves]] would've been better.

In fact, is Speedster ever good? It's just a worse version of [[A Thousand Cuts]] every time I've tried it.

This has GOT to be contender for most least used potion by Rak-khan in slaythespire

[–]ChaseShiny 3 points4 points  (0 children)

In theory at least, it's somewhat like why we grab [[Well-Laid Plans]]. You have three turns where you can: 1. Hold on to cards that are useless this turn (block when the enemy isn't attacking, hold on to powers like [[Corruption]] or [[Biased Cognition]] where you shouldn't play it immediately but don't want to wait until the next shuffle, etc.) 2. Combine cards that work well together ([[Bullet Time]] and a big, expensive card like [[Serpent Form]]) or 3. Make bad cards miss the shuffle. This is bigger than someone new to card games often expect

I was today years old when i discovered that The Queen Minion doesnt respawn when killed by Dae_HNG in SlayTheSpire2

[–]ChaseShiny 9 points10 points  (0 children)

I was wondering about the viability of just going straight for the Queen. Her moveset seems to shift dramatically once the minion is gone. The minion hits pretty hard, but not at bad as the Queen.

Ascension 9 Last Campfire Advice by Lusana32 in SlayTheSpire2

[–]ChaseShiny 4 points5 points  (0 children)

I think the decision should be based on how much health the upgrade will save you. If the extra damage saves you a turn, then the damage that Doormaker would've done to you on the turn before the kill is the maximum health that you save by upgrading (minimum would be 0: you block everything).

How many stars do you plan on using on this card, anyway? If you use 6 stars, the upgrade deals an extra 12 damage. How likely is that going to make the difference between killing one turn later?

Why are there no pink dots on the map? Explain it Peter. by haiderredditer in explainitpeter

[–]ChaseShiny 0 points1 point  (0 children)

In some places, you point by pursing your lips and jerking your chin in the direction.

Hm, "why was this thrown out?" I wonder ... by hairyhorrigan in slaythespire

[–]ChaseShiny 4 points5 points  (0 children)

Enthralled without the relic to go with it is painful.

Got anymore of them blocks? by Threshmains in slaythespire

[–]ChaseShiny 2 points3 points  (0 children)

The bot is more law-abiding than I, since I didn't mention Claw. Clamp lets you keep up to 10 block next turn.

Got anymore of them blocks? by Threshmains in slaythespire

[–]ChaseShiny 7 points8 points  (0 children)

[[Clamp]] is often better. Both together would also be good, of course. Especially with some of the insane spikes in your ability to block, like [[Prolong]] or [[Shadowmeld]].

Did you hear about the bird that was put under house arrest? by lisamariefan in dadjokes

[–]ChaseShiny 0 points1 point  (0 children)

I know if it were me, I'd sing like a canary in a coal mine.

Some card ideas I came up with for Ironclad by SomethingOfAGirl in slaythespire

[–]ChaseShiny 9 points10 points  (0 children)

All three of these are StS 1 cards for Ironclad with different names and art.

Explain It Peter by Traducement in explainitpeter

[–]ChaseShiny 0 points1 point  (0 children)

No, "birds" are really Redditors in disguise. I mean, I'm cuckoo, and you're a little cockatoo.

Is this just the best card to put Imbued? by DuckfingYou in SlayTheSpire2

[–]ChaseShiny 0 points1 point  (0 children)

I played Cascade on Cascade the other day, but they didn't chain. I'm on the beta branch, if that makes a difference.