Table of Contents
bone_saw_item - Code References
Java Classes
JSON Configuration
String Resources (All Languages)
Lua Scripts
Entity Implementation Details
Related Files
Related mr Entities
bone_saw_item - Code References
Java Classes
This entity is implemented in Lua, no Java class exists
Referenced in:
HeroClass.java#L79
- BONE_SAW constant definition
JSON Configuration
Starting weapon for DOCTOR class:
initHeroes.json#L225-L228
Starting items (debug):
initHeroesDebug.json
(kind: “BoneSaw”)
String Resources (All Languages)
English:
BoneSaw_Name, BoneSaw_Info
Spanish:
BoneSaw_Name, BoneSaw_Info
Portuguese:
BoneSaw_Name, BoneSaw_Info
Russian:
BoneSaw_Name, BoneSaw_Info
Chinese (Simplified):
BoneSaw_Name, BoneSaw_Info
Chinese (Traditional):
BoneSaw_Name, BoneSaw_Info
Lua Scripts
BoneSaw.lua
- Main implementation
Damage: (user_level + lvl) * random(lvl to lvl*2)
STR requirement: 9
Attack proc: Applies Bleeding buff, critical hits for Doctor class
Critical hit: Attack roll > defense roll * 3 = 50% bonus damage
Doctor class: Critical hits drop ToxicGland, RottenOrgan, or BoneShard
Doctor class: 100% bonus damage (2x) to paralyzed foes
Entity Implementation Details
Implementation:
Lua script (scripts/items/BoneSaw.lua)
Base Class:
Item (via Lua item library)
Entity Kind:
BoneSaw
Type:
Melee weapon
Slot:
Both hands
Price:
20 gold
STR Requirement:
9
Damage:
Scales with user level and item level
Accuracy Factor:
1.0 + (lvl + user_level) * 0.15
Attack Delay Factor:
max(1 - (lvl + user_level) * 0.05, 0.25)
Special Effects:
Applies Bleeding buff on hit
Critical hits (attack roll > defense roll * 3) deal 50% bonus damage
Doctor class: Critical hits drop random harvestable items (ToxicGland, RottenOrgan, BoneShard)
Doctor class: Deals 100% bonus damage (2x) to paralyzed foes
Related Files
MissileWeapon.java
- Base weapon class reference
Bleeding.java
- Bleeding effect applied on hit
ItemFactory.java
- Item registration
Related mr Entities
Bleeding (Buff)
Doctor (Class)
Item (Base Class)
mr
,
items
,
weapons
,
necromancer
,
doctor
,
starting equipment
,
melee