Hey lads, sup, I hope you're all doing well during these trying times, I've come to seek help, obviously.
I am not following the given format because I don't need an entire skript, just 2 lines, and the help section from the forum has been removed.
I've a stats skript, which checks the on death event, if the attacker is a player, and if the victim is a player or mob, it credits them a single (or multiple) PVP/PVE kills. However, after creating a damage system in skript, the players no longer get credited for their kills if they kill a mob.
How the damage works is basically it reads from the lore, and deals the damage based on what the item's damage is. I am currently using "damage victim by {_dmgDealt}", and sometimes, if the mob gets one-shot, it doesn't credit the player as the person who killed it, nor does it even consider the player an attacker.
I've tried debugging by doing "on damage" and "on death", then to do "message attacker" however I didn't get a good result.
I've question, is there a way of setting the final damage? I know that you can't set the final damage to anything, and I've tried using metadata but it didn't seem to work either (I may've been doing it wrong), so I'm just wondering if anyone could possibly help? Or is there a way to say "damage victim as attacker for X damage"?
Thanks for readin and I hope you're all safe and sound,
Crimzon.
I am not following the given format because I don't need an entire skript, just 2 lines, and the help section from the forum has been removed.
I've a stats skript, which checks the on death event, if the attacker is a player, and if the victim is a player or mob, it credits them a single (or multiple) PVP/PVE kills. However, after creating a damage system in skript, the players no longer get credited for their kills if they kill a mob.
How the damage works is basically it reads from the lore, and deals the damage based on what the item's damage is. I am currently using "damage victim by {_dmgDealt}", and sometimes, if the mob gets one-shot, it doesn't credit the player as the person who killed it, nor does it even consider the player an attacker.
I've tried debugging by doing "on damage" and "on death", then to do "message attacker" however I didn't get a good result.
I've question, is there a way of setting the final damage? I know that you can't set the final damage to anything, and I've tried using metadata but it didn't seem to work either (I may've been doing it wrong), so I'm just wondering if anyone could possibly help? Or is there a way to say "damage victim as attacker for X damage"?
Thanks for readin and I hope you're all safe and sound,
Crimzon.
Last edited: