mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-12 01:52:32 +00:00
change watch so all changes to attacks regenerates this macro
This commit is contained in:
@@ -3215,14 +3215,7 @@ const updateAttackChatMacro = () => {
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
on('change:repeating_attack', (eventInfo) => {
|
||||
const repeatingInfo = getRepeatingInfo('repeating_attack', eventInfo);
|
||||
if (repeatingInfo && repeatingInfo.field === 'name') {
|
||||
updateAttackChatMacro();
|
||||
}
|
||||
});
|
||||
on('remove:repeating_attack', () => {
|
||||
on('change:repeating_attack remove:repeating_attack', () => {
|
||||
updateAttackChatMacro();
|
||||
});
|
||||
on('change:repeating_attack:carried change:repeating_attack:qty change:repeating_attack:weight remove:repeating_attack', () => {
|
||||
|
||||
Reference in New Issue
Block a user