Ice Hockey Stick: Difference between revisions
(added basic weapon content, and CodeBox) |
m (infobox > category) |
||
Line 9: | Line 9: | ||
|alternate_name=Ice Hockey Stick | |alternate_name=Ice Hockey Stick | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category= | |category=Sports | ||
|weight=1.5 | |weight=1.5 | ||
|equipped=Two-handed | |equipped=Two-handed |
Revision as of 13:09, 28 December 2023
Ice Hockey Stick | ||
---|---|---|
| ||
General | ||
Category | Sports | |
Encumbrance | 1.5 | |
Equipped | Two-handed | |
Condition max. | 7 | |
Skill | Long Blunt | |
Attachment | Back | |
Damage | ||
Type | Blunt | |
Attack speed | 2 | |
Range | 0.61–1.6 tiles | |
Damage | 0.3–0.7 | |
Door damage | 1 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base 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 (1 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.
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%) |
Code
Source: ProjectZomboid\media\scripts\weapons.txt
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,
}