Various changes + updates
This commit is contained in:
@ -33,8 +33,8 @@ export class PegasusRollDialog extends Dialog {
|
||||
|
||||
super(conf, options);
|
||||
|
||||
this.actor = actor;
|
||||
this.rollData = rollData;
|
||||
this.actor = actor
|
||||
this.rollData = rollData
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -106,6 +106,7 @@ export class PegasusRollDialog extends Dialog {
|
||||
manageWeapons(weaponIdx, toggled) {
|
||||
let weapon = this.rollData.weaponsList[weaponIdx]
|
||||
if (weapon) {
|
||||
this.rollData.weapon = duplicate(weapon)
|
||||
if (toggled) {
|
||||
this.rollData.weaponName = weapon.weapon.name
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user