Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -5,10 +5,10 @@ if (args.actor.characteristics.fel.value <= 0)
|
||||
fel_gain += (await new Roll("2d10").roll()).total
|
||||
}
|
||||
|
||||
let msg = `<b>${this.actor.prototypeToken.name}</b> gagne ${i_gain} en Intelligence`
|
||||
let msg = `<b>${this.actor.prototypeToken.name}</b> gains ${i_gain} Intelligence`
|
||||
|
||||
if (fel_gain)
|
||||
msg += ` et ${fel_gain} en Sociabilité`
|
||||
msg += ` and ${fel_gain} Fellowship`
|
||||
|
||||
|
||||
let newInt = i_gain + args.actor.characteristics.int.modifier
|
||||
@@ -16,4 +16,4 @@ let newFel = fel_gain + args.actor.characteristics.fel.modifier
|
||||
|
||||
args.actor.update({"system.characteristics.int.modifier" : newInt, "system.characteristics.fel.modifier" : newFel})
|
||||
|
||||
this.script.scriptMessage(msg)
|
||||
this.script.message(msg)
|
||||
Reference in New Issue
Block a user