As it says in title. Not just basic attacks, though, but all forms of damage. For example, let's say a 25% chance of each basic attack and skill to target an enemy other than the one the player selected.
I have looked through several targeting as well as passive skills scripts, and the closest I've come was with this state self-inflicted by a passive skill:
but that state takes player input completely out of the equation, it just randomly targets enemies with basic attacks. It's like having the player on auto battle, which, I imagine, would be quite boring for the person sitting behind the screen.
I can't do it through skill scopes, either, because I would like it to be sort of like a state-inflicted thing, but based on chance, and that 'state' lasts through the entire battle. A script is probably necessary for this kind of effect.
Thank you in advance.
I have looked through several targeting as well as passive skills scripts, and the closest I've come was with this state self-inflicted by a passive skill:
but that state takes player input completely out of the equation, it just randomly targets enemies with basic attacks. It's like having the player on auto battle, which, I imagine, would be quite boring for the person sitting behind the screen.
I can't do it through skill scopes, either, because I would like it to be sort of like a state-inflicted thing, but based on chance, and that 'state' lasts through the entire battle. A script is probably necessary for this kind of effect.
Thank you in advance.