popstarfreas / DG-TS

Dark Gaming's Terraria Server
2 stars 2 forks source link

PvP Projectile Weapon Damage Bug #95

Open Fraxo opened 4 years ago

Fraxo commented 4 years ago

Describe the bug When using specific weapons, if you swap to another weapon while the projectiles of the previous weapon are still active on screen, the damage is transferred from the new weapon in hand to the projectiles on screen

To Reproduce Fire Electrosphere Launcher/Lunar Flare/Nebula Arcanum, and before the projectiles disappear, swap to a different weapon, ideally one with very low or very high damage in order to see the change more clearly. If you swap weapons before the projectiles hit anyone, they will do the new damage value as described above.

Expected behavior They should do the damage assigned to them via the PvP Manager.

Screenshots https://discordapp.com/channels/459819294730092555/493218793636626432/703720116935721063

Additional context This is a reoccurring bug, Lunar Flare and Nebula Arcanum are banned SOLELY due to the existence of this bug. Electrosphere will also be banned shortly, again as a result of this bug. There may be more, I do not recall, nor do I have any more written down. I will update this thread if I find any more weapons this specifically pertains to. Specific projectile IDs that this bug affects. 443 - Electrosphere 645 - Lunar Flare 617/619/620 - Nebula Arcanum