protected override void DeployFullBlownLycanthropy()
        {
            // Start permanent wereboar lycanthropy effect stage two
            EntityEffectBundle bundle = GameManager.Instance.PlayerEffectManager.CreateLycanthropyCurse();

            GameManager.Instance.PlayerEffectManager.AssignBundle(bundle, AssignBundleFlags.BypassSavingThrows);
            LycanthropyEffect lycanthropyEffect = (LycanthropyEffect)GameManager.Instance.PlayerEffectManager.FindIncumbentEffect <LycanthropyEffect>();

            if (lycanthropyEffect != null)
            {
                lycanthropyEffect.InfectionType = LycanthropyTypes.Wereboar;
            }
        }
示例#2
0
        public override void MagicRound()
        {
            base.MagicRound();

            // Find lycanthropy racial override and trigger morph
            // Cooldown and state of transformation is handled by racial override effect
            LycanthropyEffect lycanthropy = GameManager.Instance.PlayerEffectManager.GetRacialOverrideEffect() as LycanthropyEffect;

            if (lycanthropy != null)
            {
                lycanthropy.MorphSelf();
            }

            // Can end immediately
            RoundsRemaining = 0;
        }