Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. if BuffReminder.db.profile.thrown then
  2.                 _, _, _, _, _, _, hasThrownEnchant = GetWeaponEnchantInfo()
  3.                 if not hasThrownEnchant then
  4.                         local item = GetInventoryItemID("player", GetInventorySlotInfo("RangedSlot"))
  5.                         if item then
  6.                                 _, _, _, _, _, _, subType = GetItemInfo(item)
  7.                                 if subType == "Thrown" then
  8.                                         BuffReminder:ShowReminder("Apply Throwing Weapon Poison!")
  9.                                         return
  10.                                 end
  11.                         end
  12.                 end
  13.         end