stats-modifiers
Advanced tools
Comparing version 0.7.12 to 0.7.13
@@ -194,10 +194,12 @@ /* | ||
for ( let property in parent.wildChildrenModifierKeys[ pathKey ] ) { | ||
if ( ! property || typeof property !== 'string' ) { continue ; } | ||
if ( parent ) { // When the Traits is not yet attached, the proxy cause trouble, so we ensure that there is a parent... | ||
for ( let property in parent.wildChildrenModifierKeys[ pathKey ] ) { | ||
if ( ! property || typeof property !== 'string' ) { continue ; } | ||
let base = target.base[ property ] === true , | ||
actual = target.computeModifiers( base , base , pathKey ? pathKey + '.' + property : property ) ; | ||
let base = target.base[ property ] === true , | ||
actual = target.computeModifiers( base , base , pathKey ? pathKey + '.' + property : property ) ; | ||
if ( actual ) { keys.add( property ) ; } | ||
else { keys.delete( property ) ; } | ||
if ( actual ) { keys.add( property ) ; } | ||
else { keys.delete( property ) ; } | ||
} | ||
} | ||
@@ -204,0 +206,0 @@ |
{ | ||
"name": "stats-modifiers", | ||
"version": "0.7.12", | ||
"version": "0.7.13", | ||
"description": "Stats and modifiers lib for gamedev.", | ||
@@ -5,0 +5,0 @@ "main": "lib/stats-modifiers.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136572
3101