WoW:API ReplaceEnchant: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wowapi}}  
{{wowapi}}  
{{protectedapi|2.4.0}}
Confirms the "Replace Enchant" dialog.
Confirms the "Replace Enchant" dialog.
  ReplaceEnchant();
  ReplaceEnchant();
Line 5: Line 6:
==Details==
==Details==
When the player attempts to apply an enchant or weapon buff to an item which already has one, the game presents the "Replace Enchant" dialog. This method confirms that dialog allowing the application of the enchant/buff to continue.
When the player attempts to apply an enchant or weapon buff to an item which already has one, the game presents the "Replace Enchant" dialog. This method confirms that dialog allowing the application of the enchant/buff to continue.
''***Appears to be non-functional in macros as of 2.4.07, considered an action only available to Blizzard UI. Unknown if functional in addon scripts.''

Revision as of 07:56, 4 April 2008

WoW API < ReplaceEnchant

Confirms the "Replace Enchant" dialog.

ReplaceEnchant();

Details

When the player attempts to apply an enchant or weapon buff to an item which already has one, the game presents the "Replace Enchant" dialog. This method confirms that dialog allowing the application of the enchant/buff to continue.