Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Template talk:ExperimentalTemplate

From Mabinogi World Wiki

What are you trying to do with this? I can help fix some problems if you'd like. --Kevin (‧Talk‧) 00:04, 2 May 2009 (UTC)

I'm trying to fix the Enchant by Type templates, they fail whenever the same stat is affected more than once. If I can get this working then it should both fix the problem and streamline the Data Templates by eliminating more than half the data fields. Also I'm pretty sure this will result in fewer calculations than the current template, but I'm not 100% sure about that.--Jacobpaige 00:18, 2 May 2009 (UTC)
It occurs to me that you may have been asking for a more technical answer. Basically whats supposed to happen is that the first while loop will go through the 6 fields labeled Stat(number)Type which contain the name of the stat being altered and total the Stat (number) value (which is the amount that the enchant is affecting the stat) of all the fields that affect Max Damage and then output it to the first column

The second while loop is supposed to do something similar only it outputs the value, the stat and the req into the second column (ie: +3 str when level 10+).

The third while loop is supposed to do the same thing as the second while loop except that it only outputs the things that the second one didn't.

all the rest of it is simply displaying information from the data template in a normal way--Jacobpaige 00:27, 2 May 2009 (UTC)

Got rid of the while loops, but can't get the variables to output to the screen, see my page for example.--Jacobpaige 02:47, 2 May 2009 (UTC)
There are no threads on this page yet.