JohnJames

[Help Request] Understanding mitigation?

[Help Request] Understanding mitigation?

I know the basic  concept of shield mitigation.

 

I want to understand how quickly it increase and decrease.

Does it decrease immediately after the attack?

 

60,216 views 37 replies
Reply #26 Top

XD  :rofl:   Careful what you ask for.

Reply #27 Top

They each have 2 armor, which is a armor reduction factor of 1/(1+2*0.05)=1/1.1=0.909090... round to 0.909*78=70.9 damage per shot, or 7.09 shield mitigation per shot. That would be less than the 6*1.25=7.5 shield mitigation decrease over time, meaning the illum's shield mitigation should decrease around 0.4% per shot while the assailant hits the illum's armor. This would bias the test toward the assailant. We need factors that bias toward illum.

Armor not applying is how RA made his chart.

                                       You Sir have just won are............................

                                   """" SLIDE RULE NERD GEEK OF THE WEEK FORUM POST''''''

                                   Yes sir that was pure technical geekism at its finest.

   Before you flame me I have nothing against geeks, if it wasnt for geeks we wouldnt even have computors.

I just get a kick out of all this mojo number talk thats all .....laugh....and I have a lot of free time on my hands atm.

                Keep that number crunching going guys, I'm getting a free education from all you guys , awesome!

Reply #28 Top

Ok none of the code shown takes into account damage type. So either there is another piece of code that determines when UpdateShieldBOnusGrowth is called based on damage type. Or damage type has no effect on when the damage causes the shield mitigation to rise, and is used for something else, maybe animation.

EadTaes, it's not 1% per second, it's playerShieldData.shieldAbsorbDecayRate per second. This variable is not defined in the code provided. So we don't know.

Also shield growth is playerShieldData.shieldAbsorbGrowthPerDamage * shieldDamage. We know what shieldDamage is, but not what the shieldAbsorbGrowthPerDamage is. It's another variable that's not defined by the code show here.

Also to note each player may have different shield data. So the damage can grow and decay at different rates for different players. Is this determined by faction, by research, both? Or perhaps it's jsut made this wayt o be a bit more flexible, but the game still uses same numbers for all players.

Reply #29 Top

Quoting Astax, reply 28
Ok none of the code shown takes into account damage type. So either there is another piece of code that determines when UpdateShieldBOnusGrowth is called based on damage type. Or damage type has no effect on when the damage causes the shield mitigation to rise, and is used for something else, maybe animation.

EadTaes, it's not 1% per second, it's playerShieldData.shieldAbsorbDecayRate per second. This variable is not defined in the code provided. So we don't know.

Also shield growth is playerShieldData.shieldAbsorbGrowthPerDamage * shieldDamage. We know what shieldDamage is, but not what the shieldAbsorbGrowthPerDamage is. It's another variable that's not defined by the code show here.

Also to note each player may have different shield data. So the damage can grow and decay at different rates for different players. Is this determined by faction, by research, both? Or perhaps it's jsut made this wayt o be a bit more flexible, but the game still uses same numbers for all players.

Okay that make smore sense and yeah It seems that numbers are missing, probably why i did not undertsand sicne I'm a math guy not a code guy :D . I NEED NUMBERS :erk:

 

For me:
Coding = Voodoo
Numbers = Holy Law

Reply #30 Top

The constants come from data. Find in files is your friend...

Reply #31 Top

Quoting Blair, reply 30
The constants come from data. Find in files is your friend...

Yeah but i got to get home for that. That's still 2 hours away or so.

Reply #32 Top

The mitigation growth routine seems to just take a damage number fed from another routine.  Presumably, the other routine takes care of the total damage, so we don't need to account for the damage type.  It seems that shieldDamage the total damage is separated into hull damage and shield damage in the shield mitigation routine, and shield mitigation growth depends only on the damage done to the shields, not total damage.  That would suggest a really low decay rate, since damage done to the shields can't exceed shield regenerated within the cooldown period after shields are depleted.

Thank you for posting the code, Blair.  It saves so much time to eliminate a lot of the possible assumptions. :)

Reply #33 Top

Wow, it's not often you see a dev come out and personally lend a hand like that.

Bravo! Thanks for helping these guys Blair. Customer interaction like that is what breeds true loyalty to a company.

-Itharus

 

Reply #34 Top

Quoting with_an_e, reply 32
The mitigation growth routine seems to just take a damage number fed from another routine.  Presumably, the other routine takes care of the total damage, so we don't need to account for the damage type.  It seems that shieldDamage the total damage is separated into hull damage and shield damage in the shield mitigation routine, and shield mitigation growth depends only on the damage done to the shields, not total damage.  That would suggest a really low decay rate, since damage done to the shields can't exceed shield regenerated within the cooldown period after shields are depleted.

Thank you for posting the code, Blair.  It saves so much time to eliminate a lot of the possible assumptions.

If what your sayign is true then it's gonna be a pain in the ass to caculate it.

Reply #35 Top

 

EDIT: Straight from the player*.entity files. 

shieldData

shieldAbsorbGrowthPerDamage 0.001000

shieldAbsorbDecayRate 0.012500

shieldAbsorbBaseMin 0.150000

 

Reply #36 Top

Thnx Terraziel.

Reply #37 Top

Does anyone else get the feeling that blair is using us to determine how mitigation works... maybe even the devs don't know