if (colorMax != 31) {
int finalColor = Math::min(color, 30);
setColor(finalColor);
updateCrystal(finalColor);
And how to add them to loot tables for a npc?
lootGroups = {
{
{group = "power_crystals", chance = 700000},
{group = "crystal_qui_gons_devotion", chance = 700000},
{group = "......................
............
}
lootchance = 8000000
}
},
And how to add them to loot tables for a npc?
lootGroups = {
{
{group = "power_crystals", chance = 700000},
{group = "crystal_qui_gons_devotion", chance = 700000},
{group = "......................
............
}
lootchance = 8000000
}
},