I have a set named "Skinning" that has Finkle's Skinner and a pair of gloves with +5 Skinning.
Create a new event called "Skinning" that triggers on mousever of skinnable corpse.
- In ItemRack go to Events > New
- Name of event: Skinning
- Type of event: Script
- Event Trigger:
UPDATE_MOUSEOVER_UNIT - Event Script:
local set = "Skinning"
function IsSkinnable()
return UnitIsDead("mouseover") and GameTooltipTextLeft3:GetText() == "Skinnable"
end
if IsSkinnable() and not IsSetEquipped(set) then
EquipSet(set)
if not SkinningEvent then
function SkinningEvent()
if not IsSkinnable() then
ItemRack.StopTimer("SkinningEvent")
UnequipSet(set)
end
end
ItemRack.CreateTimer("SkinningEvent", SkinningEvent, 4, 1)
end
ItemRack.StartTimer("SkinningEvent")
end
--[[Equips a set when you mouseover something that can be skinned.]]- Click "Save"
- END
When you mouseover a corpse that has "Skinnable" in its tooltip, this event will trigger and swap your gear set. It has a 4 second timeout after swapping to give you time to skin multiple corpse without it continuing to swap back and forth. After your last skinning event, your gear will swap back within 4 seconds.
Hi,
Thanks for providing this, unfortunately it does not take my skinning items off after skinning(Pip's Skinner and gloves with +5 skinning). Any idea why?
I'm using the code that you gave above and named my skinning set "Skinning" with only the above 2 items in the set.