User Tools

Site Tools


mr:bone_saw_item

bone_saw_item - Code References

Bone Saw

Java Classes

This entity is implemented in Lua, no Java class exists

JSON Configuration

String Resources (All Languages)

Lua Scripts

  • BoneSaw.lua - Main implementation
    1. Damage: (user_level + lvl) * random(lvl to lvl*2)
    2. STR requirement: 9
    3. Attack proc: Applies Bleeding buff, critical hits for Doctor class
    4. Critical hit: Attack roll > defense roll * 3 = 50% bonus damage
    5. Doctor class: Critical hits drop ToxicGland, RottenOrgan, or BoneShard
    6. 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:
    1. Applies Bleeding buff on hit
    2. Critical hits (attack roll > defense roll * 3) deal 50% bonus damage
    3. Doctor class: Critical hits drop random harvestable items (ToxicGland, RottenOrgan, BoneShard)
    4. Doctor class: Deals 100% bonus damage (2x) to paralyzed foes
mr/bone_saw_item.txt · Last modified: by 127.0.0.1