Skip to content

Commit

Permalink
[Gear] use properly tokenized name for ovinax's egg
Browse files Browse the repository at this point in the history
  • Loading branch information
gastank committed Sep 18, 2024
1 parent 819d69d commit 603f570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/player/unique_gear_thewarwithin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ void ovinaxs_mercurial_egg( special_effect_t& effect )
{
auto stat_str = util::stat_type_abbrev( secondary_ratings[ i ] );
auto spell = effect.player->find_spell( buff_ids[ i ] );
auto name = fmt::format( "{}_{}", spell->name_cstr(), stat_str );
auto name = fmt::format( "{}_{}", util::tokenize_fn( spell->name_cstr() ), stat_str );

auto buff = create_buff<ovinax_stat_buff_t>( effect.player, name, spell, data );
buff->set_stat_from_effect_type( A_MOD_RATING, data->effectN( 2 ).average( effect ) )
Expand Down

0 comments on commit 603f570

Please sign in to comment.