Skip to content

Commit

Permalink
Fix Aid issue by swapping order
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Jun 19, 2024
1 parent 0effb4d commit b290efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addons/aid.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function aid() {
}

async function handleResult(rollValue, dcVal, tok, targ) {
const diff = dcVal - rollValue;
const diff = rollValue - dcVal;
const data = {};
if (diff >= 10) {
//Crit Success
Expand Down

0 comments on commit b290efc

Please sign in to comment.