|
Post by nickodemos on Jun 21, 2016 14:31:43 GMT
I found a script on an Italian shard website that is supposed to test if the items durability dropped to 0 and if so remove it to the backpack. I can get it to work for the most part except when there is a durability enhancement. From what I am seeing is that the property reads the first durability and stops and not sees the second.
IE It sees the first and not the second.
Durability 65% Durability 0 / 125
if @findlayer 'self' 13 @setalias 'tunic' 'found' if property 'durability' 'tunic' <= 0 moveitem! 'tunic' 'backpack' pause 1000 endif endif
|
|
|
Post by Experience on Jun 22, 2016 21:48:53 GMT
So if there is the "Durability 65%" it will never pick up on 0 durability?
|
|
|
Post by nickodemos on Jun 22, 2016 22:36:21 GMT
I tried it a couple ways and it will never go past the first durability. Was wondering if you knew if there was another way to check for two durability's and skip the first.
Easy enough to check. Just find an item with two durabilities and then try working on the second set of numbers.
|
|
|
Post by Experience on Jun 23, 2016 18:24:06 GMT
Well, I'll see what I can figure out...
|
|