Dysth / Generations

The place to report bugs and submit suggestions to the Minecraft mod Generations!
6 stars 1 forks source link

Terrain Disappearing in battle #176

Closed Conno2429 closed 3 years ago

Conno2429 commented 3 years ago

What is the bug? After 5 turns of a specific terrain from a specific pokemon being up, the next time that pokemon is out the terrain disappears immediately. Ex: Tapu Koko causes electric terrain, and it goes uninterrupted for 5 turns. Once Koko switches back in AFTER the 5 turns, the terrain disappears at the end of the turn it switched in on. It ONLY affects that specific mon's terrain. Another terrain setter (with or without the same terrain, this is explained in another report called "Same Terrain Overlapping") can set up a terrain after the previous one bugs out with no issue. However, after 5 turns of that terrain being out, it bugs out as well. Terrain interruptions like Defog and another terrain setter will cut off the 5 turns, so the bug will only happen after the remaining amount of turns needed is reached. Ex: Koko leads and then switches into Fini, then back into Koko, repeat. Fini's terrain is up turns: 1,3,5,7, and 9, and it disappears at the end of 9. Koko leads terrain and has terrain up on turns: 2,4,6,8,10, and it disappears at the end of 10. The lead terrain doesn't matter because Fini replaced Koko's terrain on turn one, meaning the electric terrain never reached the end of the turn. This bug does not seem to affect pokemon with terrain extender as its item, so maybe there is a solution there.

What are the steps to reproduce the bug? Replicated by battling in-game and counting turns. After 5 turns of that specific terrain being up, the next time the setter is out it should disappear.

What version of Pixelmon and Forge are you on? Pixelmon Generations v8.4.2, forge 1.12.2-14.23.5.2847

Please provide any screenshots or crash reports if needed.