Workshop.codes
Login
Create
dewin

Assimilation Mystery Heroes

This code is over 6 months old. The code may have expired and might no longer function.

5 Comments

Log in or Sign up to leave a comment.
Spiderman31807 over 2 years ago *

is there any particular reason you use ultimate charge and not ultimate points?

your mode only takes up 370 elements and the array needed would only be about 100. that still leaves over 32000 elements.

actions
{
Global.Ultimate_Costs = Array(2100, 2240, 2310, 2310, 2700, 1850, 1540, 1950, 1691, 1932,1680, 2420, 2450, 1925, 2300, 2000, 2420, 2400, 1750, 1820, 2660, 1950, 2000, 2100, 1930,1650, 2800, 2100, 2100, 2500, 1665, 1680, 2142, 1260, 1400, 1850, 1675, 2270, 2310);
}

Is a variable array in the order of it being compatible with the built-in "All Heros" data, if you want it. (and can copy paste it)

edit: oh and just in case (since there is a possibility you dont know how), you can just retrieve the data via "value in array, Global.UltimateCosts, index of array, AllHeros, Hero of(Event Player)"

dewin creator over 2 years ago

I'm new to workshop and OW2 in general and didn't know there were differing amounts per hero -- nor that I could access it. I'll consider making that change in a future version or making it an option.

That said, ultimate points might(?) be already scaled based on how difficult Blizzard presumes it is to build it up on one hero. So a hero whose ult is hard to scale due to their mechanics may have a cheaper ultimate cost -- if you do the hard work to build it up, you shouldn't be then punished when swapping to a hero whose ult is extremely easy to contribute to and thus has a higher cost.

OTOH, if you're full on the 2660 hero and swap to a lower-cost one and then back, what should happen with the excess?

Spiderman31807 over 2 years ago

well currently the way your system works if your tracer and get 1260 Points/100% (Points are a 1:1 scale with all damage/healing dealt. so dealing 1260 damage) then swap to a hero like Soldier:76 who has an ultimate points cost of 2500 you just skip the rest of the 1240 points (almost half the ultimate cost because you give them the same ultimate charge as the tracer)

but if you use the ultimate points system it'll just give you 1260 Points towards soldier:76's ultmate or about half way there.

As for the the excess. In the normal game if you are playing any hero then swap it'll save up to 30% but transfer up to all of your ultimate points. if you have a Soldier:76 ultimate ready than swap to Tracer you only keep 30% of what Tracer's ultimate costs (415 points), and the rest is discarded.

dewin creator over 2 years ago

Replying late but:

Considering you never get to intentionally change heroes (asides from killing someone), I feel like the straight percentage transfer is much more intuitive. The ult transfer only happens upon kills; dying and having your hero randomized resets it as normal.

If the ult transfer capped, it'd make it near impossible to ever ult since every time you kill someone your own ult progress would reset.

Spiderman31807 over 2 years ago *

in fact looking at the array i gave you there is no 2500 value, i'll need to update my code with the proper values.

i had just updated it adding mauga and illari support, but at the time i was tried and couldn't be bothered checking every single hero value to check if it was correct.

i'll fix that then come back and edit the array comment to the correct array.

edit: it has been fixed now
Updated Brigitte from 2550 to 2700
Updated Doomfist from 1680 to 1950
Updated Ramattra from 1880 to 2100
Updated Roadhog from 2420 to 2800
Updated Solider:76 from 2310 to 2500
Updated Sombra from 1400 to 1665
Updated Widowmaker from 1540 to 1400

Workshop.codes