Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new phase 3 consumes / update some existing ones #658

Merged
merged 4 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 35 additions & 27 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,8 @@ enum Conjured {
ConjuredMinorRecombobulator = 1;
ConjuredDemonicRune = 2;
ConjuredRogueThistleTea = 3;
ConjuredDruidCatnip = 4;
}

enum AtalAi {
AtalAiUnknown = 0;
AtalAiWar = 1;
AtalAiForbiddenMagic = 2;
AtalAiLife = 3;
ConjuredDruidCatnip = 4 [deprecated = true];
}

enum EnchantedSigil {
Expand All @@ -341,21 +335,6 @@ enum Flask {
FlaskOfEverlastingNightmares = 6;
}

enum Zanza {
ZanzaUnknown = 0;
SpiritOfZanza = 1;
SheenOfZanza = 2;
SwiftnessOfZanza = 3;
}

enum BlastedLandsBuff {
BlastedLandsBuffUnknown = 0;
GroundScorpokAssay = 1;
CerebralCoretexCompound = 2;
GizzardGum = 3;
LungJuiceCocktail = 4;
}

enum AgilityElixir {
AgilityElixirUnknown = 0;
ElixirOfTheMongoose = 1;
Expand Down Expand Up @@ -407,6 +386,34 @@ enum FrostPowerBuff {
ElixirOfFrostPower = 1;
}

enum ZanzaBuff {
ZanzaBuffUnknown = 0;
SpiritOfZanza = 1;
SheenOfZanza = 2;
SwiftnessOfZanza = 3;
ROIDS = 4;
GroundScorpokAssay = 5;
CerebralCortexCompound = 6;
GizzardGum = 7;
LungJuiceCocktail = 8;
AtalaiMojoOfWar = 9;
AtalaiMojoOfForbiddenMagic = 10;
AtalaiMojoOfLife = 11;
}

enum AtalaiMojo {
AtalaiMojoUnknown = 0;
MojoOfWar = 1;
MojoOfForbiddenMagic = 2;
MojoOfLife = 3;
}

message MiscConsumes {
bool bogling_root = 1;
bool elixir_of_coalesced_regret = 2;
bool catnip = 3;
}

// NextIndex: 26
enum WeaponImbue {
// Weapon Oils
Expand Down Expand Up @@ -585,12 +592,10 @@ message IndividualBuffs {
bool fervor_of_the_temple_explorer = 18;
}

// NextIndex: 26
// NextIndex: 28
message Consumes {
Flask flask = 1;
Food food = 2;
Zanza zanza = 3;
BlastedLandsBuff blasted_lands_buff = 4;
AgilityElixir agility_elixir = 5;
ManaRegenElixir mana_regen_elixir = 6;
StrengthBuff strength_buff = 7;
Expand All @@ -605,13 +610,16 @@ message Consumes {
WeaponImbue off_hand_imbue = 16;
Potions default_potion = 17;
Conjured default_conjured = 18;
bool bogling_root = 19;
EnchantedSigil enchanted_sigil = 20;
bool mildly_irradiated_rejuv_pot = 21;
int32 pet_scroll_of_agility = 22;
int32 pet_scroll_of_strength = 23;
bool dragon_breath_chili = 24;
AtalAi default_atal_ai = 25;
MiscConsumes misc_consumes = 26;
ZanzaBuff zanza_buff = 27;

AtalaiMojo atalai_mojo = 25 [deprecated=true];
bool bogling_root = 19 [deprecated=true];
}

// NextIndex: 33
Expand Down
2 changes: 1 addition & 1 deletion sim/core/character.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func (character *Character) applyAllEffects(agent Agent, raidBuffs *proto.RaidBu
character.applyBuildPhaseAuras(CharacterBuildPhaseBuffs)
playerStats.BuffsStats = measureStats()

applyConsumeEffects(agent, partyBuffs)
applyConsumeEffects(agent)
character.applyBuildPhaseAuras(CharacterBuildPhaseConsumes)
playerStats.ConsumesStats = measureStats()
character.clearBuildPhaseAuras(CharacterBuildPhaseAll)
Expand Down
Loading
Loading