
Hello, I'm running into a bit of an issue. My roll template worked before the last push of changes to it and now. Yeah, the processing time roll lag has gone from about 2.5 seconds to 9-14. (For those who were in the mentor forums, its roughly back where it was when nested inlines were first added). Now, I've been made aware of how massive the number of rolls being processed in my roll template are. More than 60+ rolls, but the problem is I dont really know how to reduce that without changing the way the roll template actually behaves and displays information. I'm looking for some thoughts, First here is what my roll template output looks like as shown in the image. I have after an exhaustive day of troubleshooting narrowed the problem section down to three lines of code in my HTML, essentially a <select> that is passing along multiple variables to the roll template. The Attack rolls are the section are the problem. <select title="Determines how attack rolls are calculated. (@{repeating_PRI-lvl-1-spells_X_spellatkroll})" class="sheet-table-data-center-sm" style="width: 75px;" name="attr_spellatkroll">
<option type="text" value="[[@{target|touchac}]]}} {{spell_target=@{target|token_name}}} {{spl_attack=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{dex-mod}+@{size}+@{rabmiscmod}+@{rabtempmod}+@{rabexternmod})]]}} {{spl_attack2=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{dex-mod}+@{size}+@{rabmiscmod}+@{rabtempmod}+@{rabexternmod})]]}} {{spl_attack3=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{dex-mod}+@{size}+@{rabmiscmod}+@{rabtempmod}+@{rabexternmod})]]}} {{spl_attack4=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{dex-mod}+@{size}+@{rabmiscmod}+@{rabtempmod}+@{rabexternmod})]]}} {{spl_attack5=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{dex-mod}+@{size}+@{rabmiscmod}+@{rabtempmod}+@{rabexternmod})]]}}" selected>Ranged</option>
<option type="text" value="[[@{target|touchac}]]}} {{spell_target=@{target|token_name}}} {{spl_attack=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{str-mod}+@{size}+@{mabmiscmod}+@{mabtempmod}+@{mabexternmod})]]}} {{spl_attack2=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{str-mod}+@{size}+@{mabmiscmod}+@{mabtempmod}+@{mabexternmod})]]}} {{spl_attack3=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{str-mod}+@{size}+@{mabmiscmod}+@{mabtempmod}+@{mabexternmod})]]}} {{spl_attack4=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{str-mod}+@{size}+@{mabmiscmod}+@{mabtempmod}+@{mabexternmod})]]}} {{spl_attack5=[[1d20cf<@{spellFailRng}cs>@{spellCritRng}+(@{bab}+@{str-mod}+@{size}+@{mabmiscmod}+@{mabtempmod}+@{mabexternmod})]]}}">Melee</option>
<option type="text" value="">No Attack</option>
</select> The reason value holds so many is it is the only way I could the system
to recognize that sometimes it needs to prompt the player to select a
token and sometimes not. I want the user to be able to select how many attacks are made (through a check box) and have that number of attacks displayed. WITHOUT API. It is also important to note that this was working perfectly fine 3 days ago. (Sat 4/25/2015). Before the final push of updates for nested inline rolls. As this is a core functionality of this character sheet I am kinda at a loss. Especially when I have a game that is very quickly approaching (About 2 weeks). That I cant even start planning for because of the amount of work that is being siphoned off by this blasted issue.