Add RuneType enum and DamageType.ANTISIEGE
RuneType covers the rune_type values in the client cache data (CLASS, DISCIPLINE, RACE, TALENT). ANTISIEGE matches the combat_attack_resist key in the cache data. RuneTemplate.rune_type and combat_attack_resist on both cache templates now use these enums. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0d48080e38
commit
c14231afb9
6 files changed
+31
-11
No files matched your search
+2
-1
@@ -84,7 +84,8 @@ public class DeedParser {
|
||||
|
||||
deed.combat_health_current = deedJson.getFloat("combat_health_current");
|
||||
deed.combat_health_full = deedJson.getFloat("combat_health_full");
|
||||
deed.combat_attack_resist.putAll(CacheParserUtil.readFloatMap(deedJson.getJSONObject("combat_attack_resist")));
|
||||
deed.combat_attack_resist.putAll(CacheParserUtil.readEnumFloatMap(mbEnums.DamageType.class, deedJson.getJSONObject("combat_attack_resist"),
|
||||
templateId, "combat_attack_resist"));
|
||||
deed.combat_powers = deedJson.getJSONArray("combat_powers");
|
||||
|
||||
// item_
|
||||
|
||||
Reference in new issue
Block a user