예제 #1
0
        internal void BInformation_Click(object sender, EventArgs e)
        {
            Character c = (Character)((Button)sender).Tag;

            CharacterInformations uc = new CharacterInformations(c, t, _contextForm, _randomCharacterList);

            _contextForm.ChangeUC(uc, false, true);
        }
예제 #2
0
        public void Tick(CharacterInformations characterInformations)
        {
            // warning: if an exception is occured, the plugin will be deactivated by rowatch.
            // throw new Exception("test 123");

            if (_lastExp < characterInformations.BaseExp)
            {
                _form.AddToLog(string.Format("Gained {0:n0} base exp",
                                             characterInformations.BaseExp - _lastExp));

                _lastExp = characterInformations.BaseExp;
            }
        }