Beispiel #1
0
        public override void OnUpdated(EffectUpdatedArgs e)
        {
            e.UpdateDelay = 1.0f;             // 1 update per second

            if (gc.percentChance(CurrentTime))
            {
                // Spasm here

                BMHeaderTools.SayDialogue(Owner, BMHeaderTools.RandomFromList(vocalTics), vNameType.Dialogue);
            }

            CurrentTime--;
        }
Beispiel #2
0
 public override void OnUpdated(EffectUpdatedArgs e)
 {
     e.UpdateDelay = 1f;
     CurrentTime--;
 }