API ReplaceEnchant

104,545pages on
this wiki
Add New Page
Add New Page Talk0
WoW API < ReplaceEnchant

Confirms the "Replace Enchant" dialog.



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 confrmation. 

Also on Fandom

Random Wiki