[Feature] Add Data Bucket support for scaling of Heroic Stats. (#3058)

* [Feature] Add Data Bucket support for scaling of Heroic Stats.

* update

* fixes, still reworking logic

* fixes, still reworking logic

* logic done

* logic done

* fixes

* Cleanup

* Cleanup

* Cleanup naming, verify behaviors

* formatting

* formatting

* fix issue with endurance and mana.

* update rule desc

* cleanup

* DataBucket Struct

* Cleanup data_bucket.cpp and add constants

* cleanup

* changes

* formatting

* fix from merge

* escape keyword `key`

* Add `key` to generator, run repository-generator.pl

* fix for change to key

* cleanup

* formatting

* formatting

* typo
This commit is contained in:
Aeadoin
2023-03-23 21:42:13 -04:00
committed by GitHub
parent abc27ab423
commit 59ad91a140
28 changed files with 433 additions and 243 deletions
+18
View File
@@ -639,6 +639,16 @@ struct StatBonuses {
int aura_slots;
int trap_slots;
bool hunger; // Song of Sustenance -- min caps to 3500
int64 heroic_max_hp;
int64 heroic_max_mana;
int64 heroic_max_end;
int64 heroic_hp_regen;
int64 heroic_mana_regen;
int64 heroic_end_regen;
int32 heroic_str_shield_ac;
int32 heroic_str_melee_damage;
int32 heroic_agi_avoidance;
int32 heroic_dex_ranged_damage;
};
// StatBonus Indexes
@@ -915,5 +925,13 @@ struct ExpeditionInvite
std::string swap_remove_name;
};
struct DataBucketCache
{
uint64_t bucket_id;
std::string bucket_key;
std::string bucket_value;
uint32_t bucket_expires;
};
#endif