變更

增加 1,544 位元組 、 2024年9月11日 (星期三)
已还原搬运小丸子对话)的编辑至最后由Margotbean修订的版本
行 7: 行 7:  
 怪物数据存储在<samp>Content\Data\Monsters.xnb</samp>中, 编辑时需要[[模组:编辑 XNB 文件#解包游戏文件|解包]]。
 
 怪物数据存储在<samp>Content\Data\Monsters.xnb</samp>中, 编辑时需要[[模组:编辑 XNB 文件#解包游戏文件|解包]]。
   −
 以下是{{version|1.5.1}}版本的 怪物 原始数据作为参考:
+
 以下是{{version|1.5.1}}版本的原始数据作为参考:
    
{{collapse|数据|content=<syntaxhighlight lang="json">
 
{{collapse|数据|content=<syntaxhighlight lang="json">
行 66: 行 66:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
索引号
+
下标
 
! 说明
 
! 说明
 
! 样例数据
 
! 样例数据
行 87: 行 87:  
|-
 
|-
 
| 4
 
| 4
| 是否能飞
+
| whether a "glider" (flying)
 
| ''false''
 
| ''false''
 
|-
 
|-
 
| 5
 
| 5
| 随机移动的持续时间
+
| duration of random movements
 
| ''1000''
 
| ''1000''
 
|-
 
|-
 
| 6
 
| 6
| 掉落物品
+
| objects to drop
 
| ''766 .75 766 .05 153 .1 66 .015 92 .15 96 .005 99 .001''
 
| ''766 .75 766 .05 153 .1 66 .015 92 .15 96 .005 99 .001''
 
|-
 
|-
 
| 7
 
| 7
| 防御力
+
| resilience (defense)
 
| ''1''
 
| ''1''
 
|-
 
|-
行 107: 行 107:  
|-
 
|-
 
| 9
 
| 9
| 向玩家移动的距离阈值
+
| distance threshold for moving towards player
 
| ''4''
 
| ''4''
 
|-
 
|-
 
| 10
 
| 10
| 移动速度
+
| speed
 
| ''2''
 
| ''2''
 
|-
 
|-
 
| 11
 
| 11
| 攻击消失的机会
+
| chance of attacks missing
 
| ''.00''
 
| ''.00''
 
|-
 
|-
 
| 12
 
| 12
| 是否是“矿山怪物”
+
| whether a "mine monster"
 
| ''true''
 
| ''true''
 
|-
 
|-
| 13 
+
| 13
| 获得的经验值
+
| experience gained
 
| ''3''
 
| ''3''
 
|-
 
|-
 
| 14
 
| 14
| 怪物名
+
| display name
 
| ''Green Slime''
 
| ''Green Slime''
 
|-
 
|-
 
|}
 
|}
 +
 +
Index 4 designates "gliders": monsters that fly above the ground. Although [[Ghost]]s are not listed as gliders in the data, they are overridden to be gliders in the game code.
 +
 +
Index 6 contains a list of object ID numbers, each followed by the probability of that object being chosen. Multiple objects can be chosen from the list. "Extra drop items" in the game code supplement this list for several monster types.
 +
 +
Index 12 designates "mine monsters": monsters whose stats and drops are buffed for players who have reached the bottom of the mines. These include the [[Wilderness Golem]] and other monsters that do not actually occur in the mines. This field is ''false'' only for non-monsters that use the monster data file, such as the fireball projectile launched by the [[Squid Kid]].
 +
 +
Note that many of the values stored in the monster data are altered by the game code under specific circumstances. These include being in different parts of the mines, having reached the bottom of the mines, and having a higher combat skill level.
    
==特定怪物==
 
==特定怪物==
行 142: 行 150:  
 区域7包含了眼睛的图标。史莱姆的眼睛是根据史莱姆当前动作动态地放置在“史莱姆sprite”上。当史莱姆面朝下,眼睛直接放置在sprite上;当史莱姆面朝左,只有右眼渲染,并稍微向左移动;当史莱姆面朝右,只有左眼渲染,并稍微向右移动;当史莱姆面朝上,眼睛则在史莱姆的后面。这些眼睛图标(按顺时针方向)分别表示闲暇状态、攻击期间、恶魔状态期间和受到伤害。
 
 区域7包含了眼睛的图标。史莱姆的眼睛是根据史莱姆当前动作动态地放置在“史莱姆sprite”上。当史莱姆面朝下,眼睛直接放置在sprite上;当史莱姆面朝左,只有右眼渲染,并稍微向左移动;当史莱姆面朝右,只有左眼渲染,并稍微向右移动;当史莱姆面朝上,眼睛则在史莱姆的后面。这些眼睛图标(按顺时针方向)分别表示闲暇状态、攻击期间、恶魔状态期间和受到伤害。
   −
 区域8是附着在“雄性”史莱姆的天线,它的动画独立出现
+
 区域8是附着在“雄性”史莱姆的天线,它的动画独立出现 。As with the main sprite, this uses a tint mask to take on the color of the slime variant.
   −
 区域9是附着在“特殊”史莱姆的天线
+
 区域9是附着在“特殊”史莱姆的天线, and animates in the same way as the "male" antenna. However, this one doesn't use the tint mask, instead using whatever raw color is on the sprite sheet.
    
==怪物ID==
 
==怪物ID==
每个怪物类型都有其特定的ID( 用于存放在 <samp>Name</samp> 字段中)
+
Each monster type has a unique ID (stored in the <samp>Name</samp> field) which can be used to spawn it (e.g. via [[Modding:Console commands|console commands]]), and is used to track kills for the [[Adventurer's Guild]] monster eradication goals. These are the IDs for vanilla monsters:
   −
以下是不同怪物类型对应的ID:
   
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
行 234: 行 241:  
|}
 
|}
   −
提示:上述很多其它变种怪物拥有相同的ID
+
Note that many other monsters are variants of the above (''e.g.'' [[Haunted Skull]] is a variant of [[Bat]]), and have the same ID.
    
[[Category:模组]]
 
[[Category:模组]]
介面管理員、patroller、結構式討論監督員管理員、translators
114,129

次編輯