Wrong.. :D
Try to understand the code, let me explain
if (Config.FIGHTER_TATTOO_ENABLE && Config.MAGE_TATTOO_ENABLE && !isMageClass())
If fighter and mage tatto enabled and the char is not mage.
Also rest of the code is logically wrong as well.
Well, it's kinda stupid to have 2 options for fighter and mage tattoo, since why you would reward only one class, so you can make it only with one config and use Fanky version
if (Config.CUSTOM_TATTOO_ENABLE)
{
if (getPvpKills() == 100)
{
if (!isMageClass())
{
addItem("PvP Reward", Config.REWARD_FIGHTER_ID, Config.REWARD_FIGHTER_COUNT, this, true);
sendMessage("You've been rewarded with a fighter tattoo");
}
else
{
addItem("PvP Reward", Config.REWARD_MAGE_ID, Config.REWARD_MAGE_COUNT, this, true);
sendMessage("You've been rewarded with a mage tatoo");
}
}
}
Otherwise, you have to check 2 times the pvp count (if for example you enable fighter, and disable mage), one check for fighter and then the same shit for mage. :)