User Tools

Site Tools


mr:deep_snail_mob

Differences

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

Link to this comparison view

Next revision
Previous revision
mr:deep_snail_mob [2025/12/22 03:18] – Update Deep Snail mob mr reference page with correct code info mikemr:deep_snail_mob [2025/12/27 10:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Deep Snail Mob - Code References ======
 +
 +===== Java Classes =====
 +This mob is implemented in JSON/Lua, no specific Java class exists.
 +
 +===== JSON Configuration =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/DeepSnail.json|DeepSnail.json]]
 +
 +===== String Resources =====
 +<code xml>
 +<string name="DeepSnail_Name">deep snail</string>
 +<string name="DeepSnail_Gender">masculine</string>
 +<string name="DeepSnail_Name_Objective">deep snail</string>
 +<string name="DeepSnail_Desc">This type of mollusk can often be seen near water sources and is much faster than your ordinary snail. Beware of the bites however, they can have an unpleasant effect on your skin.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/mobs/DeepSnail.lua|DeepSnail.lua]]
 +
 +===== Code Implementation Details =====
 +This mob has the following properties based on the JSON and Lua implementation:
 +  * **HP**: 10 (ht field in JSON)
 +  * **Defense Skill**: 3 (defenseSkill field in JSON)
 +  * **Attack Skill**: 8 (attackSkill field in JSON)
 +  * **Damage Range**: 1-4 (dmgMin and dmgMax fields in JSON)
 +  * **Damage Reduction**: 1 (dr field in JSON)
 +  * **Experience**: 2 (exp field in JSON)
 +  * **Max Level**: 4 (maxLvl field in JSON)
 +  * **Base Speed**: 1 (baseSpeed field in JSON)
 +  * **View Distance**: 3 (viewDistance field in JSON)
 +  * **Loot Chance**: 0 (lootChance field in JSON)
 +  * **Special Abilities**:
 +    * Ooze proc: 20% chance (math.random() < 0.2) to apply Ooze debuff for self's skill level duration to adjacent attacker when hit (defenceProc function in Lua script)
 +  * **Other Properties**: Can be tamed as pet (canBePet: true in JSON), not flying (flying: false in JSON), not friendly (friendly: false in JSON), normal walking type (walkingType: "NORMAL" in JSON)