Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Mob::DoBuffTic
  2.  
  3.  
  4. case SE_BardAEDot:
  5. {
  6. if (invulnerable || /*effect_value > 0 ||*/ DivineAura())
  7. break;
  8.  
  9. // Moved this below invuln check
  10. effect_value = CalcSpellEffectValue(spell_id, i, caster_level);
  11.  
  12. // Kings & Bandits - BardAE Instrument fix
  13. if ( caster && caster->IsClient() )
  14. {
  15. int mod = caster->GetInstrumentMod(spell_id);
  16. effect_value = effect_value * mod / 10;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement