Advertisement
tjc12821

Untitled

Nov 20th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.62 KB | None | 0 0
  1.     struct pandemic_invocation_t : public affliction_spell_t
  2.     {
  3.       pandemic_invocation_t( warlock_t* p ):
  4.         affliction_spell_t( "Pandemic Invocation", p, p->find_spell( 289367 ) )
  5.       {
  6.         background = dual = true;
  7.  
  8.         base_dd_min = base_dd_max = 20000 /*p->azerite.pandemic_invocation.value()*/;
  9.       }
  10.  
  11.       void execute() override
  12.       {
  13.         affliction_spell_t::execute();
  14.  
  15.         if ( p()->rng().roll( p()->azerite.pandemic_invocation.spell_ref().effectN( 3 ).percent() / 100.0 ) )
  16.           p()->resource_gain( RESOURCE_SOUL_SHARD, 1.0, p()->gains.pandemic_invocation );
  17.       }
  18.     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement