Hi all I am making a demon NPC actor for my mod. When the player talks to the demon he is offered 2 choices Pain or Pleasure. I am using a script fragment placed at the end of each dialogue choice; cast pain spell script for Pain (damages HP 40) choice and cast Pleasure spell( Heals 40 HP) script for pleasure choice
The problem is only the spell animation plays beside the player but the heal or damage health effect is not applied to the player. Here is the script fragment. Any help would be much appreciated:
SPELL Property SP AutoSP.cast(Game.GetPlayer(),Game.GetPlayer())