From: SourceForge.net <no...@so...> - 2007-05-30 12:19:48
|
Feature Requests item #1673248, was opened at 2007-03-04 02:27 Message generated for change (Settings changed) made by karianna You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1673248&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Spell Support >Group: For 6.2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Frank Kliewe (frank_kliewe) Assigned to: Nobody/Anonymous (nobody) Summary: PROHIBITSPELL changes Initial Comment: Original Proposal: ______________________________________________________ Moving from ListFileHelp: Original Thread: http://tech.groups.yahoo.com/group/PCGenListFileHelp/message/12322 Details: Currently, the syxtax is a little ugly, in that it uses . as a connector between the SUBTOKEN and the Arguments: PROHIBITSPELL:SUBTOKEN.Foo.Bar It also prohibits multiple items, so you cannot limit by DESCRIPTOR and SCHOOL, for example. There is also a 'magical' ALIGNMENT that is dependent upon the "Prohibit Cleric/Druid spells based on Alignment" rule/preference. Proposal: - Change separator between SUBTOKEN and the arguments to be = - Allow , as a separator to define OR (in all SUBTOKENS, not just SPELL) - Allow | as a separator between multiple SUBTOKEN=argument combinations - Continue to support . as a separator to define AND (except it's not valid in SPELL, since that's illogical) - Allow | as a field separator to allow multiple SUBTOKEN=argument combinations in one prohibitor - Continue to support multiple optional PRExxx tags trailing the rest of the tag (Standard PRExxx at the end, as many PRExxx as you want, | deliminated, but once a PRExxx is there, the rest of the tag is only PRExxx tags) Examples: PROHIBITSPELL:DESCRIPTOR=Chaotic.Evil|SCHOOL=Abjuration Prohibits Abjuration school spells with both Chaotic and Evil descriptors... PROHIBITSPELL:DESCRIPTOR=Force,Evil|SCHOOL=Evocation.Conjuration Prohibit Spells with both Evocation and Conjuration schools, with either Force or Evil descriptors? To account for the deprecation of ALIGNMENT and the continued support of the alignment limiting rule: PROHIBITSPELL:DESCRIPTOR.Good|PREMULT:2,[PREALIGN:LE,NE,CE],[PRERULE:ALIGN_ SPELL]] Prohibits Spells with the Good descriptor for characters of evil alignment if the "Prohibit Cleric/Druid spells based on Alignment" rule is activated. ____________________________________________________ Please implement as proposed above. -- Frank ---------------------------------------------------------------------- Comment By: Andrew McDougall (tir-gwaith) Date: 2007-03-04 16:17 Message: Logged In: YES user_id=208239 Originator: NO OR, more simply: PROHIBITSPELL:DESCRIPTOR.Good|PREALIGN:LE,NE,CE|PREDEITYALIGN:LE,NE,CE|PRERULE:ALIGN_SPELL etc. ---------------------------------------------------------------------- Comment By: Stefan Radermacher (zaister) Date: 2007-03-04 09:09 Message: Logged In: YES user_id=435051 Originator: NO The tag should be: PROHIBITSPELL:DESCRIPTOR.Good|PREMULT:3,[PREALIGN:LE,NE,CE],[PREDEITYALIGN:LE,NE,CE],[PRERULE:ALIGN_SPELL]] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1673248&group_id=25576 |