Difference between revisions of "Template:LL"
From Tales of Maj'Eyal
(mostly done) |
|||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | + | Use as <nowiki>{{ll|<base hp>|<rank>|<level>|<life_rating>}}</nowiki> | |
| − | + | Can be used to determine the HP for a player or NPC, with the following input: | |
| + | * <base hp> - The starting HP at level 1, or 'max_life variable' for the NPC | ||
| + | * <rank> - Defined as 'rank' for NPC; players always use '3' | ||
| + | * <level> - The level of the NPC or player | ||
| + | * <life_rating> - For players, class rating + race rating. For NPCs, defined as 'life_rating' | ||
| + | |||
| + | Returns a ''fixed'' value. This works for players, but most NPCs can vary from 0.5x to 1.5x the value. | ||
| + | NPCs with 'fixed_rating = true' will use the single value only. | ||
| + | |||
| + | Does ''not'' count bonuses from Con! | ||
| + | |||
| + | Example: player Dwarf Berserker at level 10 | ||
| + | |||
| + | <nowiki>{{LL|120|3|10|15}}</nowiki> gives {{LL|120|3|10|15}} | ||
| + | |||
| + | Example: Rantha the Worm at level 16 (boss with fixed life rating) | ||
| + | |||
| + | <nowiki>{{LL|230|4|16|17}}</nowiki> gives {{LL|230|4|16|17}} | ||
<!--- | <!--- | ||
Revision as of 03:10, 12 February 2016
Use as {{ll|<base hp>|<rank>|<level>|<life_rating>}}
Can be used to determine the HP for a player or NPC, with the following input:
- <base hp> - The starting HP at level 1, or 'max_life variable' for the NPC
- <rank> - Defined as 'rank' for NPC; players always use '3'
- <level> - The level of the NPC or player
- <life_rating> - For players, class rating + race rating. For NPCs, defined as 'life_rating'
Returns a fixed value. This works for players, but most NPCs can vary from 0.5x to 1.5x the value. NPCs with 'fixed_rating = true' will use the single value only.
Does not count bonuses from Con!
Example: player Dwarf Berserker at level 10
{{LL|120|3|10|15}} gives 289
Example: Rantha the Worm at level 16 (boss with fixed life rating)
{{LL|230|4|16|17}} gives 1052