![]() | Help support Yugipedia by using our Chrome extension, which redirects links to the old Wikia/Fandom site to Yugipedia, ensuring you see the most up-to-date information. If you have any issues or find any bugs, be sure to let us know on Discord! |
Property:DEF string
This text property lists the DEF for a Monster Card. It allows values according to the ATKDEF pattern.
Unlike Property:DEF, this property can store non-numeric values like ? and X000.
Since this is not a numeric property, values are ordered alphabetically (as opposed to naturally) when sorted, e.g. 25, 220, 300, 1000, 3000 would be sorted as 1000, 220, 25, 300, 3000. Hidden zeros can be added at the beginning of values to overcome this. e.g. The previous example would be 00000025, 00000220, 00000300, 00001000, 00003000.
1
900 +
{ "type": "PROPERTY_CONSTRAINT_SCHEMA", "constraints": { "type_constraint": "_txt", "allowed_pattern": { "ATKDEF": "^(\d+|\?(\?\?\??)?|X000|∞)$" } } }