Lone Wolf Development Forums Would this script work?
 Register FAQ Members List Search Today's Posts Mark Forums Read

 Notices Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528. If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com. - The Lone Wolf Development Team

Senior Member

Join Date: Jan 2014
Posts: 242

November 23rd, 2021, 02:20 PM
I'm trying to change the many forms mythic ability so that at 9th tier the polymorph effect changes from 10 minutes a tier to 1 hour a tier. I know how it goes from 1 minute to 10 minutes this script . . .

Phase - Post Levels; Priority - 10000; Index - 6
field[abDuration].value += field[xTotalLev].value

if (#tiereffect[] >= 6) then
field[abDuration].value *= 10
endif

and the original defination is this . . .

phase - render; priority - 10000; index - 7
field[livename].text = field[thingname].text & " (" & field[abDuration].value & " minutes)"
field[abSumm].text = "{i}Alter self{/i} at will, spend 1 power to use {i}polymorph{/i} for " & field[abDuration].value & " minutes."

So would this script work to change it to 1 hour at 9th tier?

Phase - render Levels; Priority - 10000; Index - 8
if (#tiereffect[] >= 9) then
field[livename].text = field[thingname].text & " (" & field[abDuration].value & " hour)"
field[abSumm].text = "{i}Alter self{/i} at will, spend 1 power to use {i}polymorph{/i} for " & field[abDuration].value & " hour."

Phase - Post Levels; Priority - 10000; Index - 6
field[abDuration].value += field[xTotalLev].value

if (#tiereffect[] >= 9) then
field[abDuration].value *= 1
endif
#1