Help Creating Shield Rule
Help Creating Shield Rule
I'm trying to make a rule to pick up no wield shields above armor level 390. The ones I have now from years ago are covenant shields, if that makes any difference.
http://prntscr.com/7wliw6
http://prntscr.com/7wlj6g
I don't know if it is because the no wield shields still have a melee d or missile d req that interferes, but it just won't do it.
I can get it to hit, but it also hits on shields with level reqs of 150 and 180 or I can get it to not hit on either. I cannot get it to hit just the no wields, but not the 150 or 180 req shields.
The only other thing I can think of is these are legacy items from before any level requirements at all. Either way, any insight on why I cannot get this rule to match is appreciated. Or, how to make a rule now that will only pick up shields over 390 with no level requirement, although it may still have the melee d or missile d requirement.
http://prntscr.com/7wliw6
http://prntscr.com/7wlj6g
I don't know if it is because the no wield shields still have a melee d or missile d req that interferes, but it just won't do it.
I can get it to hit, but it also hits on shields with level reqs of 150 and 180 or I can get it to not hit on either. I cannot get it to hit just the no wields, but not the 150 or 180 req shields.
The only other thing I can think of is these are legacy items from before any level requirements at all. Either way, any insight on why I cannot get this rule to match is appreciated. Or, how to make a rule now that will only pick up shields over 390 with no level requirement, although it may still have the melee d or missile d requirement.
- Immortalbob
- Site Admin
- Posts: 677
- Contact:
The problem is, the game has "wieldreqattribute", and "wieldreqattribute2"; however the loot editor only supplies "wieldreqattribute".
Cov/Olthoi shields will always use "Wieldreqattribute" for the wield skill (melee, missile, magicd), and "Wieldreqattribute2" for the level requirement.
Non-Cov/Olthoi shields use "WieldReqAttribute" for level requirement as they have no skill req.
Non-Cov/Olthoi shields top out around 180AL, Cov/Olthoi around 400 i think.
Sadly, this problem also applies to Cov/Olthoi armor...
Below are the simplest forms of shield rules that there are, you can add other modifiers to them to get your desired result.
Loot any shield:
Loot any Covenant/Olthoi shield:
Loot any no level req, non cov/olthoi shield:
Loot any no level req, cov/olthoi shield: (see post below for custom rule)
Loot Cov/Olthoi shields based on wield req:
Cov/Olthoi shields will always use "Wieldreqattribute" for the wield skill (melee, missile, magicd), and "Wieldreqattribute2" for the level requirement.
Non-Cov/Olthoi shields use "WieldReqAttribute" for level requirement as they have no skill req.
Non-Cov/Olthoi shields top out around 180AL, Cov/Olthoi around 400 i think.
Sadly, this problem also applies to Cov/Olthoi armor...
Below are the simplest forms of shield rules that there are, you can add other modifiers to them to get your desired result.
Loot any shield:
Code: Select all
longvaluekey== Equiptype 4
Code: Select all
longvaluekey== Equiptype 4
Longvaluekey== Unenchantable 9999
Code: Select all
longvaluekey== Equiptype 4
longvaluekey!= wieldreqattribute 1
Longvaluekey!= Unenchantable 9999
Code: Select all
longvaluekey== Equiptype 4
Longvaluekey== Unenchantable 9999
Longvaluekey!= wieldreqattribute2 1 (this doesn't exist in editor)
Code: Select all
longvaluekey== Equiptype 4
longvaluekey== wieldreqattribute 6(meleed), 7(missiled) or 15(magicd)
to exclude a skill instead use:
longvaluekey== Equiptype 4
longvaluekey!= wieldreqattribute 6(meleed), 7(missiled) or 15(magicd)
Immortalbob of MT
- Immortalbob
- Site Admin
- Posts: 677
- Contact:
Cov Shield with Level Req Property dump:
The offending requirements...
20:38:18 [VTank] (I) WieldReqValue: 205
20:38:18 [VTank] (I) WieldReqValue2: 150
20:38:18 [VTank] (I) WieldReqAttribute: 7
20:38:18 [VTank] (I) WieldReqAttribute2: 1
Code: Select all
20:38:17 [VTank] --------------Object dump--------------
20:38:17 [VTank] [Meta] Create count: 1
20:38:17 [VTank] [Meta] Create time: 7/24/2015 8:33 PM
20:38:17 [VTank] [Meta] Has identify data: True
20:38:17 [VTank] [Meta] Last ID time: 7/24/2015 8:38 PM
20:38:17 [VTank] [Meta] Worldfilter valid: True
20:38:17 [VTank] [Meta] Client valid: True
20:38:17 [VTank] [Meta] Apparent slot: 2
20:38:17 [VTank] ID: 88C06CAA (-2000655190)
20:38:17 [VTank] ObjectClass: Armor
20:38:17 [VTank] (S) Name: Olthoi Shield
20:38:17 [VTank] (S) FullDescription: Olthoi Shield of Invulnerability
20:38:17 [VTank] (I) CreateFlags1: -1860091240
20:38:17 [VTank] (I) Type: 40682
20:38:17 [VTank] (I) Icon: 26700
20:38:17 [VTank] (I) Category: 2
20:38:17 [VTank] (I) Behavior: 18
20:38:17 [VTank] (I) Value: 50995
20:38:17 [VTank] (I) ItemUsabilityFlags: 1
20:38:17 [VTank] (I) IconOutline: 1
20:38:17 [VTank] (I) EquipType: 4
20:38:17 [VTank] (I) Container: 1342753073
20:38:17 [VTank] (I) EquipableSlots: 2097152 (shield)
20:38:17 [VTank] (I) Burden: 741
20:38:17 [VTank] (I) HookMask: 2
20:38:17 [VTank] (I) Material: 60
20:38:17 [VTank] (I) PhysicsDataFlags: 137345
20:38:18 [VTank] (I) ActivationReqSkillId: 6
20:38:18 [VTank] (I) WieldReqValue: 205
20:38:18 [VTank] (I) WieldReqValue2: 150
20:38:18 [VTank] (I) GemSettingQty: 2
20:38:18 [VTank] (I) GemSettingType: 38
20:38:18 [VTank] (I) SkillLevelReq: 390
20:38:18 [VTank] (I) Unenchantable: 9999
20:38:18 [VTank] (I) Workmanship: 7
20:38:18 [VTank] (I) Spellcraft: 370
20:38:18 [VTank] (I) CurrentMana: 1734
20:38:18 [VTank] (I) ArmorLevel: 291
20:38:18 [VTank] (I) MaximumMana: 1734
20:38:18 [VTank] (I) DescriptionFormat: 5
20:38:18 [VTank] (I) LoreRequirement: 109
20:38:18 [VTank] (I) RankRequirement: 0
20:38:18 [VTank] (I) WieldReqType: 2
20:38:18 [VTank] (I) WieldReqType2: 7
20:38:18 [VTank] (I) WieldReqAttribute: 7
20:38:18 [VTank] (I) WieldReqAttribute2: 1
20:38:18 [VTank] (D) SalvageWorkmanship: 7
20:38:18 [VTank] (D) ManaRateOfChange: -0.0666666666666667
20:38:18 [VTank] (D) SlashProt: 1.5
20:38:18 [VTank] (D) PierceProt: 1.29999995231628
20:38:18 [VTank] (D) BludgeonProt: 1.39999997615814
20:38:18 [VTank] (D) ColdProt: 0.800000011920929
20:38:18 [VTank] (D) FireProt: 0.600000023841858
20:38:18 [VTank] (D) AcidProt: 1
20:38:18 [VTank] (D) LightningProt: 0.600000023841858
20:38:18 [VTank] (L) Container: 1342753073
20:38:18 [VTank] Palette Entry 0: ID 0x000BF4, Ex Color: 000000, 0/0
20:38:18 [VTank] (I) WieldReqValue: 205
20:38:18 [VTank] (I) WieldReqValue2: 150
20:38:18 [VTank] (I) WieldReqAttribute: 7
20:38:18 [VTank] (I) WieldReqAttribute2: 1
Immortalbob of MT
- Immortalbob
- Site Admin
- Posts: 677
- Contact:
Because I am awesome here is the custom rule you can paste into your loot profile:
(copy Code section, press paste button in editor)
Any No Level Wield Req Shield AL390+
Custom rule using WieldReqAttribute2
Same rule using WieldReqValue2 instead:
These can be applied towards covenant armor as well, if you remove the equiptype
(copy Code section, press paste button in editor)
Any No Level Wield Req Shield AL390+
Custom rule using WieldReqAttribute2
Code: Select all
Custom Shield Rule
0;1;13;12;12;13
8
1
271
14
4
218103823
9
390
28
8
1
159
Code: Select all
Custom Shield Rule2
0;1;13;13;12;3;13;13
10
150
272
10
180
272
14
4
218103823
9
390
28
10
150
160
10
180
160
These can be applied towards covenant armor as well, if you remove the equiptype
Immortalbob of MT
-
- Posts: 23
That is pretty awesome. I don't suppose you'd like to share with the class how you managed it (other than innate awesomeness)?
- Immortalbob
- Site Admin
- Posts: 677
- Contact:
believe it or not, i googled wieldreqattribute2, and i came across irquk's github for gearfoundry...
https://github.com/AlincoRecoders/GearF ... erEnums.cs
There i found this:
So, I created a rule using wieldreqattribute, and nothing else, hit copy, pasted it into notepad, and replaced the value
The 159 is the value for WieldReqAttribute, I replaced that with 271 for wieldreqattribute2 copied, and pasted it back into the editor.
https://github.com/AlincoRecoders/GearF ... erEnums.cs
There i found this:
Code: Select all
NewLongKeys:
SummoningSkill = 367,
WeaponMastery = 353,
WieldReqAttribute2 = 271,
WieldReqValue2 = 272,
WieldReqType2 = 270,
Dam = 370,
DamResist = 371,
Crit = 372,
CritResist = 373,
CritDam = 374,
CritDamResist = 375,
DamageAbsorb = 352,
MaxItemLevel = 319
Code: Select all
New Rule
0;1;12
8
1
159
Immortalbob of MT
- Trigger9008
- Posts: 41
All the information ImmortalBob posted is readily available on the VTank wiki site: http://www.virindi.net/wikiJoran Heartseeker wrote:Your Google-fu is strong!
And github: https://github.com/AlincoRecoders/GearFoundry
Google... not needed.
~Trigger9008~
Thank you, that's awesome!
I knew it was that 2, but I couldn't figure out how to address. Many thanks!
I knew it was that 2, but I couldn't figure out how to address. Many thanks!