Make your own free website on Tripod.com

hymn@webtv.net Fantastic Gateway
NAMEDESCRIPTION
is
Weapons RISK
PHYSIQUE=
AGILITY=
PERCEPTION=
MENTALITY=
armor: P A


Jump in



M= O=
physique
agility
social
G S
Amber
copyright 1997 function newMon(list) { type = list.options[list.selectedIndex].value area = document.forms['scene'].elements['danger'].value if (area > 5) {area = 5}; if (area < 0) {area = 0} var mon = new Array() mon[0] = "wolf" mon[1] = "wolf" mon[2] = "soldier" mon[3] = "soldier" mon[4] = "caravaner" mon[5] = "bandit" mon[6] = "bandit" mon[7] = "bloodknight" mon[8] = "daedolarm" mon[9] = "wyvern" mon[10] = "soldier" mon[11] = "soldier" mon[12] = "soldier" mon[13] = "soldier" mon[14] = "soldier" mon[15] = "bloodknight" mon[16] = "bloodknight" mon[17] = "bloodknight" mon[18] = "bloodknight" mon[19] = "bloodknight" mon[20] = "wolf" mon[21] = "wolf" mon[22] = "wolf" mon[23] = "tiger" mon[24] = "bear" mon[25] = "daedolarm" mon[26] = "wyvern" mon[27] = "TM choice" mon[28] = "young dragon" mon[29] = "old dragon" mon[30] = "wolf" mon[31] = "tiger" mon[32] = "razorbeak" mon[33] = "bandit" mon[34] = "bear" mon[35] = "razorbeak" mon[36] = "tortoise" mon[37] = "daedolarm" mon[38] = "wyvern" mon[39] = "young dragon" mon[40] = "wolf" mon[41] = "wolf" mon[42] = "soldier" mon[43] = "warhog" mon[44] = "bear" mon[44] = "bloodknight" mon[45] = "daedolarm" mon[46] = "wyvern" mon[47] = "wyvern" mon[48] = "young dragon" mon[49] = "young dragon" mon[50] = "warhog" mon[51] = "bandit" mon[52] = "bandit" mon[53] = "soldier" mon[54] = "soldier" mon[55] = "bloodknight" mon[56] = "bloodknight" mon[57] = "daedolarm" mon[58] = "wyvern" mon[59] = "demon" num = Math.round(Math.random()*6)+parseInt(area) if (num > 9) {num=9} terrain = document.forms['scene'].elements['terrain'].value range = document.forms['scene'].elements['range'].value if (type == "road") {type = mon[num]; terrain="road"; range="4"} if (type == "city") {type = mon[num+10]; terrain="city"; range="2"} if (type == "forest") {type = mon[num+20]; terrain="forest"; range="3"} if (type == "river") {type = mon[num+30]; terrain="river"; range="3"} if (type == "coast") {type = mon[num+40]; terrain="coast"; range="4"} if (type == "dungeon") {type = mon[num+50]; terrain="dungeon"; range="1"} document.forms['scene'].elements['terrain'].value = terrain document.forms['scene'].elements['range'].value = range if (type == "TM choice") {group=0; risk=0; die=0; mr=0; tre="00"} if (type == "wolf") {group=10; risk=1; die=8; mr=0; tre="00"} if (type == "tiger") {group=2; risk=4; die=10; mr=0; tre="00"} if (type == "bear") {group=1; risk=10; die=6; mr=0; tre="00"} if (type == "warhog") {group=8; risk=2; die=8; mr=0; tre="00"} if (type == "rackox") {group=3; risk=15; die=5; mr=0; tre="00"} if (type == "razorbeak") {group=20; risk=0; die=5; mr=0; tre="00"} if (type == "tortoise") {group=1; risk=20; die=4; mr=4; tre="00"} if (type == "gargoyle") {group=5; risk=5; die=8; mr=10; tre="04"} if (type == "daedolarm") {group=2; risk=4; die=12; mr=5; tre="30"} if (type == "wyvern") {group=5; risk=10; die=15; mr=5; tre="04"} if (type == "young dragon") {group=4; risk=15; die=15; mr=11; tre="53"} if (type == "old dragon") {group=2; risk=30; die=12; mr=15; tre="85"} if (type == "bandit") {group=8; risk=3; die=8; mr=0; tre="20"} if (type == "soldier") {group=10; risk=3; die=9; mr=0; tre="10"} if (type == "bloodknight") {group=6; risk=3; die=12; mr=2; tre="21"} if (type == "caravaner") {group=20; risk=3; die=4; mr=0; tre="20"} if (type == "centaur scout") {group=3; risk=5; die=6; mr=0; tre="10"} if (type == "centaur warrior") {group=6; risk=5; die=10; mr=0 tre="20"} if (type == "demon") {group=2; risk=Math.round(Math.random()*5)+6; die=Math.round(Math.random()*10)+6; mr=Math.round(Math.random()*6)+3; tre="20"} party = Math.round(Math.random()*(1*group-1))+1 gross = tre.substring(0,1) silver = Math.round(Math.random()*1*party*gross*gross*gross) social = 1*party*tre.substring(1,2) tre = "nothing" if (gross > 0) {tre = silver+"s"} if (social > 0) {tre = social+" soc"} if (gross > 0 && social > 0) {tre = silver+"s & "+social+" soc" } max = document.forms['scene'].elements['range'].value dist = Math.round((max-1)*Math.random())+1 document.forms['monlist'].elements['mon'].value = type document.forms['monlist'].elements['num'].value = party document.forms['monlist'].elements['numleft'].value = party document.forms['monlist'].elements['monRisk'].value = risk document.forms['monlist'].elements['dice'].value = die document.forms['monlist'].elements['magRes'].value = mr document.forms['monlist'].elements['treas'].value = tre document.forms['scene'].elements['actual'].value = dist } function showMon() { type = document.forms['monlist'].elements['mon'].value number = document.forms['monlist'].elements['num'].value magic = document.forms['monlist'].elements['magRes'].value risk = document.forms['monlist'].elements['monRisk'].value die = document.forms['monlist'].elements['dice'].value dist = document.forms['scene'].elements['actual'].value enc = "Distance "+dist+" away, "+number+" "+type+"s are seen! (magic resistance="+magic+", Size="+risk+", Speed="+die+")" Chat.addChannelMessage(enc)} function endBattle() { type = document.forms['monlist'].elements['mon'].value treas = document.forms['monlist'].elements['treas'].value number = document.forms['monlist'].elements['num'].value risk = document.forms['monlist'].elements['monRisk'].value die = document.forms['monlist'].elements['dice'].value checkA = document.forms['hero'].elements['buttonaAa'].checked checkB = document.forms['hero'].elements['buttonbBb'].checked checkC = document.forms['hero'].elements['buttoncCc'].checked checkD = document.forms['hero'].elements['buttondDd'].checked heroA = document.forms['hero'].elements['aAa'].value+", " heroB = document.forms['hero'].elements['bBb'].value+", " heroC = document.forms['hero'].elements['cCc'].value+", " heroD = document.forms['hero'].elements['dDd'].value+", " if (checkA == false) {heroA = ""} if (checkB == false) {heroB = ""} if (checkC == false) {heroC = ""} if (checkD == false) {heroD = ""} battle = Math.round(2*risk/3+2*die/3) danger = Math.round(battle/2+1*number) if (danger > battle) {danger=battle} treasure = "The "+number+" "+type+"s (danger rating="+danger+") are dead. "+heroA+heroB+heroC+heroD+" were ACTIVE. The "+type+"s were carrying "+treas+". Heal all agility damage now." Chat.addChannelMessage(treasure) document.forms['hero'].elements['buttonaAa'].checked = false document.forms['hero'].elements['buttonbBb'].checked = false document.forms['hero'].elements['buttoncCc'].checked = false document.forms['hero'].elements['buttondDd'].checked = false theEnd = Math.random()*3 list = document.forms['utils'].elements['place'] sit = document.forms['scene'].elements['specific'].value badPlus = 0 if (sit == "palace") {badPlus = -1} if (sit == "cave") {badPlus = 2} if (theEnd < 1*advLength-1+1*badPlus && document.forms['utils'].elements['autoSc'].checked == true) {advLength = 0; dunTreas()} advLength++ if (type == "demon") {dunTreas()} } advLength = 0 function dunTreas() { sit = document.forms['scene'].elements['specific'].value var treas = new Array() treas[0] = "marble crucible worth nothing" treas[1] = "marble crucible worth 5s" treas[2] = "marble statuette worth 10s" treas[3] = "jade crucible worth 15s" treas[4] = "jade statuette worth 20s" treas[5] = "silver crucible worth 25s" treas[6] = "silver statuette worth 30s" treas[7] = "silver bound book worth 35s" treas[8] = "silver crucible worth 4g" treas[9] = "silver statuette worth 5g" treas[10] = "pile of clothing worth nothing" treas[11] = "case of rings worth 1g" treas[12] = "pendant worth 2g" treas[13] = "pendant worth 3g" treas[14] = "chalice worth 4g" treas[15] = "chalice worth 5g" treas[16] = "statuette worth 6g" treas[17] = "scepter worth 7g" treas[18] = "crown worth 8g" treas[19] = "crown worth 10g" treas[20] = "pouch with 5 silver coins" treas[21] = "nothing" treas[22] = "pouch with 10 silver coins" treas[23] = "nothing" treas[24] = "pouch with 20 silver coins" treas[25] = "nothing" treas[26] = "pouch with 30 silver coins" treas[27] = "nothing" treas[28] = "sword hilt worth 4g" treas[19] = "pouch with 40 silver coins" treas[30] = "5 silver coins" treas[31] = "nothing" treas[32] = "5 silver coins" treas[33] = "5 silver coins" treas[34] = "nothing" treas[35] = "10 silver coins" treas[36] = "10 silver coins" treas[37] = "nothing" treas[38] = "20 gold coins" treas[39] = "20 silver coins" treas[40] = "nothing" treas[41] = "palace" treas[42] = "temple" treas[43] = "nothing" treas[44] = "cave" treas[45] = "temple" treas[46] = "palace" treas[47] = "nothing" treas[48] = "ruins" treas[49] = "cave" danger = document.forms['scene'].elements['danger'].value if (danger < 0) {danger = 0}; if (danger > 5) {danger = 5} if (sit == "temple") {situation = 0} if (sit == "palace") {situation = 10} if (sit == "cave") {situation = 20} if (sit == "ruins") {situation = 30} if (sit == "wilderness") {situation = 40} if (sit == "market") {situation = 40} type = Math.round(Math.random()*4+1*danger+1*situation) treasure = treas[type] Chat.addChannelMessage("In the "+sit+" you also find a "+treasure) if (treasure == "cave" || treasure == "ruins" || treasure == "palace" || treasure == "temple") {document.forms['scene'].elements['specific'].value=treasure} else {newsit()} } function newsit() { terrain = document.forms['scene'].elements['terrain'].value spec = "wilderness" if (terrain == "city") {spec = "market"} document.forms['scene'].elements['specific'].value = spec } function showScene() { zone = document.forms['scene'].elements['zone'].value place = document.forms['scene'].elements['specific'].value terrain = document.forms['scene'].elements['terrain'].value note = document.forms['scene'].elements['note'].value descrip = "The adventurers are in a "+terrain+". ("+place+"), in "+zone+". Note:"+note Chat.addChannelMessage(descrip)} function changeRoom(chanRoom) { chan = chanRoom.options[chanRoom.selectedIndex].value if (chan == "Corum") { dan = "0" }; if (chan == "Bel") { dan = "1" }; if (chan == "TempleOfTheDragon") { dan = "3" }; if (chan == "EldarTemple") { dan = "5" }; if (chan == "Barbaros") { dan = "2" }; if (chan == "Bubbleworld") { dan = "4" }; if (chan == "ThundercatsBattle") { dan = "0" } document.forms['scene'].elements['danger'].value = dan document.forms['scene'].elements['zone'].value = chan temp = "transferring to "+chan+"... please wait for OK to lite" alert(temp) } function attack(soup) { def = document.forms['hero'].elements[soup].value att = document.forms['monlist'].elements['mon'].value size = document.forms['monlist'].elements['monRisk'].value speed = document.forms['monlist'].elements['dice'].value document.forms['monlist'].elements['numleft'].value-- var random = Math.round(speed*(Math.random()+Math.random())/2) var total = 1*size+1*random result = "A "+att+" (Size="+risk+") attacks "+def+" at speed="+random+"! (total ="+total+")" if (document.forms['monlist'].elements['numleft'].value < 0) {result = ""; endBattle()} Chat.addChannelMessage(result) return random document.forms['die'].elements['roll'].value = "" }
<---BATTLE UTILITIES--->
MONSTER How many (left)
Size <---die type---> Speed <---magic resistance---> M-R <---treasure---> treasure
Auto Scene

Danger notes

LEARN A B C D E TEACH