Aura.Channel.World.Entities.NPC.SetStress C# (CSharp) Метод

SetStress() публичный Метод

Sets how much the other creature is stressing the NPC.
public SetStress ( Creature other, int value ) : int
other Creature
value int
Результат int
		public int SetStress(Creature other, int value)
		{
			value = Math.Max(0, value);

			other.Vars.Perm["npc_stress_" + this.Name] = value;
			other.Vars.Perm["npc_stress_change_" + this.Name] = DateTime.Now;

			return value;
		}