Post by CreativeFox on Feb 25, 2005 9:46:42 GMT
RPG Phantom v2
Browsers: I.E, Firefox.
Here's another very basic RPG stats code I made that appears under your mini profile when posting. This one is slightly different to v0.5. It's tidier and the layout is a bit different. I've also added 'Experience' stat at the bottom of the list.
Stats:
-Level
-Gil
-Hit Points
-Attack
-Defence
-Magic
-Speed
-Experience
Preview: neilthomas.proboards22.com/index.cgi?board=general&action=display&thread=1064867456
If there's any other stats you need added to it just PM me and I'll sort it out for you .
Please PM me ideas for the next version (v3).
Browsers: I.E, Firefox.
Here's another very basic RPG stats code I made that appears under your mini profile when posting. This one is slightly different to v0.5. It's tidier and the layout is a bit different. I've also added 'Experience' stat at the bottom of the list.
Stats:
-Level
-Gil
-Hit Points
-Attack
-Defence
-Magic
-Speed
-Experience
Preview: neilthomas.proboards22.com/index.cgi?board=general&action=display&thread=1064867456
<script>
//RPG Phantom v2
/*By FFMagic
Permition required if thinking of modifying and reposting.
http://ffmagic.proboards22.com
*/
var TD=document.getElementsByTagName('td');
for(x=0;x<TD.length;x++){
if(TD[x].width=="20%" && TD[x].innerHTML.match(/Posts/i)){
var wc=TD[x].innerHTML.split(/Posts: /i)[1];
var p=parseInt(wc)*1;
var LVL=p*0.5;
var GIL=p*8;
var HP=p*5;
var ATK=p*4;
var DEF=p*6;
var MAG=p*2;
var SPD=p*3;
var EXP=p*7;
TD[x].innerHTML+="<table border='0' class='bordercolor cellpadding='1' cellspacing='1' align='center' width='100%' height='100'><td class='titlebg' colspan='3' align='center'><i>RPG Statistics</i></td></tr><tr><td class='windowbg2' width='75%'>Level:</td><td colspan='2' class='windowbg' align='center'> "+LVL+"<tr><td class='windowbg2' width='75%'>Money:</td><td colspan='2' class='windowbg' align='center'>"+GIL+"<tr><td class='windowbg2' width='75%'>Hit Points:</td><td class='windowbg' colspan='2' align='center'> "+HP+"<tr><td class='windowbg2' width='75%'>Defence:</td><td class='windowbg' colspan='2' align='center'> "+DEF+"<tr><td class='windowbg2' width='75%'>Attack:</td><td class='windowbg' colspan='2' align='center'> "+ATK+"<tr><td class='windowbg2' width='75%'>Magic:</td><td class='windowbg' colspan='2' align='center'> "+MAG+"<tr><td class='windowbg2' width='75%'>Speed:</td><td class='windowbg' colspan='2' align='center'> "+SPD+"<tr><td class='windowbg2' width='75%'>Experience:</td><td colspan='2' class='windowbg'><center> "+EXP+"</center></td></tr></td></tr></td></tr></td></tr></table>"
}}
</script>
If there's any other stats you need added to it just PM me and I'll sort it out for you .
Please PM me ideas for the next version (v3).