dlapine Posted June 2, 2018 Report Share Posted June 2, 2018 There's no obvious tag for REAL_COST in the docs for hd templates. Is there an unspecified one or some other way to print the real costs? Trying to make it easier for the VPP users to see the current poers are using. Thanks for any insight. Quote Link to comment Share on other sites More sharing options...
dlapine Posted June 2, 2018 Author Report Share Posted June 2, 2018 I should add- any tag to display the real costs for power listed in a VPP? All the powers listed in a VPP are at 0 cost, but the app includes a "Real Cost" for tracking. Any tags/methods that let me print that value in a template? If I simply move the powers to a list, I can get the "real costs", but that blows up the character point tracking in HD; better than nothing, but it'd be nice to have a REAL_COST tag for VPP use. Quote Link to comment Share on other sites More sharing options...
Simon Posted June 2, 2018 Report Share Posted June 2, 2018 Best bet is likely to go the reflection route: <!--ATTRIBUTE_VALUE-->realCostPreList<!--/ATTRIBUTE_VALUE--> JohnBear 1 Quote Link to comment Share on other sites More sharing options...
dlapine Posted June 4, 2018 Author Report Share Posted June 4, 2018 Thanks, that works. Much better than moving the powers to a list Is there a list somewhere of the various elements of ATTRIBUTE_VALUE ? Quote Link to comment Share on other sites More sharing options...
Simon Posted June 4, 2018 Report Share Posted June 4, 2018 You'd need to go through the Javadoc for that. Any empty method call that the object in question supports is accessible via the ATTRIBUTE_VALUE construct -- it's really just doing reflection on the object to find a method matching the name specified and then calling it without arguments/parameters. Quote Link to comment Share on other sites More sharing options...
dlapine Posted June 4, 2018 Author Report Share Posted June 4, 2018 Ok, I have the source code and docs but I'm sure how motivated I will be. At least I know a way to get those items if I really need them Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.