can_weapon_block doesn't actually exist yet. You need to add it in, it can be as simple as:
```c++
bool player::can_weapon_block()
{
    return (weapon.has_technique("WBLOCK_1",this) ||
              weapon.has_technique("WBLOCK_2",this) ||
              weapon.has_technique("WBLOCK_3",this))
}
```