File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -253,14 +253,8 @@ export default class ActorWFRP4e extends WarhammerActor
253253 await test . roll ( ) ;
254254 }
255255 else {
256- let skill = this . itemTags [ "skill" ] . find ( i => i . name == item . test . value )
257- if ( skill ) {
258- let test = await this . setupSkill ( skill , context , options ) ;
259- await test . roll ( ) ;
260- }
261- else {
262- ui . notifications . error ( `${ game . i18n . format ( "ExtendedError2" , { name : item . test . value } ) } ` )
263- }
256+ let test = await this . setupSkill ( item . test . value , context , options ) ;
257+ await test . roll ( ) ;
264258 }
265259 }
266260
Original file line number Diff line number Diff line change 668668 "ExtendedTest.Remove" : " Remove" ,
669669 "Completed" : " Completed" ,
670670 "ExtendedError1" : " Please enter a positive integer for the Extended Test's Target" ,
671- "ExtendedError2" : " Could not find characteristic or skill to match: {name}" ,
672671
673672 "XP" : " XP" ,
674673 "EXP" : " EXP" ,
You can’t perform that action at this time.
0 commit comments