protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     var player = GameMainReferences.Instance.PlayerCharacter.Entity;
     float hp = _isNormalisedValue ? player.StatHandler.MaxHp * _targetHealth : _targetHealth;
     player.CurrentHp = hp;
 }
 protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     foreach(var b in _barriers)
     {
         b.BarrierActivityState = _stateValue;
     }
 }
 /// <summary>
 /// Event triggered when a special event occurs
 /// </summary>
 /// <param name="eventID"></param>
 protected override void OnSpecialEvent(string eventID)
 {
     base.OnSpecialEvent(eventID);
     if(triggerEvent == QuestComponentTriggerEvent.SpecialEvent)
     {
         var args = new QuestComponentStandardEventAgrs(QuestComponentTriggerEvent.SpecialEvent);
         args.EventID = eventID;
         DoEventTriggered(args);
     }
 }
 protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     switch (playgroundEvent)
     {
         case PlaygroundEvent.Stop:
             playground.emit = false;
             break;
         case PlaygroundEvent.Start:
             playground.emit = true;
             break;
         case PlaygroundEvent.Emit:
             playground.Emit(emitAmountEvent);
             break;
     }
 }
    protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
    {
        base.DoEventTriggered(args);
        UIWindow window = null;
        if (_windowID == UIWindowID.Custom)
        {
            window = UIWindow.GetWindowByCustomID(_customID);
        }
        else
        {
            window = UIWindow.GetWindow(_windowID);
        }

        switch (_targetState)
        {
            case UIWindow.VisualState.Shown:
                window.Show();
                break;
            case UIWindow.VisualState.Hidden:
                window.Hide();
                break;
        }
    }
 protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     _targetSpawnPoint.SetAsActiveSpawnPoint();
 }
 protected virtual void DoEventTriggered(QuestComponentStandardEventAgrs args) { }
 protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     _helpBox.DisplayHelpBox();
 }
 protected override void DoEventTriggered(QuestComponentStandardEventAgrs args)
 {
     base.DoEventTriggered(args);
     var pc = GameMainReferences.Instance.PlayerCharacter;
     pc.UnlockSpell(_spell, _quietUnlock);
 }