Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Func CanPickUp2($aItem)
- Local $M = DllStructGetData($aItem, "ModelID")
- Local $E = DllStructGetData($aItem, "ExtraID")
- Local $A = GetItemAttribute($aitem)
- Local $Req = GetItemReq($aitem)
- Local $R = GetRarity($aItem)
- Switch $M
- Case 937, 938, 931, 932
- Return True ; Rare Mats
- Case 935
- $Dias += 1
- GUICtrlSetData($lblDia, "Diamonds: " & $Dias)
- Return True
- Case 936
- $Onyx += 1
- GUICtrlSetData($lblOnyx, "Onyx: " & $Onyx)
- Return True
- Case 146
- If $E = 10 Or $E = 12 Then
- Return True ; Black & White Dyes
- EndIf
- Case 2511
- If GetGoldCharacter() < 99000 Then
- Return True
- EndIf
- Case $Voltaic
- Out("GZ! Voltaic!")
- $Spears += 1
- GUICtrlSetData($lblVolt, "Voltaic's: " & $Spears)
- Return True
- Case 22751 ; Lockpick
- Return True
- EndSwitch
- Switch $R
- Case 2624
- Return True
- EndSwitch
- Switch $A
- Case 21
- If $Req = 8 And GetItemMaxDmg($aItem) = 16 And $R = 2623 Then
- Return True
- EndIf
- If $Req = 8 And GetItemMaxDmg($aItem) = 16 And $R = 2624 Then
- Return True
- EndIf
- Case 20
- If $Req = 8 And GetItemMaxDmg($aItem) = 22 Then
- Return True
- EndIf
- EndSwitch
- Return False
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement