Template:SummonStatIncrease: Difference between revisions

From UO Outlands Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{SummonStatIncrease|Earth Elemental}}
<noinclude><big>''Editing this template will '''not''' change what the template displays, see [[Template:{{PAGENAME}}#Editing|#Editing]] for more information</big>''
</noinclude>{{#invoke:Creatures|summonStatIncrease|{{{1|{{PAGENAME}}}}}}}
 
 
{{PAGENAME}} generates a table showing a summoned creature's stats based on their summoner's [[Spirit Speak]] skill, like in the example below of an [[Earth Elemental]]:
{{SummonStatIncrease|Earth Elemental}}
 
== Parameters ==
{| class="wikitable" style="text-align:center"
! Name
! Alias
! Default Value
! Function
! Example
|-
| name
| 1
| <nowiki>{{PAGENAME}}</nowiki>
| style="text-align:left"| The name of the summoned follower to to generate a table for.
| Earth Elemental/Lich
|-
| section
| 2
|
| style="text-align:left"| The section to add before the table, if a value is given
| Creature Stats
|}
 
== Editing ==
This template is generated by [[Module:Creatures]], which formats the creature data into this table, this cannot be edited without a basic understanding of Lua, or at least general programming. However the summoned creature data is pulled from [[Module:SummonableCreatureData]]. This modules' documentation (linked at the top of their pages) gives details on how to structure data in the Lua table and after reading it editors should be able to edit with little to no programming knowledge, after editing it is recommended that editors make sure the template still functions properly.
 
These modules were created by User:TheGmaster, feel free to dm any questions/concerns/requests directly via Discord @thegmaster1.
</noinclude><onlyinclude>{{#invoke:Creatures|summonStatIncrease|name={{{name|{{{1|{{PAGENAME}}}}}}}}|section={{{section|{{{2|}}}}}}|pagename={{PAGENAME}}}}</onlyinclude>

Latest revision as of 00:45, 12 November 2024

Editing this template will not change what the template displays, see #Editing for more information


SummonStatIncrease generates a table showing a summoned creature's stats based on their summoner's Spirit Speak skill, like in the example below of an Earth Elemental:


Earth Elemental
Stat Spirit Speak Skill
Base 80 100 120 150
Hits 600 720 900 1080 1350
Attack Speed 0 0 0 0 0
Melee Damage 40 - 50 40 - 50 50 - 62.5 60 - 75 75 - 93.75
Wrestling 95 95 118.75 142.5 178.125
Armor 75 95 100 105 112.5
Magic Resist 50 90 100 110 125

Parameters

Name Alias Default Value Function Example
name 1 {{PAGENAME}} The name of the summoned follower to to generate a table for. Earth Elemental/Lich
section 2 The section to add before the table, if a value is given Creature Stats

Editing

This template is generated by Module:Creatures, which formats the creature data into this table, this cannot be edited without a basic understanding of Lua, or at least general programming. However the summoned creature data is pulled from Module:SummonableCreatureData. This modules' documentation (linked at the top of their pages) gives details on how to structure data in the Lua table and after reading it editors should be able to edit with little to no programming knowledge, after editing it is recommended that editors make sure the template still functions properly.

These modules were created by User:TheGmaster, feel free to dm any questions/concerns/requests directly via Discord @thegmaster1.