Hockey Stick: Difference between revisions

From PZwiki
(Multi-hit info)
m (Distribution table fix)
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Hockey stick}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 37|incver=8}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Hockey Stick
|name=Hockey Stick
|name_colour=Weapon
|model=HockeyStick_Model.png
|name_text_colour=Weapon
|icon=FieldHockeyStick.png
|image=HockeyStick_Model.png
<!--GENERAL-->
|image_width=200px
|category=Sports
|alternate_image=FieldHockeyStick.png
|category=Weapon
|weight=1.5
|weight=1.5
|equipped=Two-handed
|equipped=Two-handed
|condition_max=7
|skill_type=Blunt
|attachment_type=Shovel
<!--DAMAGE-->
|type=Blunt
|type=Blunt
|min_range=0.61
|min_range=0.61
|max_range=1.6
|max_range=1.6
|swing_time=2
|base_speed=0.9
|condition_max=7
|min_damage=0.3
|min_damage=0.3
|max_damage=0.7
|max_damage=0.7
|door_damage=1
|tree_damage=0
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
|class_name=Base.HockeyStick
<!--TECHNICAL-->
|item_id=Base.HockeyStick
}}
}}
A [[Hockey Stick]] is a long blunt weapon. The hockey stick can be attached to the character's back for quick access and weight reduction
A '''hockey stick''' is an improvised long blunt [[Weapons|weapon]].
 
== Usage ==
== Usage ==
The hockey stick can be attached to the character's back for quick access and weight reduction.
{{pros-cons
{{pros-cons
<!-- #PROS# - below this line -->
<!-- #PROS# - below this line -->
Line 32: Line 38:
|cons2 = Low durability. Having backup weapons is recommended.
|cons2 = Low durability. Having backup weapons is recommended.
}}
}}
===Multi-hit===
 
In modes with multi-hit enabled, hockey sticks can hit a maximum of two targets in one swing.
===Weapon===
The 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 0.9.
 
==Condition==
The 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===
A hockey stick can be repaired with the following:
*2 × [[Wood Glue]] and level 2 [[Carpentry]]
*2 × [[Duct Tape]]
*3 × [[Glue]]
*4 × [[Adhesive Tape]]
 
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|HockeyStick|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>HockeyStick distribution
        <span class="mw-customtoggle-togglebox-HockeyStick" 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-HockeyStick">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bedroom
    | {{ll|crate}}
    | 0.53%
    |-
    | closet
    | {{ll|crate}}
    | 0.53%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.53%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | sportstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.53%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.53%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 6.29%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | Bandit
    | 0
    | 50
    |-
    | Bandit
    | 0
    | 60
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-HockeyStick" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|HockeyStick|41.78.16-->
===Buildings===
===Buildings===
*Hockey sticks can sometimes be found inside of a [[Time 4 Sports]] sporting goods store. There is a Time 4 Sports store located in the [[Crossroads Mall]] and the [[Riverside]] shopping district.
*Hockey sticks can sometimes be found inside of a [[Time 4 Sport]] sporting goods store. There is a Time 4 Sports store located in the [[Crossroads Mall]] and the [[Riverside]] shopping district.
 
===Zombies===
===Zombies===
*Hockey sticks can sometimes be found attached to bandit [[zombies]] which can be found at a bandit ambush vehicle story.
*Hockey sticks can sometimes be found attached to bandit [[zombies]] which can be found at a bandit ambush vehicle story.
==Gallery==
==Gallery==
<gallery>
<gallery style="image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor">
File:HoldingHockeyStick.jpg|Survivor wielding the hockey stick.
HoldingHockeyStick.jpg|Survivor wielding the hockey stick.
HockeyStick-old.png|Old icon prior to [[build 41]].
</gallery>
</gallery>
== Code ==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{Retrieved|version=41|incver=50}}
{{CodeSnip
<pre> item HockeyStick
  | lang = java
MaxRange = 1.6,
  | line = true
WeaponSprite = HockeyStick,
  | start = 2046
MinAngle = 0.85,
  | source = items_weapons.txt
Type = Weapon,
  | retrieved = true
MinimumSwingTime = 2,
  | version = 41.78.16
KnockBackOnNoDeath = FALSE,
  | code =
SwingAmountBeforeImpact = 0.02,
item HockeyStick
Categories = Improvised;Blunt,
    {
ConditionLowerChanceOneIn = 5,
        DisplayCategory = Sports,
Weight = 1.5,
        MaxRange = 1.6,
SplatNumber = 1,
        WeaponSprite = HockeyStick,
PushBackMod = 0.3,
        MinAngle = 0.85,
SubCategory = Swinging,
        Type = Weapon,
ConditionMax = 7,
        MinimumSwingTime = 2,
MaxHitCount = 2,
        KnockBackOnNoDeath = FALSE,
DoorDamage = 1,
        SwingAmountBeforeImpact = 0.02,
SwingAnim = Bat,
        Categories = Improvised;Blunt,
DisplayName = Hockey Stick,
        ConditionLowerChanceOneIn = 5,
MinRange = 0.61,
        Weight = 1.5,
SwingTime = 2,
        SplatNumber = 1,
KnockdownMod = 0,
        PushBackMod = 0.3,
SplatBloodOnNoDeath = FALSE,
        SubCategory = Swinging,
Icon = FieldHockeyStick,
        ConditionMax = 7,
RunAnim = Run_Weapon2,
        MaxHitCount = 3,
IdleAnim = Idle_Weapon2,
        DoorDamage = 1,
BreakSound = BreakWoodItem,
        SwingAnim = Bat,
TreeDamage = 0,
        DisplayName = Hockey Stick,
TwoHandWeapon = TRUE,
        MinRange = 0.61,
CriticalChance = 30,
        SwingTime = 2,
CritDmgMultiplier = 2,
        KnockdownMod = 0,
MinDamage = 0.3,
        SplatBloodOnNoDeath = FALSE,
MaxDamage = 0.7,
        Icon = FieldHockeyStick,
BaseSpeed = 0.9,
        RunAnim = Run_Weapon2,
AttachmentType = Shovel,
        IdleAnim = Idle_Weapon2,
</pre>
        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===
{{CodeSnip
  | lang = java
  | line = true
  | start = 328
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    fixing Fix Hockey Stick
    {
      Require : HockeyStick,
 
      Fixer : Woodglue=2; Woodwork=2,
      Fixer : DuctTape=2,
      Fixer : Glue=3,
      Fixer : Scotchtape=4,
    }
}}
}}
 
==See also==
*[[Baseball Bat]]
*[[Ice Hockey Stick]]
*[[Lacrosse Stick]]
*[[Tennis Racket]]
 
{{Navbox items|blunt}}
 


{{Navbox/Weapons}}
[[Category:Sports]]

Latest revision as of 19:19, 30 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]
Hockey Stick
HockeyStick 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
Tree damage
0
Range
0.61–1.6
Attack speed
0.9
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.HockeyStick

A hockey stick is an improvised long blunt weapon.

Usage

The hockey stick can be attached to the character's back for quick access and weight reduction.

Pros Cons
  • Long reach.
  • Not too heavy for a two-handed weapon.
  • Poor damage.
  • Low durability. Having backup weapons is recommended.

Weapon

The 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 0.9.

Condition

The 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

A hockey stick can be repaired with the following:

Distribution

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

HockeyStick distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bedroom crate 0.53%
closet crate 0.53%
closet crate 6.29%
garagestorage crate 0.53%
garagestorage crate 6.29%
schoolstorage crate 23.28%
sportstorage crate 23.28%
sportstorage metal_shelves 23.28%
sportstorage shelves 23.28%
sportstore shelves 23.28%
storageunit crate 0.53%
storageunit crate 6.29%
storageunit metal_shelves 0.53%
storageunit metal_shelves 6.29%
Zombie
Outfit Days survived Chance
Bandit 0 50
Bandit 0 60

Buildings

  • Hockey sticks can sometimes be found inside of a Time 4 Sport sporting goods store. There is a Time 4 Sports store located in the Crossroads Mall and the Riverside shopping district.

Zombies

  • Hockey sticks can sometimes be found attached to bandit zombies which can be found at a bandit ambush vehicle story.

Gallery

Code

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

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item HockeyStick
    {
        DisplayCategory = Sports,
        MaxRange	=	1.6,
        WeaponSprite	=	HockeyStick,
        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	=	Hockey Stick,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	FieldHockeyStick,
        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 Hockey Stick
    {
       Require : HockeyStick,

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

See also