Electric Bass: Difference between revisions
(Page contents largely auto-generated using ItemZed) |
m (Add page version) |
||
(22 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | |||
{{Page version|41.78.16}} | |||
{{Header| | {{Infobox item | ||
{{Infobox | |name=Electric Bass | ||
| | |model=Guitar_ElectricBassBlack_Model.png | ||
| | |icon=BassElectricBlack.png | ||
| | |icon_name=Black Electric Bass | ||
|model2=Guitar_ElectricBassBlue_Model.png | |||
| | |icon2=BassElectricBlue.png | ||
| | |icon_name2=Blue Electric Bass | ||
| | |model3=Guitar_ElectricBassRed_Model.png | ||
| | |icon3=BassElectricRed.png | ||
| | |icon_name3=Red Electric Bass | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Instrument | |category=Instrument | ||
|weight=3.5 | |weight=3.5 | ||
|equipped=One-handed | |equipped=One-handed | ||
|attachment_type=Guitar | |||
|skill_type=Long Blunt | |||
<!--PROPERTIES--> | |||
|material=<!-- E.g. Metal --> | |||
|material_value=<!-- E.g. MetalValue attribute --> | |||
|condition_max=12 | |condition_max=12 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
| | |damage_type=Blunt | ||
|min_damage=0.9 | |min_damage=0.9 | ||
|max_damage=1.4 | |max_damage=1.4 | ||
| | |door_damage=10 | ||
|tree_damage=0 | |tree_damage=0 | ||
| | |min_range=0.61 | ||
|max_range=1.35 | |||
|base_speed=1 | |||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=1.5 | |knockdown=1.5 | ||
<!--TECHNICAL | |crit_chance=70 | ||
| | |crit_multiplier=2 | ||
| | <!-- TECHNICAL --> | ||
|item_id=Base.GuitarElectricBassBlack | |||
|item_id2=Base.GuitarElectricBassBlue | |||
|item_id3=Base.GuitarElectricBassRed | |||
}} | }} | ||
An | An '''electric bass''' is a long blunt melee [[weapon]]. | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The electric bass can attack up to 3 enemies at a time dealing a maximum of 1.4 damage to enemies (unless a critical hit) from up to 1.35 [[tiles]] away at an attack speed of 1. | The electric bass can attack up to 3 enemies at a time dealing a maximum of 1.4 damage to enemies (unless a critical hit) from up to 1.35 [[tiles]] away at an attack speed of 1. | ||
===Breaking doors=== | ===Breaking doors=== | ||
It is effective at bashing down [[Door|doors]], dealing 10 damage per hit. | It is effective at bashing down [[Door|doors]], dealing 10 damage per hit. | ||
==Condition== | ==Condition== | ||
The electric bass has a maximum condition of 12. 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 (9 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br> | The electric bass has a maximum condition of 12. 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 (9 + 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 [[Skills|maintenance]] and [[Skills|long blunt]] levels. | Below is an example of the chance of losing durability at varying levels of [[Skills|maintenance]] and [[Skills|long blunt]] levels. | ||
{{Durability weapon|9}} | {{Durability weapon|9}} | ||
==Distribution== | ==Distribution== | ||
{{Stub|section=true}} | |||
==Code== | ==Code== | ||
{{CodeBox| | |||
[[File:BassElectricBlack.png]] ''Black Electric Bass'' | |||
{{ | {{CodeSnip | ||
{{ | | lang = java | ||
| line = true | |||
| start = 2966 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricBassBlack | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 116: | Line 100: | ||
BreakSound = ElectricBassBreak, | BreakSound = ElectricBassBreak, | ||
DoorHitSound = ElectricBassHit, | DoorHitSound = ElectricBassHit, | ||
HitSound = ElectricBassHit, | |||
HitFloorSound = ElectricBassHit, | |||
SwingSound = ElectricBassSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 70, | CriticalChance = 70, | ||
Line 126: | Line 110: | ||
BaseSpeed = 1, | BaseSpeed = 1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
[[File:BassElectricBlue.png]] ''Blue Electric Bass'' | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 3010 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricBassBlue | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 162: | Line 154: | ||
BreakSound = ElectricBassBreak, | BreakSound = ElectricBassBreak, | ||
DoorHitSound = ElectricBassHit, | DoorHitSound = ElectricBassHit, | ||
HitSound = ElectricBassHit, | |||
HitFloorSound = ElectricBassHit, | |||
SwingSound = ElectricBassSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 70, | CriticalChance = 70, | ||
Line 172: | Line 164: | ||
BaseSpeed = 1, | BaseSpeed = 1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
[[File:BassElectricRed.png]] ''Red Electric Bass'' | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 3054 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item GuitarElectricBassRed | |||
{ | { | ||
DisplayCategory = Instrument, | DisplayCategory = Instrument, | ||
Line 208: | Line 208: | ||
BreakSound = ElectricBassBreak, | BreakSound = ElectricBassBreak, | ||
DoorHitSound = ElectricBassHit, | DoorHitSound = ElectricBassHit, | ||
HitSound = ElectricBassHit, | |||
HitFloorSound = ElectricBassHit, | |||
SwingSound = ElectricBassSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 70, | CriticalChance = 70, | ||
Line 218: | Line 218: | ||
BaseSpeed = 1, | BaseSpeed = 1, | ||
AttachmentType = Guitar, | AttachmentType = Guitar, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 226: | Line 228: | ||
*[[Violin]] | *[[Violin]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Instruments]] | |||
[[Category:Articles requiring distribution tables]] |
Revision as of 22:53, 17 April 2024
Base.GuitarElectricBassBlue
Base.GuitarElectricBassRed
An electric bass is a long blunt melee weapon.
Usage
Weapon
The electric bass can attack up to 3 enemies at a time dealing a maximum of 1.4 damage to enemies (unless a critical hit) from up to 1.35 tiles away at an attack speed of 1.
Breaking doors
It is effective at bashing down doors, dealing 10 damage per hit.
Condition
The electric bass has a maximum condition of 12. 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 (9 + 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 maintenance and long blunt levels.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/9 (11%) |
0 | 4 | 1/11 (9%) |
0 | 8 | 1/13 (8%) |
4 | 0 | 1/13 (8%) |
8 | 0 | 1/17 (6%) |
4 | 4 | 1/15 (7%) |
4 | 8 | 1/17 (6%) |
8 | 8 | 1/21 (5%) |
10 | 10 | 1/23 (4%) |
Distribution
Code
Black Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassBlack
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassBlack,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Black Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricBlack,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}
Blue Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassBlue
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassBlue,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Blue Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricBlue,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}
Red Electric Bass
Source: ProjectZomboid\media\scripts\items_weapons.txt
item GuitarElectricBassRed
{
DisplayCategory = Instrument,
MaxRange = 1.35,
MinAngle = 0.8,
WeaponSprite = Guitar_ElectricBassRed,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Blunt,
ConditionLowerChanceOneIn = 9,
Weight = 3.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 12,
MaxHitCount = 3,
DoorDamage = 10,
IdleAnim = Idle_Weapon2,
SwingAnim = Heavy,
DisplayName = Red Electric Bass,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = BassElectricRed,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = ElectricBassBreak,
DoorHitSound = ElectricBassHit,
HitSound = ElectricBassHit,
HitFloorSound = ElectricBassHit,
SwingSound = ElectricBassSwing,
TreeDamage = 0,
CriticalChance = 70,
CritDmgMultiplier = 2,
MinDamage = 0.9,
MaxDamage = 1.4,
BaseSpeed = 1,
AttachmentType = Guitar,
}