Exemplo n.º 1
0
 //meant to be overwritten by specific item and still lacks
 //levels of abstraction. Might need to be redesigned to accomodate
 //items that Cast() can't
 public virtual void AffectNPC(NPCEmotions NPC)
 {
     NPC.AddPain(strength * painMod);
     NPC.AddFear(strength * fearMod);
     NPC.AddJoy(strength * joyMod);
     NPC.AddLaughter(strength * laughterMod);
 }
Exemplo n.º 2
0
 public override void AffectNPC(NPCEmotions NPC)
 {
     Debug.Log(strength);
     NPC.AddPain(strength);
     NPC.AddFear(strength / 2);
     NPC.AddJoy(-strength / 2);
     NPC.AddLaughter(-strength / 2);
 }