Hello, I'm currently trying to write a java function which can show a
list of all armor pieces a GCS-Character is wearing (for instance
Fragmentation Vest, Boots, Leather Gloves, Helmet...)
My problem is that I only managed to get the DR values for hit locations
alone and/or only the names of all mixed equipment parts (not only
armor), but not both together in one table.
So with a command like that "gcsChar.getArmor().getArmDR()) " I can see
the value of the damage resistance for the hit location "Arm".
Via RowIterator<Equipment> and with something like
equipment.getDescription() it's no problem to get a full list of <all>
equipment parts, including all the armor but (unfortunately) always
including travelling equipment, weapons and everything else...
>> But how can I get a simple list like that...? <<
Fragmentation Vest - DR:5
Leather Boots - DR:2
Leather Gloves - DR:2
Steel Helmet - DR:5
As can be seen, I need the combination "Name of the armor part" together
with the "value of the provided DR".
Thanks for any help!
Get latest updates about Open Source Projects, Conferences and News.