View Issue Details

IDProjectCategoryView StatusLast Update
0001950Infinitode 2[All Projects] Infinitode 2public2023-04-09 16:24
ReporterLdream Assigned Totherainycat  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformDesktopOSWindowsOS VersionAny
Product Version 
Target VersionFixed in Version1.8.5 (b181) 
Summary0001950: LOST OF METAPHOR TEXT
Description

once, when the metaphor less than 75% and 25% of hp, it will exist the text,
after update the 1.8.5, then text disappears.

Additional Information

We take the test, the main problem is the script:
if enemy.type == enums.EnemyType.METAPHOR_BOSS then\n
value of "enemy" doesn't equal nil,but we can't enter the if,
so we guess that the EnemyType is wrong.

TagsNo tags attached.

Activities

therainycat

therainycat

2021-12-23 13:03

administrator   ~0001842

Can you specify where exactly it happens (which level / script)? All I understood is that it is somehow related to Metaphor and its hp

Ldream

Ldream

2021-12-23 14:34

trusted_reporter   ~0001843

It happened on wave100.
The 75% and 25% of meta's hp could trigger ADVINAS's text in the past
but it don't happen now.
the problem may mainly locate in these code.

for i = 0, SP.map.spawnedEnemies.size - 1 do\n local enemy = SP.map.spawnedEnemies:get(i)\n if enemy.type == enums.EnemyType.METAPHOR_BOSS then\n boss = enemy\n break\n end\n end\n

because the enemy.type cannot be judged as a metaphor.

Ldream

Ldream

2021-12-23 14:40

trusted_reporter   ~0001844

On level5.8 and all other levels which need use judge enemy.type.

Issue History

Date Modified Username Field Change
2021-12-23 12:39 Ldream New Issue
2021-12-23 13:01 therainycat Priority urgent => normal
2021-12-23 13:03 therainycat Note Added: 0001842
2021-12-23 13:03 therainycat Assigned To => therainycat
2021-12-23 13:03 therainycat Status new => feedback
2021-12-23 14:34 Ldream Note Added: 0001843
2021-12-23 14:34 Ldream Status feedback => assigned
2021-12-23 14:40 Ldream Note Added: 0001844
2021-12-24 19:59 therainycat Status assigned => resolved
2021-12-24 19:59 therainycat Resolution open => fixed
2021-12-24 19:59 therainycat Fixed in Version => 1.8.5 (b181)
2023-04-09 16:24 administrator Status resolved => closed