mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-12 01:52:32 +00:00
Removed unneeded assignment to repeating fields that does not exist
This commit is contained in:
@@ -16929,9 +16929,7 @@ on('change:repeating_spells68 remove:repeating_spells68', function(){
|
||||
.fields('cast-value68','cast-max68')
|
||||
.reduce(function(m,r){
|
||||
m['cast-value68']+=(r.F['cast-value68']);
|
||||
r['spell-power-integer2']=(r.F['cast-value68']);
|
||||
m['cast-max68']+=(r.F['cast-max68']);
|
||||
r['spell-power-sum2']=(r.F['cast-max68']);
|
||||
return m;
|
||||
|
||||
},{['cast-value68']:0,['cast-max68']:0, desc: []},function(m,r,a){
|
||||
@@ -16948,9 +16946,7 @@ on('change:repeating_spells69 remove:repeating_spells69', function(){
|
||||
.fields('cast-value69','cast-max69')
|
||||
.reduce(function(m,r){
|
||||
m['cast-value69']+=(r.F['cast-value69']);
|
||||
r['spell-power-integer3']=(r.F['cast-value69']);
|
||||
m['cast-max69']+=(r.F['cast-max69']);
|
||||
r['spell-power-sum3']=(r.F['cast-max69']);
|
||||
return m;
|
||||
|
||||
},{['cast-value69']:0,['cast-max69']:0, desc: []},function(m,r,a){
|
||||
|
||||
Reference in New Issue
Block a user