CopyAllEffectItems
Revision as of 01:37, 26 August 2007 by imported>Haama (Note on Replacing effects)
CopyAllEffectItems - copies all effect items from one magic item to another
(nothing) CopyAllEffectItems fromObjectID:ref toObjectId:ref
Notes
- The copied effects will be added to the original effects of the copied-to magic item, rather than replacing them.
- This includes effects that are already on the magic item. For instance, if you copy a 'Restore Health' effect onto a magic item that already has a 'Restore Health' effect, the magic item will have both 'Restore Health' effects (with their respective potencies).
- If you want to replace the effects on the copied-to item, use RemoveAllEffectItems on the item first.
- When copying a scripted effect, the script, hostility flag, and school will copy, but not the visuals.
- Copied scripted effects are completely independent of the original scripted effect. Changing the values on one (script, hostility, etc.) will not affect the other.