pokemon-showdown icon indicating copy to clipboard operation
pokemon-showdown copied to clipboard

Send move effectiveness data to the client

Open Slayer95 opened this issue 5 years ago • 10 comments

Also fixes disabledSource

Slayer95 avatar Mar 27 '19 05:03 Slayer95

Like this? Updated ~

Slayer95 avatar Mar 27 '19 19:03 Slayer95

Now literally using enums !

Slayer95 avatar Mar 28 '19 19:03 Slayer95

I took a step back and I think this is now looking much better

Slayer95 avatar Mar 28 '19 22:03 Slayer95

This pull request introduces 1 alert when merging 54dde847a24cb4dfceeedebe7ec9a7cb116a9a55 into 1f8eeae108009779f2f119a42ac1cb52e8e0cc4c - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

Comment posted by LGTM.com

Zarel avatar Mar 28 '19 23:03 Zarel

This pull request introduces 1 alert when merging d003c103928cef54972f23632a077127ef7feb98 into 1f8eeae108009779f2f119a42ac1cb52e8e0cc4c - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

Comment posted by LGTM.com

Zarel avatar Mar 29 '19 00:03 Zarel

Is this blocked on Zarel and my opposition to MoveEffectiveness in its constants.ts file? I think making a MoveEffectiveness type literal (type MoveEffectiveness = 'invalid' | 'neutral' | 'immune' | 'resist' | 'weak') and putting it in Battle (where pokemon.ts can still import it - just with import {Battle, MoveEffectiveness} from './battle' would be preferable (or it could be in Pokemon and imported by Battle, though this seems sort of backwards)

scheibo avatar Apr 12 '19 16:04 scheibo

More importantly, it's still missing client-side support. I'd have wanted this for AFD, but we are past the deadline !

Slayer95 avatar Apr 12 '19 21:04 Slayer95

This would be really nice to have implemented before BDSP comes out, are you still planning on working on it @Slayer95 ? If not I can take over.

KrisXV avatar Oct 24 '21 19:10 KrisXV

Please go ahead @KrisXV

Slayer95 avatar Oct 26 '21 01:10 Slayer95

@KrisXV are you working on this?

AnnikaCodes avatar Jul 22 '22 03:07 AnnikaCodes

Going to close this since it's been inactive for several years. Please feel free to reopen it if it's still relevant.

mia-pi-git avatar Oct 22 '23 23:10 mia-pi-git