Quantcast
WoWInterface: SVN - AutoReparar - Path Comparison - / Rev 3 and / Rev 4

WoWInterface SVN AutoReparar

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

trunk/AutoReparar.xml File deleted \ No newline at end of file
trunk/AutoReparar.lua File deleted \ No newline at end of file
trunk/AutoReparar.toc File deleted \ No newline at end of file
trunk/Auto Reparar/AutoReparar.xml New file
0,0 → 1,9
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="AutoReparar.lua"/>
<Frame name="AutoReparar_Marco">
<Scripts>
<OnLoad>AutoReparar_AlCargar(self);</OnLoad>
<OnEvent>AutoReparar_AlEvento();</OnEvent>
</Scripts>
</Frame>
</Ui>
\ No newline at end of file
trunk/Auto Reparar/AutoReparar.lua New file
0,0 → 1,20
function AutoReparar_AlCargar(marco)
marco:RegisterEvent("MERCHANT_SHOW")
end
function AutoReparar_AlEvento()
if (CanMerchantRepair()) then
local costeReparar = GetRepairAllCost()
local repararHermandad = 0
if (costeReparar) then
if (CanGuildBankRepair() and costeReparar <= GetGuildBankMoney()) then
repararHermandad = 1
else
if (costeReparar > GetMoney()) then
return
end
end
PlaySound("ITEM_REPAIR")
RepairAllItems(repararHermandad)
end
end
end
\ No newline at end of file
trunk/Auto Reparar/AutoReparar.toc New file
0,0 → 1,7
## Interface: 30000
## Title: Auto Reparar
## Notes: Automáticamente repara cuando hablas con un mercante que lo permite
## Version: 0.1 Beta
## Written By: Luskaner
 
AutoReparar.xml
\ No newline at end of file