File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,17 +165,17 @@ export class SkillModel extends BaseItemModel {
165165 }
166166 }
167167
168- _handleSkillMerging ( )
168+ _handleSkillMerging ( data , options , user )
169169 {
170- if ( this . parent . isEmbedded )
170+ if ( this . parent . isEmbedded && this . parent . actor . inCollection ) // prevent error during chargen
171171 {
172172 let actor = this . parent . actor ;
173173
174174 let existing = actor . itemTags . skill . find ( i => i . name == this . parent . name ) ;
175175
176176 if ( existing )
177177 {
178- existing . update ( { "system.advances.value" : existing . advances . value + this . advances . value } ) ;
178+ existing . update ( { "system.advances.value" : existing . advances . value + this . advances . value } , options ) ;
179179 }
180180 }
181181 }
Original file line number Diff line number Diff line change 11 const templateMap = {
22 'P2e7Yx98bK3u110a' : "" ,
3- 'iuMp3KLaMT2WCmie' : "Xp4r2KUhqfjak8zq " ,
4- 'RBuYcT5tppwcmnC5' : "wYN19h3WVF1yOVq2 " ,
5- 'vcGpNwNbhvfzVveQ' : "ac5ClOuaYtzOYyWp " ,
6- 'jmhKZy0w9TzkEK9c' : "IS3LTdTuay6uRHUq " ,
7- '9Byj6k7SmdTYis2V' : "LjMlx99gBGeRJUQu " ,
8- 'laJwc2l9tzJPgaaJ' : "x5wpMprsObuqMCYg " ,
3+ 'iuMp3KLaMT2WCmie' : "4s01nHFKVKTEZd3B " ,
4+ 'RBuYcT5tppwcmnC5' : "h3yuJDWnixliXeBG " ,
5+ 'vcGpNwNbhvfzVveQ' : "7QrsbofccMOE1YsF " ,
6+ 'jmhKZy0w9TzkEK9c' : "scVTPVyDDbli4WZL " ,
7+ '9Byj6k7SmdTYis2V' : "4Cd7Dknee2WjReOo " ,
8+ 'laJwc2l9tzJPgaaJ' : "2hJ2a5YjbwZWWYrd " ,
99 }
1010 let template = ( await game . wfrp4e . tables . rollTable ( "hireling-templates" , { hideDSN : true } ) ) . object ;
1111 let physicalQuirk = ( await game . wfrp4e . tables . rollTable ( "physical-quirks" , { hideDSN : true } ) ) . text ;
Original file line number Diff line number Diff line change 22 "id" : " wfrp4e" ,
33 "title" : " Warhammer Fantasy Roleplay 4th Edition" ,
44 "description" : " A comprehensive system for running grim and perilous games of Warhammer Fantasy Roleplay in the Foundry VTT environment." ,
5- "version" : " 8.4.0 " ,
5+ "version" : " 8.4.1 " ,
66 "authors" : [
77 {
88 "name" : " Moo Man" ,
7272 },
7373 "socket" : true ,
7474 "manifest" : " https://github.com/moo-man/WFRP4e-FoundryVTT/releases/latest/download/system.json" ,
75- "download" : " https://github.com/moo-man/WFRP4e-FoundryVTT/releases/download/8.4.0 /wfrp4e.zip" ,
75+ "download" : " https://github.com/moo-man/WFRP4e-FoundryVTT/releases/download/8.4.1 /wfrp4e.zip" ,
7676 "url" : " https://github.com/moo-man/WFRP4e-FoundryVTT"
7777}
You can’t perform that action at this time.
0 commit comments