mirror of
https://github.com/ikrpg/ikrpg.github.io.git
synced 2026-05-14 06:39:25 +00:00
changed storage system to be less obstusive (it doesnt need redirects anymore...)
This commit is contained in:
parent
f8ae5fc4c9
commit
f483a9ac55
8 changed files with 213 additions and 162 deletions
|
|
@ -121,8 +121,12 @@ categories: [ Character-Sheet ]
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<p>
|
||||
<a href="javascript:hero.url();">Store inserted data in URL</a>
|
||||
</p>
|
||||
<script type="text/javascript" src="/static/javascripts/heroic.js"></script>
|
||||
<script type="text/javascript">
|
||||
var Hero = {
|
||||
var hero = new Heroic({
|
||||
"name": "Hero's name",
|
||||
"spell1": { "title": "Spell 1", "cost": 0, "rng": 0, "aoe": "-", "pow": 0, "up": "NO", "off": "YES", "description": "Spell 1 description" },
|
||||
"spell2": { "title": "Spell 2", "cost": 0, "rng": 0, "aoe": "-", "pow": 0, "up": "NO", "off": "YES", "description": "Spell 2 description" },
|
||||
|
|
@ -135,6 +139,6 @@ categories: [ Character-Sheet ]
|
|||
"spell9": { "title": "", "cost": "", "rng": "", "aoe": "", "pow": "", "up": "", "off": "", "description": "" },
|
||||
"spell10": { "title": "", "cost": "", "rng": "", "aoe": "", "pow": "", "up": "", "off": "", "description": "" },
|
||||
"spell11": { "title": "", "cost": "", "rng": "", "aoe": "", "pow": "", "up": "", "off": "", "description": "" },
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="/static/javascripts/heroic.js"></script>
|
||||
});
|
||||
hero.bind();
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue