jbrocky

Untitled

Jan 7th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.75 KB | None | 0 0
  1. custom_require.call(%w(common drinfomon equipmanager spellmonitor))
  2.  
  3. if DRStats.barbarian?
  4.     if variable[1].eql? 'eagle'
  5.       DRC.bput('form stop eagle', 'You')
  6.     elsif variable[1].eql? 'panther'
  7.       DRC.bput('form stop panther', 'You')
  8.     elsif DRSpells.active_spells['Owl']  ||
  9.        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.     2.times do
  41.       DRC.wait_for_script_to_complete('buff', ['gol'])
  42.     end
  43.   elsif variable[1].eql? 'gol'
  44.     fput('release gol') if DRSpells.active_spells['Gift of Life']
  45.     2.times do
  46.       DRC.wait_for_script_to_complete('buff', ['abs'])
  47.     end
  48.   elsif variable[1].eql? 'regen'
  49.     fput('release regenerate') if DRSpells.active_spells['Regenerate']
  50.   end
  51. end
Advertisement
Add Comment
Please, Sign In to add comment