kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
362 stars 108 forks source link

Can't open type chart editor (SWSH) #339

Open zhengtaohong opened 1 year ago

zhengtaohong commented 1 year ago

Hello, may I ask how to modify the effects of items, such as the multiplier of the Life Orb or whether the item is consumed after use? These features are available in PK3DS, but does PKNX currently lack them? Can they be updated? Thank you very much!

kwsch commented 1 year ago

These features are available in PK3DS

No they aren't; the game code's damage formula is what handles the item's in-game effects, which is not editable, and no plans to.

zhengtaohong commented 1 year ago

may I ask if it is possible to modify the effectiveness between types, such as making Bug type restrain Fairy type?

kwsch commented 1 year ago

The type chart editor already handles this for SW/SH and LGP/E. https://github.com/kwsch/pkNX/blob/master/pkNX.WinForms/Subforms/TypeChart.cs

zhengtaohong commented 1 year ago

I have downloaded the latest version of PKNX, but there is no type chart option after opening Sword. Do I need to do anything else?

duckdoom4 commented 1 year ago

https://github.com/kwsch/pkNX/blob/master/pkNX.WinForms/MainEditor/EditorSWSH.cs#L184

It appears that editor is marked as 'not working'

zhengtaohong commented 1 year ago

@duckdoom4 Sorry, I didn't quite understand what you meant. What should I do to open the type chart editor in PKNX? 图片

duckdoom4 commented 1 year ago

You can't, the editor is not working. To get it working you'd have to fix the code :p

zhengtaohong commented 1 year ago

@duckdoom4 okay,thank you

duckdoom4 commented 1 year ago

I'll reopen this and change the title to have a reminder that someone should fix it at some point. Can't say who or when