mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
fixed monster magic weapons for +1
This commit is contained in:
@@ -72614,7 +72614,7 @@ on('change:repeating_monsterweapons:weaponname', function(eventInfo) {
|
||||
return comparerFields.every(f => weapon1[f] === weapon2[f]);
|
||||
}
|
||||
let setWeaponFunc = function (weapon) {
|
||||
if (weapon['bonusInt'] > 1) {
|
||||
if (weapon['bonusInt'] > 0) {
|
||||
weapon['small-medium'] += weapon['bonus'];
|
||||
weapon['large'] += weapon['bonus'];
|
||||
weapon['thac0'] = weapon['thac0'] - weapon['bonusInt'];
|
||||
|
||||
@@ -2074,7 +2074,7 @@ on('change:repeating_monsterweapons:weaponname', function(eventInfo) {
|
||||
return comparerFields.every(f => weapon1[f] === weapon2[f]);
|
||||
}
|
||||
let setWeaponFunc = function (weapon) {
|
||||
if (weapon['bonusInt'] > 1) {
|
||||
if (weapon['bonusInt'] > 0) {
|
||||
weapon['small-medium'] += weapon['bonus'];
|
||||
weapon['large'] += weapon['bonus'];
|
||||
weapon['thac0'] = weapon['thac0'] - weapon['bonusInt'];
|
||||
|
||||
Reference in New Issue
Block a user