We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
LOTR RPG Hack v1.2; By Arkyon
Topic Started: Jan 25 2010, 08:27 AM (83 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Arkyon
LOTR RPG Hack v1.2
 
This is v2 of my LOTR RPG Hack.
it has 8 stats and 12 races this time.
Preview: Here
Races:
Elf
Wizard
Human
Dwarf
Hobbit
Ent
Wraith
Spirit
Spider
Troll
Uruk Hai
Orc

Stats:
HP
STR
MAG
DEF
SPD
AGL
SKL
LUCK

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
Customized using RPG Hack Customizer - By Markup
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.
----------------------------------------
Code by Arkyon
LOTR RPG Hack v1.2
*/

RPGHigh="2000"
NextLevel="10"
MoneySign="§"
NextWeapon="8"
NextItem="20"
AddMoney="15"

MoneyOn="N"
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"]
statsImage[4]=["SPD","/str.gif"]
statsImage[5]=["AGL","/mag.gif"]
statsImage[6]=["SKL","/hp.gif"]
statsImage[7]=["LUCK","/def.gif"]

var theEXP = ["EXP","/exp.gif"]

function getStats() {
TheStats=[];
stats=[];
var HP=0;STR=1;MAG=2;DEF=3;SPD=4;AGL=5;SKL=6;LUCK=7;Elf=1;Wizard=2;Human=3;Dwarf=4;Hobbit=5;Ent=6;Wraith=7;Spirit=8;Spider=9;Troll=10;Uruk_Hai=11;Orc=12;

TheStats[HP]=[]
TheStats[HP][Elf]=parseInt(PostCount) + 10
TheStats[HP][Wizard]=parseInt(PostCount) + 30
TheStats[HP][Human]=parseInt(PostCount)
TheStats[HP][Dwarf]=parseInt(PostCount) - 20
TheStats[HP][Hobbit]=parseInt(PostCount) - (2/3)
TheStats[HP][Ent]=parseInt(PostCount) * 5.6
TheStats[HP][Wraith]=parseInt(PostCount) / (1/2)
TheStats[HP][Spirit]=parseInt(PostCount) / (1/4)
TheStats[HP][Spider]=parseInt(PostCount) / (3/5)
TheStats[HP][Troll]=parseInt(PostCount) * 2.7
TheStats[HP][Uruk_Hai]=parseInt(PostCount) * 1.5
TheStats[HP][Orc]=parseInt(PostCount) * 1.5 - (1/2)

TheStats[STR]=[]
TheStats[STR][Elf]=parseInt(PostCount) - 5
TheStats[STR][Wizard]=parseInt(PostCount) - 50
TheStats[STR][Human]=parseInt(PostCount) + 10
TheStats[STR][Dwarf]=parseInt(PostCount) + 35
TheStats[STR][Hobbit]=parseInt(PostCount) / 1.3
TheStats[STR][Ent]=parseInt(PostCount) * 5.6
TheStats[STR][Wraith]=parseInt(PostCount) * 2
TheStats[STR][Spirit]=parseInt(PostCount) / 2
TheStats[STR][Spider]=parseInt(PostCount) / (5/4)
TheStats[STR][Troll]=parseInt(PostCount) * 5
TheStats[STR][Uruk_Hai]=parseInt(PostCount) * 1.5
TheStats[STR][Orc]=parseInt(PostCount) * 1.5 - (1/2)

TheStats[MAG]=[]
TheStats[MAG][Elf]=parseInt(PostCount) * (3/2)
TheStats[MAG][Wizard]=parseInt(PostCount) * 2
TheStats[MAG][Human]=parseInt(PostCount) / 2
TheStats[MAG][Dwarf]=parseInt(PostCount) * 1.5
TheStats[MAG][Hobbit]=parseInt(PostCount) * (1/4)
TheStats[MAG][Ent]=parseInt(PostCount)
TheStats[MAG][Wraith]=parseInt(PostCount) * 3
TheStats[MAG][Spirit]=parseInt(PostCount) * 2.5
TheStats[MAG][Spider]=parseInt(PostCount) / 2
TheStats[MAG][Troll]=parseInt(PostCount)
TheStats[MAG][Uruk_Hai]=parseInt(PostCount)
TheStats[MAG][Orc]=parseInt(PostCount)

TheStats[DEF]=[]
TheStats[DEF][Elf]=parseInt(PostCount) * (2/3)
TheStats[DEF][Wizard]=parseInt(PostCount) * (4/3)
TheStats[DEF][Human]=parseInt(PostCount) * (5/4)
TheStats[DEF][Dwarf]=parseInt(PostCount) * (2/3)
TheStats[DEF][Hobbit]=parseInt(PostCount)
TheStats[DEF][Ent]=parseInt(PostCount) * 5.5
TheStats[DEF][Wraith]=parseInt(PostCount) * (4)
TheStats[DEF][Spirit]=parseInt(PostCount) / (5)
TheStats[DEF][Spider]=parseInt(PostCount) + 40
TheStats[DEF][Troll]=parseInt(PostCount) * 4
TheStats[DEF][Uruk_Hai]=parseInt(PostCount) * 2
TheStats[DEF][Orc]=parseInt(PostCount) / 2

TheStats[SPD]=[]
TheStats[SPD][Elf]=parseInt(PostCount) * 3
TheStats[SPD][Wizard]=parseInt(PostCount)
TheStats[SPD][Human]=parseInt(PostCount) * 1.5
TheStats[SPD][Dwarf]=parseInt(PostCount) / (2/3)
TheStats[SPD][Hobbit]=parseInt(PostCount) / 2
TheStats[SPD][Ent]=parseInt(PostCount) / 6
TheStats[SPD][Wraith]=parseInt(PostCount) / 1.5
TheStats[SPD][Spirit]=parseInt(PostCount) * 2.5
TheStats[SPD][Spider]=parseInt(PostCount) * 3.5
TheStats[SPD][Troll]=parseInt(PostCount) / 4
TheStats[SPD][Uruk_Hai]=parseInt(PostCount) * 2.3
TheStats[SPD][Orc]=parseInt(PostCount) * 4.6

TheStats[AGL]=[]
TheStats[AGL][Elf]=parseInt(PostCount) * 5.5
TheStats[AGL][Wizard]=parseInt(PostCount) * 3
TheStats[AGL][Human]=parseInt(PostCount) * 1.5
TheStats[AGL][Dwarf]=parseInt(PostCount) / 2
TheStats[AGL][Hobbit]=parseInt(PostCount) / 2.5
TheStats[AGL][Ent]=parseInt(PostCount) / 10
TheStats[AGL][Wraith]=parseInt(PostCount) / 3.45
TheStats[AGL][Spirit]=parseInt(PostCount) * 4.5
TheStats[AGL][Spider]=parseInt(PostCount) * 4
TheStats[AGL][Troll]=parseInt(PostCount) / 2
TheStats[AGL][Uruk_Hai]=parseInt(PostCount) * 2.5
TheStats[AGL][Orc]=parseInt(PostCount) * 5

TheStats[SKL]=[]
TheStats[SKL][Elf]=parseInt(PostCount) * 5
TheStats[SKL][Wizard]=parseInt(PostCount) * 5
TheStats[SKL][Human]=parseInt(PostCount) * 3
TheStats[SKL][Dwarf]=parseInt(PostCount) * 5
TheStats[SKL][Hobbit]=parseInt(PostCount) * 2
TheStats[SKL][Ent]=parseInt(PostCount) / 2
TheStats[SKL][Wraith]=parseInt(PostCount) * 2.5
TheStats[SKL][Spirit]=parseInt(PostCount) / 2.3
TheStats[SKL][Spider]=parseInt(PostCount) / 6
TheStats[SKL][Troll]=parseInt(PostCount) / 6.5
TheStats[SKL][Uruk_Hai]=parseInt(PostCount) * (4/5)
TheStats[SKL][Uruk_Hai]=parseInt(PostCount) / (4/5)

TheStats[LUCK]=[]
TheStats[LUCK][Elf]=parseInt(PostCount) / 2
TheStats[LUCK][Wizard]=parseInt(PostCount) / 2
TheStats[LUCK][Human]=parseInt(PostCount) / 2
TheStats[LUCK][Dwarf]=parseInt(PostCount) / 2
TheStats[LUCK][Hobbit]=parseInt(PostCount) / 2
TheStats[LUCK][Ent]=parseInt(PostCount) / 2
TheStats[LUCK][Wraith]=parseInt(PostCount) / 2
TheStats[LUCK][Spirit]=parseInt(PostCount) / 2
TheStats[LUCK][Spider]=parseInt(PostCount) / 2
TheStats[LUCK][Troll]=parseInt(PostCount) / 2
TheStats[LUCK][Uruk_Hai]=parseInt(PostCount) / 2
TheStats[LUCK][Orc]=parseInt(PostCount) / 2

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","Elf"]
Race[2] = ["2","Wizard"]
Race[3] = ["3","Human"]
Race[4] = ["4","Dwarf"]
Race[5] = ["5","Hobbit"]
Race[6] = ["6","Ent"]
Race[7] = ["7","Wraith"]
Race[8] = ["8","Spirit"]
Race[9] = ["9","Spider"]
Race[10] = ["10","Troll"]
Race[11] = ["11","Uruk_Hai"]
Race[12] = ["12","Orc"]

var WPName=[ [] , [] ]
WPName[0][1]=["Bow","Gloves","Grass Boots","Thick Leather","Daggar"]
WPName[0][2]=["Staff","Cloak","Freeze Spell","Basic Heal Spell","Seismic Wind","Sword"]
WPName[0][3]=["Wooden Sword","Light Armour","Helmet","Spear","bow"]
WPName[0][4]=["Axe","lightarmour","Helm"]
WPName[0][5]=["Sword of Westernesse","Cloak","Chain Mail"]
WPName[0][6]=["Barrel"]
WPName[0][7]=["Morgul Dagger","Cloak"]
WPName[0][8]=["Rusty Sword","Spirit armour","Bow"]
WPName[0][9]=["Claws"]
WPName[0][10]=["Warhammer"]
WPName[0][11]=["Scimitar","Bow","Helm"]
WPName[0][12]=["Scimitar","Bow","Helm"]

WPName[1][1]=["Galadhrim Bow","Tough Leather Gauntlets","Jungle Boots","Brigandine","White knife"]
WPName[1][2]=["Elite Staff","Cloak of Light","Repel Spell","Death Curse","Seismic Wind","Glamdring"]
WPName[1][3]=["Steel Sword","Gondor Armour","Dazzling Helm","Lance","Longbow"]
WPName[1][4]=["Battleaxe","Dwarf Mail","Elite Helm"]
WPName[1][5]=["Sting","Cloak of Lothlorien","Mithril Mail"]
WPName[1][6]=["Boulder"]
WPName[1][7]=["Morgul Blade","Cloak of shaows"]
WPName[1][8]=["Ghost blade","Ghost armour","Bow of the dead"]
WPName[1][9]=["Golden fangs"]
WPName[1][10]=["Pike"]
WPName[1][11]=["Berserker blade","Lurtz' bow","Cheiften Helm"]
WPName[1][12]=["Berserker blade","Cheiften bow","Cheiften Helm"]

var WPURL=[ [] , [] ]
WPURL[0][1]=["bow","gloves","grassboots","thickleather","kora"]
WPURL[0][2]=["staff","cloak","freeze","basicheal","seismicwind","dedala"]
WPURL[0][3]=["wooden","lightarmour","helm","spear","bow"]
WPURL[0][4]=["doomhache","lightarmour","helm"]
WPURL[0][5]=["wooden","cloak","thickleather"]
WPURL[0][6]=["baril"]
WPURL[0][7]=["sticky","cloak"]
WPURL[0][8]=["wooden","immunearmour","bow"]
WPURL[0][9]=["fendoir"]
WPURL[0][10]=["maillet"]
WPURL[0][11]=["steel","bow","helm"]
WPURL[0][12]=["steel","bow","helm"]

WPURL[1][1]=["garudabuster","leathergt","jungleboots","brigandine","dadela"]
WPURL[1][2]=["elitestaff","cloaklight","repel","deathcurse","seismicwind","yatagan"]
WPURL[1][3]=["steel","immunearmour","dazzlinghelm","spforsaken","grandbw"]
WPURL[1][4]=["hallebard","brigandine","dazzlinghelm"]
WPURL[1][5]=["steel","cloaklight","brigandine"]
WPURL[1][6]=["kora"]
WPURL[1][7]=["smashir","cloaklight"]
WPURL[1][8]=["vouge","brigandine"," haquebute"]
WPURL[1][9]=["katar"]
WPURL[1][10]=["hallebard"]
WPURL[1][11]=["hallebard","haquebute","dazzlinghelm"]
WPURL[1][12]=["hallebard","haquebute","dazzlinghelm"]

var Items=[]
Items[0]=["Ruby","Athelas","Mirviour","Ring of Power","Shield","Anduril","pipeweed","rope"]
Items[1]=["fireorb","healleaf","strincrease","ringdeath","lock","kora","baril","corde"]

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>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply