Skip to content

Commit

Permalink
Docs & fixes in bounty hunt table
Browse files Browse the repository at this point in the history
  • Loading branch information
captainurist committed Oct 7, 2023
1 parent 6d71f99 commit d8c1dd5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/Engine/Objects/MonsterEnums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ struct BountyHuntableMask : IndexedArray<bool, HOUSE_FIRST_TOWN_HALL, HOUSE_LAST
}
};

// TODO(captainurist): Tbh the table still makes little sense. Why are Angels bounty-huntable in Celeste?
/**
* Table of monster types that can be targeted in bounty hunts in each of the game's town halls.
*
* This is autogenerated code. It was, however, generated from code that was subsequently deleted, and then the data
* here was edited. Feel free to edit.
*
* @see runBountyHuntCodeGen
*/
static constexpr IndexedArray<BountyHuntableMask, MONSTER_TYPE_FIRST, MONSTER_TYPE_LAST> bountyHuntableMaskByMonsterType = {
{MONSTER_TYPE_ANGEL, {HOUSE_TOWN_HALL_HARMONDALE, HOUSE_TOWN_HALL_ERATHIA, HOUSE_TOWN_HALL_TULAREAN_FOREST, HOUSE_TOWN_HALL_CELESTE, HOUSE_TOWN_HALL_PIT}},
{MONSTER_TYPE_ARCHER, {HOUSE_TOWN_HALL_HARMONDALE, HOUSE_TOWN_HALL_TULAREAN_FOREST, HOUSE_TOWN_HALL_CELESTE, HOUSE_TOWN_HALL_PIT}},
Expand Down Expand Up @@ -206,7 +215,9 @@ static constexpr IndexedArray<BountyHuntableMask, MONSTER_TYPE_FIRST, MONSTER_TY
{MONSTER_TYPE_WIGHT, {HOUSE_TOWN_HALL_HARMONDALE, HOUSE_TOWN_HALL_ERATHIA, HOUSE_TOWN_HALL_TULAREAN_FOREST, HOUSE_TOWN_HALL_CELESTE }},
{MONSTER_TYPE_WYVERN, {HOUSE_TOWN_HALL_HARMONDALE, HOUSE_TOWN_HALL_ERATHIA, HOUSE_TOWN_HALL_TULAREAN_FOREST, HOUSE_TOWN_HALL_CELESTE, HOUSE_TOWN_HALL_PIT}},
{MONSTER_TYPE_ZOMBIE, {HOUSE_TOWN_HALL_HARMONDALE, HOUSE_TOWN_HALL_ERATHIA, HOUSE_TOWN_HALL_TULAREAN_FOREST, HOUSE_TOWN_HALL_CELESTE }},
{MONSTER_TYPE_PEASANT_GOBLIN_FEMALE_A, {HOUSE_TOWN_HALL_HARMONDALE }},

// OE fix: in original binary female goblin peasant could become a bounty hunt target in Harmondale.
{MONSTER_TYPE_PEASANT_GOBLIN_FEMALE_A, { }},
{MONSTER_TYPE_PEASANT_GOBLIN_FEMALE_B, { }},
{MONSTER_TYPE_PEASANT_GOBLIN_FEMALE_C, { }},
{MONSTER_TYPE_PEASANT_GOBLIN_MALE_A, { }},
Expand Down

0 comments on commit d8c1dd5

Please sign in to comment.