Got a bug at college of magic
Posted: Thu Mar 21, 2024 2:42 am
Error: cannot execute widget <<AllowedSpellsTempArray>>: unable to parse macro argument """: unterminated double quoted string Options
Combat spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length') Utility spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
This i did saw at the college of magic instead of spell list. Also there was arrows for receiving detailed error message:
<<if setup.FindInArray(_AllowedSpells, "soultrap") > -1>>\
<<if $PC[$CC][$PCspellbook].soultrap > 0>>\
Soultrap
<<else>>\
<span id="soultrap">\
<<link "Learn soultrap">>
<<set $PC[$CC][$PCspellbook].soultrap to 1>>
<<set $PC[$CC][$PCspellbook].any to true>>
<<SpellAchieveCheck>>
<<replace "#soultrap">><</replace>>\
<</link>>
</span>\
<<endif>>\
<<else>>\
Cannot learn soul trap
<<endif>>
Combat spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length') Utility spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
This i did saw at the college of magic instead of spell list. Also there was arrows for receiving detailed error message:
<<if setup.FindInArray(_AllowedSpells, "soultrap") > -1>>\
<<if $PC[$CC][$PCspellbook].soultrap > 0>>\
Soultrap
<<else>>\
<span id="soultrap">\
<<link "Learn soultrap">>
<<set $PC[$CC][$PCspellbook].soultrap to 1>>
<<set $PC[$CC][$PCspellbook].any to true>>
<<SpellAchieveCheck>>
<<replace "#soultrap">><</replace>>\
<</link>>
</span>\
<<endif>>\
<<else>>\
Cannot learn soul trap
<<endif>>