WIP Hero 6
This commit is contained in:
@@ -298,7 +298,7 @@ export class Hero6Utility {
|
||||
let actor = game.actors.get(rollData.actorId)
|
||||
|
||||
// ability/save/size => 0
|
||||
let diceFormula = "3d6+" + rollData.bonusMalus
|
||||
let diceFormula = "3d6"
|
||||
let target = 10
|
||||
if (rollData.charac) {
|
||||
target = rollData.charac.roll
|
||||
@@ -306,7 +306,8 @@ export class Hero6Utility {
|
||||
if (rollData.item) {
|
||||
target = rollData.item.roll || rollData.item.system.roll
|
||||
}
|
||||
|
||||
target += rollData.bonusMalus
|
||||
|
||||
// Performs roll
|
||||
console.log("Roll formula", diceFormula)
|
||||
let myRoll = rollData.roll
|
||||
|
Reference in New Issue
Block a user