So, lets see if i understand this chunk of code. If i use this lets say in a creaturescript or a spell, that is used by a monster creature, it will save the desired storage. My question here is, shouldnt cid be self:getUniqueId(), or getId is already unique for everyspawn monster?
Also, what usages could have this snipet? Other than making a monster "different" from others (which can be achieved on easier ways).
Thank you!