diff --git a/Tormenta20/tormenta20.html b/Tormenta20/tormenta20.html index 4887d881c9..e4c268cfcd 100644 --- a/Tormenta20/tormenta20.html +++ b/Tormenta20/tormenta20.html @@ -4,7 +4,8 @@
- + + Nome do Personagem
@@ -31,7 +32,7 @@
- + @@ -49,7 +50,7 @@
- + @@ -67,7 +68,7 @@
- + @@ -85,7 +86,7 @@
- + @@ -103,7 +104,7 @@
- + @@ -121,7 +122,7 @@
- + @@ -204,7 +205,7 @@
- + @@ -383,7 +384,7 @@
- + W @@ -397,7 +398,7 @@
- + W @@ -431,7 +432,7 @@
- + W @@ -470,7 +471,7 @@
- + W @@ -504,7 +505,7 @@
- + W @@ -540,7 +541,7 @@
- + W @@ -574,7 +575,7 @@
- + W @@ -652,7 +653,7 @@
-
@@ -681,7 +682,7 @@
-
@@ -709,7 +710,7 @@
-
@@ -737,7 +738,7 @@
-
@@ -765,7 +766,7 @@
-
@@ -793,7 +794,7 @@
-
@@ -821,7 +822,7 @@
-
@@ -849,7 +850,7 @@
-
@@ -877,7 +878,7 @@
-
@@ -905,7 +906,7 @@
-
@@ -933,7 +934,7 @@
-
@@ -961,7 +962,7 @@
-
@@ -990,7 +991,7 @@
-
@@ -1018,7 +1019,7 @@
-
@@ -1046,7 +1047,7 @@
-
@@ -1074,7 +1075,7 @@
-
@@ -1102,7 +1103,7 @@
-
@@ -1130,7 +1131,7 @@
-
@@ -1158,7 +1159,7 @@
-
@@ -1186,7 +1187,7 @@
-
@@ -1214,7 +1215,7 @@
-
@@ -1242,7 +1243,7 @@
- @@ -1271,7 +1272,7 @@
- @@ -1300,7 +1301,7 @@
-
@@ -1328,7 +1329,7 @@
-
@@ -1356,7 +1357,7 @@
-
@@ -1384,7 +1385,7 @@
-
@@ -1412,7 +1413,7 @@
-
@@ -1440,7 +1441,7 @@
-
@@ -1468,7 +1469,7 @@
-
@@ -1579,10 +1580,11 @@ - + + - + @@ -1892,7 +1894,7 @@ }); //Calculando o dano de um acerto critico - on("change:repeating_attacks:danoataque change:repeating_attacks:multiplicadorcriticoataque", function() { + on("sheet:opened change:repeating_attacks:danoataque change:repeating_attacks:multiplicadorcriticoataque", function() { getAttrs([ "repeating_attacks_danoataque", "repeating_attacks_multiplicadorcriticoataque" @@ -2032,13 +2034,20 @@ }); }); - //Campo oculto para nome - on("sheet:opened change:charname", function(e){ + //Compatibilidade para o nome (FAZ O BOTÃO DE EDITAR A FICHA SUMIR) + /*on("sheet:opened", function(e){ getAttrs(["charname"], function(v){ - let newname = v.charname; - setAttrs({ - "character_name": newname - }); + + if(v.charname != '' || v.charname.length < 1){ + let newname = v.charname; + setAttrs({ + "character_name": newname + }); + } }); - }); + });*/ + + + + \ No newline at end of file