Topic: Can you create a move with certain effects for just the first round?

These forums are closing and migrating to a new location! Please go to forums.darkestdungeon.com and create your account. Feel free to bring your posts over to this new forum.

This topic contains 9 replies, has 4 voices, and was last updated by wodzu93 wodzu93 2 years, 10 months ago.

  • Author
    Posts
  • #265522

    Cainhurtz
    Participant

    This is what I’ve tried so far.

    effect: .name “test1” .target “performer” .chance 100% .curio_result_type “negative” .firstroundonly .combat_stat_buff 1 .damage_low_multiply -75% .damage_high_multiply -75% .on_hit true .on_miss false

    As far as I can tell, this doesn’t appear to work. Am I doing something wrong or is there a better way? Any help would be appreciated.

    #265523
    Balgin
    Balgin
    Participant

    The reason it doesn’t work is because it includes the current turn. The one you use the skill in. That counts towards the duration so, if you want something to last for only 1 round then you have to give it a 2 round duration.

    #265525

    Cainhurtz
    Participant

    I could be wrong, but I think you’re misunderstanding what I am saying. I am trying to create a move that does less damage on the first turn, but will do normal damage on every other turn.

    It appears that the .firstroundonly in my code is being ignored. The result is just a flat damage nerf regardless of the round. I want to know the proper way of doing this if it exists. It should work essentially like the quick draw quirk.

    #265528
    actionjack
    actionjack
    Participant

    Where is the .firstroundonly ode from? That is new to me.

    A different way is to chain it with a custom buff. This is bit more tricky (and I have to research it to see how it is done, not top of my head)

    #265530

    Cainhurtz
    Participant

    It’s a rule type I saw on the official modding tutorial. I’m pretty sure it doesn’t work and was just using it as an example. I honestly have no idea what ode means.

    I’ve tried making a custom buff, but I can’t figure out how to make it apply properly. The buff always ends up applying after the attack has landed.

    #265536
    wodzu93
    wodzu93
    Participant

    Try adding “true” behind “.firstroundonly” .

    #265539

    Cainhurtz
    Participant

    Sadly, that doesn’t appear to work. I honestly don’t know if the firstroundonly rule type can be used in this manner.

    #267800
    wodzu93
    wodzu93
    Participant

    Got it:
    effect: .name “DmgFirstTurn 1” .target “performer” .curio_result_type “positive” .buff_ids “TB_DMG_B_4_FIRSTROUND_L” “TB_DMG_B_4_FIRSTROUND_H” .on_hit true .on_miss false .skill_instant true

    #267851

    Cainhurtz
    Participant

    Thank you so much. It appears to work perfectly. I’ve never seen “.skill_instant” before. How did you manage to find it?

    #267897
    wodzu93
    wodzu93
    Participant

    From the Acolyte mod in Steam Workshop. I guess it was added in DLC, but I don’t have it yet.

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Modding’ is closed to new topics and replies.