m
Move page script moved page API ReplaceEnchant to WoW:API ReplaceEnchant without leaving a redirect
m (Move page script moved page API ReplaceEnchant to WoW:API ReplaceEnchant without leaving a redirect) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{protectedapi|2.4.0}} | |||
{{wowapi}} | {{wowapi}} | ||
Confirms the "Replace Enchant" dialog. | Confirms the "Replace Enchant" dialog. | ||
==Details== | 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. | 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. | ||
If this function is called before you decide which item you want to enchant (before "REPLACE_ENCHANT" event), it tries to enchant your equipped main hand weapon without | If this function is called before you decide which item you want to enchant (before "REPLACE_ENCHANT" event), it tries to enchant your equipped main hand weapon without confirmation. | ||