if(!pc.hasAccentMarkings())
{
//Gain Stripes perk.
if(hasSharkScales() && !pc.hasStatusEffect("Shark Markings") && rand(5) == 0 && changes < changeLimit)
{
pc.skinAccent = RandomInCollection(["black","brown","white"]);
if(pc.skinAccent == pc.skinTone) pc.skinAccent = "orange";
output("\n\nYou idly look at your arms and notice several semi-haphazard lines traveling across your body. <b>It seems you have " + target.skinAccent + " stripes across your [pc.skin] now!</b>");
//Chance to occur at 2%
pc.createStatusEffect("Shark Markings",1,0,0,0);
changes++;
}
if(hasSharkScales() && !pc.hasStatusEffect("Shark Markings") && rand(5) == 0 && changes < changeLimit)
{
pc.skinAccent = RandomInCollection(["black","brown","white"]);
if(pc.skinAccent == pc.skinTone) pc.skinAccent = "orange";
output("\n\nYou idly look at your arms and notice multiple dots popping up across your body. <b>It seems you have " + target.skinAccent + " spots across your [pc.skin] now!</b>");
//Chance to occur at 2%
//Pc gains "Spots" perks.
pc.createStatusEffect("Shark Markings",2,0,0,0);
changes++;
}
if(hasSharkScales() && !pc.hasStatusEffect("Shark Markings") && rand(5) == 0 && changes < changeLimit)
{
pc.skinAccent = RandomInCollection(["beige","white"]);
if(pc.skinAccent == pc.skinTone) pc.skinAccent = "neon green";
output("\n\nYou idly look down at your [pc.chest] and notice a large off-color patch forming over your chest, belly and inner thighs. <b>It seems you have " + indefiniteArticle(target.skinAccent) + " blotch on your frontal body now!</b>");
//Chance to occur at 2%
//Pc gains "Frontal Blotch" perk.
pc.createStatusEffect("Shark Markings",3,0,0,0);
changes++;
}
{
pc.skinAccent = RandomInCollection(["black","brown","white"]);
if(pc.skinAccent == pc.skinTone) pc.skinAccent = "orange";
output("\n\nYou idly look at your arms and notice multiple dots popping up across your body. You also notice several semi-haphazard lines traveling across your body. <b>It seems you have " + target.skinAccent + "spots and stripes across your [pc.skin] now!</b>");
//Chance to occur at 2%
//Pc gains "Spots and Stripes" perk.
pc.createStatusEffect("Shark Markings",4,0,0,0);
changes++;
}
}