Concentration Spells and getRandomPercent

Post » Sun Nov 18, 2012 3:28 pm

When I add a GetRandomPercent condition to a Concentration-type magic effect like the one for Sparks/Flames/Frostbite, how often does the game roll the dice for the condition when the spell is being cast? Does anyone know? Just for the hell of it, I removed the "ActorValuePercent Health" from Sparks' magic effect, and replaced it with GetRandomPercent <= 90. In theory this should make the spell apply the disintegration effect 90% of the time, but in practice it happens very, very rarely. This leads me to believe that the dice are being rolled not continuously as the spell is applied, but with significant delays between each roll.

Can anyone shed some light on this?
User avatar
MatthewJontully
 
Posts: 3517
Joined: Thu Mar 08, 2007 9:33 am

Post » Sun Nov 18, 2012 10:45 am

Once Per Second!

That is the reason the conditions svck EGGS for combat modding! :stare:


When I add a GetRandomPercent condition to a Concentration-type magic effect like the one for Sparks/Flames/Frostbite, how often does the game roll the dice for the condition when the spell is being cast? Does anyone know? Just for the hell of it, I removed the "ActorValuePercent Health" from Sparks' magic effect, and replaced it with GetRandomPercent <= 90. In theory this should make the spell apply the disintegration effect 90% of the time, but in practice it happens very, very rarely. This leads me to believe that the dice are being rolled not continuously as the spell is applied, but with significant delays between each roll.

Can anyone shed some light on this?
User avatar
Georgine Lee
 
Posts: 3353
Joined: Wed Oct 04, 2006 11:50 am

Post » Sun Nov 18, 2012 5:46 pm

Really? I must be really unlucky then. Because I wouldn't see a side effect happen even if I kept the spell up for 10-20 seconds. 10-20 rolls and all are over 90? Odd....
User avatar
laila hassan
 
Posts: 3476
Joined: Mon Oct 09, 2006 2:53 pm

Post » Sun Nov 18, 2012 5:05 pm

spookyfx.com is correct about the once per second, but that is only if the condition is placed on the spell and NOT the magic effect.

If the condition is placed on the Magic Effect, the condition is checked only once at cast time.

I suspect you changed the condition on the magic effect, since Sparks (The spell) has no conditions. The conditions are on the magic effect Disintegrate (PerkDisintegrateConcAimed), as such the roll is checked only once per cast.
User avatar
Monique Cameron
 
Posts: 3430
Joined: Fri Jun 23, 2006 6:30 am

Post » Sun Nov 18, 2012 9:54 am

Ah yes, you are correct, sorry. However my explanation was based on the OP's statement:

"but in practice it happens very, very rarely."

Had he said "never" I would have had a different answer. :shrug:


spookyfx.com is correct about the once per second, but that is only if the condition is placed on the spell and NOT the magic effect.

If the condition is placed on the Magic Effect, the condition is checked only once at cast time.

I suspect you changed the condition on the magic effect, since Sparks (The spell) has no conditions. The conditions are on the magic effect Disintegrate (PerkDisintegrateConcAimed), as such the roll is checked only once per cast.
User avatar
:)Colleenn
 
Posts: 3461
Joined: Thu Aug 31, 2006 9:03 am


Return to V - Skyrim