builders sell things at proper ranks
This commit is contained in:
1 parent
eaa70f43c0
commit
96eb9a3ad0
3 files changed
+21
-1
No files matched your search
@@ -1426,4 +1426,15 @@ public class NPC extends AbstractCharacter {
|
||||
return smallList;
|
||||
}
|
||||
|
||||
public ArrayList<MobEquipment> getSellInventoryBuilder() {
|
||||
|
||||
ArrayList<MobEquipment> smallList = new ArrayList<>();
|
||||
int maxValue = this.getRank() * 2 * 100000;
|
||||
for(MobEquipment me : this.contract.getSellInventory()){
|
||||
if(me.getItemBase().getBaseValue() <= maxValue)
|
||||
smallList.add(me);
|
||||
}
|
||||
return smallList;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user