1. #1

    Simulationcraft question

    According to SC wiki, cooldown.spell.remains returns a number in seconds.

    However I just came across this line which confused me as it uses remains as a boolean:

    Code:
    actions+=/focused_rage,if=buff.battle_cry_deadly_calm.remains>cooldown.focused_rage.remains&(buff.focused_rage.stack<3|cooldown.mortal_strike.remains)
    The question is when does the bolded part (cooldown.mortal_strike.remains) return true and when false.

    thanks

  2. #2
    Deleted
    From https://github.com/simulationcraft/s...i/ActionLists: "One important note: false is zero. True is anything different from zero. Which means that you can test regular numbers as if they were boolean."

    So basically you can read that as "if cooldown.mortal.strike.remains != 0".

  3. #3
    Quote Originally Posted by Constie View Post
    From https://github.com/simulationcraft/s...i/ActionLists: "One important note: false is zero. True is anything different from zero. Which means that you can test regular numbers as if they were boolean."

    So basically you can read that as "if cooldown.mortal.strike.remains != 0".
    thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •