您的位置: 单机 > 攻略 > 图文攻略 > 攻略详情

《暗黑地牢》全代码修改详解

时间:2019-04-02 11:03:46
  • 来源:steam
  • 作者:涡轮全速
  • 编辑:星马烈
0

7.effect相关

文件 effects/base.effects.darkest

effect除了表示英雄与敌人的技能里基础伤害与治疗以外的附加效果,也会出现在地图中的物品互动和一些游戏事件中

标准格式:

effect:

.name "效果名"

.target "指向"

.curio_result_type "positive(正面效果)/negative(负面效果)"

.chance 概率%

.效果内容1 .效果内容2 .效果内容3 ……

.on_hit true(命中生效)/ false(命中不生效)

.on_miss false(没命中不生效)/ true(没命中生效)

.can_apply_on_death true(可以对尸体生效)/(不生效此句可以省略)

.queue true (该效果是否最后结算)(不是刻意设定此句可以省略)

例子(让目标后退三格):

effect: .name "gun" .target "target" .push 3 .chance 100% .on_hit true .on_miss false .can_apply_on_death true

7.1效果描述

效果指向

技能使用者:performer

技能目标:target

技能使用者所在团体:performer_group

技能目标所在团体:target_group

除了技能使用者的使用者所在团体的其他人:performer_group_other

除了目标的目标所在团体的其他人:target_group_other

火把:global

7.2在effect中引用buff

所有的buff都可以在效果内容中用.buff_ids加上buff名称来引用,如果buff文件里没有设定,则默认只持续3回合,可以在内容后面加上.duration 5 来设定持续5回合,如果改成-1则是持续到扎营

示例(目标增加500%美德概率):effect: .name "ha" .target "target" .chance 100% .buff_ids ha_ha_ha .on_hit true .on_miss false

一些buff也可以经过变换直接添加到 effect里

变换格式:

"stat_type" : "combat_stat_add",

"stat_sub_type" : "*****",

变为 .combat_stat_buff 1 .*****_add 1%

"stat_type" : "combat_stat_multiply",

"stat_sub_type" : "*****",

变为.combat_stat_buff 1 .*****_multiply 10%

"stat_type" : "*****_percent",

"stat_sub_type" : "",

变为.buff_type *****_percent .buff_amount 20%

示例(提高暴击率与伤害):effect: .name "ni bei qiang hua le 1" .target "target" .curio_result_type "positive" .chance 100% .combat_stat_buff 1 .crit_chance_add 1% .combat_stat_buff 1 .damage_low_multiply 10% .damage_high_multiply 10% .on_hit true .on_miss true .apply_once false .queue false

7.3效果内容一览

.combat_stat_buff 1 在使用时触发

.dotBleed 流血

.dotPoison腐蚀

.dotStress持续压力

.stress n 受到n点压力

.healstress n 减少n点压力

.buff_idsbuff名 引用buff

.duration持续时间

.dotHpHeal持续回复

.heal n回复n点生命

.heal_percentn回复100n%生命值

.cure 1治愈腐蚀流血

.cure_bleed 1治愈流血

.cure_poison 1治愈腐蚀

.clearDotStress1 清除持续压力

.tag1标记

.untag1清除标记

.stun 1 眩晕

.unstun1清除眩晕

.keyStatus tagged/poisoned/bleeding/stunned 目标状态

.riposte1 反击

.riposte_effect effect名 反击额外效果

.clear_riposte1 去除反击

.guard1守护

.clearguarding1守护别人

.clearguarded1 被守护

.torch_decrease n火把减少n

.torch_increase n火把增加n

.dotShuffle1 扰乱

.push n推n格

.pull n拉n格

.shuffletarget 扰乱单体

.shuffleparty 扰乱群体

.instant_shuffle1 扰乱单体

.buff_amountbuff数量

.buff_duration_typebuff持续类型

.swap_source_and_targettrue 互换这个effect的使用者和目标

.kill1立即消灭

.control1 精神控制(敌人专用)

.uncontrol1 解除控制

.kill_enemy_typescorpse清除尸体

.monsterType unholy/man/beast/eldritch/vampire/husk 敌人种类

.disease疾病名 获得疾病

.remove_vampire1 去除猩红诅咒

.summon_monsters敌人名 召唤敌人

.summon_chances召唤概率

.summon_ranks召唤位置

.summon_limits最多召唤数量

.summon_count召唤数量

.summon_erase_data_on_roll true 召唤去除数据

.summon_can_spawn_loot1 召唤的敌人掉落战利品

.summon_rank_is_previous_monster_class1 召唤等级是原先的等级

.summon_does_roll_initiatives1 不清楚

.crit_doesnt_apply_to_rolltrue 不清楚

.set_modebeast/human 转换形态

.can_apply_on_deathtrue 可以对尸体使用

.apply_oncetrue 不清楚

.apply_with_resulttrue 不清楚

.source_heal_typehero_skill 治疗来源:英雄技能

.health_damage n 减n伤害

.has_descriptiontrue 拥有描述

.stealth1 潜行

.unstealth1 退出潜行

.clear_debuff1 清除debuff

.health_damage_blocksn n次护体阻挡

.buff_source_typebuff来源类型

友情提示:支持键盘左右键"←""→"翻页
8.7
已有115人评分 您还未评分!
  • 类型:角色扮演
  • 发行:Red Hook Studios
  • 发售:2016-01-19(PC)
  • 开发:Red Hook Studios
  • 语言:简中 | 英文 | 多国
  • 平台:PC Switch PS4
  • 标签:魔幻回合制迷宫XGP游戏列表

玩家点评 0人参与,0条评论)

收藏
违法和不良信息举报
分享:

热门评论

全部评论

Steam正版购买
今日特惠暗黑地牢
暗黑地牢
-65%¥78.00¥27
立即购买
3DM自运营游戏推荐 更多+