Is it possible to make an ability that triggers a percentage of the time on the character being hit, that only deals damage to the attacking creature (not like clockwork where it deals to all in a range) and scales to a stat (I was thinking Burliness)? If so, how?
It's fairly easy. Make a spell that works every time the player is hit, and make this spell trigger what you want with a random chance of it happening. The only issue is the fact that the name of the triggering spell will be shown every time you are hit, but it's easy to circumvent that if you know how to (hint: some spaces help). And the scaling itself is another matter. You can scale damage and healing effect (go to this thread if you don't know what parameters to use for that), but you can't scale buffs (at least not based on stats, and not without doing unseemly things to your code).
Thank you so much, and also what's the trigger for player-being-hit? I tried to find it in clockwork's code and failed miserably. (and also when you say some spaces help do you mean make the name of the skill " "?)
It's in the thread the link to which you can find in my previous post. Basic knowledge regarding strings. Adding one space to a string means it is no longer the same. And basic knowledge about monitors. They don't show what is outside of the screen. Combine these two and arrive to your own conclusion and/or a way to do it.
playerHitEffectBuff You might want to check out the following pages on the modding wiki: http://dredmod.com/wiki/Buffs http://dredmod.com/wiki/Skills_Tutorials http://dredmod.com/wiki/Skill_System_Reference http://dredmod.com/wiki/Spells_Tutorials