aggixx

Untitled

Dec 24th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. Index: sc_druid.cpp
  2. ===================================================================
  3. --- sc_druid.cpp (revision 15205)
  4. +++ sc_druid.cpp (working copy)
  5. @@ -5779,9 +5779,11 @@
  6. {
  7. double h = player_t::composite_attack_haste();
  8.  
  9. - // TODO: Is the additional haste multiplicative?
  10. if ( buff.bear_form -> up() )
  11. - h *= 1.0 / ( 1.0 + gear.haste_rating * buff.bear_form -> data().effectN( 4 ).percent() / rating.attack_haste );
  12. + {
  13. + h /= 1.0 + gear.haste_rating / rating.attack_haste;
  14. + h *= 1.0 + gear.haste_rating * 1.5 / rating.attack_haste;
  15. + }
  16.  
  17. return h;
  18. }
  19. @@ -5792,9 +5794,8 @@
  20. {
  21. double c = player_t::composite_attack_crit( w );
  22.  
  23. - // TODO: Is the additional crit multiplicative?
  24. if ( buff.bear_form -> up() )
  25. - c *= 1.0 + gear.crit_rating * buff.bear_form -> data().effectN( 4 ).percent() / rating.attack_crit;
  26. + c += gear.crit_rating * 0.5 / rating.attack_crit;
  27.  
  28. return c;
  29. }
  30. @@ -5929,9 +5930,11 @@
  31. {
  32. double h = player_t::composite_spell_haste();
  33.  
  34. - // TODO: Is the additional haste multiplicative?
  35. if ( buff.bear_form -> up() )
  36. - h *= 1.0 / ( 1.0 + gear.haste_rating * buff.bear_form -> data().effectN( 4 ).percent() / rating.spell_haste );
  37. + {
  38. + h /= 1.0 + gear.haste_rating / rating.spell_haste;
  39. + h *= 1.0 + gear.haste_rating * 1.5 / rating.spell_haste;
  40. + }
  41.  
  42. return h;
  43. }
  44. @@ -5942,9 +5945,8 @@
  45. {
  46. double c = player_t::composite_spell_crit();
  47.  
  48. - // TODO: Is the additional crit multiplicative?
  49. if ( buff.bear_form -> up() )
  50. - c *= 1.0 + gear.crit_rating * buff.bear_form -> data().effectN( 4 ).percent() / rating.spell_crit;
  51. + c += gear.crit_rating * 0.5 / rating.spell_crit;
  52.  
  53. return c;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment