From Dark and Darker Wiki
| m (class base attributes to HF42) |  ((test2) Automated edit for hotfix HF42) | ||
| Line 3: | Line 3: | ||
| |all_attributes=Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness | |all_attributes=Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness | ||
| |barbarian={{#switch:{{lc:{{{2|}}}}} | |barbarian={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Barbarian | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=20 | |||
| 		|vigor=25 | |||
| 		|agility=13 | |||
| 		|dexterity=12 | |||
| 		|will=18 | |||
| 		|knowledge=5 | |||
| 		|resourcefulness=12 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |bard={{#switch:{{lc:{{{2|}}}}} | |bard={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Bard | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=13 | |||
| 		|vigor=13 | |||
| 		|agility=13 | |||
| 		|dexterity=20 | |||
| 		|will=11 | |||
| 		|knowledge=20 | |||
| 		|resourcefulness=15 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |cleric={{#switch:{{lc:{{{2|}}}}} | |cleric={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Cleric | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=11 | |||
| 		|vigor=13 | |||
| 		|agility=12 | |||
| 		|dexterity=14 | |||
| 		|will=23 | |||
| 		|knowledge=20 | |||
| 		|resourcefulness=12 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |fighter={{#switch:{{lc:{{{2|}}}}} | |fighter={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Fighter | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=15 | |||
| 		|vigor=15 | |||
| 		|agility=15 | |||
| 		|dexterity=15 | |||
| 		|will=15 | |||
| 		|knowledge=15 | |||
| 		|resourcefulness=15 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |ranger={{#switch:{{lc:{{{2|}}}}} | |ranger={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Ranger | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=10 | |||
| 		|vigor=10 | |||
| 		|agility=20 | |||
| 		|dexterity=18 | |||
| 		|will=10 | |||
| 		|knowledge=12 | |||
| 		|resourcefulness=25 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |rogue={{#switch:{{lc:{{{2|}}}}} | |rogue={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Rogue | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=9 | |||
| 		|vigor=6 | |||
| 		|agility=25 | |||
| 		|dexterity=25 | |||
| 		|will=10 | |||
| 		|knowledge=10 | |||
| 		|resourcefulness=20 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |warlock={{#switch:{{lc:{{{2|}}}}} | |warlock={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Warlock | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=11 | |||
| 		|vigor=14 | |||
| 		|agility=14 | |||
| 		|dexterity=15 | |||
| 		|will=22 | |||
| 		|knowledge=15 | |||
| 		|resourcefulness=14 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| |wizard={{#switch:{{lc:{{{2|}}}}} | |wizard={{#switch:{{lc:{{{2|}}}}} | ||
| 	|name=Wizard | |||
| 	|attributes={{#switch:{{lc:{{{3|}}}}} | |||
| 		|strength=6 | |||
| 		|vigor=7 | |||
| 		|agility=15 | |||
| 		|dexterity=17 | |||
| 		|will=20 | |||
| 		|knowledge=25 | |||
| 		|resourcefulness=15 | |||
| 		|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness | |||
| 		}} | |||
| 	|#default= | |||
| 	}} | |||
| }}</includeonly><noinclude> | |#default=}}</includeonly><noinclude> | ||
| ==Usage== | |||
| <pre>{{Class_Data|<variable1>|<variable2>|...}}</pre> | |||
| Example <pre>{{Class_Data|fighter|attributes|strength}} </pre> | ==Variables== | ||
| *all_classes | |||
| *all_attributes | |||
| *<class name> | |||
| **attributes | |||
| ***<attribute name> | |||
| ==Examples== | |||
| ===Example 1=== | |||
| <pre>{{Class_Data|fighter|attributes|strength}} </pre> | |||
| {{Class_Data|fighter|attributes|strength}} | {{Class_Data|fighter|attributes|strength}} | ||
| ===Example 2=== | |||
| <pre>{{Class_Data|all_classes}}</pre> | <pre>{{Class_Data|all_classes}}</pre> | ||
| {{Class_Data|all_classes}} | {{Class_Data|all_classes}} | ||
| ===Example 3=== | |||
| <pre>{{Class_Data|all_attributes}}</pre> | <pre>{{Class_Data|all_attributes}}</pre> | ||
| {{Class_Data|all_attributes}} | {{Class_Data|all_attributes}}" | ||
| </noinclude> | |||
| <noinclude> | |||
Revision as of 02:25, 23 April 2024
Usage
{{Class_Data|<variable1>|<variable2>|...}}
Variables
- all_classes
- all_attributes
- <class name>
- attributes
- <attribute name>
 
 
- attributes
Examples
Example 1
{{Class_Data|fighter|attributes|strength}} 
15
Example 2
{{Class_Data|all_classes}}
Barbarian,Bard,Cleric,Fighter,Ranger,Rogue,Warlock,Wizard
Example 3
{{Class_Data|all_attributes}}
Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness"
 
						