Skip to content

Commit

Permalink
Ficha Pathfinder, Ficha RPG meister
Browse files Browse the repository at this point in the history
* Bug fixes
  • Loading branch information
ViniciusDinizLima committed Jul 28, 2024
1 parent bc1c097 commit 29e2869
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
<dataLink fields="{'bba', 'efetModFor', 'efetModDes', 'bmdTamanho', 'bmdOutros', 'bmdDiversos', 'nvNeg'}">
<event name="onChange">
if sheet== nil then return end
local dmc = (tonumber(sheet.bba) or 0) +
local dmc = 10 + (tonumber(sheet.bba) or 0) +
(tonumber(sheet.bmdTamanho) or 0) +
(tonumber(sheet.bmdOutros) or 0) +
(tonumber(sheet.bmdDiversos) or 0) +
Expand Down
32 changes: 16 additions & 16 deletions Plugins/Sheets/Ficha Pathfinder/FichaPathfinder/Inventory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@
(tonumber(sheet.precoBolsos) or 0) +
(tonumber(sheet.precoImoveis) or 0) +
(tonumber(sheet.precoInventorioComp) or 0) +
(tonumber(sheet.precoItens) or 0);
(tonumber(sheet.precoItens) or 0)

-- Calculando dinheiro restante
local total = tonumber(sheet.dinheiroTotal) or 0;
local restante = total - gastos;
local total = tonumber(sheet.dinheiroTotal) or 0
local restante = total - gastos

sheet.gastos = gastos;
sheet.dinheiroRestante = restante;
end;
sheet.gastos = gastos
sheet.dinheiroRestante = restante
end
</event>
</dataLink>
</rectangle>
Expand All @@ -111,21 +111,21 @@
<TitleLabel text="PESADA" field="cargaPesada" formatFloat=",0.## Kg" widthL="4" widthR="8"/>

<TitleLabel text="ERGUER" field="cargaErguer" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="EMPURRAR" field="cargaLevantar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="LEVANTAR" field="cargaEmpurrar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="EMPURRAR" field="cargaLevantar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>

<TitleLabel text="ATUAL" field="cargaAtual" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<Title text="FORÇA EXTRA" field="cargaForca" widthL="4" widthR="8"/>

<dataLink field="cargaPesada">
<event name="onUserChange">
<event name="onChange">
if sheet~= nil then

local mod = (tonumber(sheet.cargaPesada) or 0);
sheet.cargaErguer = mod;
sheet.cargaLevantar = (2*mod);
sheet.cargaEmpurrar = (5*mod);
end;
local mod = (tonumber(sheet.cargaPesada) or 0)
sheet.cargaErguer = mod
sheet.cargaEmpurrar = (2*mod)
sheet.cargaLevantar = (5*mod)
end
</event>
</dataLink>
<dataLink fields="{'pesoEquipamento', 'pesoArmas', 'pesoMochila', 'pesoPermanencias', 'pesoLivres', 'pesoOutros', 'pesoMunicoes', 'pesoBolsos', 'pesoImoveis', 'pesoInventorioComp'}">
Expand All @@ -139,9 +139,9 @@
(tonumber(sheet.pesoOutros) or 0) +
(tonumber(sheet.pesoMunicoes) or 0) +
(tonumber(sheet.pesoBolsos) or 0) +
(tonumber(sheet.pesoImoveis) or 0);
sheet.cargaAtual = carga;
end;
(tonumber(sheet.pesoImoveis) or 0)
sheet.cargaAtual = carga
end
</event>
</dataLink>
</rectangle>
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Sheets/Ficha Pathfinder/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<module sdkVersion="3.7b">
<id>FICHA_PATHFINDER</id>
<version>1.2.1</version>
<version>1.2.2</version>
<info lang="pt-BR">
<!--Informações do plugin na língua "pt-BR". Você pode ter várias tags "info", uma para cada tradução que quiser.-->
<name>Ficha Pathfinder</name>
Expand Down
Binary file modified Plugins/Sheets/Ficha Pathfinder/output/Ficha Pathfinder.rpk
Binary file not shown.
32 changes: 16 additions & 16 deletions Plugins/Sheets/Ficha RPG meister/FichaRPGmeister/Inventory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@
(tonumber(sheet.precoBolsos) or 0) +
(tonumber(sheet.precoImoveis) or 0) +
(tonumber(sheet.precoInventorioComp) or 0) +
(tonumber(sheet.precoItens) or 0);
(tonumber(sheet.precoItens) or 0)

-- Calculando dinheiro restante
local total = tonumber(sheet.dinheiroTotal) or 0;
local restante = total - gastos;
local total = tonumber(sheet.dinheiroTotal) or 0
local restante = total - gastos

sheet.gastos = gastos;
sheet.dinheiroRestante = restante;
end;
sheet.gastos = gastos
sheet.dinheiroRestante = restante
end
</event>
</dataLink>
</rectangle>
Expand All @@ -111,21 +111,21 @@
<TitleLabel text="PESADA" field="cargaPesada" formatFloat=",0.## Kg" widthL="4" widthR="8"/>

<TitleLabel text="ERGUER" field="cargaErguer" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="EMPURRAR" field="cargaLevantar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="LEVANTAR" field="cargaEmpurrar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<TitleLabel text="EMPURRAR" field="cargaLevantar" formatFloat=",0.## Kg" widthL="4" widthR="8"/>

<TitleLabel text="ATUAL" field="cargaAtual" formatFloat=",0.## Kg" widthL="4" widthR="8"/>
<Title text="FORÇA EXTRA" field="cargaForca" widthL="4" widthR="8"/>

<dataLink field="cargaPesada">
<event name="onUserChange">
<event name="onChange">
if sheet~= nil then

local mod = (tonumber(sheet.cargaPesada) or 0);
sheet.cargaErguer = mod;
sheet.cargaLevantar = (2*mod);
sheet.cargaEmpurrar = (5*mod);
end;
local mod = (tonumber(sheet.cargaPesada) or 0)
sheet.cargaErguer = mod
sheet.cargaEmpurrar = (2*mod)
sheet.cargaLevantar = (5*mod)
end
</event>
</dataLink>
<dataLink fields="{'pesoEquipamento', 'pesoArmas', 'pesoMochila', 'pesoPermanencias', 'pesoLivres', 'pesoOutros', 'pesoMunicoes', 'pesoBolsos', 'pesoImoveis', 'pesoInventorioComp'}">
Expand All @@ -139,9 +139,9 @@
(tonumber(sheet.pesoOutros) or 0) +
(tonumber(sheet.pesoMunicoes) or 0) +
(tonumber(sheet.pesoBolsos) or 0) +
(tonumber(sheet.pesoImoveis) or 0);
sheet.cargaAtual = carga;
end;
(tonumber(sheet.pesoImoveis) or 0)
sheet.cargaAtual = carga
end
</event>
</dataLink>
</rectangle>
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Sheets/Ficha RPG meister/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<module sdkVersion="3.7b">
<id>FICHA_RPG_MEISTER</id>
<version>4.2.1</version>
<version>4.2.2</version>
<info lang="pt-BR">
<!--Informações do plugin na língua "pt-BR". Você pode ter várias tags "info", uma para cada tradução que quiser.-->
<name>Ficha RPG meister</name>
Expand Down
Binary file modified Plugins/Sheets/Ficha RPG meister/output/Ficha RPG meister.rpk
Binary file not shown.
6 changes: 3 additions & 3 deletions Plugins/plugins.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
</dataType>
</dataTypes>
</element>
<element id="Ambesek.Starfinder" name="Ficha Starfinder" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20Starfinder/output/Ficha%20Starfinder.rpk?raw=true" fileName="Ficha Starfinder.rpk" repositoryPath="Sheets/Ficha Starfinder/" author="Ambesek" description="Ficha feita para o sistema Starfinder." version="1.1.1" compilationDate="20052024143659" compilationDigest="b9371e70161db47bb9d9f26ca7e7f09ea5646dfe">
<element id="Ambesek.Starfinder" name="Ficha Starfinder" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20Starfinder/output/Ficha%20Starfinder.rpk?raw=true" fileName="Ficha Starfinder.rpk" repositoryPath="Sheets/Ficha Starfinder/" author="Ambesek" description="Ficha feita para o sistema Starfinder." version="1.2.1" compilationDate="28072024133012" compilationDigest="acd90d7ffb134b94a5d51acfd39ebd199dccd68e">
<info lang="pt-BR" name="Ficha Starfinder" description="Ficha feita para o sistema Starfinder." author="Ambesek" site="http://pt-br.rpgmeister.wikia.com/wiki/Main_Page"/>
<dataTypes>
<dataType id="Ambesek.Starfinder.CompanhiaMercenaria" title="Ficha Starfinder (Companhia de Mercenarios)" formType="sheetTemplate">
Expand Down Expand Up @@ -686,7 +686,7 @@
</dataType>
</dataTypes>
</element>
<element id="FICHA_PATHFINDER" name="Ficha Pathfinder" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20Pathfinder/output/Ficha%20Pathfinder.rpk?raw=true" fileName="Ficha Pathfinder.rpk" repositoryPath="Sheets/Ficha Pathfinder/" author="Ambesek &amp; Nefertyne" description="Ficha feita para o sistema Pathfinder." version="1.2" compilationDate="25072024154300" compilationDigest="a42379ef56d28daf640e71d6b858c1d034e7d2f8">
<element id="FICHA_PATHFINDER" name="Ficha Pathfinder" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20Pathfinder/output/Ficha%20Pathfinder.rpk?raw=true" fileName="Ficha Pathfinder.rpk" repositoryPath="Sheets/Ficha Pathfinder/" author="Ambesek &amp; Nefertyne" description="Ficha feita para o sistema Pathfinder." version="1.2.2" compilationDate="28072024185314" compilationDigest="85ff9772219b1269ce02daf4b976b7d0819306fd">
<info lang="pt-BR" name="Ficha Pathfinder" description="Ficha feita para o sistema Pathfinder." author="Ambesek &amp; Nefertyne" site="http://pt-br.rpgmeister.wikia.com/wiki/Main_Page"/>
<dataTypes>
<dataType id="Ambesek.Nefertyne.FichaPathfinder" title="Ficha Pathfinder" formType="sheetTemplate">
Expand Down Expand Up @@ -726,7 +726,7 @@
</dataType>
</dataTypes>
</element>
<element id="FICHA_RPG_MEISTER" name="Ficha RPG meister" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20RPG%20meister/output/Ficha%20RPG%20meister.rpk?raw=true" fileName="Ficha RPG meister.rpk" repositoryPath="Sheets/Ficha RPG meister/" author="Ambesek &amp; Nefertyne" description="Ficha feita para a mesa RPGmeister. Funciona normalmente para o sistema d20/D&amp;D3.5" version="4.2" compilationDate="23072024002629" compilationDigest="ef8d2901974bf524be79f988b506f3e4307b8fab">
<element id="FICHA_RPG_MEISTER" name="Ficha RPG meister" url="https://github.com/rrpgfirecast/firecast/blob/master/Plugins/Sheets/Ficha%20RPG%20meister/output/Ficha%20RPG%20meister.rpk?raw=true" fileName="Ficha RPG meister.rpk" repositoryPath="Sheets/Ficha RPG meister/" author="Ambesek &amp; Nefertyne" description="Ficha feita para a mesa RPGmeister. Funciona normalmente para o sistema d20/D&amp;D3.5" version="4.2.2" compilationDate="28072024185456" compilationDigest="58547a72abdf90de1d2c3f06534a81ed559db43e">
<info lang="pt-BR" name="Ficha RPG meister" description="Ficha feita para a mesa RPGmeister. Funciona normalmente para o sistema d20/D&amp;D3.5" author="Ambesek &amp; Nefertyne" site="http://pt-br.rpgmeister.wikia.com/wiki/Main_Page"/>
<dataTypes>
<dataType id="Alterar.DataType.FichaRPGmeister" title="Ficha RPGmeister" formType="sheetTemplate">
Expand Down

0 comments on commit 29e2869

Please sign in to comment.