Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Fighting Fantasy Framework 1.

2
Adding Monster
Step one: Extract zip file. You should see following foler structure:

Step two:
In /game/ forder create yourfile.html with following code:

<PRE>
<B>WHITE WOLF</B>
Skill: 6
Stamina: 7
</PRE>
<P>
<script language="javascript">
function white_wolf(){
window.parent.frames["prawa"].document.f.nazwa_wroga.value='WHITE WOLF';
window.parent.frames["prawa"].document.f.zr_wroga.value=8;
window.parent.frames["prawa"].document.f.wyt_wroga.value=10;
}
</script>
<P><input type="button" value="Update" onClick="white_wolf()">

Step 3:
In /game/index.html file put a link to yourfile.html
Open /index.html in your Browser. Tested browsers: IE 10 and Firefox
You should see something like this:

Click update button, the monster should be sent to sidebar.


Click Fight and the battle begins.

You might also like