Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var functionMerge = function (item) {
- for (B = 0; B < inventory.items.length; B++) {
- var invItem = inventory.items[B];
- if (invItem != item
- && invItem.name == item.name
- && invItem.rarity == item.rarity
- && invItem.plus + item.plus < 5 + item.rarity * 5 - craftLevelsToLeave
- && invItem.plus + item.plus < character.level - craftLevelsToLeave
- && invItem.plus + item.plus < maxCraftLevel ) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement