Darkest Dungeon®

Darkest Dungeon®

39 ratings
Daze Dependency
   
Award
Favorite
Favorited
Unfavorite
Tags: Framework, Daze
File Size
Posted
Updated
449.306 KB
Apr 16 @ 4:26pm
Sep 11 @ 2:31am
17 Change Notes ( view )

Subscribe to download
Daze Dependency

Description
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.

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

Popular Discussions View All (2)
0
May 16 @ 6:19pm
[Balance]
Just Luck
0
May 16 @ 6:18pm
[Report Bugs Here]
Just Luck
4 Comments
Just Luck  [author] Apr 21 @ 10:52pm 
Thats fair Ill see if I can have time to implement it. Been pretty busy with homework.
Frederick O'Cholera Apr 20 @ 3:25pm 
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  [author] Apr 20 @ 12:01pm 
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 Apr 19 @ 2:14pm 
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.