Template:CombatStyles

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 22:17, 11 October 2024 (Created page with "<includeonly>{{#invoke:CombatStyles|main}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:CombatStyles/doc. [edit] [history] [purge]
Template:CombatStyles invokes function main in Module:CombatStyles using Lua.

Usage

{{CombatStyles
|                  <!--  The first unnamed parameter determines the combat style of a weapon. -->
|speed           = <!--  The base attack speed of a weapon. This value is identical to the one used in {{Infobox Bonuses}}. -->
|attackrange     = <!--  The base attack range of a weapon. This value is identical to the one used in {{Infobox Bonuses}}. -->
}}

Quick copy

{{CombatStyles||speed=|attackrange=}}

Details

Possible values for the first field are listed below. See Weapons/Types for a full overview.

  • 2h Sword
  • Axe
  • Banner
  • Bladed Staff
  • Blaster
  • Bludgeon
  • Blunt
  • Bow
  • Bulwark
  • Chinchompas
  • Claw
  • Crossbow
  • Gun
  • Pickaxe
  • Polearm
  • Polestaff
  • Powered Staff
  • Salamander
  • Scythe
  • Slash Sword
  • Spear
  • Spiked
  • Stab Sword
  • Staff
  • Thrown
  • Unarmed
  • Whip

Examples

{{CombatStyles|Bow|speed=4|attackrange=9}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
AccurateStandardAccurate4 ticks (2.4s)9 tilesRanged Hitpoints+3 Ranged
RapidStandardRapid3 ticks (1.8s)9 tilesRanged HitpointsNone
LongrangeStandardLongrange4 ticks (2.4s)10 tilesRanged Defence Hitpoints+3 Defence

{{CombatStyles|Gun|speed=varies|attackrange=varies}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
Aim and FireNoneNoneVariableVariableNoneNone
KickCrushAggressiveStrength Hitpoints+3 Strength

{{CombatStyles|Unarmed|speed=No|attackrange=None ????}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
PunchCrushAccurateN/AN/AAttack Hitpoints+3 Attack
KickCrushAggressiveStrength Hitpoints+3 Strength
BlockCrushDefensiveDefence Hitpoints+3 Defence

{{CombatStyles|Polestaff}}

Combat styleAttack typeWeapon styleExperienceLevel boost
BashCrushAccurateAttack Hitpoints+3 Attack
PoundCrushAggressiveStrength Hitpoints+3 Strength
BlockCrushDefensiveDefence Hitpoints+3 Defence

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Displays the available combat options of a weapon and formats its attack speed and range

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Combat style1

The combat style of the weapon, categorised by available combat options

Stringrequired
Attack speedspeed

Base attack speed of a weapon, in ticks

Numbersuggested
Attack rangeattackrange

Base attack range of a weapon, in game tiles

Numbersuggested