Daze Dependency

If you liked this item, please rate it up on Steam Workshop page.

Author: Just Luck

Last revision: 6 Jan at 06:12 UTC (4)

File size: 449.34 KB

On Steam Workshop

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.

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

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.