Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- THE TESTING CODE:
- def start_barb_abilities(skills, settings)
- skills
- .reject { |name| DRSpells.active_spells[name] }
- .each do |name|
- activate_barb_buff(name)
- waitrt?
- time_now = Time.now
- echo "time_now: #{time_now}"
- echo "Pausing...meditation_pause_timer: #{settings.meditation_pause_timer}"
- pause settings.meditation_pause_timer.to_i if get_data('spells').barb_abilities[name]['type'].eql? 'meditation'
- echo "time_after_pause: #{Time.now}"
- echo "time_diff_from_pause: #{time_now-Time.now}"
- end
- end
- 6 SECONDS:
- >;buff test
- --- Lich: buff active.
- >
- [buff]>med tenacity
- >
- You begin to meditate upon the chakrel amulet, your inner fire swelling as you center your mind, body, and spirit.
- Roundtime: 8 sec.
- >
- Peering into the flame you visualize swords, teeth and worse all rending your flesh.
- >
- You draw the flames close and bring forth a physical hardening to your body.
- >
- [buff: time_now: 2019-06-14 13:26:23 -0400]
- [buff: Pausing...meditation_pause_timer: 6]
- >
- The flame infuses your flesh, reinforcing it against physical damage!
- You feel a jolt as your vision snaps shut.
- >
- [buff: time_after_pause: 2019-06-14 13:26:29 -0400]
- [buff: time_diff_from_pause: -6.103933]
- --- Lich: buff has exited.
- 35 SECONDS:
- ;buff test
- --- Lich: buff active.
- [buff]>med tenacity
- >
- You begin to meditate upon the chakrel amulet, your inner fire swelling as you center your mind, body, and spirit.
- Roundtime: 10 sec.
- >
- Peering into the flame you visualize swords, teeth and worse all rending your flesh.
- >
- 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.
- >
- You draw the flames close and bring forth a physical hardening to your body.
- >
- [sanowret-crystal]>exhale my sanowret crystal
- >
- You exhale softly on your sanowret crystal, and scintillating sparks of light dance across its surface.
- 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.
- >
- [buff: time_now: 2019-06-14 13:25:01 -0400]
- [buff: Pausing...meditation_pause_timer: 35]
- The flame infuses your flesh, reinforcing it against physical damage!
- You feel a jolt as your vision snaps shut.
- >
- Ambassador Angel came through an arbor.
- >
- Ambassador Angel runs south.
- >
- [buff: time_after_pause: 2019-06-14 13:25:36 -0400]
- [buff: time_diff_from_pause: -35.066491]
- --- Lich: buff has exited.
- THE METHOD YOU SHOULD HAVE IN COMMON-ARCANA:
- def start_barb_abilities(skills, settings)
- skills
- .reject { |name| DRSpells.active_spells[name] }
- .each do |name|
- activate_barb_buff(name)
- waitrt?
- pause settings.meditation_pause_timer.to_i if get_data('spells').barb_abilities[name]['type'].eql? 'meditation'
- end
- end
Add Comment
Please, Sign In to add comment