this really should be simple but im missing the clue. i tried finding the poisoned undead weapons but couldnt find them, tried checking out the fire arrows but those or complicated and either im missing something or never say something like “chace to trigger on hit” or simmilar…
how on earths name does this work/where do i check? the (de)bufs themselves make sense. i just dont know how to bestow them on people XD
No problem man! I have spent hundreds of hours in the Stonehearth game folder, let alone the Json files trying to put together things. If you need anything just hit me up!
Have you seen my crusader mod? (it is outdated and probably not working, but the code for this stuff should still be valid).
I made an ability for the crusader which would inflict a debuff (not visible in the unit frame, but had a vfx) only to the undead.
You just have to put in inside the entity_data of the equipment piece, like in the original file where you found that code (it could be in the default weapon json file, or it could be in a skill file like in this example):
For the undeads the inflictable debuff seems to be in a mixin on their base file, so it would inflict the debuff no matter the weapon they’re using, but I assume you want to restrict it to a certain job or something.
was exactly what i was looking for, and hoping, really, but i did not suspect it to be this simple
i found it in the mix-ins for the undead, thats why it confuse me because it gave it to the “wielder” not the “weapon”. but seems the weapon works fine,
also yeah ive seen that one some time ago! i always liked the idea behind, it, maybe not so much the bright-white aesthetic though so i never tried it.
-mind if i scavenge that punch animation? or does that no longer work?-
look kindly at @No_Name, he’s the resident animation wizard/sorcerer.
i think i already asked him for a punch as is anyway (more fightign stuff in general i can mix in among the default anims to make fighting a bit more lively)
if only i had more time for modding, would have wanted to be able to animate myself…