As of now, there's a few typings that are hardcoded. Most notably, Ghost vs. Psychic is set to always be *0. I aim to fix that. Credit goes to Mystra who has been very helpful and supportive - I wouldn't have been able to do this by myself and I owe a lot to him. Edited files (search for GenOne within the files to see changes): pokemoninfo.cpp: http://pastebin.com/sABR17ae pokemoninfo.h: http://pastebin.com/5c6J84tU battle.cpp: http://pastebin.com/F1dAj41f New file: typestableRBY.txt: http://pastebin.com/dYtjGUJg
Actually I just realized that we have this in the future. https://github.com/coyotte508/pokemon-online/blob/devel/src/Server/battlerby.cpp So I'm not sure if the changes are mergeable at all ...