Leaf Rake: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category update: "Melee weapons") |
(added basic weapon content, and CodeBox) |
||
Line 10: | Line 10: | ||
|alternate_name=Leaf Rake | |alternate_name=Leaf Rake | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category= | |category=Gardening | ||
|weight=1.5 | |weight=1.5 | ||
|equipped=Two-handed | |equipped=Two-handed | ||
Line 26: | Line 26: | ||
|class_name=LeafRake | |class_name=LeafRake | ||
}} | }} | ||
A '''leaf rake''' is an improvised long blunt [[Weapons|weapon]]. | |||
==Usage== | ==Usage== | ||
Line 42: | Line 42: | ||
==Condition== | ==Condition== | ||
The leaf rake is | The leaf rake has a maximum condition of 4. 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 (1 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short 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|3}} | |||
==Distribution== | ==Distribution== | ||
{{Stub}} | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2674 | |||
| source = weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item LeafRake | |||
{ | |||
DisplayCategory = Gardening, | |||
MaxRange = 1.6, | |||
WeaponSprite = LeafRake, | |||
MinAngle = 0.85, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Blunt, | |||
ConditionLowerChanceOneIn = 3, | |||
Weight = 1.5, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 4, | |||
MaxHitCount = 3, | |||
DoorDamage = 1, | |||
SwingAnim = Bat, | |||
DisplayName = Leaf Rake, | |||
MinRange = 0.61, | |||
HitSound | SwingTime = 2, | ||
HitFloorSound | KnockdownMod = 0, | ||
SwingSound | SplatBloodOnNoDeath = FALSE, | ||
Icon = LeafRake, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
BreakSound = LeafRakeBreak, | |||
DoorHitSound = LeafRakeHit, | |||
HitSound = LeafRakeHit, | |||
HitFloorSound = LeafRakeHit, | |||
SwingSound = LeafRakeSwing, | |||
TreeDamage = 0, | |||
TwoHandWeapon = TRUE, | |||
CriticalChance = 5, | |||
CritDmgMultiplier = 1, | |||
MinDamage = 0.2, | |||
MaxDamage = 0.4, | |||
BaseSpeed = 1.2, | |||
WeaponLength = 0.65, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
AttachmentType = Shovel, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Pickaxe]] | |||
*[[Shovel]] | |||
*[[Snow Shovel]] | |||
{{Navbox weapons}} | {{Navbox weapons}} |
Revision as of 13:17, 28 December 2023
Leaf Rake | ||
---|---|---|
| ||
General | ||
Category | Gardening | |
Encumbrance | 1.5 | |
Equipped | Two-handed | |
Condition max. | 4 | |
Skill | Long Blunt | |
Attachment | Back | |
Damage | ||
Type | Blunt | |
Attack speed | 2 | |
Range | 0.61–1.6 tiles | |
Damage | 0.2–0.4 | |
Knockback | 0.3 | |
Technical details | ||
Base ID | LeafRake | |
A leaf rake is an improvised long blunt weapon.
Usage
Pros | Cons |
---|---|
|
|
Breaking Doors
The leaf rake cannot be used to break doors as it deals 0 damage to them, resulting in only damaging the leaf rake's durability if attempted.
Condition
The leaf rake has a maximum condition of 4. 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/3 (33%) |
0 | 4 | 1/5 (20%) |
0 | 8 | 1/7 (14%) |
4 | 0 | 1/7 (14%) |
8 | 0 | 1/11 (9%) |
4 | 4 | 1/9 (11%) |
4 | 8 | 1/11 (9%) |
8 | 8 | 1/15 (7%) |
10 | 10 | 1/17 (6%) |
Distribution
Code
Source: ProjectZomboid\media\scripts\weapons.txt
item LeafRake
{
DisplayCategory = Gardening,
MaxRange = 1.6,
WeaponSprite = LeafRake,
MinAngle = 0.85,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 3,
Weight = 1.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 4,
MaxHitCount = 3,
DoorDamage = 1,
SwingAnim = Bat,
DisplayName = Leaf Rake,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = LeafRake,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = LeafRakeBreak,
DoorHitSound = LeafRakeHit,
HitSound = LeafRakeHit,
HitFloorSound = LeafRakeHit,
SwingSound = LeafRakeSwing,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 5,
CritDmgMultiplier = 1,
MinDamage = 0.2,
MaxDamage = 0.4,
BaseSpeed = 1.2,
WeaponLength = 0.65,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = Shovel,
}