What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] "Item Rules 2" File based scripting language!

Triumvirate

Code:
[QUALITY] == "Legendary" && [NAME] == "Triumvirate" # [AVGDMG] > 190 && [ARCONCRIT] > 0 || ([AVGDMG] > 200 && [INT] > 169 || [INTVIT] > 210)

Code:
201301140734240566.Hero;LOG;KEEP;[KEY]:2020147362;[BASETYPE]:Armor;[TYPE]:Orb;[QUALITY]:Legendary;[NAME]:Triumvirate;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INTNAME]:orb_norm_unique_04-24;[INT]:167,00;[VIT]:129,00;[WEAPDMGTYPE]:None;[CRIT%]:8,00;[MINDMG]:54,00;[MAXDMG]:204,00;[FIREDMG%]:6,00;[LIGHTNINGDMG%]:5,00;[ARCANEDMG%]:6,00;[MAXARCPOWER]:14,00;[MAXSTAT]:167,00;[MAXSTATVIT]:296,00;[STRVIT]:129,00;[DEXVIT]:129,00;[INTVIT]:296,00;[DMGFACTOR]:28,90;[AVGDMG]:129,00;[OFFSTATS]:2,00;[DEFSTATS]:1,00;[@EHP]:39515,00;[@OFFSTAT]:3,00;[@DEFSTAT]:1,00;[@WIZSTAT]:2,00;[@WITSTAT]:1,00;[QUALITY]=="Legendary"&&[NAME]=="Triumvirate"#[AVGDMG]>190&&[ARCONCRIT]>0||([AVGDMG]>200&&[INT]>169||[INTVIT]>210)

Seems there is a mistake in this rule. It was kept because of INTVIT>210.
 
Triumvirate

Code:
[QUALITY] == "Legendary" && [NAME] == "Triumvirate" # [AVGDMG] > 190 && [ARCONCRIT] > 0 || ([AVGDMG] > 200 && [INT] > 169 || [INTVIT] > 210)

Code:
201301140734240566.Hero;LOG;KEEP;[KEY]:2020147362;[BASETYPE]:Armor;[TYPE]:Orb;[QUALITY]:Legendary;[NAME]:Triumvirate;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INTNAME]:orb_norm_unique_04-24;[INT]:167,00;[VIT]:129,00;[WEAPDMGTYPE]:None;[CRIT%]:8,00;[MINDMG]:54,00;[MAXDMG]:204,00;[FIREDMG%]:6,00;[LIGHTNINGDMG%]:5,00;[ARCANEDMG%]:6,00;[MAXARCPOWER]:14,00;[MAXSTAT]:167,00;[MAXSTATVIT]:296,00;[STRVIT]:129,00;[DEXVIT]:129,00;[INTVIT]:296,00;[DMGFACTOR]:28,90;[AVGDMG]:129,00;[OFFSTATS]:2,00;[DEFSTATS]:1,00;[@EHP]:39515,00;[@OFFSTAT]:3,00;[@DEFSTAT]:1,00;[@WIZSTAT]:2,00;[@WITSTAT]:1,00;[QUALITY]=="Legendary"&&[NAME]=="Triumvirate"#[AVGDMG]>190&&[ARCONCRIT]>0||([AVGDMG]>200&&[INT]>169||[INTVIT]>210)

Seems there is a mistake in this rule. It was kept because of INTVIT>210.

it should be:
( [AVGDMG] > 200 && ( [INT] > 169 || [INTVIT] > 210 ) )
 
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                                                |_____| 
// +---------------------------------------------------------------------------+
// | 2.100(beta) Item Rules 2
// | - name is now correctly working (item name bug is fixed)
// | - changed [AS%] now working also on weapons
// | - changed [BLOCK%] now working also on shield
// | - added [TOTBLOCK%] for total blockchance on shield
// | - added [DMGVSELITE%] for percent damage bonus vs elite
// | - added [DMGREDELITE%] for percent damage reduction from elite
// | - added [EXPBONUS] for experience bonus
// | - added [LOK] for Life on kill
// | - added [REQLEVEL] for item required level
// | - added [WEAPDMGTYPE] (Arcane,Holy, etv.)
// | - added [WEAPDMG%] for damage % enhancment on wepon
// | - added [ROLL] representing the attribut roll on magic and rare items
// | - added [D3QUALITY] orginal db quality rare3,rare4 etc.
// | - Polearm and Andariels workaround removed again ... DB is right now
// | - maximum function is now usable examples will follow
// | - moved onto latest Trinity 1.7.1.15 devOnly thx to rrix
// +---------------------------------------------------------------------------+
// | 0.984(beta) Another Log Viewer
// | - update for newest release
// +---------------------------------------------------------------------------+

Code:
// +---------------------------------------------------------------------------+
// |  ______         __             ______ __                                  
// | |   __ \.--.--.|  |.-----.    |      |  |--.---.-.-----.-----.-----.-----.
// | |      <|  |  ||  ||  -__|    |   ---|     |  _  |     |  _  |  -__|__ --|
// | |___|__||_____||__||_____|    |______|__|__|___._|__|__|___  |_____|_____|
// |                                                        |_____|           
// +---------------------------------------------------------------------------+
// +-12.01.2013 ---------------------------------------------------------------+
// | - more legendary changed to avoid trash stashing (hard)
// +-09.01.2013 ---------------------------------------------------------------+
// | - changed some legendary rules mostly to avoid trash stashing (hard)
// +-06.01.2013 ---------------------------------------------------------------+
// | - rewrote rare ring & amulet (hard)
// | - rewrote rare legs (hard)
// | - rewrote rare boots (hard)
// | - rewrote rare cloak (hard)
// | - rewrote rare bracer (hard)
// | - rewrote rare gloves (hard)
// | - rewrote rare belt & mightyBelt (hard)
// | - rewrote rare helms (hard)
// | - added monk swap items (hard)
// | - removed some soft macro rules (hard)
// | - changed chest rules (hard)
// | - added shield rules (hard)
// | - fixed some more stuff (hard)

STATUS: BETA DOWNLOAD


Code:
// +---------------------------------------------------------------------------+
// | _______         ___                             __   __              
// ||_     _|.-----.'  _|.-----.----.--------.---.-.|  |_|__|.-----.-----.
// | _|   |_ |     |   _||  _  |   _|        |  _  ||   _|  ||  _  |     |
// ||_______||__|__|__|  |_____|__| |__|__|__|___._||____|__||_____|__|__|
// |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                                                                                                                                                                                   
// +---------------------------------------------------------------------------+
// | - actual beta development can be downloaded separate on the
// |   donators repository.
// | - actual beta rules can be downloaded separate on the donators repository
// | - contributors are welcome to help building rules
// | - rules sets provide a best effort for valuable items (not beeing perfect)
// | - donators: https://riouxsvn.com/svn/dbplugins
// | - public:   https://subversion.assembla.com/svn/CustomTrinity/trunk

push the like button ...if u like!!!

HAVE FUN!!!

plz report bugs and errors

CONTACT:
skype: darkfriend77
email: [email protected]
PM demonbuddypage: darkfriend77




Donators:
get access to private repository
get access to beta development
get access to private tools
get access to new rule sets

alv.png

 
Wich code for pickup radius is valid in 2.100 [PICKUP] or [PICKRAD] in itemrules2.txt in newest version is [PICKUP], on repos is [PICKRAD]. In one of update was change to [PICKRAD] and i'm little confused at now.
 
sry for this ... its PICKRAD the onl valid use for pickup radius ... i had to fix 2 rules .... i will change it in the itemrules2.txt
 
And what with [REQLEVEL], its in changelog but no in info file ;). How its work its 1-18 -lvl, or its for example 42 for -18 statistic.

Maybe add nr of version in name of info file to dont loose control
 
Last edited:
Is it possible to keep all rare items with reduced level requirement equal or bigger 16? Regardless of other stats.
I searched the thread for posts regarding it, found 3-4 but no solution yet.
 
itemrules2 in newest update got posibility to add this rule, but just asking how its work
 
Is it posible to check for specific skills on items?

For example Dead Man's Legacy with +200 dex and Demon Hunter Skill Bonus: Elemental Arrow is worth +1mln on EU and is going to be missed.
 
Is it posible to check for specific skills on items?

For example Dead Man's Legacy with +200 dex and Demon Hunter Skill Bonus: Elemental Arrow is worth +1mln on EU and is going to be missed.

not possible at the moment ...
 
Ok its all clear now
// | [LEVELRED] | Level Requirement Reduced | 18
// | [REQLEVEL] | Required Lev | 60
 
Code:
// +---------------------------------------------------------------------------+
// | _______ __   __         __ __           __               
// ||   _   |  |_|  |_.----.|__|  |--.--.--.|  |_.-----.-----.
// ||       |   _|   _|   _||  |  _  |  |  ||   _|  -__|__ --|
// ||___|___|____|____|__|  |__|_____|_____||____|_____|_____|
// |                                                              
// +------------------+--------------------------------------------------------+
// |    -CODE-        |  -PICKUP-     |        -Attribute-          | -Example-                                                 
// +------------------+---------------+-----------------------------+----------+
// |  [BASETYPE]      |     YES       | ItemBaseType                | Weapon 
// |  [QUALITY]       |     YES       | ItemQuality                 | Rare						 
// |  [D3QUALITY]     |     YES       | D3 Quality                  | Rare6
// |  [ROLL]          |     YES       | Attribute rolls             | 6
// |  [TYPE]          |     YES       | ItemType                    | Axe							 
// |  [LEVEL]         |     YES       | Level                       | 60
// |  [ONEHAND]       |     YES       | OneHand                     | true							
// |  [TWOHAND]       |     YES       | TwoHand                     | false
Code:
// +------------------+---------------+-----------------------------+----------+
// |  [STR]                           | Strength                    | 100							 
// |  [DEX]                           | Dexterity                   | 100							 
// |  [INT]                           | Intelligence                | 100						 
// |  [VIT]                           | Vitality                    | 100							 
// +----------------------------------+-----------------------------+----------+
// |  [REGEN]                         | HealthPerSecond             | 254					 
// |  [LIFE%]                         | LifePercent                 | 12						 
// |  [LS%]                           | LifeSteal                   | 3							 
// |  [LOH]                           | LifeOnHit                   | 655
// |  [LOK]                           | LifeOnKill                  | 1256
// |  [MS%]                           | MovementSpeed               | 12						 
// |  [AS%]                           | AttackSpeedPercent          | 6				 
// +----------------------------------+-----------------------------+----------+
// |  [CRIT%]                         | CritPercent                 | 4.5						 
// |  [CRITDMG%]                      | CritDamagePercent           | 59					 
// |  [BLOCK%]                        | BlockChance                 | 8
// |  [TOTBLOCK%]                     | Total BlockChance           | 23					 
// +----------------------------------+-----------------------------+----------+
Code:
// |  [ALLRES]                        | ResistAll                   | 80							 
// |  [RESPHYSICAL]                   | ResistPhysical              | 60					 
// |  [RESFIRE]                       | ResistFire                  | 60						 
// |  [RESCOLD]                       | ResistCold                  | 60						 
// |  [RESLIGHTNING]                  | ResistLightning             | 60					 
// |  [RESARCAN]                      | ResistArcane                | 60						 
// |  [RESPOISON]                     | ResistPoison                | 60						 
// |  [RESHOLY]                       | ResistHoly                  | 60						 
// +----------------------------------+-----------------------------+----------+
// |  [ARMOR]                         | Armor                       | 345								 
// |  [ARMORBONUS]                    | ArmorBonus                  | 200						 
// |  [ARMORTOT]                      | ArmorTotal                  | 1300					 
// +----------------------------------+-----------------------------+----------+
// |  [FIREDMG%]                      | FireDamagePercent           | 3					 
// |  [LIGHTNINGDMG%]                 | LightningDamagePercent      | 3			 
// |  [COLDDMG%]                      | ColdDamagePercent           | 3					 
// |  [POISONDMG%]                    | PoisonDamagePercent         | 3				 
// |  [ARCANEDMG%]                    | ArcaneDamagePercent         | 3				 
// |  [HOLYDMG%]                      | HolyDamagePercent           | 3
Code:
// +----------------------------------+-----------------------------+----------+
// |  [DPS]                           | WeaponDamagePerSecond       | 1100				 
// |  [WEAPAS]                        | WeaponAttacksPerSecond      | 1.5
// |  [WEAPDMG%]                      | WeaponDamagePer             | 48			
// |  [WEAPMAXDMG]                    | WeaponMaxDamage             | 560					 
// |  [WEAPMINDMG]                    | WeaponMinDamage             | 255
// |  [WEAPDMGTYPE]                   | WeaponDamageType            | Fire					 
// |  [MINDMG]                        | MinDamage                   | 100							 
// |  [MAXDMG]                        | MaxDamage                   | 200							 
// +----------------------------------+-----------------------------+----------+
// |  [THORNS]                        | Thorns                      | 2345							 
// |  [DMGVSELITE%]                   | Damage vs. Elite            | 5	
// |  [DMGREDELITE%]                  | Damage Red. vs. Elite       | 2	
// |  [DMGREDPHYSICAL]                | Damage Red. vs. Physicaldmg.| 2		 
// +----------------------------------+-----------------------------+----------+
// |  [MAXARCPOWER]                   | MaxArcanePower              | 15					 
// |  [ARCONCRIT]                     | ArcaneOnCrit                | 10						 
// |  [MAXMANA]                       | MaxMana                     | 5							 
// |  [MANAREG]                       | ManaRegen                   | 5							 
// |  [MAXFURY]                       | MaxFury                     | 5							 
// |  [HEALTHSPIRIT]                  | HealthPerSpiritSpent        | 245				 
// |  [MAXSPIRIT]                     | MaxSpirit                   | 10							 
// |  [SPIRITREG]                     | SpiritRegen                 | 5						 
// |  [HATREDREG]                     | HatredRegen                 | 5						 
// |  [MAXDISCIP]                     | MaxDiscipline               | 5
Code:
// +----------------------------------+-----------------------------+----------+
// |  [GF%]                           | GoldFind                    | 25							 
// |  [MF%]                           | MagicFind                   | 20							 
// |  [PICKRAD]                       | PickUpRadius                | 5						 
// |  [GLOBEBONUS]                    | HealthGlobeBonus            | 5468	
// |  [EXPBONUS]                      | Experiencebonus             | 14
// +----------------------------------+-----------------------------+----------+
// |  [LEVELRED]                      | Level Requirement Reduced   | 18	
// |  [REQLEVEL]                      | Required Lev                | 60	
// +----------------------------------+-----------------------------+----------+
// |  [SOCKETS]                       | Sockets                     | 1	
// +----------------------------------+-----------------------------+----------+
 

Attachments

Donated just now, looking forward to using donaters files.
 
Back
Top