<script>
//Original RPG code Created for InvisionFree by Webworldx - v2.5
//Credit to Webworldx, Lans Tartare and Overlord - PB - http://ssdesigns.proboards17.com
//This code may NOT be posted on any other forum without express permission from Webworldx
//New code Modded for InvisionFree by Beldin - v1.0
//This FinalFantasy mod is property of Beldin, Administrator of AlternateUniverz - http://alternateuniverz.co.nr
//This header must be kept intact at all times
RPGHigh="1000"
NextLevel="15"
MoneySign="$"
NextWeapon="8"
NextItem="20"
AddMoney="15"
MoneyOn="Y"
ItemWeapOn="Y"
//Directory of all uploaded pics
var BaseURL="http://www.angelfire.com/magic/rpgmod/ff"
var StatsURL="http://www.angelfire.com/magic/rpgmod/ff"
var statsImage=new Array();
statsImage[0]=new Array("HP","/exp.gif")
statsImage[1]=new Array("STR","/str.gif")
statsImage[2]=new Array("MAG","/mag.gif")
statsImage[3]=new Array("DEF","/def.gif")
var theEXP = new Array("EXP","/exp.gif")
function getStats() {
TheStats=new Array();
stats=new Array();
TheStats[0]=new Array()
TheStats[0][1]=PostCount
TheStats[0][2]=PostCount
TheStats[0][3]=PostCount
TheStats[0][4]=PostCount
TheStats[0][5]=PostCount
TheStats[0][6]=PostCount
TheStats[0][7]=PostCount
TheStats[1]=new Array()
TheStats[1][1]=parseInt(TheStats[0][1]) + 3
TheStats[1][2]=parseInt(TheStats[0][2]) -10
TheStats[1][3]=parseInt(TheStats[0][3]) + 10
TheStats[1][4]=parseInt(TheStats[0][4]) + 7
TheStats[1][5]=parseInt(TheStats[0][5]) + 8
TheStats[1][6]=parseInt(TheStats[0][6]) + 5
TheStats[1][7]=parseInt(TheStats[0][7]) - 20
TheStats[2]=new Array()
TheStats[2][1]=parseInt(TheStats[0][1] /(2/3))
TheStats[2][2]=parseInt(TheStats[0][2] * 2)
TheStats[2][3]=parseInt(TheStats[0][3] * 0)
TheStats[2][4]=parseInt(TheStats[0][4] * 0)
TheStats[2][5]=parseInt(TheStats[0][5] * 0)
TheStats[2][6]=parseInt(TheStats[0][6] /(1/3))
TheStats[2][7]=parseInt(TheStats[0][7] * 10)
TheStats[3]=new Array()
TheStats[3][1]=parseInt(TheStats[0][1] * (5/3))
TheStats[3][2]=parseInt(TheStats[0][2] * (4/3))
TheStats[3][3]=parseInt(TheStats[0][3] * (5/3))
TheStats[3][4]=parseInt(TheStats[0][4] * (6/3))
TheStats[3][5]=parseInt((2/3) *(TheStats[0][5] - 10))
TheStats[3][6]=parseInt(TheStats[0][6] * (5/3))
TheStats[3][7]=parseInt(TheStats[0][7] * (4/3))
for (i=0;i<TheStats.length;i++){
if (ChosenRace==""){
stats[i]=TheStats[i][1]
} else {
stats[i]=TheStats[i][ChosenRace]
}}
for (i=0;i<stats.length;i++){
if (parseInt(stats[i]) >= parseInt(RPGHigh)) { stats[i]=RPGHigh; }
if (parseInt(stats[i]) < 0 ) { stats[i]=0 }
}
return stats
}
var Race=new Array();
Race[1]=new Array("Archer","/")
Race[2]=new Array("BlackMage","/")
Race[3]=new Array("Knight","/")
Race[4]=new Array("Samurai","/")
Race[5]=new Array("Dragoon","/")
Race[6]=new Array("Ninja","/")
Race[7]=new Array("Summoner","/")
var WPName=new Array();
WPName[1]=new Array("Wooden Bow","Leather Armor","Cure")
WPName[2]=new Array("Staff","Wizard Robe","Cure","Fire")
WPName[3]=new Array("Broadsword","Chainmail","Bronze Helm","Leather Gauntlets")
WPName[4]=new Array("Sword","Chainmail","Bronze Helm","Leather Gauntlets")
WPName[5]=new Array("Spear","Carabini Mail","Bronze Helm","Leather Gauntlets")
WPName[6]=new Array("Sword","Leather Armor","Leather Gauntlets","Fire")
WPName[7]=new Array("Staff","Wizard Robe","Cure","Ifrit")
var WPName2=new Array();
WPName2[1]=new Array("Windslash Bow","Chainmail","Forrest Boots","Leather Gauntlets","Cure","Protect")
WPName2[2]=new Array("Wizard Rod","Robe of Lords","Fire","Ice","Shock")
WPName2[3]=new Array("Mythril Sword","Platemail","Dragon Helm","Bracer","Battleboots")
WPName2[4]=new Array("Murasame","Reflectmail","Bronze Helm","Bracer","Battelboots")
WPName2[5]=new Array("Holy Lance","Platemail","Dragon Helm","Bracer","Battleboots")
WPName2[6]=new Array("Katana","Sneak Clothes","Leather Gauntlets","Fire","Disappear","Cure")
WPName2[7]=new Array("Summon Rod","Robe of Lords","Ifrit","Shiva","Bahamut","Holy")
var WPURL=new Array();
WPURL[1]=new Array("woodbow","leatherarmor","cure")
WPURL[2]=new Array("staff","wizardrobe","cure","fire")
WPURL[3]=new Array("broadsword","chainmail","helm","leathergt")
WPURL[4]=new Array("sword","chainmail","helm","leathergt")
WPURL[5]=new Array("spear","carabini","helm","leathergt")
WPURL[6]=new Array("sword","leatherarmor","leathergt","fire")
WPURL[7]=new Array("staff","wizardrobe","cure","ifrit")
var WPURL2=new Array();
WPURL2[1]=new Array("windslashbow","chainmail","forrestboots","leathergt","cure","protect")
WPURL2[2]=new Array("wizardrod","robeoflords","fire","ice","shock")
WPURL2[3]=new Array("mythrilsword","platemail","dragonhelm","bracer","battleboots")
WPURL2[4]=new Array("murasame","reflectmail","helm","bracer","battelboots")
WPURL2[5]=new Array("holylance","platemail","dragonhelm","bracer","battleboots")
WPURL2[6]=new Array("katana","sneakclothes","leathergt","fire","disappear","cure")
WPURL2[7]=new Array("summonrod","robeoflords","ifrit","shiva","bahamut","holy")
var Items=new Array("Potion","Remedy","Phoenix Down","Cursed Ring")
var ItemsURL=new Array("potion","remedy","phoenix","cursedring")
var Extension=".gif"
</script><script src="http://www.angelfire.com/magic/rpgmod/ff/invisionRPGv25.js"></script>
<script>
if(location.href.indexOf("act=UserCP") != -1) {
var tTD= document.getElementsByTagName('TD');
for (i=0;i<tTD.length;i++){
if (tTD[i].className=="pformleft" && tTD[i].innerText=="Your website url"){
tTD[i].innerHTML="<B>RPG Class:</b>"
document.theForm.WebSite.outerHTML = document.theForm.WebSite.outerHTML.replace("<INPUT","<select")
document.theForm.WebSite.outerHTML = document.theForm.WebSite.outerHTML.replace("size=40","size=0")
for (i=1;i<Race.length;i++){
document.theForm.WebSite.outerHTML+='<option value="http://invisionfree.com/RPG/' + Race[i][0] + '">' + Race[i][0] + '</option>'
}
document.theForm.WebSite.outerHTML+='</select>'
}}}
</script>