![]() |
Tradeable / Selleable items
http://forum.l2-scripts.ru/showthread.php?t=3325
This is not working with items that has <set name="tradeable" value="false"/>. |
This items cannot be sold by default:
if(isEquipped()) return false; if(player.isGM()) return true; if((customFlags & FLAG_NO_TRADE) == FLAG_NO_TRADE) return false; if(isShadowItem()) return false; if(isTemporalItem()) return false; if(isAugmented() && !Config.ALT_ALLOW_DROP_AUGMENTED) return false; if(!ItemFunctions.checkIfCanDiscard(player, this)) return false; return template.isTradeable(); is one of them fits you? |
reworked, no problems will accure now.
|
Часовой пояс GMT +4, время: 18:06. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot