Table of Contents

Composite Crossbow Item - Machine Readable Data

Entity Kind: CompositeCrossbow Entity Type: Ranged Weapon (Crossbow) Implementation: Java (com.nyrds.pixeldungeon.items.guts.weapon.ranged.CompositeCrossbow)

Java Implementation

Full class file: CompositeCrossbow.java

package com.nyrds.pixeldungeon.items.guts.weapon.ranged;
 
public class CompositeCrossbow extends Crossbow {
 
	public CompositeCrossbow() {
		super(4, 1.1f, 1.6f); // tier, min damage factor, max damage factor
		image = 3;
	}
 
	@Override
	public double acuFactor() {  // Accuracy factor
		return 1 + level() * 0.5;
	}
 
	@Override
	public double dmgFactor() {  // Damage factor
		return 1 + level() * 0.75;
	}
 
	public double dlyFactor() {  // Delay factor (speed)
		return 1.1;
	}
}

Technical Specifications

JSON Configuration References

Spawn configuration found in treasure levels:

String Resources

English (values/strings_all.xml):

Russian (values-ru/strings_all.xml):

Portuguese-BR (values-pt-rBR/strings_all.xml):

Spanish (values-es/strings_all.xml):

French (values-fr/strings_all.xml):

German (values-de/strings_all.xml):

Italian (values-it/strings_all.xml):

Japanese (values-ja/strings_all.xml):

Korean (values-ko/strings_all.xml):

Chinese-Simplified (values-zh-rCN/strings_all.xml):

Chinese-Traditional (values-zh-rTW/strings_all.xml):

Polish (values-pl/strings_all.xml):

Ukrainian (values-uk/strings_all.xml):

Turkish (values-tr/strings_all.xml):

Hungarian (values-hu/strings_all.xml):

Greek (values-el/strings_all.xml):

Indonesian (values-in/strings_all.xml):

Malay (values-ms/strings_all.xml):

Item Registration

Registered in ItemFactory:

Lua Scripts

This entity is implemented purely in Java. No Lua script exists for this item.

Sprite Reference

Wiki Pages