mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 15:36:07 +00:00 
			
		
		
		
	Immunities, vulnerabilities, resistances...
This commit is contained in:
		
							parent
							
								
									4fa772aa37
								
							
						
					
					
						commit
						9620cd6c3a
					
				
					 2 changed files with 224 additions and 373 deletions
				
			
		|  | @ -518,20 +518,24 @@ namespace AideDeJeu.Tools | ||||||
|             md += string.Format("# {0}\n", monster.NamePHB?.Trim()); |             md += string.Format("# {0}\n", monster.NamePHB?.Trim()); | ||||||
|             md += string.Format("- NameVO: [{0}]\n", monster.NameVO?.Trim()); |             md += string.Format("- NameVO: [{0}]\n", monster.NameVO?.Trim()); | ||||||
|             md += string.Format("- {0} {1}, {2}\n", monster.Size?.Trim(), monster.Type?.Trim(), monster.Alignment?.Trim()); |             md += string.Format("- {0} {1}, {2}\n", monster.Size?.Trim(), monster.Type?.Trim(), monster.Alignment?.Trim()); | ||||||
|             md += string.Format("- **Armor Class** {0}\n", monster.ArmorClass?.Trim()); |             if (monster.ArmorClass != null) md += string.Format("- **Armor Class** {0}\n", monster.ArmorClass?.Trim()); | ||||||
|             md += string.Format("- **Hit Points** {0}\n", monster.HitPoints?.Trim()); |             if (monster.HitPoints != null) md += string.Format("- **Hit Points** {0}\n", monster.HitPoints?.Trim()); | ||||||
|             md += string.Format("- **Speed** {0}\n", monster.Speed?.Trim()); |             if (monster.Speed != null) md += string.Format("- **Speed** {0}\n", monster.Speed?.Trim()); | ||||||
|             md += "\n"; |             md += "\n"; | ||||||
|             md += "|  STR  |  DEX  |  CON  |  INT  |  WIS  |  CHA  |\n"; |             md += "|  STR  |  DEX  |  CON  |  INT  |  WIS  |  CHA  |\n"; | ||||||
|             md += "| ---   | ---   | ---   | ---   | ---   | ---   |\n"; |             md += "| ---   | ---   | ---   | ---   | ---   | ---   |\n"; | ||||||
|             md += string.Format("|{0,7}|{1,7}|{2,7}|{3,7}|{4,7}|{5,7}|\n", monster.Strength?.Trim(), monster.Dexterity?.Trim(), monster.Constitution?.Trim(), monster.Intelligence?.Trim(), monster.Wisdom?.Trim(), monster.Charisma?.Trim()); |             md += string.Format("|{0,7}|{1,7}|{2,7}|{3,7}|{4,7}|{5,7}|\n", monster.Strength?.Trim(), monster.Dexterity?.Trim(), monster.Constitution?.Trim(), monster.Intelligence?.Trim(), monster.Wisdom?.Trim(), monster.Charisma?.Trim()); | ||||||
|             md += "\n"; |             md += "\n"; | ||||||
|             md += string.Format("- **Saving Throws** {0}\n", monster.SavingThrows?.Trim()); |             if (monster.SavingThrows != null) md += string.Format("- **Saving Throws** {0}\n", monster.SavingThrows?.Trim()); | ||||||
|             md += string.Format("- **Skills** {0}\n", monster.Skills?.Trim()); |             if (monster.Skills != null) md += string.Format("- **Skills** {0}\n", monster.Skills?.Trim()); | ||||||
|             md += string.Format("- **Senses** {0}\n", monster.Senses?.Trim()); |             if (monster.Senses != null) md += string.Format("- **Senses** {0}\n", monster.Senses?.Trim()); | ||||||
|             md += string.Format("- **Languages** {0}\n", monster.Languages?.Trim()); |             if (monster.Languages != null) md += string.Format("- **Languages** {0}\n", monster.Languages?.Trim()); | ||||||
|             md += string.Format("- **Challenge** {0}\n", monster.Challenge?.Trim()); |             if (monster.Challenge != null) md += string.Format("- **Challenge** {0}\n", monster.Challenge?.Trim()); | ||||||
| 
 | 
 | ||||||
|  |             if (monster.ConditionImmunities != null) md += string.Format("- **Condition Immunities** {0}\n", monster.ConditionImmunities?.Trim()); | ||||||
|  |             if (monster.DamageImmunities!= null) md += string.Format("- **Damage Immunities** {0}\n", monster.DamageImmunities?.Trim()); | ||||||
|  |             if (monster.DamageResistances != null) md += string.Format("- **Damage Resistances** {0}\n", monster.DamageResistances?.Trim()); | ||||||
|  |             if (monster.DamageVulnerabilities != null) md += string.Format("- **Damage Vulnerabilities** {0}\n", monster.DamageVulnerabilities?.Trim()); | ||||||
|             //md += string.Format("- Components: {0}\n", monster.Components); |             //md += string.Format("- Components: {0}\n", monster.Components); | ||||||
|             //md += string.Format("- Duration: {0}\n", monster.Duration); |             //md += string.Format("- Duration: {0}\n", monster.Duration); | ||||||
|             //md += string.Format("- LevelType: {0}\n", monster.LevelType); |             //md += string.Format("- LevelType: {0}\n", monster.LevelType); | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez