NPC spell generation, front end
This commit is contained in:
1 parent
a683cd9007
commit
b3c8ae7328
4 files changed
+17
-4
No files matched your search
@@ -270,7 +270,7 @@ div.acks-npc-card {
|
||||
|
||||
// Fill in spell details
|
||||
document.querySelector('#spell-modal-title').innerText = modal_spell.name;
|
||||
document.querySelector('#spell-modal-desc').innerText = modal_spell.description;
|
||||
document.querySelector('#spell-modal-desc').innerText = atob(modal_spell.description);
|
||||
|
||||
if(spell.range) {
|
||||
document.querySelector('#spell-modal-range').innerText = modal_spell.range;
|
||||
@@ -294,9 +294,9 @@ div.acks-npc-card {
|
||||
|
||||
function showExportModal() {
|
||||
{% if party %}
|
||||
{% for npc in party %}
|
||||
{% for npc in party %}
|
||||
party.push(JSON.parse('{{ npc.roll20_format | tojson }}'));
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
for(let cb of document.querySelectorAll('#pe_selects > label > input')) {
|
||||
|
||||
Reference in new issue
Block a user