View Single Post
wolfang237
Member
 
Join Date: Dec 2012
Posts: 40

Old September 27th, 2016, 04:11 AM
Creating a smaller, encounter based mythic pool!

My current coding:
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue].value += (#tiereffect[]) / 2

field[abValue].value = round(field[abValue].value,0,-1)

if (field[abValue].value >= 1) then
hero.childfound[trkMythic].field[trkMax].value = 2 + field[abValue].value
else
hero.childfound[trkMythic].field[trkMax].value = 2 + 1
endif

~Everything above this is changing the volume of the Mythic Pool

if (hero.childfound[trkMythic].tagis[Usage.Day].value <> 0) then
tagreplace[Usage.Day,Usage.Battle]
endif
~Here, I'm attempting to access the usage period tag in the Mythic Power tracking resource and replace the day tag with the battle tag.

The error I'm having states that, on line 15 (one above the beginning of my final if statement - i.e. a blank line), "Error parsing left-side expression in relational comparison". I have no idea what that means or why it's in a blank line



I can't test the code after it until I can figure out what's causing this one, so I don't know if my tagreplace command even works (I suspect it might try to replace a non-existent tag in my feat rather than swap the tags in the tracker).

Last edited by wolfang237; September 27th, 2016 at 04:45 AM.
wolfang237 is offline   #3 Reply With Quote