Difference between revisions of "Talk:SetNthEffectItemMagnitude"
Jump to navigation
Jump to search
no edit summary
imported>Puf the majic dragon m (I always forget my signature....) |
imported>TFM |
||
Line 1: | Line 1: | ||
== Changing Enchantments on Equipped Items== | == Changing Enchantments on Equipped Items== | ||
From what I can tell if this is called on an enchantment on an item that is already equipped (at least by the player, I did not test NPCs), the item has to be unequipped and re-equipped in order for the new values to take effect. The same appears to be true with ModNthEffectItemMagnitude. This is not just a matter of waiting a few frames for it to update - the values on the player never update until the item is re-equipped. Equipping other items in different locations doesn't seem to have an effect. Can anyone confirm? And I'd love it if we could find a workaround.--[[User:Puf the majic dragon|Puf the majic dragon]] 18:24, 4 November 2009 (EST) | From what I can tell if this is called on an enchantment on an item that is already equipped (at least by the player, I did not test NPCs), the item has to be unequipped and re-equipped in order for the new values to take effect. The same appears to be true with ModNthEffectItemMagnitude. This is not just a matter of waiting a few frames for it to update - the values on the player never update until the item is re-equipped. Equipping other items in different locations doesn't seem to have an effect. Can anyone confirm? And I'd love it if we could find a workaround.--[[User:Puf the majic dragon|Puf the majic dragon]] 18:24, 4 November 2009 (EST) | ||
My results with this function seem to agree with you. I've tried changing the magnitude of an effect that was already being applied to the player (via an added ability-type spell) and the applied effect magnitude didn't change. In order for the change to register, I ended up needing to remove the effect and then add it again. [[User:TFM|TFM]] |