|
Reid
|
Jan 25 2010, 08:31 AM
Post #1
|
È una trappola!
- Posts:
- 6,767
- Group:
- Developer
- Member
- #223,645
- Joined:
- October 30, 2006
- I'm Browsing With
- Firefox
|
This topic has been moved from our official support board.
Originally posted by: tacoome_naruto - my rpg hack; ...
-
never mind...i got it.. - 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 hack made by tacoome_naruto. 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="1000" NextLevel="15" MoneySign="Â¥" NextWeapon="8" NextItem="20" AddMoney="15"
MoneyOn="Y" ItemWeapOn="Y"
var BaseURL="http://www.mystic.nu/images/motive/itemshop/" 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]=["SPRT","/sprt.gif"]
var theEXP = ["EXP","/exp.gif"]
function getStats() { TheStats=[]; stats=[]; var HP=0;STR=1;MAG=2;DEF=3;SPRT=4;Angel=1;Vampire=2;ogre=3;Demon=4;shinobi=5;catperson=6;
TheStats[HP]=[] TheStats[HP][Angel]=parseInt(PostCount) * 10 TheStats[HP][Vampire]=parseInt(PostCount) - 10 TheStats[HP][ogre]=parseInt(PostCount) + 3 TheStats[HP][Demon]=parseInt(PostCount) * 7 TheStats[HP][shinobi]=parseInt(PostCount) * 5 TheStats[HP][catperson]=parseInt(PostCount) * 2
TheStats[STR]=[] TheStats[STR][Angel]=parseInt(PostCount) - 5 TheStats[STR][Vampire]=parseInt(PostCount) + 50 TheStats[STR][ogre]=parseInt(PostCount) + 10 TheStats[STR][Demon]=parseInt(PostCount) + 17 TheStats[STR][shinobi]=parseInt(PostCount) * 15 TheStats[STR][catperson]=parseInt(PostCount) * 2
TheStats[MAG]=[] TheStats[MAG][Angel]=parseInt(PostCount) * (9/2) TheStats[MAG][Vampire]=parseInt(PostCount) * 2 TheStats[MAG][ogre]=parseInt(PostCount) / 2 TheStats[MAG][Demon]=parseInt(PostCount) * 1 TheStats[MAG][shinobi]=parseInt(PostCount) * 1 TheStats[MAG][catperson]=parseInt(PostCount) * 3
TheStats[DEF]=[] TheStats[DEF][Angel]=parseInt(PostCount) * (2/3) TheStats[DEF][Vampire]=parseInt(PostCount) * (4/3) TheStats[DEF][ogre]=parseInt(PostCount) * (5/4) TheStats[DEF][Demon]=parseInt(PostCount) * [4/9] TheStats[DEF][shinobi]=parseInt(PostCount) * [9/10] TheStats[DEF][catperson]=parseInt(PostCount) * + 30
TheStats[SPRT]=[] TheStats[SPRT][Angel]=parseInt(PostCount) +100 TheStats[SPRT][Vampire]=parseInt(PostCount) - 100 TheStats[SPRT][ogre]=parseInt(PostCount) + 3 TheStats[SPRT][Demon]=parseInt(PostCount) * [3/7] TheStats[SPRT][shinobi]=parseInt(PostCount) * 6 TheStats[SPRT][catperson]=parseInt(PostCount) + 30
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","Angel"] Race[2] = ["2","Vampire"] Race[3] = ["3","ogre"] Race[4] = ["4","Demon"] Race[5] = ["5","shinobi"] Race[6] = ["6","cat person"]
var WPName=[ [] , [] ] WPName[0][1]=["angel","angel(1)","bluetunic"] WPName[0][2]=["evil(1)","darkorb","masamune"] WPName[0][3]=["ogre(1)"] WPName[0][4]=["masamune","ogre","darkorb"] WPName[0][5]=["dragon(2)","dragon(4)","ss-wa"] WPName[0][6]=["takutohat","bluetunic"]
WPName[1][1]=["angelskiss","angel(2)","whitemagic"] WPName[1][2]=["evil(2)","blackout"] WPName[1][3]=] WPName[1][4]=["notos","scroll"] WPName[1][5]=["dragon(3)","dragon"] WPName[1][6]=["fist"]
var WPURL=[ [] , [] ] WPURL[0][1]=["angelic sword","angelic armour","under clothes"] WPURL[0][2]=["robe","shadows","masamune"] WPURL[0][3]=["junk armour"] WPURL[0][4]=["masamune","dark sword","shadow"] WPURL[0][5]=["armour","shoulder armour","broad sword"] WPURL[0][6]=["ears","blue clothes"]
WPURL[1][1]=["angelskiss","angelic sheild","white magic"] WPURL[1][2]=["bad luck","death"] WPURL[1][3]=] WPURL[1][4]=["gold sword","scroll"] WPURL[1][5]=["shoes","dragon"] WPURL[1][6]=["claws"]
var Items=[] Items[0]=["blessing","bush","cheese","feather","lmilk","magcard"] Items[1]=["watch","discuise","cheese","phonex down","milk","card deck"]
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>
i dun have a preview....i never made a board that it would go good on...
|