Code:
<style>
.rpgmain {font-size: 10px}
.rpgmain2 {color: 000000}
</style>
<script>
/*
RPG Hack v3.2
Created by Webworldx & Peter - 17.11.03
Updated for xHTML compliance by Magus
This code may not be redistributed without express permission.
This header must stay intact at all times. Failure to comply with the above may result in your board being deleted.
*/
RPGHigh="10000"
NextLevel="15"
MoneySign="$"
NextWeapon="8"
NextItem="20"
AddMoney="30"
MoneyOn="Y"
ItemWeapOn="Y"
var BaseURL="http://www.webpost.net/ww/wwx/ifrpg/images"
var StatsURL="http://www.webpost.net/ww/wwx"
var statsImage=[];
statsImage[0]=["HP","/hp.gif"]
statsImage[1]=["STR","/str.gif"]
statsImage[2]=["MAG","/mag.gif"]
statsImage[3]=["DEF","/def.gif"]
var theEXP = ["EXP","/exp.gif"]
function getStats() {
TheStats=[];
stats=[];
var HP=0;STR=1;MAG=2;DEF=3;Archer=1;Mage=2;Warrior=3;
TheStats[HP]=[]
TheStats[HP][Archer]=PostCount
TheStats[HP][Mage]=PostCount
TheStats[HP][Warrior]=PostCount
TheStats[STR]=[]
TheStats[STR][Archer]=parseInt(TheStats[HP][Archer]) - 5
TheStats[STR][Mage]=parseInt(TheStats[HP][Mage]) - 50
TheStats[STR][Warrior]=parseInt(TheStats[HP][Warrior]) + 10
TheStats[MAG]=[]
TheStats[MAG][Archer]=parseInt(TheStats[HP][Archer] * (3/2))
TheStats[MAG][Mage]=parseInt(TheStats[HP][Mage] * 2)
TheStats[MAG][Warrior]=parseInt(TheStats[HP][Warrior] / 2)
TheStats[DEF]=[]
TheStats[DEF][Archer]=parseInt((2/3) *(TheStats[HP][Archer] - 10))
TheStats[DEF][Mage]=parseInt(TheStats[HP][Mage] * (4/3))
TheStats[DEF][Warrior]=parseInt(TheStats[HP][Warrior] * (5/4))
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=[];
Race[1] = ["1","Archer"]
Race[2] = ["2","Mage"]
Race[3] = ["3","Warrior"]
var WPName=[ [] , [] ];
WPName[0][1]=["Bow","Gloves","Grass Boots","Thick Leather"]
WPName[0][2]=["Staff","Cloak","Freeze Spell","Basic Heal Spell","Seismic Wind"]
WPName[0][3]=["Wooden Sword","Light Armour","Helmet","Spear"]
WPName[1][1]=["Grand Bow","Tough Leather Gauntlets","Jungle Boots","Brigandine"]
WPName[1][2]=["Elite Staff","Cloak of Light","Repel Spell","Death Curse","Seismic Wind"]
WPName[1][3]=["Steel Sword","Immune Armour","Dazzling Helm","Spear of the Forsaken"]
var WPURL=[ [] , [] ];
WPURL[0][1]=["bow","gloves","grassboots","thickleather"]
WPURL[0][2]=["staff","cloak","freeze","basicheal","seismicwind"]
WPURL[0][3]=["wooden","lightarmour","helm","spear"]
WPURL[1][1]=["grandbow","leathergt","jungleboots","brigandine"]
WPURL[1][2]=["elitestaff","cloaklight","repel","deathcurse","seismicwind"]
WPURL[1][3]=["steel","immunearmour","dazzlinghelm","spforesaken"]
var Items=[]
Items[0]=["Fire Orb","Heal Leaf","Strength Increase Bottle","Ring of Death","Protect Shield","Sword of the Wise"]
Items[1]=["fireorb","healleaf","strincrease","ringdeath","lock","sticky"]
var Extension=".gif"
</script>
<script src="http://webpost.net/ww/wwx/ifrpg/images/u_rpgv3profile.js"></script>
<script src="http://webpost.net/ww/wwx/ifrpg/images/u_rpgv3forum.js"></script>
</script>