Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if ( name_str == "crit_pct" )
- {
- struct crit_pct_expr_t : public expr_t
- {
- action_t* action;
- crit_pct_expr_t( action_t* a ) : expr_t( "crit_pct" ), action( a ) {}
- virtual double evaluate()
- {
- return action -> composite_crit() * 100.0;
- }
- };
- return new crit_pct_expr_t( this );
- }
Advertisement
Add Comment
Please, Sign In to add comment