Log in

View Full Version : Effect Coding - Armor



astromath
May 4th, 2024, 04:31
I'm trying to come up with a code that basically asks if the PC has armor equipped, then x happens. I can find nothing on the advanced effects wiki that would allow this.

LordEntrails
May 4th, 2024, 05:06
Nope, effects don't have anyway to know what items are equipped. Maybe one of the effect extensions, but I've never heard such mentioned.

Zacchaeus
May 4th, 2024, 08:37
You could possibly do this using the IFT effect with a CUSTOM tag. So the PC would have an effect of, say, 'armour' on them and then you could test that with IFT: CUSTOM(armour); x where x is what you want to happen. However x is fairly limited in scope so it depends on what you want to happen after the condition test as to whether it will work or not.

rhagelstrom
May 4th, 2024, 16:19
You can bind an effect to armor that will be applied/removed when the armor is equipped/unequipped with Advanced Effects extension