From f71980382a5b680b080a1dc945f5b70fb9fcf5ef Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 16 May 2024 21:35:21 -0700 Subject: [PATCH] add favored weapon type table in comments --- src/ItemCreator.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ItemCreator.cc b/src/ItemCreator.cc index 2df98d84..8c678f84 100644 --- a/src/ItemCreator.cc +++ b/src/ItemCreator.cc @@ -7,6 +7,17 @@ using namespace std; +// The favored weapon type table is hardcoded in the game client. The table is: +// Viridia shots +// Greennill rifles +// Skyly swords +// Bluefull partisans +// Purplenum mechguns +// Pinkal canes +// Redria (none) +// Oran daggers +// Yellowboze (none) +// Whitill slicers static const array favored_weapon_by_section_id = { 0x09, 0x07, 0x02, 0x04, 0x08, 0x0A, 0xFF, 0x03, 0xFF, 0x05};