Advertisement
Guest User

Untitled

a guest
Jul 25th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.48 KB | None | 0 0
  1. Func CanPickUp($aItem)
  2.     Local $Type = DllStructGetData(($aItem), 'Type') ;Type 11 = Material ; 24 = Shield ; 35 = scythe
  3.     Local $Req = GetItemReq($aItem)
  4.     Local $Rarity = GetRarity($aItem)
  5.     Local $MinDmg = GetItemMinValue($aItem)
  6.     Local $MaxDmg = GetItemMaxValue($aItem)
  7.     Local $ModStruct = GetModStruct($aItem)
  8.     Local $ModelID = DllStructGetData(($aItem), 'ModelID')
  9.  
  10.     Out("Check Type")
  11.     If      $Type = $Type_Scythe
  12.             Out("Scythe")
  13.             Return True
  14.     else
  15.             Return False
  16.     endif
  17.  EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement