Advertisement
JaceDK

Pawkets sexy times

Aug 24th, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. engine/class_modules/sc_death_knight.cpp | 26 +++++++++++++++++++++++++-
  2. 1 file changed, 25 insertions(+), 1 deletion(-)
  3.  
  4. diff --git a/engine/class_modules/sc_death_knight.cpp b/engine/class_modules/sc_death_knight.cpp
  5. index 67e1258..f094904 100644
  6. --- a/engine/class_modules/sc_death_knight.cpp
  7. +++ b/engine/class_modules/sc_death_knight.cpp
  8. @@ -534,6 +534,12 @@ public:
  9. proc_t* km_natural_expiration;
  10. } procs;
  11.  
  12. + struct legendary_t{
  13. + // Frost
  14. + double toravons;
  15. +
  16. + } legendary;
  17. +
  18. // Runes
  19. runes_t _runes;
  20.  
  21. @@ -6529,7 +6535,8 @@ void death_knight_t::create_buffs()
  22. .cd( timespan_t::zero() )
  23. .default_value( find_class_spell( "Pillar of Frost" ) -> effectN( 1 ).percent() )
  24. .add_invalidate( CACHE_STRENGTH )
  25. - .add_invalidate( artifact.frozen_core.rank() ? CACHE_PLAYER_DAMAGE_MULTIPLIER : CACHE_NONE );
  26. + .add_invalidate( artifact.frozen_core.rank() ? CACHE_PLAYER_DAMAGE_MULTIPLIER : CACHE_NONE )
  27. + .add_invalidate( legendary.toravons ? CACHE_PLAYER_DAMAGE_MULTIPLIER : CACHE_NONE);
  28. buffs.rime = buff_creator_t( this, "rime", spec.rime -> effectN( 1 ).trigger() )
  29. .trigger_spell( spec.rime );
  30. buffs.riposte = stat_buff_creator_t( this, "riposte", spec.riposte -> effectN( 1 ).trigger() )
  31. @@ -6981,6 +6988,11 @@ double death_knight_t::composite_player_multiplier( school_e school ) const
  32. m *= 1.0 + buffs.t18_4pc_unholy -> data().effectN( 2 ).percent();
  33. }
  34.  
  35. + if (buffs.pillar_of_frost->check() && dbc::is_school(school, SCHOOL_FROST))
  36. + {
  37. + m *= 1.0 + legendary.toravons;
  38. + }
  39. +
  40. return m;
  41. }
  42.  
  43. @@ -7397,6 +7409,18 @@ struct reapers_harvest_blood_t : public scoped_action_callback_t<marrowrend_t>
  44. }
  45. };
  46.  
  47. +struct toravons_bindings_t : public scoped_actor_callback_t < death_knight_t >
  48. +{
  49. + toravons_bindings_t() : super(DEATH_KNIGHT_FROST)
  50. + {}
  51. +
  52. + void manipulate(death_knight_t* p, const special_effect_t& e) override
  53. + {
  54. + p->legendary.toravons = e.driver()->effectN(1).percent();
  55. + }
  56. +};
  57. +
  58. +
  59. struct taktheritrixs_shoulderpads_t : public scoped_actor_callback_t<death_knight_t>
  60. {
  61. taktheritrixs_shoulderpads_t() : super( DEATH_KNIGHT_UNHOLY )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement