User Tools

Site Tools


mr:mage_class

Mage Class - Code References

Java Classes

JSON Configuration

{
  "MAGE": {
    "items": [
      {
        "kind": "WandOfMagicMissile",
        "identified": true
      }
    ],
    "quickslot": [
      {
        "kind": "WandOfMagicMissile"
      },
      {
        "spell": "WindGust"
      }
    ],
    "knownItems": [
      {
        "kind": "ScrollOfIdentify"
      }
    ],
    "maxSp": 15,
    "sp": 15,
    "isSpellUser": true,
    "magicAffinity": "Elemental"
  }
}
(Source: RemixedDungeon/src/main/assets/hero/initHeroes.json)

String Resources

<string name="HeroClass_Mag">mage</string>
<string name="HeroClass_MagPerks_0">Mages start with a unique Wand of Magic Missile. This wand can be later "disenchanted" to upgrade another wand.</string>
<string name="HeroClass_MagPerks_1">Mages recharge their wands faster.</string>
<string name="HeroClass_MagPerks_2">When eaten, any piece of food restores 1 charge for all wands in the inventory.</string>
<string name="HeroClass_MagPerks_3">Mages can use wands as a melee weapon.</string>
<string name="HeroClass_MagPerks_4">Mages use mana to cast Elemental spells.</string>
<string name="HeroClass_MagPerks_5">Scrolls of Identify are identified from the beginning.</string>

Other language translations:

<string name="HeroClass_Mag">маг</string>
<string name="HeroClass_MagPerks_0">Маги начинают с уникальной Палочки магических ракет. Эта палочка может быть позже "разобрана" для улучшения другой палочки.</string>
<string name="HeroClass_MagPerks_1">Маги быстрее восстанавливают заряды палочек.</string>
<string name="HeroClass_MagPerks_2">При поедании любая еда восстанавливает 1 заряд для всех палочек в инвентаре.</string>
<string name="HeroClass_MagPerks_3">Маги могут использовать палочки как оружие ближнего боя.</string>
<string name="HeroClass_MagPerks_4">Маги используют ману для накладывания Элементальных заклинаний.</string>
<string name="HeroClass_MagPerks_5">Свитки Идентификации идентифицированы с начала.</string>
(Russian - values-ru/strings_all.xml)

Lua Scripts

This entity is implemented in Java/JSON, no Lua script exists

Entity Properties

  • Type: Hero Class
  • Magic Affinity: Elemental
  • Starting Spell Power: 15 (maxSp and sp)
  • Is Spell User: true
  • Starting Equipment:
    1. Wand of Magic Missile (identified, in quickslot)
    2. Scroll of Identify (known from start)
  • Starting Spell: Wind Gust (in quickslot)
  • Class Armor: Mage Armor (Molten Earth ability)
  • Special Abilities:
    1. Unique Wand of Magic Missile that can be disenchanted to upgrade other wands
    2. Faster wand recharge rate
    3. Food restores 1 charge to all wands in inventory
    4. Can use wands as melee weapons
    5. Uses mana to cast Elemental spells
    6. Scrolls of Identify pre-identified

Class Armor Special Ability

  • Ability Name: Molten Earth
  • Action String: MageArmor_ACSpecial → “MOLTEN EARTH”
  • Effect: Sets all visible enemies on fire and roots them in place
  • Restriction: Only mages can use this armor
mr/mage_class.txt · Last modified: by 127.0.0.1