Иван, спасибо, но я в кодах совсем не разбираюсь... чертово филологическое образование, никакого толку от него))
Будь любезен, подскажи, что (и как) нужно изменить для того, чтобы бот продавал желтые вещи.
Code:
<?xml version="1.0" encoding="utf-8" ?>
<ItemRules name="Default Item Rules" useRoundedValues="true">
<!-- The order in which item rules are evaluated. Typically, this is fine for almost all rule sets.
However, you may want to switch things around sometimes if you want to force-sell things that may match keep rules. -->
<Priority priority1="Keep" priority2="Salvage" priority3="Sell" />
<Categories>
<Category ruleType="PickUp">
<!-- Pick up all magic+ items -->
<ItemRule>
<StatRules>
<Rule stat="Quality" value="Magic1" />
</StatRules>
</ItemRule>
<!-- Pick up gold, at least in stacks of 100 -->
<ItemRule itemName="Gold">
<StatRules>
<Rule stacks="100" />
</StatRules>
</ItemRule>
<!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->
<ItemRule itemName="Page of*" />
<ItemRule itemName="Tome of*" />
<!--BS plans-->
<ItemRule itemName="Plan*" />
<!--JC plans-->
<ItemRule itemName="Design*" />
<!-- Gems -->
<ItemRule itemName="*Ruby*" />
<ItemRule itemName="*Emerald*" />
<ItemRule itemName="*Topaz*" />
<ItemRule itemName="*Amethyst*" />
<!-- Health potions -->
<ItemRule itemName="*Health Potion*" />
</Category>
<Category ruleType="Keep">
<!-- Weapons -->
<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Magic Weapons">
<StatRules>
<Rule stat="Quality" value="Magic1" />
<Rule stat="DPS" minValue="1100" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Rare Weapons">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="DPS" minValue="1200" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 1h Magic Weapons">
<StatRules>
<Rule stat="Quality" value="Magic1" />
<Rule stat="DPS" minValue="800" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 1h Rare Weapons">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="DPS" minValue="900" />
</StatRules>
</ItemRule>
<!-- End Weapons -->
<ItemRule itemBaseType="Armor" description="Rare armor with Intelligence">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="Intelligence" minValue="100" />
</StatRules>
</ItemRule>
<ItemRule itemBaseType="Jewelry" description="Rare jewelry with Intelligence">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="Intelligence" minValue="100" />
</StatRules>
</ItemRule>
<ItemRule itemName="String of Ears" description="High DR% String of Ears">
<StatRules>
<!-- String of Ears should have at least 17% damage reduction. Any lower and its not worth a whole lot.-->
<Rule stat="DamageReductionPhysicalPercent" minValue="17" />
</StatRules>
</ItemRule>
<ItemRule itemName="Talisman of Aranoch" description="Talisman of Awesome Lowbieness" />
<!-- Keep rares and legendaries, regardless of stats. -->
<ItemRule ruleType="Keep" description="Rare and better items!">
<StatRules>
<Rule stat="Quality" value="Rare4" />
</StatRules>
</ItemRule>
</Category>
<Category ruleType="Sell">
<ItemRule description="Sell Everything">
<StatRules>
<Rule stat="Quality" value="Magic1" />
</StatRules>
</ItemRule>
</Category>
</Categories>
<!-- Available Stats:
Intelligence
Strength
Vitality
Dexterity
Armor - this is the "base" armor of an item.
ArmorBonus - this is the "bonus" armor on the item. Represented in the tooltip as "+x Armor"
ArmorTotal - this is the "total" armor for the item.
// Damage % Increases - These are typically things like 3% Fire Damage - typically found on Wizard/WD items
FireDamagePercent
ColdDamagePercent
LightningDamagePercent
PoisonDamagePercent
ArcaneDamagePercent
HolyDamagePercent
MinDamage - this is the smaller of the 2 when the tooltip states "+5-10 damage" or similar.
MaxDamage - the max value of the above
DPS - weapon DPS. This is the DPS as shown in the tooltip.
GoldFind
MagicFind
// Increase modifiers
AttackSpeedPercent
// Weapon
WeaponAttacksPerSecond
WeaponMinDamage
WeaponMaxDamage
// Misc
MovementSpeed - run speed %
HealthGlobeBonus
HealthPerSecond
LifePercent
Level - item level. DOES NOT MATCH IN-GAME ITEM LEVEL REQUIREMENT!
// Resists
ResistAll
ResistArcane
ResistCold
ResistPhysical
ResistLightning
ResistFire
ResistPoison
ResistHoly
Thorns
DamageReductionPhysicalPercent
Sockets
-->
</ItemRules>