View Issue Details

IDProjectCategoryView StatusLast Update
0000854Infinitode 2[All Projects] Infinitode 2public2021-05-28 12:58
ReporterSWOOSH Assigned Toadministrator  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionopen 
PlatformMobileOSAndroidOS VersionAny
Product Version 
Target VersionFixed in Version 
Summary0000854: Original six cores always generate one XP per second
Description

EB-"The underlying issue: The CoreTileFactory.java file's function getExperienceGeneration(CoreTile coreTile, GameValueProvider gameValueProvider) function, which returns coreTile.g, always seems to return 1.

Even when changing both the eg value of the cores in 'core-tiles.json' and when changing the '1.0f' to another number in the line coreTile.g = jsonValue.getFloat("eg", 1.0f); (which is in the function fromJson(JsonValue jsonValue) under CoreTileFactory.java, it continues to return 1.

I was able to fix the issue by changing the line of code in MapSystem.java, seen in the 'beforeLine' attachment, to what you see in 'afterLine'. The change was that I used the getExperienceGeneration() function that's on the CoreTile object, instead of the getExperienceGeneration(CoreTile coreTile, GameValueProvider gameValueProvider) on the CoreTileFactory object.

Essentially, the getExperienceGeneration function on CoreTileFactory.java is incorrect. Unsure as to what the root cause is, though."

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-06-09 15:57 SWOOSH New Issue
2020-09-29 19:48 administrator Assigned To => administrator
2020-09-29 19:48 administrator Status new => acknowledged
2021-05-28 12:58 administrator Status acknowledged => closed