From: JIRA (f. J. D. ) <ji...@pc...> - 2011-09-17 12:58:12
|
[ http://jira.pcgen.org/browse/CODE-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Dempsey updated CODE-1101: -------------------------------- Status: In Progress (was: Confirmed) > AMMUNITION OS Token fails to work > --------------------------------- > > Key: CODE-1101 > URL: http://jira.pcgen.org/browse/CODE-1101 > Project: Code > Issue Type: Bug > Components: Export system > Affects Versions: 5.17.8 > Reporter: Martijn Verburg > Assignee: James Dempsey > Priority: Major > Fix For: 5.17.9 > > > Line 205: > > |WEAPON.%num.RANGELIST.%range1.AMMUNITION.%ammo.TOTALHIT| > > > > The issue here is the disappearance/non-functionality of WEAPON.#.AMMUNITION. > > > > It is used in a couple of different places/ways. > > > > First, as a filter: > > |IIF(WEAPON.%num.AMMUNITION:0)| -> If there is no Ammo, do the standard > > > > Then an |ELSE| to cycle through all the ammo if there is some. > > > > Then > > |FOR,%ammo,0,WEAPON.%num.AMMUNITION-1,1,0| -> Loop to cycle through all the ammunitions for the weapon in question. > > > > The fix for this is for the coders to find/fix/re-implement the WEAPON.#.AMMUNITION token. > > > > Barak -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |