if @equip_type == 0
weapon_set = $data_classes[@actor.class_id].weapon_set
for i in 1...$data_weapons.size
if $game_party.weapon_number(i) > 0 and weapon_set.include?(i)
print <<EOF
index = #{i};
id = #{$data_weapons[ i ].id};
num by index = #{$game_party.weapon_number(i)};
num by id = #{$game_party.weapon_number($data_weapons[ i ].id)};
EOF
@data.push($data_weapons[ i ])
end
end
end