User Tools

Site Tools


mr:spider_guard_mob

Spider Guard Mob - Code References

Java Classes

JSON Configuration

Note: SpiderGuard migrated from Java (`SpiderGuard.java`) to JSON data (`mobsDesc/SpiderGuard.json`) + Lua (`scripts/mobs/SpiderGuard.lua`).

{
   "name"          : "SpiderGuard_Name",
   "entityKind"    : "SpiderGuard",
   "attackSkill"   : 17,
   "defenseSkill"  : 15,
   "dmgMin"        : 8,
   "dmgMax"        : 14,
   "dr"            : 7,
   "str"           : 12,
   "ht"            : 35,
   "exp"           : 4,
   "maxLvl"        : 10,
   "baseSpeed"     : 1.2,
   "attackDelay"   : 1,
   "lootChance"    : 0.067,
   "loot"          : { "kind": "MysteryMeat" },
   "scriptFile"    : "scripts/mobs/SpiderGuard",
   "canBePet"      : true
}

String Resources

<string name="SpiderGuard_Name">spider guard</string>
<string name="SpiderGuard_Gender">masculine</string>
<string name="SpiderGuard_Name_Objective">spider guard</string>
<string name="SpiderGuard_Desc">Much like soldiers, spider guards are sworn to protect their kingdom. The guard's venom is used to immobilize their target, causing paralysis and making them an easy prey.</string>

JSON Configuration

{
   "name"          : "SpiderGuard_Name",
   "entityKind"    : "SpiderGuard",
   "attackSkill"   : 17,
   "defenseSkill"  : 15,
   "dmgMin"        : 8,
   "dmgMax"        : 14,
   "dr"            : 7,
   "str"           : 12,
   "ht"            : 35,
   "exp"           : 4,
   "maxLvl"        : 10,
   "baseSpeed"     : 1.2,
   "attackDelay"   : 1,
   "lootChance"    : 0.067,
   "loot"          : { "kind": "MysteryMeat" },
   "scriptFile"    : "scripts/mobs/SpiderGuard",
   "canBePet"      : true
}

Lua Scripts

  • `scripts/mobs/SpiderGuard.lua` — stun proc (10% chance for 3 turns)
mr/spider_guard_mob.txt · Last modified: by 127.0.0.1