Yup, you're right, that was exactly the problem. I've found the best way to deal with this. Also I've decided Gen 3 is no longer in beta given the feedback on this thread.
It's not as simple as just changing the type though. Before Gen 5, Doom Desire and Future Sight calculate damage when they're used instead of when they hit. So if the target switches out, whatever is in that position after will take whatever damage it would have done to the original target. Also, because the damage is calculated on use, the user doesn't have to be on the field to have the hit boosted by its stat stages, Ability, or item like it does in Gen 5 and 6.
How could that be dealt with elsewhere? If it were dealt with elsewhere, changing the type of moveData in the effect wouldn't do anything since it'd be dealing residual or direct damage instead of move damage.Thought that was dealt elsewhere already, let me double check that and if necessary implement it.
How could that be dealt with elsewhere? If it were dealt with elsewhere, changing the type of moveData in the effect wouldn't do anything since it'd be dealing residual or direct damage instead of move damage.
Well, source and target could've gotten +Atk or -Atk or +Def or something since then, which shouldn't affect it, so source and target shouldn't even be saved.Long story short, which by the way I think is pretty much irrelevant here and there's this nice feature called conversations, is that I though that 1. target and source are saved 2. so onHit would check for gen and calculate with proper source/target. I obviously didn't read it before, just ran the tests with the aforementioned change, checked effective and stab messages.
Thanks for reporting, fixed next update!Found a weird bug, turn 15 protect doesn't work. It was first turn protect and it even said swampert protected itself but i still got hit by the hidden power from mence.
http://replay.pokemonshowdown.com/gen3ou-222735653
Fixed!
Fixed next update! (Also you're right, Quick Claw didn't show a message until Gen 4, that is also fixed next update)I have not saved a replay of it because I didn't think to (sorry) but my Skarmory's Whirlwind went through an Umbreon's Protect. Not sure if it's related to the above Protect bugs or if it's an forgotten XY feature.
Also, the sim announces when Quick Claw activates which I'm fairly sure should not happen.
It's a lot less obvious how to fix this one, I'll see what I can do. Pursuit is a strange thing (this only happens with Pursuit).
Thanks, it'll be fixed next client update! It was a purely visual bug; the Abilities did swap properly. Until then, you can continue watching the replays after they stop by clicking 'Resume' or 'Play' again.During two ADV matches, using Skill Swap displayed an error.
http://replay.pokemonshowdown.com/smogtours-gen3ou-83887
http://replay.pokemonshowdown.com/smogtours-gen3ou-83888
This occurred with Venomoth vs. Flareon and Murkrow (replays stop at that point), but I don't think that has anything to do with the error.
The matches were able to be played to completion, although it wasn't confirmed whether Skill Swap applied correctly.
Just quoting some old bug I found. Is it solved?Hi, I was trying to find some bugs on PS when I found one related to the move beat up.
Räikkönen sent out Houndoom!
Lhions sent out Blissey!
Lhions: no habia mirao las clauses
Räikkönen: xD, haz cualquier move
Start of turn 1
Houndoom used Beat Up!
Houndoom attacked!
The foe's Blissey lost 8% of its health!
Xtress attacked!
The foe's Blissey lost 7% of its health!
Whopper attacked!
The foe's Blissey lost 10% of its health!
Aerodactyl attacked!
The foe's Blissey lost 9% of its health!
Tanathos attacked!
The foe's Blissey lost 12% of its health!
Tiamatria attacked!
The foe's Blissey lost 12% of its health!
The foe's Blissey used Soft-Boiled!
The foe's Blissey regained health!
Battle between DuncanTop3History and Bernd Maylander started!
DuncanTop3History sent out Blissey!
Go! Houndoom!
Turn 1
Houndoom used Beat Up!
The opposing Blissey lost 3% of its health!
The opposing Blissey lost 2% of its health!
The opposing Blissey lost 3% of its health!
The opposing Blissey lost 4% of its health!
The opposing Blissey lost 3% of its health!
The opposing Blissey lost 4% of its health!
Hit 6 times!
The opposing Blissey used Soft-Boiled!
The opposing Blissey regained health!
The first log belongs to PO, while the second one belongs to PS. As you can see, the damage in the second log doesn't match with the first one. The move beat up has a singular mechanic, so I'm sure something is wrong with this.
Is this a legit hard thing to fix? I'm working on a gen 3 mod where Doom Desire is actually important and I'm not sure whether I should try tackling the problem myself, lol.It's not as simple as just changing the type though. Before Gen 5, Doom Desire and Future Sight calculate damage when they're used instead of when they hit. So if the target switches out, whatever is in that position after will take whatever damage it would have done to the original target. Also, because the damage is calculated on use, the user doesn't have to be on the field to have the hit boosted by its stat stages, Ability, or item like it does in Gen 5 and 6.