Tennis Racket: Difference between revisions
m (Automated capitalisation) |
m (Removing trailing whitespace(s)) |
||
Line 52: | Line 52: | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" |Chance | ||
|- | |- | ||
| rowspan="1"|bedroom | | rowspan="1"|bedroom | ||
| [[crate]] | | [[crate]] | ||
| 1 | | 1 | ||
| 0.4 | | 0.4 | ||
|- | |- | ||
| rowspan="1"|closet | | rowspan="1"|closet | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 4 | | 4 | ||
|- | |- | ||
| rowspan="4"|schoolstorage | | rowspan="4"|schoolstorage | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- |
Revision as of 11:11, 28 February 2024
A tennis racket is a long blunt weapon
Usage
Weapon
The tennis racket can hit up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 0.5 damage to enemies (unless a critical hit) from up to 1.25 tiles away at an attack speed of 1.1.
Condition
The tennis racket 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 (6 + 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.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/6 (17%) |
0 | 4 | 1/8 (13%) |
0 | 8 | 1/10 (10%) |
4 | 0 | 1/10 (10%) |
8 | 0 | 1/14 (7%) |
4 | 4 | 1/12 (8%) |
4 | 8 | 1/14 (7%) |
8 | 8 | 1/18 (6%) |
10 | 10 | 1/20 (5%) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bedroom | crate | 1 | 0.4 |
closet | crate | 4 | 4 |
schoolstorage | crate | 4 | 1 |
crate | 4 | 1 | |
crate | 4 | 2 | |
crate | 4 | 2 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item TennisRacket
{
DisplayCategory = Sports,
MaxRange = 1.25,
WeaponSprite = TennisRacket,
MinAngle = 0.75,
Type = Weapon,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 6,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 4,
MaxHitCount = 2,
DoorDamage = 2,
SwingAnim = Bat,
DisplayName = Tennis Racket,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = TennisRacket,
BreakSound = TennisRacketBreak,
DoorHitSound = TennisRacketHit,
HitSound = TennisRacketHit,
HitFloorSound = TennisRacketHit,
SwingSound = TennisRacketSwing,
TreeDamage = 0,
CriticalChance = 5,
CritDmgMultiplier = 1,
MinDamage = 0.3,
MaxDamage = 0.5,
BaseSpeed = 1.1,
AttachmentType = Racket,
}