Dato che ultimamente parecchi hanno avuto problemi con personaggi che si divertivano a rompere le armor (in svariati modi) mentre il pg era away, ho pensato di creare questa macro.
Non fa altro che "scannerizzare" continuamente i vostri items e se la loro durability scende a 0 li toglie e li mette nel backpack.
Mettete loop ed avviatela mentre fate risporse away.
Altra versione:
Non fa altro che "scannerizzare" continuamente i vostri items e se la loro durability scende a 0 li toglie e li mette nel backpack.
Mettete loop ed avviatela mentre fate risporse away.
codice:
// --- GRAMOZ ITEMS SAVER // -- Author: Gramoz // // -- Tested on: UODreams Shard // // -- Last Release: 25.03.2016 // // -- Purpose: // - Scans your equip and saves damaged pieces // // elmo if @findlayer 'self' 6 @setalias 'elmo' 'found' if property 'durability' 'elmo' <= 0 moveitem 'elmo' 'backpack' pause 1000 else pause 100 endif endif // gorget if @findlayer 'self' 10 @setalias 'collare' 'found' if property 'durability' 'collare' <= 0 moveitem 'collare' 'backpack' pause 1000 else pause 100 endif endif // sleeves if @findlayer 'self' 19 @setalias 'braccia' 'found' if property 'durability' 'braccia' <= 0 moveitem 'braccia' 'backpack' pause 1000 else pause 100 endif endif // guanti if @findlayer 'self' 7 @setalias 'guanti' 'found' if property 'durability' 'guanti' <= 0 moveitem 'guanti' 'backpack' pause 1000 else pause 100 endif endif // torso if @findlayer 'self' 13 @setalias 'torso' 'found' if property 'durability' 'torso' <= 0 moveitem 'torso' 'backpack' pause 1000 else pause 100 endif endif // pantaloni if @findlayer 'self' 4 @setalias 'pantaloni' 'found' if property 'durability' 'pantaloni' <= 0 moveitem 'pantaloni' 'backpack' pause 1000 else pause 100 endif endif // scudo if @findlayer 'self' 2 @setalias 'scudo' 'found' if property 'durability' 'scudo' <= 0 moveitem 'scudo' 'backpack' pause 1000 else pause 100 endif endif // arma if @findlayer 'self' 1 @setalias 'arma' 'found' if property 'durability' 'arma' <= 0 moveitem 'arma' 'backpack' pause 1000 else pause 100 endif endif // tunica if @findlayer 'self' 22 @setalias 'tunica' 'found' if property 'durability' 'tunica' <= 0 moveitem 'tunica' 'backpack' pause 1000 else pause 100 endif endif // orecchini if @findlayer 'self' 18 @setalias 'orecchini' 'found' if property 'durability' 'orecchini' <= 0 moveitem 'orecchini' 'backpack' pause 1000 else pause 100 endif endif // anello if @findlayer 'self' 8 @setalias 'anello' 'found' if property 'durability' 'anello' <= 0 moveitem 'anello' 'backpack' pause 1000 else pause 100 endif endif // bracciale if @findlayer 'self' 14 @setalias 'bracciale' 'found' if property 'durability' 'bracciale' <= 0 moveitem 'bracciale' 'backpack' pause 1000 else pause 100 endif endif // mantello if @findlayer 'self' 20 @setalias 'mantello' 'found' if property 'durability' 'mantello' <= 0 moveitem 'mantello' 'backpack' pause 1000 else pause 100 endif endif // talismano if @findlayer 'self' 9 @setalias 'talismano' 'found' if property 'durability' 'talismano' <= 0 moveitem 'talismano' 'backpack' pause 1000 else pause 100 endif endif // stivali if @findlayer 'self' 3 @setalias 'stivali' 'found' if property 'durability' 'stivali' <= 0 moveitem 'stivali' 'backpack' pause 1000 else pause 100 endif endif // cintura if @findlayer 'self' 12 @setalias 'cinta' 'found' if property 'durability' 'cinta' <= 0 moveitem 'cinta' 'backpack' pause 1000 else pause 100 endif endif // gonna if @findlayer 'self' 23 @setalias 'gonna' 'found' if property 'durability' 'gonna' <= 0 moveitem 'gonna' 'backpack' pause 1000 else pause 100 endif endif // maglia if @findlayer 'self' 17 @setalias 'maglia' 'found' if property 'durability' 'maglia' <= 0 moveitem 'maglia' 'backpack' pause 1000 else pause 100 endif endif
codice:
// --- GRAMOZ ITEMS SAVER // -- Author: Gramoz // // -- Tested on: UODreams Shard // // -- Last Release: 25.03.2016 // // -- Purpose: // - Scans your equip and saves damaged pieces // if not listexists 'liv' createlist 'liv' pushlist 'liv' 1 pushlist 'liv' 2 pushlist 'liv' 3 pushlist 'liv' 4 pushlist 'liv' 6 pushlist 'liv' 7 pushlist 'liv' 8 pushlist 'liv' 9 pushlist 'liv' 10 pushlist 'liv' 12 pushlist 'liv' 13 pushlist 'liv' 14 pushlist 'liv' 17 pushlist 'liv' 18 pushlist 'liv' 19 pushlist 'liv' 20 pushlist 'liv' 22 pushlist 'liv' 23 endif for 0 to 'liv' if @findlayer 'self' liv[] setalias 'pezzo' 'found' waitforproperties 15000 'pezzo' if property 'durability' 'pezzo' < 1 moveitem 'pezzo' 'backpack' pause 1000 else pause 100 endif endif endfor
Commenta