Closed JeffreyCA closed 9 years ago
What is a RuneCount? It looks like you may be talking about RuneSlot instead.
runeSlot.getRune().getStats()
will give you the stats for the Rune as sent by the Riot API (unfortunately some of the stats aren't properly included in what Riot sends and may be missing).
You can sum these over the entire RunePage to get aggregate stats for it.
I got runeCount from: final List<RuneCount> runeCount = participants.get(position).getRunes();
According to this, getRunes()
is java.util.List<RuneCount>
. Am I doing something wrong?
Nope, seems fine. I'd just forgotten that type existed. You should be able to access the stats with getRune().getStats() as you thought
Ok, so I think I have to run each rune through all of these methods listed here?
As things are now, yes. You should also multiply by the count in the RuneCount.
Got it, thank you
Sorry, one quick question, what does the Mod mean in getFlatArmorMod()
, getFlatCritChanceMod()
, etc, ?
I have a
List<RuneCount>
calledruneCount
. Right now this code just displays the number and the name of a rune a summoner has. How would I gather the combined stats from the runes? (Like how much additional armor, ad, ap, etc. the player gets from his runes)Do I use
runeCount.get(i).getRune().getStats()
?