FIX: Monster damages
							parent
							
								
									bae803025e
								
							
						
					
					
						commit
						c94807c9ae
					
				|  | @ -215,7 +215,7 @@ export class OseActor extends Actor { | |||
|     }; | ||||
| 
 | ||||
|     let dmgParts = []; | ||||
|     if (!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) { | ||||
|     if ((!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) && this.type == "character") { | ||||
|       dmgParts.push("1d6"); | ||||
|     } else { | ||||
|       dmgParts.push(attData.dmg); | ||||
|  | @ -243,8 +243,8 @@ export class OseActor extends Actor { | |||
| 
 | ||||
|     const rollParts = ["1d20"]; | ||||
|     const dmgParts = []; | ||||
| 
 | ||||
|     if (!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) { | ||||
|      | ||||
|     if ((!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) && this.type == "character") { | ||||
|       dmgParts.push("1d6"); | ||||
|     } else { | ||||
|       dmgParts.push(attData.dmg); | ||||
|  |  | |||
|  | @ -57,7 +57,7 @@ export class OseItem extends Item { | |||
|     } else if (this.data.data.melee && !isNPC) { | ||||
|       this.actor.rollAttack({type: 'melee', label: this.name, dmg: this.data.data.damage}); | ||||
|     } else { | ||||
|       this.actor.rollAttack({type: 'raw', label: this.name}); | ||||
|       this.actor.rollAttack({type: 'raw', label: this.name, dmg: this.data.data.damage}); | ||||
|     } | ||||
|     return true; | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue