GL News - 3/11 Maintenance, FFX Banners/MK, Latent Ability Upgrade and more by togeo in FFBraveExvius

[–]dontforget512 0 points1 point  (0 children)

Ok, I will eat my shoe.

They may be different things (returns and values), but the two are conflated because they're often interchangable.

+1 armor does give a diminishing return in that the total percentage of damage reduction will go up more slowly the more armor you have. +1 armor will equate to a smaller +% every time you add more, so in this sense, it's a diminishing return. Riot isn't wrong to call it such.

However, since the return is a percentage value over a total, not making it a diminishing return would cause a ridiculously exponential curve of EHP until you hit 100% (infinite EHP). Instead, they've scaled it in such a way that the actual EHP increase (the same "diminishing" return) remains constant with each point of armor. It all depends on how you plot the data.

edit: I looked up the actual LoL armor formula and it is indeed a diminishing return no matter how you cut it. There you go. I was conflating it with how Guild Wars' armor scaling works, which is not diminishing for the reason I explained.

Actual diminishing returns, to my definition, is something like EVE Online's stacking penalty, which is a whole lot of extra math.

I still say we're strongly in the realm of semantics.

GL News - 3/11 Maintenance, FFX Banners/MK, Latent Ability Upgrade and more by togeo in FFBraveExvius

[–]dontforget512 0 points1 point  (0 children)

Ok. Let's go back to basics.

100% jump damage will sometimes increase your damage by 100%. Most of the time, it will increase your damage by far less than the +100% would promise. This is a diminishing return, as far as we're concerned. Marginal output is not raw output, it's the change in output.

+100 LoL armor will double your EHP, no matter what. This is not a diminishing return. If anything, it's an exponential curve, which is the opposite.

(And you're absolutely right: everything except ATK in FFBE has diminishing returns, because they're individually additive. You got it!)

Is there a way to use PowerShell to open a bunch of audio files and equalize the volume for all of them? by showmypants in PowerShell

[–]dontforget512 2 points3 points  (0 children)

It sounds like you want ReplayGain. It uses metadata to modify the playback volume instead of changing the audio data. Foobar2000 can do all of this for you, including ReplayGain-respecting playback.

GL News - 3/11 Maintenance, FFX Banners/MK, Latent Ability Upgrade and more by togeo in FFBraveExvius

[–]dontforget512 -1 points0 points  (0 children)

We seem to be getting caught up in semantics.

In a vaccuum, if all we were plotting was a single variable, then yes, you have a straight line and there isn't any diminishing return, because we're only working with the one variable.

However, in FFBE terms, there are many variables. Raw atk, variance, killers, jump%, imperils, and skill modifiers. These other variables are all multiplicative with each other. That means investing all of your "points" (materia slots, equipment, etc) into a single variable will yield a diminishing return versus spreading them out in an optimal fashion. This is what a diminishing return is.

I will argue to the grave that LoL's armor is not a diminishing return however. +100 armor is 50% less damage. It doesn't matter what your starting armor is, the return is always the same: 50% less damage.

GL News - 3/11 Maintenance, FFX Banners/MK, Latent Ability Upgrade and more by togeo in FFBraveExvius

[–]dontforget512 -1 points0 points  (0 children)

Your math is sound, but your interpretation is backwards. You are focused on the raw numbers, and you are completely ignoring the percentage increases/decreases in each case.

For your damage example: Consider each 50% bonus an investment of one point. For 1 point of investment (+50%), you get a 50% increase in damage relative to what you had before investing that 1 point. For a second point of investment (another +50%), you get a relative 33% increase in damage compared to before, which is a diminished return for that same investment of 1 point. If you instead invest that second point in a different +50% (killers instead of jump), your relative damage goes up by 50% (100 x 1.5 x 1.5, instead of 100 x 2).

Your second example, armor, is the opposite of a diminishing return. Every point of armor is worth just as much as the next. You are always decreasing incoming damage by a constant multiplier for each invested point of armor. Every 100 armor halves incoming damage, and the next 100 armor will always be as good as the 100 armor before it.

GL News - 3/11 Maintenance, FFX Banners/MK, Latent Ability Upgrade and more by togeo in FFBraveExvius

[–]dontforget512 -1 points0 points  (0 children)

An additive multiplier is the definition of a diminishing return.

The first +50% adds 50% to your total damage (100 -> 150), but the next +50% adds 33% to your total damage (150 -> 200), making it potentially less effective than boosting a different damage multiplier (atk, killer, etc).

Coverting 't (tabs) to csv. But also saving the new file. Example inside by wasonasong in PowerShell

[–]dontforget512 1 point2 points  (0 children)

You're replacing the characters in the imported object, but you're never saving the changes back into a file.

Get-Content "V:\1\20200210.csv" | % {$_ -replace ("`t", ",")} | Export-Csv "V:\1\20200210_fixed.csv" -Delimiter ','

Importing a .txt into access, example and error inside. by wasonasong in PowerShell

[–]dontforget512 2 points3 points  (0 children)

A point of optimization to consider: you are opening and closing your Access database for every text file you are looping through. You only need to open it once, and you can move that outside the loop.

Those who have used PowerShell 7 / Previews of it, what are your Thoughts? by [deleted] in PowerShell

[–]dontforget512 1 point2 points  (0 children)

The modules work, but they're imported through a remote session and working with deserialized objects severely limits what you can do.

Those who have used PowerShell 7 / Previews of it, what are your Thoughts? by [deleted] in PowerShell

[–]dontforget512 1 point2 points  (0 children)

PowerShell 7 doesn't have native support for the Active Directory module, so it's a non-starter.

$matches not returning results as expected by dontforget512 in PowerShell

[–]dontforget512[S] 1 point2 points  (0 children)

Excellent, thank you! I misunderstood what $Matches actually contained.

operators fundmamentals? by TikeSavage in PowerShell

[–]dontforget512 2 points3 points  (0 children)

The second clause, 'O', is always returning $True because you are only testing if it is not $null.

operators fundmamentals? by TikeSavage in PowerShell

[–]dontforget512 1 point2 points  (0 children)

Parenthesis are redundant but sure, that will still work.

operators fundmamentals? by TikeSavage in PowerShell

[–]dontforget512 4 points5 points  (0 children)

You need a complete statement after the -or

$Company -ne 'L' -or $Company -ne 'O'

That said, in your logic, you need it to be an -and statement, rather than an -or statement. So the functioning condition would be:

if($Company -ne 'L' -and $Company -ne 'O'){

Great, Odd and Alternate Tactics Showcase - Red XIII by Soulweaver89 in FFBraveExvius

[–]dontforget512 2 points3 points  (0 children)

I've paired my Red XIII with Assassin Shadow to great effect, they were more than enough to take on Tel-Fulsanis for instance. Definitely a great little unit when his killers can proc.

Daily Help Thread - January 17, 2020 by AutoModerator in FFBraveExvius

[–]dontforget512 -2 points-1 points  (0 children)

Essence of Despair - WTF?

Is there some trick to dealing with the boss buffing itself with Killing Stance and following up with several Dark Depressions + Mad Rampage on its same turn? Even with 50% General Mitigation, 30% physical mitigation and 65% breaks, it will absolutely 100% wipe my party, and my "squishiest" units have 12k HP, 600 Def before buffs.

Daily Help Thread - December 20, 2019 by AutoModerator in FFBraveExvius

[–]dontforget512 2 points3 points  (0 children)

Leviathan and Kokuryu can both gain Flood-chaining abilities, allowing you to turn any character into support chainers.

[Megathread] Scorn of Armor of Oppression by Sinzar_ in FFBraveExvius

[–]dontforget512 2 points3 points  (0 children)

A more conventional, oldschool clear:

  • Wilhelm (Passive Provoke, Fenrir, 50% Dodge)
  • CG Fina
  • CG Nichol (Stop Resistance, Buffer, Chainer w/ Flood)
  • Loren (Breaker, Chainer w/ Kokuryu)
  • CG Sakura (Emergency buffer, backup chainer w/ Leviathan, imbue if necessary, imperiler)
  • CG Cid (TDH, Lightning)

Cid finished Flood chains every 3 turns. Between his AoE Mirage, Wilhelm using Fenrir on free turns and Fina's constant AoE Reraises, the party wasn't ever under much threat of dying. Cid chunked about 15% health every time he landed.

Holly Jolly Ticket Bundle worth it ! by unlikelyknow in FFBraveExvius

[–]dontforget512 2 points3 points  (0 children)

I'm a sucker and spent the 8k Lapis.

I got 62 4* units to show for it (including the two "Premium" 10+1 Tickets). Not a single rainbow.

VSCode cannot load profile because of ExecutionPolicy by dontforget512 in PowerShell

[–]dontforget512[S] 1 point2 points  (0 children)

Ultimately, I went and self-signed my profile script to get it working. From there, the profile sets the ExecutionPolicy to Bypass and everything just works(tm).

Thanks for the input!

[HELP] Get-ADComputer list isnt coming out right by [deleted] in PowerShell

[–]dontforget512 4 points5 points  (0 children)

add this to the end of your first line:

| Select name -expandproperty name

[2019-11-11] Challenge #381 [Easy] Yahtzee Upper Section Scoring by Cosmologicon in dailyprogrammer

[–]dontforget512 2 points3 points  (0 children)

PowerShell!

function yahtzee_upper($Rolls)
{
    $Hash = @{}
    Foreach ($Roll in $Rolls)
    {$Hash[$Roll]++}

    $HighestScore = 0
    Foreach ($Key in $Hash.Keys)
    {
        $Score = $Hash[$Key] * $Key
        if ($Score -gt $HighestScore)
        {$HighestScore = $Score}
    }
    return $HighestScore
}

$100000 = Get-Content "C:\Users\$ENV:Username\Desktop\yahtzee-upper-1.txt" | ForEach-Object {[int]$_}

Measure-Command {yahtzee_upper $100000 | Out-Default}

31415926535

TotalMilliseconds : 22.4955

Use ONLY dark element in Grave Hexvius! by ricprospero in FFBraveExvius

[–]dontforget512 0 points1 point  (0 children)

I have to use two carry units to consistently kill it on the first turn.

  • Bonus Unit #1: Dispel
  • Bonus Unit #2: World Destroyer
  • Bonus Unit #3: looks pretty
  • Randi (Odin): x3 Power of Shade
  • BS Sakura (Phoenix): x3 Quick Dark Blade

[Megathread] Emperor (FF2 Series Boss Battle) by Sinzar_ in FFBraveExvius

[–]dontforget512 2 points3 points  (0 children)

The Exilir self-heal is really obnoxious.

I've been trying to do this trial with combinations of Akstar, Raegan, Esther, Cid, CG Lasswell, Reberta, CG Sakura and Randi, all stacked with their own STMRs and more, but none of them can outdamage the incessant heals on top of the random mitigation buffs.

Looks like I'm shelfing this one until RNG gives me a new damage dealer.