View Issue Details

IDProjectCategoryView StatusLast Update
0002270Infinitode 2[All Projects] Infinitode 2public2024-03-16 12:33
ReporterLdream Assigned Totherainycat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.8.10 
Target Version1.9.0 (Season 3)Fixed in Version1.9.0 (Season 3) 
Summary0002270: Laser 3rd skill makes charge longer than normal
Description

Suppose the laser will charge in 1 second and then upgrade the 3rd ability of laser after it attacks, the next charge will become longer than 1 second.
And the 2nd next charge will become normal again.

Steps To Reproduce

1.Build a laser
2.Upgrade the 3rd of laser

Additional Information

Probabaly reason:
Laser battery capacity is a value A, and charging speed is calculated by laser battery capacity_A,cauesd it is a % value, may be called B
Another value C is set to count whether charge is over.
install 3rd ability ==> laser battery capacity_A*=3 and charging speed_B don't change.
then in update=function()
C+=charging speed_B,
if C>laser battery capacity_A then C=0, and laser attack
in the next loop:
charging speed_B is calculated again so it becomes normal.

TagsNo tags attached.

Activities

therainycat

therainycat

2023-12-20 23:09

administrator   ~0002170

Needs to be reproduced in 1.9 Beta

therainycat

therainycat

2024-03-13 21:43

administrator   ~0002204

Last edited: 2024-03-13 21:49

View 2 revisions

Confirmed by Dense

The laser has around 45% charging speed. When I activate the 3rd ability during its attack, the next charging interval lasts more than 100 frames. and the ones before/after that are around 66 frames

therainycat

therainycat

2024-03-16 12:33

administrator   ~0002205

Fixed
Laser's projectiles are a separate entity - basically fire-and-forget. Increasing the duration will make Laser think its projectiles are still firing and will keep it in the state of "firing" even when existing projectiles (which last shorter) no longer exist

Issue History

Date Modified Username Field Change
2023-09-27 10:10 Ldream New Issue
2023-12-20 23:09 therainycat Assigned To => therainycat
2023-12-20 23:09 therainycat Status new => feedback
2023-12-20 23:09 therainycat Note Added: 0002170
2023-12-20 23:09 therainycat Target Version => 1.9.0 (Season 3)
2024-03-07 19:13 therainycat Priority high => normal
2024-03-13 21:43 therainycat Note Added: 0002204
2024-03-13 21:43 therainycat Status feedback => confirmed
2024-03-13 21:49 therainycat Note Edited: 0002204 View Revisions
2024-03-16 12:33 therainycat Note Added: 0002205
2024-03-16 12:33 therainycat Status confirmed => resolved
2024-03-16 12:33 therainycat Resolution open => fixed
2024-03-16 12:33 therainycat Fixed in Version => 1.9.0 (Season 3)