Home Forums Scripting and Macros Fate success ladder

Tagged: ,

This topic contains 0 replies, has 1 voice, and was last updated by  carl 2 days, 1 hour ago.

  • Author
    Posts
  • #2240

    carl
    Keymaster

    This is a Fate macro I put together for a user a while ago. It took me some time to track down the G+ post, so I’ll just leave this here.

    var skill = 0;
    var dice = [1d6, 1d6, 1d6, 1d6];
    var table = ["Terrible", "Poor", "Mediocre", "Average", "Fair", "Good", "Great", "Superb", "Fantastic", "Epic", "Legendary"];
    var result = 0;
    for (i = 0; i < dice.length; i++) result += Math.ceil(dice[i]/2) - 2; 
    index = result + skill + 2;
    if(index < 0) {table[0];}
    else if(index >= table.length){table[table.length-1];}
    else {table[index];}

You must be logged in to reply to this topic.