I was wanting to see if it were possible to say, award less exp and/rewards based on if my characters defeated an enemy. like If you knocked them out through Hp, you'd get normal rewards and drops, but depleting a "psyche" gauge (Mp) would render them mentally incapable of continuing... but since it'd be easier to do, you'd get less exp/drops.
could I use Javascript for this or would I straight up need a plugin? I've seen plugins give experience based on skills used and overkill, but not necessarily what type of kill so to speak...