Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions Plugins/Sheets/Ficha Daggerheart/Cards.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,15 @@
<!-- ============================================================ -->
<!-- LABELS DA LINHA 1 -->
<!-- ============================================================ -->
<label g="col" g-width="6" g-width-lg="3"/>
<rectangle g="col" g-width="6" height="25" color="transparent">
<label g="col" g-width="6" class="lblCategoria" text="Ancestry"/>
<label g="col" g-width="6" class="lblCategoria" text="Community"/>
<rectangle g="col" g-width="12" height="25" color="transparent">
<label g="col" g-width="4" class="lblCategoria" text="Ancestry"/>
<label g="col" g-width="4" class="lblCategoria" text="Community"/>
<label g="col" g-width="4" class="lblCategoria" text="Transformation"/>
</rectangle>
<label g="col" g-width="6" g-width-lg="3"/>

<!-- Espaçamento para centralizar as colunas -->
<layout g="col" g-width="6" g-width-lg="3"/>

<!-- SLOT 1: Ancestry -->
<layout g="col" g-width="6" g-width-lg="3" g-min-height="645">
<rectangle g="col" g-width="12" g-width-lg="12" g-min-height="620" class="slotCarta" padding="{left=5,right=5,top=5,bottom=5}" onClick="self.imageZoom1:show()">
<layout g="col" g-width="4" g-width-lg="4" g-min-height="855">
<rectangle g="col" g-width="12" g-width-lg="12" g-min-height="830" class="slotCarta" padding="{left=5,right=5,top=5,bottom=5}" onClick="self.imageZoom1:show()">
<image align="client" field="cardAncestryURL" style="proportional" editable="false"/>
<popup name="imageZoom1" width="400" height="560" backOpacity="0.5" drawContainer="false">
<image align="client" field="cardAncestryURL"/>
Expand All @@ -148,8 +144,8 @@
</layout>

<!-- SLOT 2: Community -->
<layout g="col" g-width="6" g-width-lg="3" g-min-height="645">
<rectangle g="col" g-width="12" g-width-lg="12" height="620" class="slotCarta" padding="{left=5,right=5,top=5,bottom=5}" onClick="self.imageZoom2:show()">
<layout g="col" g-width="4" g-width-lg="4" g-min-height="855">
<rectangle g="col" g-width="12" g-width-lg="12" height="830" class="slotCarta" padding="{left=5,right=5,top=5,bottom=5}" onClick="self.imageZoom2:show()">
<image align="client" field="cardCommunityURL" style="proportional" editable="false"/>
<popup name="imageZoom2" width="400" height="560" backOpacity="0.5" drawContainer="false">
<image align="client" field="cardCommunityURL"/>
Expand All @@ -168,7 +164,28 @@
</event>
</button>
</layout>
<layout g="col" g-width="6" g-width-lg="3"/>

<!-- SLOT 3: Transformation -->
<layout g="col" g-width="4" g-width-lg="4" g-min-height="855">
<rectangle g="col" g-width="12" g-width-lg="12" height="830" class="slotCarta" padding="{left=5,right=5,top=5,bottom=5}" onClick="self.imageZoom11:show()">
<image align="client" field="cardTransformationURL" style="proportional" editable="false"/>
<popup name="imageZoom11" width="400" height="560" backOpacity="0.5" drawContainer="false">
<image align="client" field="cardTransformationURL"/>
</popup>
</rectangle>
<comboBox g="col" g-width="12" g-width-lg="8" field="cardTransformationNome" margins="{top=3, right=3, bottom=3}"
items="{'-- Selecione --', 'Demigod', 'Ghost', 'Reanimated', 'Shapeshifter', 'Vampire', 'Werewolf'}"
values="{'', 'Demigod', 'Ghost', 'Reanimated', 'Shapeshifter', 'Vampire', 'Werewolf'}"
fontColor="white" fontSize="10"/>
<dataLink field="cardTransformationNome" onChange="atualizarImagem('cardTransformation', imagensTransformation)"/>
<ShowButton field="cardTransformation"/>
<button g="col" g-width="12" g-width-lg="2" text="🞭" class="btnSlot" margins="{left=2,right=2,top=2,bottom=2}">
<event name="onClick">
sheet.cardTransformationURL = ""
sheet.cardTransformationNome = "-- Selecione --"
</event>
</button>
</layout>

<!-- ============================================================ -->
<!-- LABELS DA LINHA 2: Class -->
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Sheets/Ficha Daggerheart/Description.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<form name="Description" align="client" margins="{top=1}">
<scrollBox align="client" g-cnt-line-spacing="8" padding="{left=2,right=2,top=2,bottom=8}">
<label g="col" g-width="12" text="CHARACTER INFORMATION" height="24" horzTextAlign="center" vertTextAlign="center" fontSize="13" fontStyle="bold" fontColor="#CDAA57"/>
<label g="col" g-width="12" text="CHARACTER INFORMATION" height="24" horzTextAlign="center" vertTextAlign="center" fontSize="18" fontStyle="bold" fontColor="#CDAA57"/>

<rectangle g="col" g-width="12" color="#17130F" strokeColor="#5E4930" strokeSize="1" g-auto-height="true" g-min-height="124" padding="{left=10,right=10,top=10,bottom=10}" cornerType="round" xradius="6" yradius="6">
<layout g="col" g-width="12" g-width-lg="3" g-min-height="104">
Expand Down
126 changes: 69 additions & 57 deletions Plugins/Sheets/Ficha Daggerheart/cardDataBase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
-- ANCESTRY
-- ========================
local imagensAncestry = {
["Aetheris"] = "https://i.imgur.com/utPnfI2.png",
["Aetheris"] = "https://i.imgur.com/Bs4lmq1.png",
["Clank"] = "https://i.imgur.com/T8C0C1i.png",
["Drakona"] = "https://i.imgur.com/SvBt1bx.png",
["Dwarf"] = "https://i.imgur.com/eDtc753.png",
["Earthkin"] = "https://i.imgur.com/rHshEcO.png",
["Earthkin"] = "https://i.imgur.com/sP5X2nz.png",
["Elf"] = "https://i.imgur.com/5cqfibI.png",
["Emberkin"] = "https://i.imgur.com/AzL5JBW.png",
["Emberkin"] = "https://i.imgur.com/vA6EG0u.png",
["Faerie"] = "https://i.imgur.com/dl5FM2O.png",
["Faun"] = "https://i.imgur.com/o0Ixg9t.png",
["Firbolg"] = "https://i.imgur.com/3Bhr1QC.png",
["Fungril"] = "https://i.imgur.com/g3eiOLO.png",
["Galapa"] = "https://i.imgur.com/f45FaBC.png",
["Giant"] = "https://i.imgur.com/4FYky8z.png",
["Gnome"] = "https://i.imgur.com/MRBB5Zw.png",
["Gnome"] = "https://i.imgur.com/KMiiRP3.png",
["Goblin"] = "https://i.imgur.com/GkRBM1p.png",
["Halfling"] = "https://i.imgur.com/wmnYNXZ.png",
["Human"] = "https://i.imgur.com/1DpUYui.png",
Expand All @@ -40,45 +40,57 @@
["Orc"] = "https://i.imgur.com/JbY6gsb.png",
["Ribbet"] = "https://i.imgur.com/aEffZpS.png",
["Simiah"] = "https://i.imgur.com/kNuYIku.png",
["Skykin"] = "https://i.imgur.com/j6st8tE.png",
["Tidekin"] = "https://i.imgur.com/fh0pRse.png",
["Skykin"] = "https://i.imgur.com/tW7VXXM.png",
["Tidekin"] = "https://i.imgur.com/oLLlsu3.png",
}

-- ========================
-- COMMUNITY
-- ========================
local imagensCommunity = {
["Duneborne"] = "https://i.imgur.com/dq9lbEc.png",
["Freeborne"] = "https://i.imgur.com/ccSIE9j.png",
["Frostborne"] = "https://i.imgur.com/A7fVUZ4.png",
["Hearthborne"] = "https://i.imgur.com/HxvFrWE.png",
["Duneborne"] = "https://i.imgur.com/jfZuWG6.png",
["Freeborne"] = "https://i.imgur.com/fShCzI3.png",
["Frostborne"] = "https://i.imgur.com/fyGYoat.png",
["Hearthborne"] = "https://i.imgur.com/LTq3stN.png",
["Highborne"] = "https://i.imgur.com/vSsYNDs.png",
["Loreborne"] = "https://i.imgur.com/XTiyPrH.png",
["Orderborne"] = "https://i.imgur.com/D7FLSO6.png",
["Reborne"] = "https://i.imgur.com/hxYWEVx.png",
["Reborne"] = "https://i.imgur.com/VqTm77x.png",
["Ridgeborne"] = "https://i.imgur.com/JdsHAbc.png",
["Seaborne"] = "https://i.imgur.com/dcUeEi2.png",
["Slyborne"] = "https://i.imgur.com/QL0xdcz.png",
["Underborne"] = "https://i.imgur.com/UIfjMYg.png",
["Wanderborne"] = "https://i.imgur.com/qciyyh5.png",
["Warborne"] = "https://i.imgur.com/0mQI9Lb.png",
["Warborne"] = "https://i.imgur.com/uxOGseB.png",
["Wildborne"] = "https://i.imgur.com/uRniUDo.png",
}

-- ========================
-- TRANSFORMATION
-- ========================
local imagensTransformation = {
["Demigod"] = "https://i.imgur.com/Jy0Dz8T.png",
["Ghost"] = "https://i.imgur.com/gmPZeGw.png",
["Reanimated"] = "https://i.imgur.com/rDR8rhw.png",
["Shapeshifter"] = "https://i.imgur.com/YhrnkMw.png",
["Vampire"] = "https://i.imgur.com/05n5uBn.png",
["Werewolf"] = "https://i.imgur.com/eOHip7g.png",
}

-- ========================
-- SUBCLASS - FOUNDATION
-- (Cada classe tem 2 subclasses)
-- ========================
local imagensFoundation = {
-- Assassin
["Executioners Guild (F)"] = "https://i.imgur.com/9nEKTN3.png",
["Poisoners Guild (F)"] = "https://i.imgur.com/s8odxXv.png",
["Executioners Guild (F)"] = "https://i.imgur.com/axaHqh3.png",
["Poisoners Guild (F)"] = "https://i.imgur.com/esIUijA.png",
-- Bard
["Troubadour (F)"] = "https://i.imgur.com/ti4kXkW.png",
["Wordsmith (F)"] = "https://i.imgur.com/GM8nEa2.png",
-- Brawler
["Juggernaut (F)"] = "https://i.imgur.com/tOd5PZj.png",
["Martial Artist (F)"] = "https://i.imgur.com/eKqNtvg.png",
["Juggernaut (F)"] = "https://i.imgur.com/PTj0KKR.png",
["Martial Artist (F)"] = "https://i.imgur.com/40uOJMW.png",
-- Druid
["Warden of the Elements (F)"] = "https://i.imgur.com/BhI3fdY.png",
["Warden of Renewal (F)"] = "https://i.imgur.com/7wFRjpf.png",
Expand All @@ -98,14 +110,14 @@
["Elemental Origin (F)"] = "https://i.imgur.com/BHqr9GI.png",
["Primal Origin (F)"] = "https://i.imgur.com/6FK0bmG.png",
-- Warlock
["Pact of the Endless (F)"] = "https://i.imgur.com/UGD8HxX.png",
["Pact of the Wrathful (F)"] = "https://i.imgur.com/dT6SttD.png",
["Pact of the Endless (F)"] = "https://i.imgur.com/Pg0Cxqj.png",
["Pact of the Wrathful (F)"] = "https://i.imgur.com/E0A8Z1K.png",
-- Warrior
["Call of the Brave (F)"] = "https://i.imgur.com/9PNicvK.png",
["Call of the Slayer (F)"] = "https://i.imgur.com/mC6IZog.png",
-- Witch
["Hedge (F)"] = "https://i.imgur.com/xZ91VpI.png",
["Moon (F)"] = "https://i.imgur.com/y22YsKg.png",
["Hedge (F)"] = "https://i.imgur.com/bWnnrsS.png",
["Moon (F)"] = "https://i.imgur.com/jXCvTCD.png",
-- Wizard
["School of Knowledge (F)"] = "https://i.imgur.com/XLibT54.png",
["School of War (F)"] = "https://i.imgur.com/66MsEuf.png",
Expand All @@ -116,14 +128,14 @@
-- ========================
local imagensSpecialization = {
-- Assassin
["Executioners Guild (S)"] = "https://i.imgur.com/cgFTuIg.png",
["Poisoners Guild (S)"] = "https://i.imgur.com/kY5WZXK.png",
["Executioners Guild (S)"] = "https://i.imgur.com/Ww7UMBI.png",
["Poisoners Guild (S)"] = "https://i.imgur.com/sfvtpsT.png",
-- Bard
["Troubadour (S)"] = "https://i.imgur.com/4CWqmQs.png",
["Wordsmith (S)"] = "https://i.imgur.com/66xvjpf.png",
-- Brawler
["Juggernaut (S)"] = "https://i.imgur.com/pnMdc3l.png",
["Martial Artist (S)"] = "https://i.imgur.com/zWqgrHE.png",
["Juggernaut (S)"] = "https://i.imgur.com/IqC1ZDl.png",
["Martial Artist (S)"] = "https://i.imgur.com/TssWJYr.png",
-- Druid
["Warden of the Elements (S)"] = "https://i.imgur.com/kOCeCw2.png",
["Warden of Renewal (S)"] = "https://i.imgur.com/3h7cwAp.png",
Expand All @@ -143,14 +155,14 @@
["Elemental Origin (S)"] = "https://i.imgur.com/Em2VsJo.png",
["Primal Origin (S)"] = "https://i.imgur.com/Vle4l8k.png",
-- Warlock
["Pact of the Endless (S)"] = "https://i.imgur.com/zW5XuBS.png",
["Pact of the Wrathful (S)"] = "https://i.imgur.com/WUe3LL7.png",
["Pact of the Endless (S)"] = "https://i.imgur.com/AJ5AXVK.png",
["Pact of the Wrathful (S)"] = "https://i.imgur.com/ahlvdns.png",
-- Warrior
["Call of the Brave (S)"] = "https://i.imgur.com/x8312Bv.png",
["Call of the Slayer (S)"] = "https://i.imgur.com/ytRh7NQ.png",
-- Witch
["Hedge (S)"] = "https://i.imgur.com/djdLejR.png",
["Moon (S)"] = "https://i.imgur.com/Ngmes0l.png",
["Hedge (S)"] = "https://i.imgur.com/gsPDtVb.png",
["Moon (S)"] = "https://i.imgur.com/SMbRmOi.png",
-- Wizard
["School of Knowledge (S)"] = "https://i.imgur.com/Oru7Xly.png",
["School of War (S)"] = "https://i.imgur.com/T7yDk0H.png",
Expand All @@ -161,14 +173,14 @@
-- ========================
local imagensMastery = {
-- Assassin
["Executioners Guild (M)"] = "https://i.imgur.com/H67vOwK.png",
["Poisoners Guild (M)"] = "https://i.imgur.com/TaP0OJK.png",
["Executioners Guild (M)"] = "https://i.imgur.com/6UXjfIm.png",
["Poisoners Guild (M)"] = "https://i.imgur.com/qRD6dj5.png",
-- Bard
["Troubadour (M)"] = "https://i.imgur.com/pdjZNFO.png",
["Wordsmith (M)"] = "https://i.imgur.com/N1YbxCJ.png",
-- Brawler
["Juggernaut (M)"] = "https://i.imgur.com/9EFNF21.png",
["Martial Artist (M)"] = "https://i.imgur.com/zk7Jw8E.png",
["Juggernaut (M)"] = "https://i.imgur.com/mj9acW9.png",
["Martial Artist (M)"] = "https://i.imgur.com/MQTINwC.png",
-- Druid
["Warden of the Elements (M)"] = "https://i.imgur.com/4LsStzv.png",
["Warden of Renewal (M)"] = "https://i.imgur.com/tpoVbv8.png",
Expand All @@ -188,14 +200,14 @@
["Elemental Origin (M)"] = "https://i.imgur.com/RCwNte0.png",
["Primal Origin (M)"] = "https://i.imgur.com/4iGoXpE.png",
-- Warlock
["Pact of the Endless (M)"] = "https://i.imgur.com/f3nXNEs.png",
["Pact of the Wrathful (M)"] = "https://i.imgur.com/h4lypli.png",
["Pact of the Endless (M)"] = "https://i.imgur.com/Xq3Rkvq.png",
["Pact of the Wrathful (M)"] = "https://i.imgur.com/R5jZDUx.png",
-- Warrior
["Call of the Brave (M)"] = "https://i.imgur.com/G2OrpKb.png",
["Call of the Slayer (M)"] = "https://i.imgur.com/kDk2XwN.png",
-- Witch
["Hedge (M)"] = "https://i.imgur.com/x5eWf5V.png",
["Moon (M)"] = "https://i.imgur.com/UxLzo7v.png",
["Hedge (M)"] = "https://i.imgur.com/rvZxp7q.png",
["Moon (M)"] = "https://i.imgur.com/GPYuz0N.png",
-- Wizard
["School of Knowledge (M)"] = "https://i.imgur.com/HUJrN9X.png",
["School of War (M)"] = "https://i.imgur.com/28o51lB.png",
Expand Down Expand Up @@ -295,27 +307,27 @@
["[Codex] Book of Yarrow"] = "https://i.imgur.com/Yw7ujG0.png",
["[Codex] Transcendent Union"] = "https://i.imgur.com/ZYqmaeK.png",
-- DREAD (Lv1-10)
["[Dread] Blighting Strike"] = "https://i.imgur.com/FVYd5Zd.png",
["[Dread] Voice of Dread"] = "https://i.imgur.com/DXD5ww8.png",
["[Dread] Umbral Veil"] = "https://i.imgur.com/libxiZQ.png",
["[Dread] Hideous Retribution"] = "https://i.imgur.com/rWLy1qA.png",
["[Dread] Siphon Essence"] = "https://i.imgur.com/otrC9YJ.png",
["[Dread] Terrify"] = "https://i.imgur.com/Fd1tZLn.png",
["[Dread] Shared Trauma"] = "https://i.imgur.com/V467Hum.png",
["[Dread] Chains of Affliction"] = "https://i.imgur.com/uoMDoa8.png",
["[Dread] Summon Horror"] = "https://i.imgur.com/sPlIcVg.png",
["[Dread] Spectral Mist"] = "https://i.imgur.com/ok6I6qW.png",
["[Dread] Dire Strike"] = "https://i.imgur.com/NcK8B4C.png",
["[Dread] Darkfire"] = "https://i.imgur.com/gCglkTF.png",
["[Dread] Jump Scare"] = "https://i.imgur.com/ih2rL15.png",
["[Dread] Dread-Touched"] = "https://i.imgur.com/3PeYPgV.png",
["[Dread] Wall of Hunger"] = "https://i.imgur.com/NCZQti6.png",
["[Dread] Dark Army"] = "https://i.imgur.com/afB7CZP.png",
["[Dread] Eldritch Flesh"] = "https://i.imgur.com/IX7zi0F.png",
["[Dread] Damnation"] = "https://i.imgur.com/NCvAoJn.png",
["[Dread] Savor The Anguish"] = "https://i.imgur.com/yswngjk.png",
["[Dread] Invoke Torment"] = "https://i.imgur.com/539x2jr.png",
["[Dread] Avatar of Terror"] = "https://i.imgur.com/TyThZbr.png",
["[Dread] Blighting Strike"] = "https://i.imgur.com/BXzT02b.png",
["[Dread] Voice of Dread"] = "https://i.imgur.com/qYpEemg.png",
["[Dread] Umbral Veil"] = "https://i.imgur.com/KH82hvJ.png",
["[Dread] Hideous Retribution"] = "https://i.imgur.com/Lm7Wdku.png",
["[Dread] Siphon Essence"] = "https://i.imgur.com/5qYT4HF.png",
["[Dread] Terrify"] = "https://i.imgur.com/zqAALnG.png",
["[Dread] Shared Trauma"] = "https://i.imgur.com/z4eHHT9.png",
["[Dread] Chains of Affliction"] = "https://i.imgur.com/2W6zrt4.png",
["[Dread] Summon Horror"] = "https://i.imgur.com/6gOlJ4d.png",
["[Dread] Spectral Mist"] = "https://i.imgur.com/SyOQZUG.png",
["[Dread] Dire Strike"] = "https://i.imgur.com/tErn9oO.png",
["[Dread] Darkfire"] = "https://i.imgur.com/9maZVjx.png",
["[Dread] Jump Scare"] = "https://i.imgur.com/WPr9xjH.png",
["[Dread] Dread-Touched"] = "https://i.imgur.com/EOjN2Vh.png",
["[Dread] Wall of Hunger"] = "https://i.imgur.com/jYbehOv.png",
["[Dread] Dark Army"] = "https://i.imgur.com/XPPxgbj.png",
["[Dread] Eldritch Flesh"] = "https://i.imgur.com/211ebmz.png",
["[Dread] Damnation"] = "https://i.imgur.com/qNpUrAr.png",
["[Dread] Savor The Anguish"] = "https://i.imgur.com/FdqEIPz.png",
["[Dread] Invoke Torment"] = "https://i.imgur.com/kEuUPK4.png",
["[Dread] Avatar of Terror"] = "https://i.imgur.com/97eYlEo.png",
-- GRACE (Lv1-10)
["[Grace] Deft Deceiver"] = "https://i.imgur.com/wItY7FN.png",
["[Grace] Enrapture"] = "https://i.imgur.com/TRu7J21.png",
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Sheets/Ficha Daggerheart/daggerheart.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<rectangle align="top" height="142" color="#13110E" strokeColor="#6E5531" strokeSize="1" padding="{left=12,right=12,top=10,bottom=10}" margins="{left=8,right=8,top=8,bottom=4}" cornerType="round" xradius="8" yradius="8">
<layout align="left" width="112" margins="{right=12}">
<rectangle align="client" color="#0B0B0B" strokeColor="#A77B32" strokeSize="1" padding="{left=4,right=4,top=4,bottom=4}" cornerType="round" xradius="6" yradius="6">
<image align="client" field="avatar" editable="true" style="proportional">
<image align="client" field="avatar" editable="true" style="autoFit">
<event name="OnStartDrag">
drag:addData("imageURL", sheet.avatar)
</event>
Expand Down
Loading