Esempio n. 1
0
    public AEntityAttribute()
    {
        this.attributes  = new float[((int)e_entityAttribute.SIZE)];
        this.damage      = new MinMaxi(8, 12);
        this.life        = new CurrentMaxf(0.0f, 0.0f);
        this.mana        = new CurrentMaxf(0.0f, 0.0f);
        this.castSpeed   = new CurrentTimeTimer(0.0f, 0.0f);
        this.attackSpeed = new CurrentTimeTimer(0.0f, 0.0f);

        this.attributes[((int)e_entityAttribute.Move_Speed)]                  = 20;
        this.attributes[((int)e_entityAttribute.Move_Speed_Percent)]          = 100f;
        this.attributes[((int)e_entityAttribute.Move_Speed_Factor)]           = 0.0005f;
        this.attributes[((int)e_entityAttribute.Defence_Percent)]             = 100f;
        this.attributes[((int)e_entityAttribute.Fast_Cast_Percent)]           = 100f;
        this.attributes[((int)e_entityAttribute.Attack_Speed_PercentPercent)] = 100f;

        this.attributes[((int)e_entityAttribute.Gold_Amount_Percent)]   = 100f;
        this.attributes[((int)e_entityAttribute.Gold_Quantity_Percent)] = 100f;
        this.attributes[((int)e_entityAttribute.Gold_Rarity_Percent)]   = 100f;
        this.attributes[((int)e_entityAttribute.Item_Quantity_Percent)] = 100f;
        this.attributes[((int)e_entityAttribute.Item_Rarity_Percent)]   = 100f;
        this.attributes[((int)e_entityAttribute.Experience_Percent)]    = 100f;

        this.skillEffectPercent = 1;
        this.skillTimer         = 200;

        this.level = 1;
    }
Esempio n. 2
0
 private void TasksManager_Load(object sender, EventArgs e)
 {
     CurrentTimeTimer.Start();
     NewTaskPanel.Visible   = false;
     currentlySelectedIndex = -1;
     OpenTasksFromFile();
     SortByTime();
     SortByComboBox.SelectedIndex = 1;
 }
Esempio n. 3
0
        public AlarmClockForm()
        {
            InitializeComponent();

            CurrentTime.Text = getTime();
            CurrentTimeTimer.Start();

            AlarmClockLabel.Text = "";
            MusicFileName        = @"http://www.cooperfulleon.com/sites/cooperfulleon.com/files/sounder_tones/standard/cooper_fulleon_sounder_tone_15.wav";
        }
Esempio n. 4
0
        public MainWindow()
        {
            InitializeComponent();

            comboBoxMusicSelection.SelectedIndex = 0;
            outputfiletextbox.Text = musictextfile; //do this but gooder
            textBox4.Text          = timetextfile;

            PaddingSpacesUpAndDown.Enabled     = radioButtonPaddingSpaces.Checked;
            paddingCharactersTextBox.Enabled   = radioButtonCharacterPadding.Checked;
            PaddingCharactersUpAndDown.Enabled = radioButtonCharacterPadding.Checked;

            LoadSettings();

            CurrentTimeTimer.Start();
        }
Esempio n. 5
0
 private void CurrentTimeBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     CurrentTimeTimer.Start();
 }
Esempio n. 6
0
 public ASkillInvocationDamage()
 {
     this.damage      = new MinMaxi();
     this.attackSpeed = new CurrentTimeTimer();
 }
Esempio n. 7
0
 private void LoginForm_Load(object sender, EventArgs e)
 {
     CurrentTimeTimer.Start();
 }