Katana: Difference between revisions
(added CodeBox, Condition and other fixes/updates/adjustments) |
m (Automated Formatting) |
||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blade weapons}} | |||
{{Header| | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Katana | ||
| | |model=Katana_Model.png | ||
|icon=Katana.png | |||
|icon_name=Katana | |||
| | |||
| | |||
|category=Weapon | |category=Weapon | ||
|weight=2 | |weight=2 | ||
Line 27: | Line 23: | ||
|push_back=0.5 | |push_back=0.5 | ||
<!--TECHNICAL--> | <!--TECHNICAL--> | ||
| | |item_id=Base.Katana | ||
}} | }} | ||
A '''katana''' is a two-handed long blade [[Weapons|weapon]]. | A '''katana''' is a two-handed long blade [[Weapons|weapon]]. | ||
==Usage== | ==Usage== | ||
Line 41: | Line 37: | ||
|cons3 = Very difficult to find. | |cons3 = Very difficult to find. | ||
}} | }} | ||
==Weapon== | ==Weapon== | ||
The katana has the highest damage output of any weapon in the game, surpassing all melee weapons and firearms. It can frequently kill zombies in just one hit, and has a good range and attack speed. However, katanas are very rare if not ''the'' rarest making it difficult to level up the long blade skill. | The katana has the highest damage output of any weapon in the game, surpassing all melee weapons and firearms. It can frequently kill zombies in just one hit, and has a good range and attack speed. However, katanas are very rare if not ''the'' rarest making it difficult to level up the long blade skill. | ||
It can hit up to 3 enemies at a time (with multi-hit enabled), dealing 8 damage to enemies (unless a critical hit) from up to 1.4 tiles away at an attack speed of 1. Although equipped in two hands, it can be used as a one-handed weapon at the cost of reduced impact. | It can hit up to 3 enemies at a time (with multi-hit enabled), dealing 8 damage to enemies (unless a critical hit) from up to 1.4 tiles away at an attack speed of 1. Although equipped in two hands, it can be used as a one-handed weapon at the cost of reduced impact. | ||
The weapon can be attached to the character's back for quick access and | The weapon can be attached to the character's back for quick access and encumbrance reduction. | ||
===Breaking doors=== | ===Breaking doors=== | ||
The katana is quite ineffective at breaking down [[ | The katana is quite ineffective at breaking down [[door]]s, dealing only 8 damage. For comparison, an [[Axe#Breaking doors|axe]] deals 35. | ||
===Chopping trees=== | ===Chopping trees=== | ||
The katana is very ineffective at chopping down trees, as it only deals 1 damage. For comparison, an [[Axe#Chopping | The katana is very ineffective at chopping down trees, as it only deals 1 damage. For comparison, an [[Axe#Chopping trees|axe]] deals 35. | ||
==Condition== | ==Condition== | ||
The katanas has a maximum condition of 10. 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 (15 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br> | The katanas has a maximum condition of 10. 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 (15 + maintenanceMod × 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 | Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|long blade]] skills. | ||
{{Durability weapon|15}} | {{Durability weapon|15}} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|SafehouseLoot | |||
|[[counter]] | |||
|4 | |||
|0.5 | |||
|- | |||
|closet | |||
|[[crate]] | |||
|4 | |||
|0.001 | |||
|- | |||
|pawnshop | |||
|[[displaycase]] | |||
|4 | |||
|0.1 | |||
|} | |||
===Buildings=== | ===Buildings=== | ||
*The best place to find a katana is in a boarded up survivor house. | *The best place to find a katana is in a boarded up survivor house. | ||
Line 70: | Line 93: | ||
==Gallery== | ==Gallery== | ||
<gallery> | <gallery> | ||
HoldingKatana.jpg|Survivor wielding the katana | HoldingKatana.jpg|Survivor wielding the katana | ||
</gallery> | </gallery> | ||
Line 81: | Line 104: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Katana | |||
{ | { | ||
DisplayCategory = Weapon, | DisplayCategory = Weapon, | ||
Line 137: | Line 159: | ||
*[[Machete]] | *[[Machete]] | ||
{{Navbox | {{Navbox items|blade}} |
Revision as of 09:29, 14 April 2024
A katana is a two-handed long blade weapon.
Usage
Pros | Cons |
---|---|
|
|
Weapon
The katana has the highest damage output of any weapon in the game, surpassing all melee weapons and firearms. It can frequently kill zombies in just one hit, and has a good range and attack speed. However, katanas are very rare if not the rarest making it difficult to level up the long blade skill.
It can hit up to 3 enemies at a time (with multi-hit enabled), dealing 8 damage to enemies (unless a critical hit) from up to 1.4 tiles away at an attack speed of 1. Although equipped in two hands, it can be used as a one-handed weapon at the cost of reduced impact.
The weapon can be attached to the character's back for quick access and encumbrance reduction.
Breaking doors
The katana is quite ineffective at breaking down doors, dealing only 8 damage. For comparison, an axe deals 35.
Chopping trees
The katana is very ineffective at chopping down trees, as it only deals 1 damage. For comparison, an axe deals 35.
Condition
The katanas has a maximum condition of 10. 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 (15 + 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 blade skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/15 (7%) |
0 | 4 | 1/17 (6%) |
0 | 8 | 1/19 (5%) |
4 | 0 | 1/19 (5%) |
8 | 0 | 1/23 (4%) |
4 | 4 | 1/21 (5%) |
4 | 8 | 1/23 (4%) |
8 | 8 | 1/27 (4%) |
10 | 10 | 1/29 (3%) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
SafehouseLoot | counter | 4 | 0.5 |
closet | crate | 4 | 0.001 |
pawnshop | displaycase | 4 | 0.1 |
Buildings
- The best place to find a katana is in a boarded up survivor house.
- Very rarely, the katana can be found in residential buildings in furniture such as wardrobes and drawers.
- Katanas can also be found in gun shops such as the one located in West Point, and pawn shops, which can be found in Louisville.
Zombies
After 60 days have passed, the katana can be very rarely found impaled in the gut of a zombie.
Gallery
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Katana
{
DisplayCategory = Weapon,
MaxRange = 1.4,
WeaponSprite = Katana,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 3,
HitFloorSound = KatanaHit,
ImpactSound = KatanaHit,
DoorHitSound = KatanaHit,
HitSound = KatanaHit,
SwingSound = KatanaSwing,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Categories = LongBlade,
Weight = 2,
ConditionLowerChanceOneIn = 15,
PushBackMod = 0.5,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 3,
DoorDamage = 8,
SwingAnim = Bat,
CriticalChance = 35,
CritDmgMultiplier = 6,
DisplayName = Katana,
MinRange = 0.61,
SwingTime = 3,
HitAngleMod = -30,
KnockdownMod = 0,
Icon = Katana,
RunAnim = Run_Weapon2,
BreakSound = KatanaBreak,
TreeDamage = 1,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 8,
MaxDamage = 8,
BaseSpeed = 1,
WeaponLength = 0.3,
DamageCategory = Slash,
DamageMakeHole = TRUE,
TwoHandWeapon = TRUE,
WeaponLength = 0.4,
AttachmentType = BigBlade,
}