Difference between revisions of "Talk:SetNthActiveEffectMagnitude"
Jump to navigation
Jump to search
Talk:SetNthActiveEffectMagnitude (edit)
Revision as of 01:14, 11 January 2011
, 01:14, 11 January 2011no edit summary
imported>JRoush m |
imported>DragoonWraith |
||
Line 26: | Line 26: | ||
This function is almost useless and very dangerous. It changes the active effect magnitude, but does not apply the changed value to the actor, at least not for effects added by token items or abilities. When these changed effects are removed (because the token item is unequiped), the actor's attribute is "un-updated" with the new value, leaving it with a corrupt total. I think it works for some things like fatigue because they are continuously re-calculated as fatigue recovers, but certainly for drain speed effects it does not work. DO NOT USE! | This function is almost useless and very dangerous. It changes the active effect magnitude, but does not apply the changed value to the actor, at least not for effects added by token items or abilities. When these changed effects are removed (because the token item is unequiped), the actor's attribute is "un-updated" with the new value, leaving it with a corrupt total. I think it works for some things like fatigue because they are continuously re-calculated as fatigue recovers, but certainly for drain speed effects it does not work. DO NOT USE! | ||
[[User:ABO|ABO]] 06:48, 9 January 2011 (EST) | [[User:ABO|ABO]] 06:48, 9 January 2011 (EST) | ||
: Changing ''any'' property of an active magic effect can have disastrous consequences; this function is no more dangerous than the others of the form 'SetNthActiveEffect***'. That being said, there should probably be a clearer warning in the page itself, e.g. "This function is only safe to use on Damage and Restore effects" | : Changing ''any'' property of an active magic effect can have disastrous consequences; this function is no more dangerous than the others of the form 'SetNthActiveEffect***'. That being said, there should probably be a clearer warning in the page itself, e.g. "This function is only safe to use on Damage and Restore effects" | ||
:[[User:JRoush|JRoush]] 20:15, 9 January 2011 (EST) | :[[User:JRoush|JRoush]] 20:15, 9 January 2011 (EST) | ||
::Feel free to put whatever warnings are appropriate, but make them appropriate. "DO NOT USE!" is not appropriate - if it's that bad, discuss that with Scruggs so he can either make it work or deprecate it. If it's not that bad, clear guidelines on when this does and doesn't work would be helpful. | |||
::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 01:14, 11 January 2011 (EST) |