jbrocky

Untitled

Jun 14th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. THE TESTING CODE:
  2.  
  3. def start_barb_abilities(skills, settings)
  4. skills
  5. .reject { |name| DRSpells.active_spells[name] }
  6. .each do |name|
  7. activate_barb_buff(name)
  8. waitrt?
  9. time_now = Time.now
  10. echo "time_now: #{time_now}"
  11. echo "Pausing...meditation_pause_timer: #{settings.meditation_pause_timer}"
  12. pause settings.meditation_pause_timer.to_i if get_data('spells').barb_abilities[name]['type'].eql? 'meditation'
  13. echo "time_after_pause: #{Time.now}"
  14. echo "time_diff_from_pause: #{time_now-Time.now}"
  15. end
  16. end
  17.  
  18.  
  19.  
  20.  
  21. 6 SECONDS:
  22.  
  23. >;buff test
  24. --- Lich: buff active.
  25. >
  26. [buff]>med tenacity
  27. >
  28. You begin to meditate upon the chakrel amulet, your inner fire swelling as you center your mind, body, and spirit.
  29. Roundtime: 8 sec.
  30. >
  31. Peering into the flame you visualize swords, teeth and worse all rending your flesh.
  32. >
  33. You draw the flames close and bring forth a physical hardening to your body.
  34. >
  35. [buff: time_now: 2019-06-14 13:26:23 -0400]
  36. [buff: Pausing...meditation_pause_timer: 6]
  37. >
  38. The flame infuses your flesh, reinforcing it against physical damage!
  39. You feel a jolt as your vision snaps shut.
  40. >
  41. [buff: time_after_pause: 2019-06-14 13:26:29 -0400]
  42. [buff: time_diff_from_pause: -6.103933]
  43. --- Lich: buff has exited.
  44.  
  45.  
  46.  
  47.  
  48. 35 SECONDS:
  49.  
  50. ;buff test
  51. --- Lich: buff active.
  52. [buff]>med tenacity
  53. >
  54. You begin to meditate upon the chakrel amulet, your inner fire swelling as you center your mind, body, and spirit.
  55. Roundtime: 10 sec.
  56. >
  57. Peering into the flame you visualize swords, teeth and worse all rending your flesh.
  58. >
  59. The taipan tightens its coils about your arm, squeezing tightly enough to cause a few moments of discomfort. While doing so, the snake's long tongue flicks out of its mouth and across your skin as if pondering you for its next meal.
  60. >
  61. You draw the flames close and bring forth a physical hardening to your body.
  62. >
  63. [sanowret-crystal]>exhale my sanowret crystal
  64. >
  65. You exhale softly on your sanowret crystal, and scintillating sparks of light dance across its surface.
  66. You hear in your mind a quiet recollection of wisdom. Though you think that you could get more knowledge if you were to GAZE into the crystal, you come away from the experience with a further understanding of Arcana as the scintillating lights fade again.
  67. >
  68. [buff: time_now: 2019-06-14 13:25:01 -0400]
  69. [buff: Pausing...meditation_pause_timer: 35]
  70. The flame infuses your flesh, reinforcing it against physical damage!
  71. You feel a jolt as your vision snaps shut.
  72. >
  73. Ambassador Angel came through an arbor.
  74. >
  75. Ambassador Angel runs south.
  76. >
  77. [buff: time_after_pause: 2019-06-14 13:25:36 -0400]
  78. [buff: time_diff_from_pause: -35.066491]
  79. --- Lich: buff has exited.
  80.  
  81.  
  82.  
  83.  
  84. THE METHOD YOU SHOULD HAVE IN COMMON-ARCANA:
  85.  
  86. def start_barb_abilities(skills, settings)
  87. skills
  88. .reject { |name| DRSpells.active_spells[name] }
  89. .each do |name|
  90. activate_barb_buff(name)
  91. waitrt?
  92. pause settings.meditation_pause_timer.to_i if get_data('spells').barb_abilities[name]['type'].eql? 'meditation'
  93. end
  94. end
Add Comment
Please, Sign In to add comment