Various fixes and renamingé
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Release Creation / build (release) Successful in 1m30s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Release Creation / build (release) Successful in 1m30s
				
			This commit is contained in:
		| @@ -125,6 +125,7 @@ export default class LethalFantasyRoll extends Roll { | ||||
|     let hasMaxValue = true | ||||
|     let hasGrantedDice = false | ||||
|     let pointBlank = false | ||||
|     let letItFly = false | ||||
|     let beyondSkill = false | ||||
|     let hasStaticModifier = false | ||||
|     let hasExplode = true | ||||
| @@ -358,6 +359,9 @@ export default class LethalFantasyRoll extends Roll { | ||||
|         "selectPointBlank": (event, button, dialog) => { | ||||
|           pointBlank = button.checked | ||||
|         }, | ||||
|         "selectLetItFly": (event, button, dialog) => { | ||||
|           letItFly = button.checked | ||||
|         }, | ||||
|         "gotoToken": (event, button, dialog) => { | ||||
|           let tokenId = $(button).data("tokenId") | ||||
|           let token = canvas.tokens?.get(tokenId) | ||||
| @@ -431,6 +435,16 @@ export default class LethalFantasyRoll extends Roll { | ||||
|       hasD30 = false | ||||
|     } | ||||
|  | ||||
|     if (letItFly) { | ||||
|       baseFormula = "1D20" | ||||
|       titleFormula = `1D20E` | ||||
|       modifierFormula = "0" | ||||
|       fullModifier = 0 | ||||
|       hasFavor = false | ||||
|       hasExplode = true | ||||
|       rollContext.favor = "none" | ||||
|     } | ||||
|  | ||||
|     maxValue = Number(baseFormula.match(/\d+$/)[0]) // Update the max value agains | ||||
|  | ||||
|     const rollData = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user