CLASSES tag was not flagging invalid syntax.

Description

CLASSES:Sorcerer=5|Wizard=5|Cleric=4[PRESUBCLASS:1,Sarish]|Priest=4[PRESUBCLASS:1,Priest of Sarish]

Became:
CLASSES:Cleric=4|Sorcerer,Wizard=5[PRESUBCLASS:1,Sarish],Priest=4[PRESUBCLASS:1,Priest of Sarish]

The aim is to be granted the spell if you are a Cleric or priest who chose Sarish. A Wizard or Sorcerer would never qualify for a subclass, so the Move is dubious at best, or the code isn't understood by the data team, in either case this requires some consideration.

Environment

None

Activity

Show:
James Dempsey
November 16, 2013, 8:56 PM

The syntax in the file is actually invalid. The prereq applies to the entire classes token and in this case it is treating "[PRESUBCLASS:1,Sarish],Priest=4[PRESUBCLASS:1,Priest of Sarish]" as a single preeq for the purposes of parsing/unparsing.

I'll add validation to flag an error on load for this syntax.

James Dempsey
November 16, 2013, 10:01 PM
Edited

Syntax is now rejected with the error

I've also stopped pipe from being treated as a separator in PREReqs. Please advise if this causes issues.

Fixed

Assignee

James Dempsey

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Minor
Configure