PDA

View Full Version : Future Conditional Features



Nickademus
July 30th, 2015, 23:24
So now that the effects are starting to flex their conditional muscle, when will we see conditionals for spell schools, subschools and descriptors?

kylania
July 30th, 2015, 23:54
Things like isTarget or isTargetted would be extremely helpful.

Phystus
August 7th, 2015, 02:08
Both good suggestions. I'll add 'isCritical' to the suggestion list.

~P

Nickademus
August 8th, 2015, 03:31
I imagine the new conditional operator would look like "SPELL ([spell type]*)" where spell type would allow multiple entries and include: abjuration, conjuration, divination, enchantment, evocation, illusion, necromancy, transmutation, calling, creation, healing, summoning, teleportation, scrying, charm, compulsion, figment, glamer, pattern, phantasm, shadow, polymorph, acid, air, chaotic, cold, curse, darkness, death, disease, earth, electricity, emotion, evil, fear, fire, force, good, language-dependent, lawful, light, mind-affecting, pain, poison, sonic and water.

The code from the creature type should be mostly reusable. The only issues I see are that 'shadow' is both a subschool and a descriptor, and that two of the descriptors have hyphens which may cause problems if FG strips them when parsing.