Skip to content

[Gear] Vaelgors final stare trinket#10961

Open
NN0323 wants to merge 4 commits intosimulationcraft:midnightfrom
NN0323:midnight
Open

[Gear] Vaelgors final stare trinket#10961
NN0323 wants to merge 4 commits intosimulationcraft:midnightfrom
NN0323:midnight

Conversation

@NN0323
Copy link

@NN0323 NN0323 commented Feb 17, 2026

No description provided.

Copy link
Member

@nyterage nyterage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few issues here which will mean its not properly modeled for sims

buff_val( 0 ),
decrease( 0 )
{
value_spell = e.player->find_spell( 1260459 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you've got the incorrect spell id for the value here, should be 1259293 (the driver spell)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The driver spell does not have an effectN(3) and the duration and periodic damage is specified in nullsight it might be that i dont fully understand what the driver spell truly is the way its currently implemented works from what ive tested give an initial mastery buff for x amount then ticks down x/ticks amounts every tick = 1 second for 15 seconds

Copy link
Member

@nyterage nyterage Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, when talking about the "value" for items like these, we do mean the spell that contains the coefficient and scaled value.

in the case of this trinket it would be

Name             : Vaelgor's Final Stare (id=1259293) [Passive] 
School           : Physical
Spell Type       : None
Labels           : 292
                 : 3959: Item Effects
Attributes       : Passive (6), No Aura Icon (60), Can Proc From Procs (122), No Aura Log (202), Aura Points On Client (268), Scales with Casting Item's Level (354)
Effects          :
#1 (id=1268341)  : Apply Aura (6) | Dummy (4) | Scaling Class: Secondary Rating (-7)
                   Base Value: 0 | Scaled Value: 755.1957 (coefficient=5.761313) | PvP Coefficient: 0.5 | Target: Self (1)

This spell contains the buffs value. While the other 3 data pieces youre looking for are in the buff spell themselves. That buff spell wont need the second lookup since its already the struct youre in, and can instead be called with data().x

so, this ctor should end up something like

auto n_ticks = data().duration() / data().effectN( 3 ).period();
buff_val     = e.driver()->effectN( 1 ).average( e );
decrease     = buff_val / n_ticks;
set_stat_from_effect( 1, buff_val );
set_tick_callback( [ this ]( buff_t*, int, timespan_t ) { recalculate(); } );

// 1259293 Driver
// 1260459 Nullsight/value spell
void vaelgors_final_stare( special_effect_t& effect ){
struct nullsight final : public stat_buff_t{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codestyle issue here, should be nullsight_t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments