Table of Contents

Compound Bow Item - Machine Readable Reference

Description

The Compound Bow is a ranged weapon that offers superior damage and accuracy compared to standard bows, though at the expense of attack speed.

Entity Information

Java Classes

JSON Configuration

String Resources

<!-- English -->
<string name="CompoundBow_Name">compound bow</string>
<string name="CompoundBow_Info">Arrows launched from this compound bow deal a great amount of damage and have improved accuracy over a wooden bow at the cost of some speed.</string>
<string name="CompoundBow_Gender">masculine</string>
 
<!-- Russian -->
<string name="CompoundBow_Name">блочный лук</string>
<string name="CompoundBow_Info">Стрелы, выпущенные из блочного лука, с лёгкостью находят цель и наносят серьёзный урон, однако он не так быстр, как простой лук.</string>
<string name="CompoundBow_Gender">masculine</string>
 
<!-- Spanish -->
<string name="CompoundBow_Name">arco compuesto</string>
<string name="CompoundBow_Info">Las flechas disparadas con un arco compuesto hacen gran cantidad de daño y van mejor dirigidas, a costa de ser más lentas.</string>

Lua Scripts

No custom Lua scripts exist for this item; implemented in Java

Properties

// Weapon Stats (from CompoundBow.java constructor)
tier = 3;
ACU = 0.8f;      // Base accuracy
DLY = 1.5f;      // Attack delay (slower than basic bow)
 
// Damage calculation (via Arrow.dmgFactor):
//   dmgFactor() = 1 + level() * 0.5
//   With Common Arrow (baseMin=2, baseMax=5):
//     Level 0: MIN=2, MAX=5
//     Level 1: MIN=3, MAX=7
//     Level 2: MIN=4, MAX=10
//     Level 3: MIN=5, MAX=12
 
// Accuracy calculation (via Arrow.acuFactor):
//   acuFactor() = 1 (inherited from KindOfBow)
//   Arrow ACU = baseAcu * acuFactor() = 1 * 1 = 1
//   Bow ACU for hero attacks = 0.8f

Modding Considerations

Implementation Notes