Can someone help, it's not accumulating the damage caused by the guild.
local lastCrystal = CreatureEvent("LastCrystalOnHealthChange")
local guilds = {}
function lastCrystal.onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
if not...