Skip to content

Commit

Permalink
adds Cerus CM
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxfighter committed Mar 7, 2024
1 parent 3c2d0a7 commit cb41b09
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions killproof_me/KillproofUITable.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ static const std::vector<MainTableColumn> COLUMN_SETUP {
{44, [] {return to_string_short(Killproof::co);}, []{ return GET_TEXTURE_CUSTOM(DAGDA_TEXTURE, ID_Dagda); }, "3", [] {return to_string_long(Killproof::co);}, false},
{45, [] {return to_string_short(Killproof::coCM);}, []{ return GET_TEXTURE_CUSTOM(DAGDA_TEXTURE, ID_Dagda); }, "3", [] {return to_string_long(Killproof::coCM);}, false},
{46, [] {return to_string_short(Killproof::febe);}, []{ return GET_TEXTURE_CUSTOM(CERUS_TEXTURE, ID_Cerus); }, "3", [] {return to_string_long(Killproof::febe);}, false},
{47, [] {return to_string_short(Killproof::febeCM);}, []{ return GET_TEXTURE_CUSTOM(CERUS_TEXTURE, ID_Cerus); }, "3", [] {return to_string_long(Killproof::febeCM);}, false},

{41, [] {return to_string_short(Killproof::bananas);}, []{ return GET_TEXTURE(Bananas, ID_Bananas); }, "4", [] {return to_string_long(Killproof::bananas);}, false},
};
Expand All @@ -128,9 +129,9 @@ static const std::unordered_map<uint32_t, std::vector<size_t>> mapIdToColumnSetu
{1437, {2, 34, 40}}, // HarvestTemple strike
{1485, {2, 42, 43}}, // OLC Strike
{1428, {2, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43}}, // Arborstone
{1509, {2, 44, 45, 46}}, // Wizard's Tower
{1509, {2, 44, 45, 46, 47}}, // Wizard's Tower
{1515, {2, 44, 45}}, // Cosmic Observatory
{1520, {2, 46}}, // Temple of Febe
{1520, {2, 46, 47}}, // Temple of Febe
};

class KillproofUITable : public MainTable<> {
Expand Down
2 changes: 2 additions & 0 deletions killproof_me/Killproofs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const std::string& toStringShort(Killproof e) {
case Killproof::co: return Localization::STranslate(KMT_CO_Short);
case Killproof::coCM: return Localization::STranslate(KMT_COCM_Short);
case Killproof::febe: return Localization::STranslate(KMT_FEBE_Short);
case Killproof::febeCM: return Localization::STranslate(KMT_FEBECM_Short);
case Killproof::bananas: return Localization::STranslate(KMT_Bananas);
default: return Localization::STranslate(ET_Unknown);
}
Expand Down Expand Up @@ -80,6 +81,7 @@ const std::string& toStringLong(Killproof e) {
case Killproof::co: return Localization::STranslate(KMT_CO_Long);
case Killproof::coCM: return Localization::STranslate(KMT_COCM_Long);
case Killproof::febe: return Localization::STranslate(KMT_FEBE_Long);
case Killproof::febeCM: return Localization::STranslate(KMT_FEBECM_Long);
case Killproof::bananas: return Localization::STranslate(KMT_Bananas);
default: return Localization::STranslate(ET_Unknown);
}
Expand Down
4 changes: 4 additions & 0 deletions killproof_me/Killproofs.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ enum class Killproof : int {
co = 44,
coCM = 45,
febe = 46,
febeCM = 47,

// MISC
bananas = 41,
Expand Down Expand Up @@ -306,6 +307,9 @@ class Killproofs {
case 100858:
killproofs[Killproof::febe] = amount;
break;
case 101542:
killproofs[Killproof::febeCM] = amount;
break;
case 12251:
killproofs[Killproof::bananas] = amount;
break;
Expand Down
Binary file modified killproof_me/Lang.h
Binary file not shown.

0 comments on commit cb41b09

Please sign in to comment.