Advertisement
Guest User

Untitled

a guest
Aug 9th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.77 KB | None | 0 0
  1. custom_require.call(%w(common drinfomon equipmanager spellmonitor))
  2. if DRStats.barbarian?
  3.     if variable[1].eql? 'eagle'
  4.       DRC.bput('form stop eagle', 'You') if DRSpells.active_spells['Eagle']
  5.     elsif variable[1].eql? 'panther'
  6.       DRC.bput('form stop panther', 'You') if DRSpells.active_spells['Panther']
  7.     elsif variable[1].eql? 'owl'
  8.       DRC.bput('form stop owl', 'You') if DRSpells.active_spells['Owl']
  9.     elsif DRSpells.active_spells['Panther'] ||
  10.           DRSpells.active_spells['Python']  ||
  11.           DRSpells.active_spells['Piranha'] ||
  12.           DRSpells.active_spells['Dragon']  ||
  13.           DRSpells.active_spells['Eagle']   ||
  14.           DRSpells.active_spells['Monkey']
  15.             DRC.bput('form stop all', 'You feel')
  16.             fput('bers stop')
  17.             #fput('med stop')
  18.     end
  19. elsif DRStats.necromancer?
  20.   fput('release eotb') if (DRSpells.active_spells['Eyes of the Blind'] && variable[1].eql?('eotb'))
  21.   if variable[1].eql? 'trans'
  22.     DRC.wait_for_script_to_complete('buff', ['roc'])
  23.     pause 15
  24.   end
  25. elsif DRStats.warrior_mage?
  26.     if variable[1].eql? 'mof'
  27.     fput('release mof') if DRSpells.active_spells['Mantle of Flame']
  28.     2.times do
  29.         DRC.wait_for_script_to_complete('buff', ['aeg'])
  30.     end
  31.   elsif variable[1].eql? 'aeg'
  32.     fput('release aeg') if DRSpells.active_spells['Aegis of Granite']
  33.     2.times do
  34.         DRC.wait_for_script_to_complete('buff', ['mof'])
  35.     end
  36.     end
  37. elsif DRStats.empath?
  38.   if variable[1].eql? 'abs'
  39.     fput('release absolution') if DRSpells.active_spells['Absolution']
  40.   elsif variable[1].eql? 'gol'
  41.     fput('release gol') if DRSpells.active_spells['Gift of Life']
  42.   elsif variable[1].eql? 'regen'
  43.     fput('release regenerate') if DRSpells.active_spells['Regenerate']
  44.   end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement