Ice Hockey Stick: Difference between revisions

From PZwiki
m (Added link to model image)
m (Distribution table update)
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages|Broom}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=61}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Ice Hockey Stick
|name=Ice Hockey Stick
|name_colour=Weapon
|model=IceHockeyStick_Model.png
|name_text_colour=Weapon
|icon=HockeyStick.png
|image=IceHockeyStick_Model.png
|icon_name=Ice Hockey Stick
|alternate_image=HockeyStick.png
|alternate_name=Ice Hockey Stick
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Sports
|weight=1.5
|weight=1.5
|equipped=Two-handed
|equipped=Two-handed
|condition_max=7
|condition_max=7
|skill_type=Blunt
|attachment_type=Shovel
|attachment_type=Shovel
<!--CHARACTERISTICS-->
<!--DAMAGE-->
<!--DAMAGE-->
|type=Blunt
|type=Blunt
|swing_time=2
|base_speed=0.9
|min_range=0.61
|min_range=0.61
|max_range=1.6
|max_range=1.6
Line 26: Line 24:
|knockdown=0
|knockdown=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=IceHockeyStick
|item_id=Base.IceHockeyStick
}}
}}
An '''ice hockey stick''' is an improvised long blunt weapon.
An '''ice hockey stick''' is an improvised long blunt [[Weapons|weapon]].
 
==Usage==
===Weapon===
The ice hockey stick can hit up to 3 enemies at a time (with multi-hit enabled), dealing a maximum of 0.7 damage to enemies (unless a critical hit) from up to 1.6 tiles away at an attack speed of 2.
 
==Condition==
The ice hockey stick has a maximum condition of 7. Its rate of degradation is influenced by the [[Skills|long blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (5 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills.
{{Durability weapon|5}}
 
===Repairing===
An ice hockey stick can be repaired with the following:
*2 × [[Wood Glue]] and level 2 [[Carpentry]]
*2 × [[Duct Tape]]
*3 × [[Glue]]
*4 × [[Adhesive Tape]]
 
 
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|IceHockeyStick|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>IceHockeyStick distribution
        <span class="mw-customtoggle-togglebox-IceHockeyStick" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-IceHockeyStick">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.2
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 2.0
    |-
    | schoolstorage
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | schoolstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-IceHockeyStick" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|IceHockeyStick|41.78.16-->


== Code ==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{Retrieved|version=41|incver=61}}
 
<pre> item IceHockeyStick
===Item===
DisplayCategory = Sports,
{{CodeSnip
MaxRange = 1.6,
  | lang = java
WeaponSprite = IceHockeyStick,
  | line = true
MinAngle = 0.85,
  | start = 2089
Type = Weapon,
  | source = items_weapons.txt
MinimumSwingTime = 2,
  | retrieved = true
KnockBackOnNoDeath = FALSE,
  | version = 41.78.16
SwingAmountBeforeImpact = 0.02,
  | code =
Categories = Improvised;Blunt,
item IceHockeyStick
ConditionLowerChanceOneIn = 5,
    {
Weight = 1.5,
        DisplayCategory = Sports,
SplatNumber = 1,
        MaxRange = 1.6,
PushBackMod = 0.3,
        WeaponSprite = IceHockeyStick,
SubCategory = Swinging,
        MinAngle = 0.85,
ConditionMax = 7,
        Type = Weapon,
MaxHitCount = 3,
        MinimumSwingTime = 2,
DoorDamage = 1,
        KnockBackOnNoDeath = FALSE,
SwingAnim = Bat,
        SwingAmountBeforeImpact = 0.02,
DisplayName = Ice Hockey Stick,
        Categories = Improvised;Blunt,
MinRange = 0.61,
        ConditionLowerChanceOneIn = 5,
SwingTime = 2,
        Weight = 1.5,
KnockdownMod = 0,
        SplatNumber = 1,
SplatBloodOnNoDeath = FALSE,
        PushBackMod = 0.3,
Icon = HockeyStick,
        SubCategory = Swinging,
RunAnim = Run_Weapon2,
        ConditionMax = 7,
IdleAnim = Idle_Weapon2,
        MaxHitCount = 3,
BreakSound = HockeyStickBreak,
        DoorDamage = 1,
DoorHitSound = HockeyStickHit,
        SwingAnim = Bat,
HitSound = HockeyStickHit,
        DisplayName = Ice Hockey Stick,
HitFloorSound = HockeyStickHit,
        MinRange = 0.61,
SwingSound = HockeyStickSwing,
        SwingTime = 2,
TreeDamage = 0,
        KnockdownMod = 0,
TwoHandWeapon = TRUE,
        SplatBloodOnNoDeath = FALSE,
CriticalChance = 30,
        Icon = HockeyStick,
CritDmgMultiplier = 2,
        RunAnim = Run_Weapon2,
MinDamage = 0.3,
        IdleAnim = Idle_Weapon2,
MaxDamage = 0.7,
        BreakSound =   HockeyStickBreak,
BaseSpeed = 0.9,
        DoorHitSound = HockeyStickHit,
AttachmentType = Shovel,
HitSound = HockeyStickHit,
</pre>
HitFloorSound = HockeyStickHit,
SwingSound = HockeyStickSwing,
        TreeDamage =   0,
        TwoHandWeapon = TRUE,
        CriticalChance = 30,
        CritDmgMultiplier = 2,
        MinDamage = 0.3,
        MaxDamage = 0.7,
        BaseSpeed = 0.9,
        AttachmentType = Shovel,
    }
}}
 
===Repair===
{{CodeSnip
  | lang = java
  | line = true
  | start = 338
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    fixing Fix Ice Hockey Stick
    {
      Require : IceHockeyStick,


== See Also ==
      Fixer : Woodglue=2; Woodwork=2,
      Fixer : DuctTape=2,
      Fixer : Glue=3,
      Fixer : Scotchtape=4,
    }
  }}
}}
 
== See also ==
* [[Hockey Stick]]
* [[Hockey Stick]]
* [[LaCrosse Stick]]
==See also==
{{Navbox items|blunt}}


{{Navbox_weapons}}
[[Category:Sports]]

Revision as of 15:47, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Ice Hockey Stick
IceHockeyStick Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
Two-handed
Slot attached
Back
Skill
Properties
Max condition
7
Performance
Damage
0.3–0.7
Door damage
1
Range
0.61–1.6
Attack speed
0.9
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.IceHockeyStick

An ice hockey stick is an improvised long blunt weapon.

Usage

Weapon

The ice hockey stick can hit up to 3 enemies at a time (with multi-hit enabled), dealing a maximum of 0.7 damage to enemies (unless a critical hit) from up to 1.6 tiles away at an attack speed of 2.

Condition

The ice hockey stick has a maximum condition of 7. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (5 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/5 (20%)
0 4 1/7 (14%)
0 8 1/9 (11%)
4 0 1/9 (11%)
8 0 1/13 (8%)
4 4 1/11 (9%)
4 8 1/13 (8%)
8 8 1/17 (6%)
10 10 1/19 (5%)

Repairing

An ice hockey stick can be repaired with the following:


Distribution

The loot distributions can be found in the table(s) below.

IceHockeyStick distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bedroom crate 1 0.2
closet crate 4 2.0
schoolstorage crate 4 20.0
schoolstorage crate 4 10.0

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Item

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item IceHockeyStick
    {
        DisplayCategory = Sports,
        MaxRange	=	1.6,
        WeaponSprite	=	IceHockeyStick,
        MinAngle	=	0.85,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	5,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	7,
        MaxHitCount	=	3,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Ice Hockey Stick,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	HockeyStick,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   HockeyStickBreak,
        DoorHitSound = HockeyStickHit,
		HitSound = HockeyStickHit,
		HitFloorSound = HockeyStickHit,
		SwingSound = HockeyStickSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.3,
        MaxDamage	=	0.7,
        BaseSpeed = 0.9,
        AttachmentType = Shovel,
    }

Repair

Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Ice Hockey Stick
    {
       Require : IceHockeyStick,

       Fixer : Woodglue=2; Woodwork=2,
       Fixer : DuctTape=2,
       Fixer : Glue=3,
       Fixer : Scotchtape=4,
    }

See also

See also