Darkest Dungeon®

Darkest Dungeon®

58 个评价
Daze Dependency
   
奖励
收藏
已收藏
取消收藏
标签: Framework, Daze
文件大小
发表于
更新日期
449.306 KB
4 月 16 日 下午 4:26
9 月 11 日 上午 2:31
17 项改动说明 ( 查看 )

订阅以下载
Daze Dependency

描述
Modders Resource

This is a modders resource that can be used to add the daze effect to skills. Only single target daze and self daze are available. I will probably refrain from touching this from now on unless its severely bug in case its used as a dependency. I do not want to accidentally mess any mods up or introduce feature bloat.

Goal of mod

I wanted a way to standardize the daze effect for usage in my own mods. I wanted the daze effect to feel as seemless as possible in the game. I also want the dependency to be as dense as possible. The daze color is now orange to reflect its status of being a debuff.

Compatibility

This mod is compatible with the therapist and duelist mode which both use their own daze effect. Its the same code just copied repeatedly with a different name. Nothing bad will happen if you run these mods together. The code wont erupt and blow up your computer.

This can be loaded anywhere in the mod loader. Mods that have their own daze effect will overwrite the color changes of this mod. If you want the orange tray icon as well as the fx you can load it high. If you want the yellow tray and fx you can have other mods overwrite the color changes of this mod.

Notes

Daze on self requires mode switch work around in order to cleared after combat end. Example code is shown inside the effects as a comment. An example of workaround can be shown inside of "Dazey abomination mod".

Example Usage for target effect daze
Replace break guard with your skill to add daze to it.

combat_skill: .id "break_guard" .level 0 .type "ranged" .atk 90% .dmg -50% .crit 0% .launch 4321 .target 234 .effect "AnyEffect" .move 0 1 .ignore_guard true
combat_skill: .id "break_guard" .level 1 .type "ranged" .atk 95% .dmg -50% .crit 0% .launch 4321 .target 234 .effect "AnyEffect" .move 0 1 .ignore_guard true
combat_skill: .id "break_guard" .level 2 .type "ranged" .atk 100% .dmg -50% .crit 0% .launch 4321 .target 234 .effect "AnyEffect" .move 0 1 .ignore_guard true
combat_skill: .id "break_guard" .level 3 .type "ranged" .atk 105% .dmg -50% .crit 0% .launch 4321 .target 234 .effect "AnyEffect" .move 0 1 .ignore_guard true
combat_skill: .id "break_guard" .level 4 .type "ranged" .atk 110% .dmg -50% .crit 0% .launch 4321 .target 234 .effect "AnyEffect" .move 0 1 .ignore_guard true

combat_skill: .id "break_guard" .level 0 .effect "daze_framework_false_buff" "daze_framework_selfdebuff_steal" "daze_framework_selfinit_inc" "daze_framework_targetinit_inc" "daze_framework_targetinit_dec" "daze_framework_selfinit_dec"
combat_skill: .id "break_guard" .level 1 .effect "daze_framework_false_buff" "daze_framework_selfdebuff_steal" "daze_framework_selfinit_inc" "daze_framework_targetinit_inc" "daze_framework_targetinit_dec" "daze_framework_selfinit_dec"
combat_skill: .id "break_guard" .level 2 .effect "daze_framework_false_buff" "daze_framework_selfdebuff_steal" "daze_framework_selfinit_inc" "daze_framework_targetinit_inc" "daze_framework_targetinit_dec" "daze_framework_selfinit_dec"
combat_skill: .id "break_guard" .level 3 .effect "daze_framework_false_buff" "daze_framework_selfdebuff_steal" "daze_framework_selfinit_inc" "daze_framework_targetinit_inc" "daze_framework_targetinit_dec" "daze_framework_selfinit_dec"
combat_skill: .id "break_guard" .level 4 .effect "daze_framework_false_buff" "daze_framework_selfdebuff_steal" "daze_framework_selfinit_inc" "daze_framework_targetinit_inc" "daze_framework_targetinit_dec" "daze_framework_selfinit_dec"

combat_skill: .id "break_guard" .level 0 .effect "daze_framework_target_debuff_1" "daze_framework_targetswap_debuff" "daze_framework_target_debuff_anti" "daze_framework_daze" "daze_framework_daze_TT_1"
combat_skill: .id "break_guard" .level 1 .effect "daze_framework_target_debuff_2" "daze_framework_targetswap_debuff" "daze_framework_target_debuff_anti" "daze_framework_daze" "daze_framework_daze_TT_2"
combat_skill: .id "break_guard" .level 2 .effect "daze_framework_target_debuff_3" "daze_framework_targetswap_debuff" "daze_framework_target_debuff_anti" "daze_framework_daze" "daze_framework_daze_TT_3"
combat_skill: .id "break_guard" .level 3 .effect "daze_framework_target_debuff_4" "daze_framework_targetswap_debuff" "daze_framework_target_debuff_anti" "daze_framework_daze" "daze_framework_daze_TT_4"
combat_skill: .id "break_guard" .level 4 .effect "daze_framework_target_debuff_5" "daze_framework_targetswap_debuff" "daze_framework_target_debuff_anti" "daze_framework_daze" "daze_framework_daze_TT_5"


Credits
ShallowIris for letting me use the code from the duelist mod. The therapist mod had was the first standardized version of the daze effect. This mod Is just copied pasted code with renamed variables. It is compatible with the duelist mod, and therapist mod.

Zatrool for the audio references and daze clear

54NBB for schinese localization

热门讨论 查看全部(2)
0
5 月 16 日 下午 6:19
[Balance]
Just Luck
0
5 月 16 日 下午 6:18
[Report Bugs Here]
Just Luck
10 条留言
Just Luck  [作者] 9 月 23 日 下午 5:51 
@nevideshiy лягушки I do not believe so. The reason why this is able to work as the daze tray and visuals were added by the butchers circus.
Just Luck  [作者] 9 月 23 日 下午 5:50 
@pwnd I added it to the compatibility section. It does not matter. If you want the orange tray color you can load it high up so other mods do not overwrite the color changes.
pwnd 9 月 23 日 下午 12:44 
hey just double checking that load order doe snot matter. if it does please add this info to the compatibility section of your mod :)
nevideshiy лягушки 9 月 21 日 上午 5:37 
using your code logic somebody will able to create new dot effect?
Just Luck  [作者] 9 月 19 日 下午 5:59 
@Nexis it can be added or removed mid save without problems
Nexis 9 月 19 日 下午 5:02 
Can I add this mid save or do I have to start a fresh hamlet?
Just Luck  [作者] 4 月 21 日 下午 10:52 
Thats fair Ill see if I can have time to implement it. Been pretty busy with homework.
Frederick O'Cholera 4 月 20 日 下午 3:25 
Modes is always a headache to deal with, not to mention some characters and trinkets wouldn't be compatible with your workaround.
Buff fx is superior in every way except for the icon, but that wouldn't be an issue after the modding tools will come out.
Just Luck  [作者] 4 月 20 日 下午 12:01 
I guess it would be a good option to include as an alternative. I really like having the daze tray icon as it makes it feel part of the base game itself.
Frederick O'Cholera 4 月 19 日 下午 2:14 
I know much simpler workaround to apply daze on heroes: Make it in a form of Buff fx.
The only downside is a lack of a neat daze icon on the panel.