Aura.Channel.World.Entities.NPC.SetMemory C# (CSharp) Method

SetMemory() public method

Modifies how well the NPC remembers the other creature.
public SetMemory ( Creature other, int value ) : int
other Creature
value int
return int
		public int SetMemory(Creature other, int value)
		{
			value = Math.Max(0, value);

			other.Vars.Perm["npc_memory_" + this.Name] = value;
			other.Vars.Perm["npc_memory_change_" + this.Name] = DateTime.Now;

			return value;
		}