… | |
… | |
410 | [2, 5, st_wspd => "WSp", 10.54, "Weapon Speed, how many attacks you may make per unit of time (0.120s). Higher values indicate faster attack speed. Current weapon and Dex effect the value of weapon speed."], |
410 | [2, 5, st_wspd => "WSp", 10.54, "Weapon Speed, how many attacks you may make per unit of time (0.120s). Higher values indicate faster attack speed. Current weapon and Dex effect the value of weapon speed."], |
411 | ) { |
411 | ) { |
412 | my ($col, $row, $id, $label, $template, $tooltip) = @$_; |
412 | my ($col, $row, $id, $label, $template, $tooltip) = @$_; |
413 | |
413 | |
414 | $tbl->add ($col , $row, $STATWIDS->{$id} = new CFClient::UI::Label |
414 | $tbl->add ($col , $row, $STATWIDS->{$id} = new CFClient::UI::Label |
415 | can_hover => 1, can_events => 1, valign => 0, align => +1, template => $template, tooltip => $tooltip); |
415 | font => $FONT_FIXED, can_hover => 1, can_events => 1, valign => 0, align => +1, template => $template, tooltip => $tooltip); |
416 | $tbl->add ($col + 1, $row, $STATWIDS->{"$id\_lbl"} = new CFClient::UI::Label |
416 | $tbl->add ($col + 1, $row, $STATWIDS->{"$id\_lbl"} = new CFClient::UI::Label |
417 | can_hover => 1, can_events => 1, fg => $black, valign => 0, align => -1, text => $label, tooltip => $tooltip); |
417 | font => $FONT_FIXED, can_hover => 1, can_events => 1, fg => $black, valign => 0, align => -1, text => $label, tooltip => $tooltip); |
418 | } |
418 | } |
419 | |
419 | |
420 | $hb->add (my $tbl2 = new CFClient::UI::Table expand => 1); |
420 | $hb->add (my $tbl2 = new CFClient::UI::Table expand => 1); |
421 | |
421 | |
422 | my $row = 0; |
422 | my $row = 0; |
… | |
… | |
447 | blind fear tund elec cold ghit/) |
447 | blind fear tund elec cold ghit/) |
448 | { |
448 | { |
449 | $tbl2->add ($col, $row, |
449 | $tbl2->add ($col, $row, |
450 | $STATWIDS->{"res_$_"} = |
450 | $STATWIDS->{"res_$_"} = |
451 | new CFClient::UI::Label |
451 | new CFClient::UI::Label |
|
|
452 | font => $FONT_FIXED, |
452 | template => "-100%", |
453 | template => "-100%", |
453 | align => +1, |
454 | align => +1, |
454 | valign => 0, |
455 | valign => 0, |
455 | can_events => 1, |
456 | can_events => 1, |
456 | can_hover => 1, |
457 | can_hover => 1, |