
Sky said:
Also, if anyone wants to take over management of PowerCards... please do so. I don't even use it anymore and haven't for the past couple years.
!power {{ --whisper|GM --corners|10 --format|GM --titlefontshadow|none --name|Random Encounters --Check|~R [[ [TXT] 1t[Random-Encounter]]] ~R ^^Are you going to get something random, roll every hour. --Encounter|~R [[ [TXT] 1t[Encounters]]]~R }}
Ravenknight said:
Sky said:
Also, if anyone wants to take over management of PowerCards... please do so. I don't even use it anymore and haven't for the past couple years.
But...Powercards are awesome!
!power {{ --corners|10 --format|recharge --titlefontshadow|none --tokenid|@{selected|token_id} --emote|@{selected|token_name} is rolling initiative --name|Initiative Roller --?{Movement|D6,[[1d6]]|Advantage D4,[[1d4]]|None,[[0]]} --?{Ranged Attack|D4,[[1d4]]|Advantage D3,[[1d3]]|None,[[0]]} --?{Melee Attack|D8,[[1d8]]|Advantage D6,[[1d6]]|None,[[0]]} --?{Cast a Spell|D10,[[1d10]]|Advantage D8,[[1d8]]|None,[[0]]} --?{Additional|D3,[[1d3]]|D4,[[1d4]]|D6,[[1d6]]|D8,[[1d8]]|D10,[[1d10]]|None,[[0]]} --**//@{selected|token_name}'s Initiative is//** ~R[[ [TRKR] ?{Movement}+?{Ranged Attack}+?{Melee Attack}+?{Cast a Spell}+?{Additional}]]~R ^^This will be rolled each round. }}
Sky said:
You need to put all the dice into the single inline roll and use [^ID] to display the results elsewhere.
&{tracker}{{[[?{Movement|None,0|D6,[[1d6]]|D4,[[1d4]]}+?{Ranged|None,0|D4,[[1d4]]|D3,[[1d3]]}+?{Melee|None,0|D8,[[1d8]]|D6,[[1d6]]}+?{Spell|None,0|D10,[[1d10]]|D8,[[1d8]]}+?{Additional actions|None,0|D3,[[1d3]]|D4,[[1d4]]|D6,[[1d6]]|D8,[[1d8]]|D10,[[1d10]]}-@{selected|dexterity_mod}]]}}
Phoxounet said:
Hi there !
I would like to use the icons (such as +dazed) in the powercards and have 2 questions about them :
1) is there a list of all icons names I could use ? searched for one but couldn't find one
2) are the icons also displayed on the token when displayed in the powercard ?
Regards ! :)
Phoxounet said:
Hi there !
I would like to use the icons (such as +dazed) in the powercards and have 2 questions about them :
1) is there a list of all icons names I could use ? searched for one but couldn't find one
2) are the icons also displayed on the token when displayed in the powercard ?
Regards ! :)
Phoxounet said:
Hi there !
I would like to use the icons (such as +dazed) in the powercards and have 2 questions about them :
1) is there a list of all icons names I could use ? searched for one but couldn't find one
2) are the icons also displayed on the token when displayed in the powercard ?
Regards ! :)
shield|bolt-shield|put a shield on the targetAnd the following test PowerCard :
!power {{ --corners|10 --name|Shield --leftsub|Light Path --rightsub|Defense --Effect:|[+shield] }}and finally, the error I get :
TypeError: Cannot read property 'icon' of undefined TypeError: Cannot read property 'icon' of undefined at statusSymbol (apiscript.js:797:50) at RegExp.[Symbol.replace] (native) at String.replace (native) at formatter (apiscript.js:850:18) at doInlineFormatting (apiscript.js:884:11) at apiscript.js:456:23 at Array.forEach (native) at apiscript.js:454:14 at checkFinishedOps (eval at <anonymous> (/home/node/d20-api-server/api.js:150:1), <anonymous>:751:7) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:150:1), <anonymous>:831:8)
shield|bolt-shield|put a shield on the target blinded|bleeding-eye|bind the target for several rounds. blinded|bleeding-eye|bind the target for several rounds. rooted|cobweb|root the target. snare|snail|half speed
!power {{ --titlebackground|none --name|Kurschwert --leftsub|Nahkampfangriff^^ 1 Aktion --rightsub|1m Reichweite --tokenid|@{selected|token_id} --emote|**@{selected|character_name}** [[ [txt] 1t[Nahkampfangriff] ]] --Wurf:|~R [[ [$Atk] ?{Angriff|Standard, 1d20|Vorteil, 2d20kh1|Nachteil, 2d20kl1}r<1 + @{selected|dexterity_mod} ]] ~R --?? $Atk >= @{target||ac} ?? soundfx1|_play|Stichangriff --?? $Atk < @{target||ac} ?? !Missed|**Verfehlt!** --?? $Atk < @{target||ac} ?? soundfx2|_play|Miss --?? $Atk >= @{target||ac} AND $Atk.base <> 20 ?? Stichschaden:|~R [[ [$Dmg] ?{Hinterhalt?|Nein, 1|Ja, 2}d6 + @{selected|dexterity_mod} ]] } ~R --?? $Atk >= @{target||ac} AND $Atk.base <> 20 ?? alterbar3|_target|@{target||token_id} _bar|3 _amount|-[^Dmg] --?? $Atk.base == 20 ?? Kritischer Stichschaden:|~R [[ [$CritDmg] (?{Hinterhalt?} * 2)d6 + @{selected|Strength_mod} ]] ~R --?? $Atk.base == 20 ?? soundfx3|_play,delay:1|Krit --?? $Atk.base == 20 ?? alterbar3|_target|@{target||token_id} _bar|3 _amount|-[^CritDmg] }}
!power {{
--name|Cueillette
--format|lucidite
--Recherche :| [[ [$rec] ((2d10+2d10+@{selected|KNOWING} + @{selected|Pistage} + @{selected|SAGACITE} + @{selected|PERCEPTION})/2)-(?{Difficulté }) ]]
--Butin :|~R[[ (1+[^rec])t[Cueillette] ]]~R ~~~
}}
!power {{ --name|Cueillette --format|lucidite --Recherche:| [^rec] --Butin:|~R[[ (1 + [[ [$rec] ((2d10+2d10+@{selected|KNOWING} + @{selected|Pistage} + @{selected|SAGACITE} + @{selected|PERCEPTION})/2)-(?{Difficulté })]])t[Cueillette] ]]~R ~~~ }}
--name|Armes à Distance --leftsub|Compétence --rightsub|Risquée --Résultat :| [[ [$Test] 1D20 + @{ADR} [ADResse] + @{DistNiv} [Bonus Compétence] ]] --?? $Test.base == 1 OR $Test.base == 11 ?? Conséquence :| **__Echec Critique !!__** --?? $Test.base ~% 2 ?? Conséquence :| Échec de la prise de risque.~~~**__Résultat Effectif :__** [[ @{ADR} + @{DistNiv} ]] --?? $Test.base <> 1 AND $Test.base <> 11 AND $Test.base % 2 ?? Conséquence :| Prise de Risque Réussie !
Armes à Distance Compétence ♦ Risquée Résultat : 17 Conséquence : Échec de la prise de risque.Résultat Effectif : 6 Conséquence : Échec de la prise de risque.Résultat Effectif : $[[1]]
--?? $Test.base == 1 OR $Test.base == 11 ?? Conséquence :|
--?? $Test.base ~% 2 ?? Conséquence :|
- Same Name: This tag option is used to enable the use tags with the same name. Unlike repeating tags, the content is unique to each tag of the same name. To use this tag, add an asterisk * followed by a number (cannot use the same numbers).
- Example: Tag *1|Content
- Example: Tag *2|Content
Silvyre said:
--?? $Test.base == 1 OR $Test.base == 11 ?? Conséquence :|--?? $Test.base ~% 2 ?? Conséquence :|
PowerCards cannot simultaneously display two tags with identical names. From the OP:
- Same Name: This tag option is used to enable the use tags with the same name. Unlike repeating tags, the content is unique to each tag of the same name. To use this tag, add an asterisk * followed by a number (cannot use the same numbers).
- Example: Tag *1|Content
- Example: Tag *2|Content
Also, you can replace $Test.base <> 1 AND $Test.base <> 11 AND $Test.base % 2 with just $Test.base % 2
!power {{ --titlebackground|none --name|Kurze Rast --tokenid|@{selected|token_id} --Heilung|~R [[ [$Dmg] ?{Wieviel Punkte|0|1|2|3|4|5}d@{selected|hitdietype} ]] ~R --alterbar3|_target|@{selected|token_id} _bar|3 _amount|+[^Dmg] }}
Error: Firebase.update failed: First argument contains NaN in property 'bar3_value' Error: Firebase.update failed: First argument contains NaN in property 'bar3_value' at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186) at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207) at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462) at Ea (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403) at J.update (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318) at TrackedObj._doSave (/home/node/d20-api-server/api.js:766:27) at Timeout.later [as _onTimeout] (/home/node/d20-api-server/node_modules/underscore/underscore.js:828:25) at ontimeout (timers.js:380:14) at tryOnTimeout (timers.js:244:5) at Timer.listOnTimeout (timers.js:214:5)