User:Basilisk/Template/kpts

From Guild Wars Wiki
Jump to navigationJump to search

Usage[edit]

{{User:Basilisk/Template/kpts
| storykp = value
| allxp =  value
}}

This is a fun little thing I made mostly to learn some beginner's variables and math functions. It should be pretty accurate for all levels, provided the values put in are accurate.

Returns a plain decimal number

Example: 123.4


Parameters[edit]

storykp[edit]

This is the skill points you have earned from moving through the story. It won't be more than about 158.
To determine yours, use these relatively simple formulas:


TOTAL XP / 15000 = x


then:


TOTAL SKILL POINTS - x = STORY SKILL POINTS


You can get your total skill points from the H menu.
Example:
User Basilisk h menu kpts.jpg


2,709,580 (is total xp) / 15000 = 181 (is x)
289 (is total skill points) - 181 = 108 (is story skill points)


So, set storykp equal to story skill points.
...and there we go. Some mild algebra didn't hurt too bad, did it?

allxp[edit]

This is just your total xp, and wow! we already know it!
(but it can't have commas or anything. 2,709,580 would be 2709580


{{User:Basilisk/Template/kpts
| storykp = 108
| allxp =  2709580
}}


Maintenance[edit]

Once you have it put in like that, all you have to do is update the values whenever you want them to be accurate. Advanced level 20 ::characters probably won't ever have to worry about storykp. Just allxp.


{{User:Basilisk/Template/kpts
| storykp = 108
| allxp =  2709580.. 2800123.. etc etc.. OLOLBBQ
}}