User Tools

Site Tools


mr:elf_class

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mr:elf_class [2026/01/25 03:18] – Fix wiki pages for compliance and broken links mikemr:elf_class [2026/01/25 03:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Elf Class - Code References ======
  
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroClass.java|HeroClass.java]]
 +
 +===== JSON Configuration =====
 +''<code json>''
 +{
 +  "ELF": {
 +    "weapon": {
 +      "kind": "ElvenBow",
 +      "identified": true,
 +      "level": 1
 +    },
 +    "items": [
 +      {
 +        "kind": "CommonArrow",
 +        "quantity": 20,
 +        "identified": true
 +      },
 +      {
 +        "kind": "ElvenDagger",
 +        "identified": true
 +      }
 +    ],
 +    "quickslot": [
 +      {
 +        "kind": "CommonArrow"
 +      },
 +      {
 +        "spell": "MagicArrow"
 +      }
 +    ],
 +
 +    "immunities": [
 +      "Roots"
 +    ],
 +    "magicAffinity": "Elf",
 +    "str": 9,
 +    "hp": 15
 +  }
 +}
 +''</code>''
 +
 +===== String Resources =====
 +<code xml>
 +<string name="TXT_CLASS_ELF">Elf</string>
 +<string name="ELF_NAME">elf</string>
 +<string name="Hero_Info_Elf_1">The Elf is a hero class in Remixed Dungeon with natural magic affinity and unique abilities. The Elf has enhanced natural speed and immunity to root effects.</string>
 +<string name="Hero_Info_Elf_2">Starting Equipment:\n- Elven Bow +1\n- 20 Common Arrows\n- Elven Dagger\n- Magic Arrow Spell\n- Cloth armor</string>
 +<string name="Hero_Info_Elf_3">Class Stats:\n- Strength: 9 (Lower than other classes)\n- Health Points: 15 (Lower than most classes)\n- Natural Speed: 1.5× (Faster than other classes)\n- Immunity: Immune to root effects (no movement speed penalty)</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related mr Entities =====
 +  * [[mr:hero_class|Hero Class]]
 +  * [[mr:magic_arrow_spell_spell|Magic Arrow Spell]]
 +  * [[mr:elven_bow_item|Elven Bow]]
 +  * [[mr:common_arrow_item|Common Arrow]]
 +  * [[mr:elven_dagger_item|Elven Dagger]]