Another Stupid Text Generator (Masteries+Skills+Traits)

[Question]

Hi!

GW2 Autobalance

(not really)

So about a year ago (geez, has it really been that long?!) I made a Markov generator for GW2 Story blurbs. This time, I'm using the descriptions of Masteries, Traits, and Skills from the official API.

What?:

  1. We take all the descriptions of Masteries, Traits, and Skills as one long String.
  2. For each unique word in the sample, build up a frequency list of how often it's followed by a particular "next" word.
  3. Reverse that process: take a random word, then pick a following word based on how "likely" each word is to follow.
  4. Continue until you have a certain number of words.

Warning: the process takes a little bit, so don't spam it!

​

Examples:

Some are ridiculous:

Grant fury, and remove up to five allies. (Ragequitting is now an equippable skill)
Downs any foe that does not function while cooling due to an enemy. (This just seems a bit mean)
Gain power based on power. (Yo dawg, I heard you like power)
Create a wall that grants stealth to [sic] you gains. (For when you wanna hide how much you lift)
Assume the form of a lich for a brief time. You chose poorly. (when even the game thinks your build sucks)  

And some sort of make some (albeit unbalanced) sense:

Gain healing power based on a foe's vulnerability.
Gain retaliation when you stop. (Maybe some sort of equivalent of GW1's SYG?)

​

The Link:

Clicky!

​

EDIT: Edited as per u/4682's pointing out that Firefox does not yet support positive lookbehinds.

Posted May 1, 2019, 12:26 AM UTC · edited

6439
WhilyamAndrogynous Tree Nerd•

Cast lesser cleansing fire when you have a number of conditions on you.

You know... a number of em.

Gain increased power and boon duration for you and nearby foes.

Yeeeaaah-- wait, what?

Punches foes. Beast.

Beast, yo.

Learn to share the bonus from ravenous strike to all foes standing within range.

Aww yea-- wait, what?

Shadowstep to your plague.

...

Leap through the ground.

All the way to Cantha.

Strike your foe through the ground.

LOS hacks are now a skill.

Gain stability and inflict burning and command your next attack if you affect enemies around them. You are finished.

After that, I probably am.

Sabetha shoots projectiles that can be found all over the heart of maguuma.

Flamethrow ALL the things!

Learn about itzel poisons, and gain reduced recharge.

The P2W buff the HoT masteries always needed.

Eat an enemy.

Aurene was just previewing the next balance patch.

Glyph. Summon an elemental based on a percentage of your nearby allies.

The Wizard's Tower confirmed.

Virtues apply boons to allies around your mark and to harvest sawgill mushrooms, unlocking rare collections and items.

The Firebrand has learned the ways of the Deadeye and he's on shrooms.

Samarog summons the air.

Thank you, Samarog. I can breathe again.

You confidently fly forward, knocking back players. You can be reflected.

Good that ANet is leaving in some counter-play, regardless of how confident I become.

Quickly roll backward, leaving a blinding burst of air.

"Air."

Order the hammer of wisdom to knock down your target with a bolt of lightning whenever you gain mirage cloak.

Let me just... uhh... cram another profession in there.

Releases a wave of chaotic mists, damaging and knocking down nearby foes and leaving behind a meteor to strike a random boon and inflict your target with a bolt of electricity that bounces between targets, damaging foes with your rocket exhaust.

There we go!

And lastly...

Throw a bomb that grants boons.

Minstrel Scrapper throws bombs at his friends.

20
El_Barto_227Kormir did nothing wrong•

Tbh I could see my engi creating drug bombs full of steroids.

5
WhilyamAndrogynous Tree Nerd•

I just get this mental image of a psychotic engineer with a giant open mouthed smile gleefully throwing bombs at his allies thinking he's giving them boons.

6
Selethor•

"I'm legaly obligated to tell you I'm not a real doctor."

3
WhilyamAndrogynous Tree Nerd•

"That's not true. I *am* a real doctor. In physics."

3
Chasbene•

RIP healing bombs, I will never forget you.

2
Atelia•

This is like the april fools patch notes but a million times more random. I love it.

Chain. Strike your foe through the ground. Damages foes for 50% of their health.

And now, you can two-shot any boss you want!

Manifest sand shade to inflict burning on nearby enemies into torment and creating two clones that cast ether bolt.

condi condi condi condi

Matthias pulses heat-wave damage every 3 seconds, damaging all foes around you, inflicting weakness, gaining barrier, and gaining kalla's fervor.

I've never fought Matthias before but this sounds terrifying.

Banner. Place a banner that increases in size.

until it fills your whole screen?

Toss elixir s, granting stealth to allies and die if the attack is not blocked

WAIT WHAT

13
Flashycats•

Banner. Place a banner that increases in size.

I'm dying here. I love it.

11
Lon-amiLoreleidre [HoS]•

Banner. Place a banner that increases in size.

Hulk banner.

6
Flashycats•

Critical hits on foes within earshot.

If a tree falls in the woods, does it crit?

9
FirePositionEventually, everything will fall to the dragons•

Whirl your allies' boons.

Takes selfish DPS to a whole 'nother level.

Retaliation gives your location.

AM I BEING DETAINED?

Throw an ally to strike repeatedly with each strike your flamethrower, blinding and improve your foe with earth-shattering force.

This honestly seems amazing.

Shoots a basic attack. A wave of concentrated water. Heal allies.

It's that simple.

End your enemy if they attack foes.

Accurate.

A black hole, immobilizing effects.

Also accurate.

Employ thermal vent radioactive gas to three flaming destruction.

Not just one. Three.

Fire multiple foes, applying confusion.

Activision's strategy.

Virtue: gain increased damage, allowing you move swiftly in an area.

At least Guardians finally get their perma swiftness?

Attune to allies with poisonous explosion.

Here, we see the Necromancer attempting to commune with its pack.

Block your function gyro to an explosion of third-tier precursor weapons.

Zommoros wants to know your location

Strike enemies with your enemies.

Berserkers in a nutshell.

Deimos pulses energy across the platform with adrenaline level.

I'm not sure what this means, but I'm just happy he's happy.

Cantrip. Transfer your foe.

Neat.

Signet passive: grants protection when it strikes foes with your foes in magical dragon glint.

Berserker meets magical dragon Glint.

Elixir. Drink a reward chest once per interval on enemies.

So if we're taking anything away from this, its that Engineers should get more rewards, because the precurser blast was not enough.

8
coolsam254•

I see your selfish DPS and raise you this!

Gain barrier and nearby allies might.

2
HealyUnitOPbrb lab on fire 🔥•

No no, you misunderstand. It's "gain barrier and nearby allies might also gain barrier. They also might just not. +10 Apathy"

3
Dark-Star_1337•

This is hilarious :-)

Cleave through all foes in a time pocket, or they will harm themselves and allies

....why would they do that?

Blasts the platform with solar energy, damaging enemies in the maguuma jungle

That sounds a little overpowered...

Permanent 33% swiftness bonus for your allies and die if the summoner moves out of range.

umm...

You and your pet will seek out and revive a nearby ally.

finally rangers can be useful ;-)

Legendary dragon. Consume. Strip boons from nearby allies.

but ... why?

Movement speed is increased while you are above the heat threshold when this skill recharges faster while above the heat maximum results in a shield, becoming invulnerable.

...what?

Confuse your foe by bashing them with your pet.

hell yeah, that would confuse everyone I guess...

7
XenosInfinity•

Confuse your foe by bashing them with your pet.

My ranger, Urist Bearpuncher, is interested in learning this technique of yours. Currently he can only punch bears, or unite with his bear to punch things, rather than punching them with his bear.

1
Ywhre.•

A chainsaw chews through the flesh of enemies.

Halloween patch leaks?

5
samp0•
  • Set yourself alight, periodically burning up to three downed allies in the area.
4

oh man these are excellent.

Inflict torment on a giant stone spike.

Well, well, well, how the turntables.

Damage dealt to you from foes beyond the range threshold have a chance to inflict burning.

An elite-spec trade-off? Or a buff to condition-transfer builds?

Elixir. Stow your med kit. Stow your tool kit. Stow your grenade kit. Stow your grenade kit. Stow your grenade kit. Stow your bomb kit. Stow your flamethrower. Stow your elixir gun.

Which are the weapon-swap sigils without an ICD?

Gain access to a network of regional merchants across tyria with a limited supply of rare goods for trade, and increase its damage dealt.

It's past time those NPCs learnt to defend themselves.

Cloak and leave

me_irl

4
groarmon•

Getting knocked off your mount or engaging foes will grant bonus rewards from fractal dungeon boss chests.

Mount in fractal confirmed

Electrify your tornado form, making it shoot out dust devils that blind foes. Gather up dust into your tornado form and make it shoot lightning. Gather up debris into your tornado form and gain new skills, turning your life force into health.

Making Tornado viable

3
Lon-amiLoreleidre [HoS]•

This is quite frankly hilarious.

Thank you good sir.

3
user4682•

Nothing happens when I click on the button. Firefox Quantum 66.0.3 (64-bit).

3
HealyUnitOPbrb lab on fire 🔥•

Hey -

I was gonna yell at you, call you an idiot for not waiting, and squarely put the blame on your shoulders because that's what we devs love to do, but...

You're completely right. Explanation:

WARNING: CODE AHEAD

It looks like the Positive Lookbehind regular expression feature is a part of ES2018, which is so far only released officially in Chrome. To clarify,

Imagine a string myString like so:

const myString = 'this is a sentence. this is also one! but not this?'

A positive lookbehind says "look for an instance of a particular pattern that is preceded by a particular other pattern.

/(?<=h)i/

for example would look for all instances of the letter 'i' where they're preceded by 'h'. So if we wanted to say, split it on these instances, we'd get:

th
s a sentence. th
s also one! but not th
s?

I'm using it to split the sentences on periods, commas, exclamation points, and question marks as so:

const sentences = '..sentence blurbs...',
sentenceArr = sentences.split(/(?<=[.?!,])\s/gi)//split on any space "\s" that's preceded by either period, question mark, exclamation point, or comma.

I've fixed it so that it'll check your browser before attempting to use this regexp.

OKAY NO MORE CODE

So yeh, it should work (or at least not completely break!) for everyone now

4
coolsam254•

Couldn't get it to work on Firefox and Edge. Seems to work on Chrome though.

2
Shaman_Infinitus•

I found the next elementalist elite spec, looks to be some thief/ele hybrid:

  • Strike your foe from the shadows, striking for double damage if you take lethal damage while attuned to fire.
  • Burning you inflict lasts longer, and chilled foes take more damage the lower their health.
  • Cast lava font when you gain regeneration. Gain condition damage when it ends.
  • Shadowstep to your normal form.
  • Deal increased damage and gain initiative. Gain additional initiative for each stack of water arrow.
  • Spit at your foe while firing a crippling bolt of solar energy, blinding and burning foes.
  • Cast lava font when you inflict bleeding on critical strike. Double these bonuses while wielding a sword.
2
mezuzel•

these are fun! :D

  • Deliver a blow to your exit portal. (creating a new entrance portal while you have active.
  • The death of the group.
  • Learn about legendary weapon collections used to craft sand shadows and command them using your life force into health.
  • Healing will not trigger when attuning to water.
  • Mursaat overseer's game board deals damage to foes in its area.
  • This plague inflicts additional conditions every second they're caught in the caves
2
El_Barto_227Kormir did nothing wrong•

The third sounds accurate for my necromancer

1
coolsam254•

Your pet is reduced.

A pretty good summary of the Druid changes in the recent balance patch.

Critical chance. You chose poorly.

The Berserker meta really was a lie.

2
XenosInfinity•

Deception. Draw near.

I'm assuming this is just a sign that says NOT A TRAP.

Chain. Slice your target. Bite your concentration. Deal damage to your staff and a vine and aegis and strike nearby allies.

Solid start. Not sure what happened in the middle. Ventari is crying about the last bit.

Burst. Spin in the ability 1 now applied to grant yourself for a firm foot in the healing arrows. Strike that knocks down foes outside of maguuma jungle.

I have no idea what the first part does, but if it knocks down everything outside Maguuma this is the best Warrior skill in the game.

2
HealyUnitOPbrb lab on fire 🔥•
  • Transfer conditions to nearby allies.

How to Not Be Invited to Parties 101

  • Whenever a chancel of echoes appears during combat, burst.

When you get way too excited about your favorite song.

  • But you can wield swords in your main hand.

Oh, well that's nice at least.

  • Your dodge ability is replaced by a vicious slashing attack.

This doesn't seem that useful

  • Lunge at your foe so that she can lend you magical wings

"GIVE ME YOUR FREAKING WINGS" (Fashion Wars is srs business)

  • Shape-shift into a boon.

I really don't wanna know what "Protection" looks like.

  • You can purchase one item from each foe struck.

"Hi thanks for beating me up. See anything you wanna buy?"

  • Gain health based on adrenaline spent.

In all seriousness, if it were well balanced, this might be an interesting tank spec: You have to keep attacking and gaining adrenaline to keep your health (and toughness?) up.

  • You can now glide indefinitely without using endurance and taunts.

Because before we had to insult people to stay in the air.

  • Conjure claws of darkness to reveal the area into tuna.

Ah yes, the little-known necro skill "Conjure Path to Albacore"

  • Gain superspeed when inflicting inhibiting conditions on allies.

Aka, "Screw you guys, I'm outta here!".

2
fatihso•

"Guldhem launches an arcing projectile at the farthest target from him. The projectile stuns all those around the maguuma jungle."

"Reveal a harsh truth to enemies that trigger the trap"

2
SecondWorld1198•

"Release a shock wave that bleeds and immobilizes your foe." This seems plausible.

2
HealyUnitOPbrb lab on fire 🔥•

I mean that's almost the description of Shockwave (Staff #5). Some of these are naturally going to be very close to actual descriptions of skills (they should be; that's how the app works).

1
SecondWorld1198•

I also got one that resurrects three foes. Well, it's boss week...

2
Kiroho•

Your pet gain protection when mirage cloak ends.

Eh... okay.

1
[deleted]•

[deleted]

1